At a glance Honeycomb seems to be relying on developers having Eclipse.
We use IDEA here.
Nick
On 13/04/2006, at 4:37 PM, Schulte Marcus wrote:
If you want transaction per http-request and either session-per-
conversation
or
session-per-request. Have a look at http://honeycomb.javaforge.com
If you want transaction per http-request and either session-per-conversation
or
session-per-request. Have a look at http://honeycomb.javaforge.com .
It comes with a ready to use CRUD-Application-Template to get you started
immediately.
> -Original Message-
> From: Mark Reynolds [mailto:[EM
> -Original Message-
> From: James Carman [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 13, 2006 12:42 AM
> To: 'Tapestry users'
> Subject: RE: tapestry-hibernate integration problem
>
>
> Anything which really wants to update the persistent objects
> should go on
> inside a servic
I currently think that declarative ta-demarcation at the service-facade in a
typical web-app with hibernate is just plain wrong. Because it pretends to
hide something (the hibernate session and its lifecycle) which it doesn't.
Example from a Spring/Hibernate project I was involved in some time ago:
Mark,
I havent noticed this yet. How did you first prove the existence of
this problem?
I will keep my eyes open for it.
Nick
On 13/04/2006, at 12:50 PM, Mark Reynolds wrote:
The problem I experienced using hivetranse and the "open session in
view" was this:
1) execute one transaction
I have a situation in which the InlineEditBox component would be a nice
feature to have in my page. My page consists of a PartialFor component that
builds a table of Objects. One of the objects parameters is a notes field.
I would like to be able to inline edit this notes field. When I've tried
The problem I experienced using hivetranse and the "open session in
view" was this:
1) execute one transactional method, transaction is committed when the
method returns and the hibernate session is kept open
2) execute another transactional method, hivetranse opens a second
hibernate session,
O~, Sorry, But I'm not for help, just share a new *impl* of the
IPropertySelectionModel.
I saw the
http://wiki.apache.org/jakarta-tapestry/PropertySelectionForAll?highlight=%28IPropertySelectionModel%29,
and feel this is better.
Apologies - I see now that there have been plenty of replies to the
original post, including ones mentioning HiveUtils!
Cheers,
Nick
On 13/04/2006, at 10:39 AM, Nick Faiz wrote:
Just a note that you dont need to write code to control the
Hibernate session & transaction lifecycles if you use
Just a note that you dont need to write code to control the Hibernate
session & transaction lifecycles if you use HiveUtils (aka Hivetranse).
http://sourceforge.net/projects/hivetranse/
In my current project, I configured the hibernate session as a
hivemind component, which is injected into
Hi Andreas,
Sorry for not providing (yet) any useful doc for HiveLock on the hivetranse
web site.
However, you may consider taking a look at:
- the "lock.example" module that comes with the HiveMind Utilities source:
it demonstrates the use of HiveLock sided with SecurityFilter (for
authenticatio
The difference between the HiveMind Utilities project and the code I've put
together is that they attempted to "roll their own", while I just used what
I already know works (the Spring transaction/hibernate framework) inside
HiveMind rather than Spring. After all, it's just "object soup."
-
Try this:
foo="ognl:messages.getMessage(fact.name)"
the "message:" prefix is just a shorter syntax for the above expression.
Martin
On Thu, 13 Apr 2006 02:25:49 +0300, Apache
<[EMAIL PROTECTED]> wrote:
I have a case when the key for the message is returned from the ognl
expression like t
I have a case when the key for the message is returned from the ognl expression
like this:
message:ognl:fact.name
Where fact.name is mapped to my bean and the name is the key into my
application.properties.
How do I do this?
m2f
Sent from www.Tapestr
Check out this page with the Hivemind Utilities.
It can help you set up the services you need to inject a DAO Service in any
page and automating to the maximum the session and transaction management if
you wish to.
http://hivetranse.sourceforge.net/web/index.html
(check the HiveTranse utility)
Re
Anything which really wants to update the persistent objects should go on
inside a service method. Then you can put the transaction interceptor on
it.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Mark Reynolds
Sent: Wednesday, April 12, 2006 6:01 PM
To: tapestry-us
So how does transaction demarcation work in this common tapestry sequence:
1) in pageBeginRender(), call a service method to load the persisted
object and set it as a simple page property
2) tapestry form fields components then update the properties of the
persisted object and call some validat
That worked! Thanks Jesse and Peter for your help. So, as a side note,
it will also work if you leave the listener:editClient binding, but
instead of declaring your parameters in the component specification, you
use the @Parameter annotation in the component class. I definitely
don't underst
I tried the hivetranse approach, but had 2 problems. 1) hivetranse seems
to limit a hibernate session to a single transaction, and 2) its
declarative approach ultimately limits the transaction demarcation to a
single method call, and I couldn't figure out a good way to structure my
application
Hi folks,
does anyone of you know about a (good) howto on HiveUtils/HiveLock?
I would like to know what they can be used for and how -
I'm mainly interested in the security stuff...
I've searched the web but also on the Hivetranse homepage
there doesn't seem to exist any documentation (the javado
It could be that the "listener:" binding works on pages only. What happens
when you specify "ognl:listeners.editClient" instead?
On 4/12/06, matt wear <[EMAIL PROTECTED]> wrote:
>
> Thanks for the replies Peter. I tried adding the class attribute to my
> component spec, but I still have the same
Thanks for the replies Peter. I tried adding the class attribute to my
component spec, but I still have the same problem. Tapestry still wants
to call the listener of the page containing they border.
Peter Svensson wrote:
No, you're right. I was confused. Now I do think I know why it doesn't
I have followed the instructions on the site for friendly urls
(http://jakarta.apache.org/tapestry/UsersGuide/friendly-urls.html)
Everything is fine except call the *.svc...For example on Service Restart link
(when one gets an error).
I check and rechecked...is this a bug?
Thanks!
--
On 4/12/06, Jeff Lubetkin <[EMAIL PROTECTED]> wrote:
> Either:
> 1) Move Home.html to the context root (up one level, outside of WEB-INF)
> 2) Use the information in
> http://wiki.apache.org/jakarta-tapestry/SpeclessPagesInWEB-INF to allow
> the directory structure you're using.
Ahhh. Thank you. W
Either:
1) Move Home.html to the context root (up one level, outside of WEB-INF)
2) Use the information in
http://wiki.apache.org/jakarta-tapestry/SpeclessPagesInWEB-INF to allow
the directory structure you're using.
jeff
-Original Message-
From: Robin Ericsson [mailto:[EMAIL PROTECTED]
Indeed I did misunderstand your intent, then.
-Mike
On 4/12/06, Bryan Lewis <[EMAIL PROTECTED]> wrote:
> I'm not sure it helps him either, except maybe in understanding why
> three clicks turned into two method calls. The tweak on the client
> machine was only a debugging trick.
>
>
> Mike Snare
On 4/12/06, Adam Zimowski <[EMAIL PROTECTED]> wrote:
> What does your directory structure look like? Where is Home.html ?
Like this:
WEB-INF/
Home.html
Tidrapport.application
web.xml
classes/nu/localhost/tidrapport/tapestry/pages/
Home.class
lib/
lots-of-jars.jar
regards,
Robi
What does your directory structure look like? Where is Home.html ?
On 4/12/06, Robin Ericsson <[EMAIL PROTECTED]> wrote:
> On 4/12/06, Mark <[EMAIL PROTECTED]> wrote:
> > Do you have Home.html? And do you have the proper Upper/lower-case spelling?
>
> Yes,
>
> Home.html exists and case shouldn't b
On 4/12/06, Mark <[EMAIL PROTECTED]> wrote:
> Do you have Home.html? And do you have the proper Upper/lower-case spelling?
Yes,
Home.html exists and case shouldn't be a problem.
regards,
Robin
-
To unsubscribe, e-mail: [EMAIL
I'm not sure it helps him either, except maybe in understanding why
three clicks turned into two method calls. The tweak on the client
machine was only a debugging trick.
Mike Snare wrote:
>Not sure that helps him. It's not feasible to expect people to tweak
>their OS settings to fit your app,
Do you have Home.html? And do you have the proper Upper/lower-case spelling?
On 4/12/06, James Carman <[EMAIL PROTECTED]> wrote:
Sure you can. Most of my pages (in T4) don't have .page files. Tapestry
will search the packages you define in your .application file for your page
classes:
Yes, I know that.
But what if I need this for every page and do not want to add it in
every single .page file? If I ever wanted to change anything, I would
have to change it again everywhere...
Thanks,
MARK
James Carman wrote:
You don't have to inject via annotations. You can inject via th
Hello,
I'm looking for a developer to assist us in the ongoing build out of a Tapestry based business application. The initial project would be expected to last 2-3 months and involve the extension of an existing system written in Tapestry 3.0, spring, hibernate, and MSSQL.
We've done all the
Sorry to hear that. Let us know when you find an elegant solution for
xml page injection with jdk 1.4 and page name constants. When I find
time 'll try it just for the heck of it :-)
Adam
On 4/12/06, Mike Snare <[EMAIL PROTECTED]> wrote:
> Nope. I hadn't solved it yet, other than to inject the n
Not sure that helps him. It's not feasible to expect people to tweak
their OS settings to fit your app, so we have to fix it on our side.
Unless I misunderstood your intent...
-Mike
On 4/12/06, Bryan Lewis <[EMAIL PROTECTED]> wrote:
> The operating system will combine fast double clicks into a
Nope. I hadn't solved it yet, other than to inject the name instead
of the page and then use the name to get an instance.
I can't use annotations as we are still on 1.4.
I've tried the ognl: prefix, and no prefix. Not sure anything else
really makes sense.
Anyway, at this point I've moved on a
On 4/12/06, James Carman <[EMAIL PROTECTED]> wrote:
> Sure you can. Most of my pages (in T4) don't have .page files. Tapestry
> will search the packages you define in your .application file for your page
> classes:
>
>
> value="com.myco.page"/>
> value="com.myco.component"/>
>
>
> So,
No, you're right. I was confused. Now I do think I know why it doesn't work
though.
In your jwc file, you have specified the class which implements your
component, and is the place to go look for methods, etc.
Tapestry will look for the editClient() or editClient(IRequestCycle cycle)
(I th
The operating system will combine fast double clicks into a single
event. When I've had to test such things on a Windows client machine, I
went into the mouse control-panel widget and upped the double-click
speed so that I could click twice before the page went away, but without
my sequence being
Hi Mike,
I inject my pages with constants as well (I too have a constant page
class). I however, do a static import and annotation which works
rather nicely with JDK 1.5. I haven't tried yet injecting page via
XML, but seems to me that you need to return an instance of the actual
page not the valu
You don't have to inject via annotations. You can inject via the .page file
using an element.
http://jakarta.apache.org/tapestry/UsersGuide/hivemind.html
-Original Message-
From: Mark Arnold [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 12, 2006 2:38 PM
To: Tapestry users
Subject:
Is there a way to access the Hivemind service/bean provider, so that
instead of using annotations, I can do something like this in my Page class:
public abstract class MyPage extends BasePage {
/* define setters and getters for service1 and service2 ... */
public MyPage() {
init();
When I want to cancel the submission of a form in tapestry via
javascript I set the event's abort and cancel_handlers properties
appropriately.
tapesty passes your ${checkSubmit} method an event 'object' that has
the above mentioned properties.
returning false from a handler like this won't have
Can you provide a simple example in a war file that we could try out
(include source)? You can email it to me directly and I wouldn't mind
giving it a whirl.
-Original Message-
From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of
Andreas Bulling
Sent: Wednesday, April 12, 2006 2:2
On 11. Apr 2006 - 08:41:22, James Carman wrote:
| If you remove the "doctor" property, does it complain about the "patient"
| property?
No, this works without any exception being thrown. I just
don't understand this... *almost crying*
Did I already post the code from the html template?
Are you referring to the code for the listener? If so, I really have no
idea if it actually works, the listener never gets called. For some
reason tapestry tries to invoke the editClient listener of whatever page
the Border component is contained on, which it doesn't have. I would
like for
Seems like a race condition. Why not just disable the button in the
onClick? You could start a timer to re-enable it if you needed to, but
if the page redisplays then just leave it alone.
-Mike
On 4/12/06, Dan Adams <[EMAIL PROTECTED]> wrote:
> Okay, I've got the common problem where I want to p
actually, sorry to bother you, but did you work out something this
simple to support a "submit on enter" for textfields?
Dan Adams wrote:
Okay, I've got the common problem where I want to prevent some users
from double clicking submit buttons and double submitting a form. I've
got the following
once you get this working, could you submit a patch against the main
form component to support this through a simple parameter?
Dan Adams wrote:
Okay, I've got the common problem where I want to prevent some users
from double clicking submit buttons and double submitting a form. I've
got the fo
Hmm. I'm no expert, but couldn't it be that you try to use your Border
component as if it were a page?
Remember that a page can contain several components, which in turn can
contain components, but when you call the getPage() method in the component
it actually correctly returns a reference to the
Okay, I've got the common problem where I want to prevent some users
from double clicking submit buttons and double submitting a form. I've
got the following script which seems to work except that it seems to
miss one of the clicks. If you double click, it still double submits the
form. If you trip
html:
page class:
public abstract IUploadFile getUploadFile();
...
public void onSubmit(IRequestCycle cycle) {
InputStream fileInput =
getUploadFile().getStream();
//now you have an input stream with your file's content. Do what
you need.
}
More info:
m2f --
I think it is the easiest way ... in fact all my page classes already extends a
custom class. I just need to inject the dao in the class.
Another aproach that can be used is described in
Thank you.
m2f
Sent from www.TapestryForums.com
Read this top
you're right kristian, i've reproduced this,
so i'm re-opening Bug93
Kristian Marinkovic wrote:
>hi andreas,
>
>my Linksubmit is inside a Tapestry form. i need
>to perform a "real" Submit :) (no AJAX)
>
>
>kris
>
>
>
>
Hi list,
In tapestry 3, i got a url to my page using this:
String urlExpand = cycle.getEngine().getService(
Tapestry.DIRECT_SERVICE).getLink(cycle,
cycle.getPage().getComponent("expand"), params).getURL();
In typestry 4, i inject the direct service, but when i wil
I have a Border component that has a menu composed of direct links. For
some reason, tapestry is looking for the listeners of these links in the
.java file of the page that the border is contained in, and not the
Border object its self. Here is a very simple example of what I am saying.
Bord
Mike - thanks for your quick and helpful repsonse. This was exactly
the problem. I moved the Script component to just below the Form
component and now it works without the window.onload workaround.
Kevin
On 4/12/06, Mike Snare <[EMAIL PROTECTED]> wrote:
> Are you adding the script before adding t
To simplify things a bit, so you don't have to create a page class for every
page if you don't want to, you can declare that your custom "base" page is the
"default" page class:
So, for every HTML template for which you don't declare a page class, Tapestry
will use AbstractPage as its s
Why can't you just weave your aspects into the page classes? Doesn't that
work? Are you using AspectJ?
-Original Message-
From: Eduardo Valentim [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 12, 2006 12:52 PM
To: Tapestry users
Subject: Re: Tapestry + Tacos: Tapestry LinkSubmit does
Sure you can. Most of my pages (in T4) don't have .page files. Tapestry
will search the packages you define in your .application file for your page
classes:
So, using this example, for a page named Hello, it will look for a class
called com.myco.page.Hello. It will also look for a
Hi All,
I need to use AOP to advice the Tapestry Page class with an
Spring ThrowsAdvice to transform my business validation exceptions in
Tapestry validation exceptions to show in Tapestry page, the field and
the message of business constraint.
I do not have idea of how can
I don't understand your question, linjua. Please describe the error you get.
Cheers,
PS
On 4/12/06, linuja <[EMAIL PROTECTED]> wrote:
>
> The Adapter interface:
>
> public interface NameAdaptable {
> public String getName(T obj);
> }
>
> The IPropertySelectionModel impl class:
>
> public clas
Why you don't makin' a class for it, which includes this inject and then
inherit all over Pages from this class and not from BasePage.
This should be the simplest Solution i think, but i'm a noob, too.
public abstract class upperclass extends BasePage
{
@Inject("Property")
public abstract String
Hi,
Is it possible to create a page that consists only of a Java-class and
a .html file? I'm going to use as much annotations as I can, but as
I'm new to Tapestry I'm having a hard time finding information on the
website.
regards,
Robin
--
In case you didn't notice, I use the Spring classes too. I just don't use
the Spring DI container. I use HiveMind. I do the same sort of transaction
demarcation (in fact, I use Spring's syntax, hehe). I just do it within my
hivemodule.xml file.
-Original Message-
From: [EMAIL PROTEC
I'd be curious to know what kind of tricky stuff you are talking
about. Last time I tried to get JS to connect to anything bt the
original origin of the script, the browsers refused. I could set up a
poxy server and cause it to forward requests wherever apropriate, bu
that is fragile and a pain i
Are you adding the script before adding the form to which you wish to
add behavior? Can you add it after? I use scripts to add behavior to
the onSubmit and have never had this issue. The only thing I can
think of to explain it is that I add the script after the form. May
not have anything to do
I use the standard OpenSessionInView filter, which keep s a session
open throughout the processing of a single request. As for
transaction semantics, those are kept entirely in the service layer.
The UI layer is completely oblivious to transaction semantiks
precisely to avoid the problem you are
You ~can~ do some tricky stuff to allow cross domain JS but it's not
something you can do with little effort.
On 4/12/06, Sam Gendler <[EMAIL PROTECTED]> wrote:
>
> You can't upload and download directly from the browser to S3 because
> javascript can only connect back to the server from which the
You can't upload and download directly from the browser to S3 because
javascript can only connect back to the server from which the js file
was served, although I guesss you could stick a .js file on S3,
include from your tapestry served page, and then cause the page to
talk directly to the S3 serv
I am just moving my application from Tapestry 3.0.3 to 4.0.1. I have
overcome a ton of roadblocks and am figuring all the changes out, but,
wondered of somebody can suggest a more elegant solution to a problem
I am having.
I want to inject a bit of logic during a forms onSubmit. Before I
could jus
hi andreas,
my Linksubmit is inside a Tapestry form. i need
to perform a "real" Submit :) (no AJAX)
kris
Andreas Andreou
<[EMAIL PROTECTED]
Hi, I have a DAO to access configurations, this DAO must be accessible by all
pages but I don't want to declare an inject for it in each page especification.
I think I could place it in the Global class, but I don't know how neither
where to "inject" this dao in the global class.
What is the best
Is your LinkSubmit inside a Form or a tacos:AjaxForm?
If you want it in an AjaxForm, you should use AjaxLinkSubmit
Kristian Marinkovic wrote:
>Hi all,
>
>i've just downloaded Tap 4.0.1 and Tacos_4_beta_2 to test whether TacosBug
>Nr. 93
>(http://tacoscomponents.jot.com/BugReporter/Bug93) was res
I have changed the formatter to use double quoted strings for these
messages. (As it was previously). A previous JIRA issue had said that this
caused problems with javascript so I'm starting to wonder if the quotes need
to be removed from all content in the validation strings period.
On 4/12/06, F
Hi all,
i've just downloaded Tap 4.0.1 and Tacos_4_beta_2 to test whether TacosBug
Nr. 93
(http://tacoscomponents.jot.com/BugReporter/Bug93) was resolved and
discovered
another problem i am not sure where to report (Tapestry or Tacos).
The problem is that the listener of [EMAIL PROTECTED] (liste
AFAIK you upload/dowload files to/from Amazon S3 through web services. All
you need to do is use a WS client like Axis( http://ws.apache.org/axis2), no
matter if you're using Tapestry or any other web framework.
You can use the the upload
component(http://jakarta.apache.org/tapestry/tapestry/Compo
Hi,
First off, I'm sorry that I didn't post any code to the Wiki - but
something came up. And I want to do this right before I release anything
- preferably to a Maven site.
Now, I've done something totally different from what I started out with
- partially inspired by Fernando's suggestions
The Adapter interface:
public interface NameAdaptable {
public String getName(T obj);
}
The IPropertySelectionModel impl class:
public class PropertySelectionModel implements IPropertySelectionModel {
private final NameAdaptable nameAdapter;
private final List items;
public Pr
Hi All,
Anyone already experience with integrating Amazon S3 storage service with
tapestry. I 'm particulary interested in uploading (large) files from a
tapestry application to S3 and retrieving them for example as images.
Kind regards,
Lennart Benoot
www.thoth-systems.com
Knowing, Keep know
The Html file:
wraped
name
The java file:
If get the table's id value, It can be this:
SimpleTableColumn col = ...;
String id = col.getColumnValue(object);
Than It will get the id value, but how to get the value of the *wrapedName*?
Thanks!
I wouldn't inject sessions into your pages directly. Dealing with the
persistence store should be abstracted away from the view layer using a
DAO/Repository layer.
If you want an example of how to do that, you can download my example
application (via SVN of course) from:
http://www.carmanconsu
By making a JIRA issue, I meant creating an issue about the quotes - not
the message overriding, hehe.
-Filip
Filip S. Adamsen skrev:
Overriding messages in Tapestry is something that - sadly - isn't easily
possible at the moment. I suggest you create a JIRA issue ASAP - it
might make it into
Overriding messages in Tapestry is something that - sadly - isn't easily
possible at the moment. I suggest you create a JIRA issue ASAP - it
might make it into 4.0.2.
https://issues.apache.org/jira/secure/CreateIssue!default.jspa
-Filip
Angelo Luis skrev:
I think that i found the problem, th
you should try an existing integration and adapt that if it doesn't fit your
needs.
the ones I know are:
- Appfuse/Equinox
- hivetranse (http://hivetranse.sf.net)
- cognition (http://dev.thelabllc.com/cognition/)
- honeycomb (http://honeycomb.javaforge.com)
I use honeycomb (mostly because
Hi everyone,
I extended a BasePage and added there a getSession method, which opens a
hibernate session and starts a transaction (if it is not yet opened). Also,
I commit the transaction and close the session on the overrided
BasePage.detach() method.
The problem is that when I save something on
I think that i found the problem, the localized mensages od locale pt_BR in
the 4.0.1 is in single quote '{0}' and teh 4.0 is in double "{0}"...
How can i overrides the error mensages in tapestry ?
On 4/10/06, Angelo Luis <[EMAIL PROTECTED]> wrote:
>
> the pt_BR locale... If this is a tapetry err
Hi,
I'm a newbie to Tapestry and i just tried an example using
contrib:InspectorButton. at first it seems to work clicking on the image pops
up a window specifications information however In that window i cannot select
any other "Tabs" (like template, properties or engine) clicking any of those
Hello,
I need to read the content of text file uploaded by the client and to store
some lines in db but not the hole file.
How can I do this? Should I physically upload the file on the server or is it
possible without the physical upload.
I need to read the file line by line. (use of readLine() w
Hi!
Have a look at hivetranse http://hivetranse.sourceforge.net/web/index.html
It has excelent transaction, rollback and exception handling.
You just drop the jar in there and add a few lines to hivemodule.xml.
Hope it helps!
On 4/12/06, Sukma Agung Verdianto <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
I've always thought that tooling is critical to Tapestry gaining wider
acceptance. Even a shoddy framework with great tooling can gain popularity,
whereas an ideologically sound framework with no tooling stays on the
margins. Good tooling should therefore be a priority IMHO, otherwise people
will c
Hi all,
I'd like to announce the first release of MaCaTa - a web application and
tutorial based on 3 open source java based frameworks...
Maven-Cayenne-Tapestry. Hence the highly imaginative name of MaCaTa ;)
The application is all about allowing a user to manage data, it is all CRUD
(Create, Re
92 matches
Mail list logo