T5: Some problem with prob binding

2008-01-15 Thread Foror
In the project there is a following: public interface ISimpDescT { public T getId(); } public class Team implements ISimpDescString { // hibernate annotations @DocumentId @Id @MinLength(min=2) @MaxLength(max=50) @Pattern(regex=[\\w-]+)

[T5 5.0.8] relative urls for sorting table headers

2008-01-15 Thread Moritz Gmelin
Hi, I have tried switching to 5.0.8-SNAPSHOT and discovered some strange behaviour with the newly stripped image urls. In some grids that are displayed in pages that are in sub-packages, the sortable icon is references like this img alt=[Sortable] class=t-sort-icon id=von:sort src=assets/

Re: T4.1 friendly URLs and session restart

2008-01-15 Thread Ulrich Stärk
Override the default StaleSession page with your own implementation. Just create a page called e.g. MyStaleSession and use an InfrastructureOverride in Hivemind like this: contribution configuration-id=tapestry.InfrastructureOverrides property name=staleSessionPageName value=MyStaleSession /

Re: [T5 5.0.8] relative urls for sorting table headers

2008-01-15 Thread Robert Zeigler
Recently introduced is a work in progress at optimizing generated urls... using relative urls when those are shorter. Like you, I'm finding that it's still a work in progress. You can turn it off, though, by going into your AppModule and doing: public static void contributeApplicationDefaults(

onChangeEvent of a Select component

2008-01-15 Thread Yeeswara Nadapana (HCL Financial Services)
Hi, How can I implement an onChangeEvent for my select box? I wrote the combo as: select t:id=availableFilters t:type=select model=filterList value=prop:currentFilter / I have to call an event listener method in my page class. Please explain how to do that? Thanks and Regards

Re: T5: regexp for commas

2008-01-15 Thread Thomas Zenglein
Hello, thanks evrybody for attempting to help me with that problem. I tried every suggest you gave, with no positve result. Now I think this is a Tapetry internal problem. Any idea for an alternative solution method? Meanwhile I have to be happy without the regexp check. THX Thomas

Re: T5: Some problem with prob binding

2008-01-15 Thread Davor Hrg
it happens after submit bacuse when renderring filed needs getter to render value, after submit the binding expression team.id is evaluated to populate value received through form submit it is then that setter is needed, hence error only then you probabla should add public void setId(T id); to

RE: Use System ClassLoader with Tapestry5

2008-01-15 Thread Lance Semmens
Hi, I'm a dwr user not a tapestry user... I usually only listen on this list. To do this you would need to implement a tapestry creator (http://getahead.org/dwr/server/dwrxml/creators). See the org.directwebremoting.spring.SpringCreator for inspiration. You would probably want to hook into

could Grid component receive parameter ?

2008-01-15 Thread dwi ardi irawan
hi i have a loop and each loop makes different output what i want to do is to create a table depend on the loop output so if there is 3 iterate from the loop it will be 3 grid table which is different each other could anyone help me ?? i could do that on jsp by passing parameter. how bout

t5 persist pageLoaded instance variable initialization

2008-01-15 Thread riccaruf
Hi everybody, I've got the same question as Angelo in this post http://www.mail-archive.com/users@tapestry.apache.org/msg19237.html http://www.mail-archive.com/users@tapestry.apache.org/msg19237.html about the reasons why if I initialize some instance variable on the pageLoaded event, the next

Re: T5: regexp for commas

2008-01-15 Thread Michael Courcy
Thomas Zenglein a écrit : Hello, thanks evrybody for attempting to help me with that problem. I tried every suggest you gave, with no positve result. Now I think this is a Tapetry internal problem. Any idea for an alternative solution method? Meanwhile I have to be happy without the regexp

Re: [ANN] Tapestry/Seam integration

2008-01-15 Thread Jesse Kuhnert
This sounds great Igor, thanks! On Jan 14, 2008 3:40 PM, Igor Drobiazko [EMAIL PROTECTED] wrote: Hi all, Seam integration for Tapestry 4 is now available as Tacos subproject: http://tacos.sourceforge.net/tacos4.1/tacos-seam/index.html Read how get the latest snapshots here:

T5: Event order for selected and validate events

2008-01-15 Thread Joel Wiegman
All, I've noticed that the validate event for a form fires before the selected event fires from the Submit component. IMHO, I think the selected event should fire first. Seems like I would want to know HOW the form was submitted before I validate it (in case I want to, say, skip validation on

Re: T5: regexp for commas

2008-01-15 Thread Howard Lewis Ship
All the IDEs have some form of regexp testing plugin; I use the intellij one all the time. On Jan 14, 2008 4:33 AM, Michael Courcy [EMAIL PROTECTED] wrote: Did you try this regexp with in a regular java program ? Thomas Zenglein a écrit : Hello everybody, I want my textfield to allow a

T5: ComponentClassTransformWorker called only once

2008-01-15 Thread Igor Drobiazko
Hello, Implementing injection workers I experienced that the worker is invoked only the first time the page is called. I think this behavior is new since couple of days. Working with the earlier 5.0.8 snapshots the worker was invoked every time the page is called. The contribution of the worker

Re: T5: ComponentClassTransformWorker called only once

2008-01-15 Thread Howard Lewis Ship
Component classes are only transformed once. This has not changed. The contribution method is only called once. This too has not changed. On Jan 15, 2008 9:07 AM, Igor Drobiazko [EMAIL PROTECTED] wrote: Hello, Implementing injection workers I experienced that the worker is invoked only

Re: T5: ComponentClassTransformWorker called only once

2008-01-15 Thread Igor Drobiazko
I see. Thanks. Just had a look into the ApplicationStateWorker. Your are replacing the read and write methods by a call to the manager. This way I can implement my use case. On Jan 15, 2008 7:01 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote: Component classes are only transformed once. This

Re: T5: ComponentClassTransformWorker called only once

2008-01-15 Thread Howard Lewis Ship
Yes, that's the way. I've been evolving my approach to this kind of class transformation; where I'm heading is to minimize the amount of dynamically generated code by offloading as much as possible into stateless helper objects (or services) that can be injected into the component instance. In

Re: T5: Some problem with prob binding

2008-01-15 Thread Howard Lewis Ship
I see two problems: 1) setId(T) should be type void, not String. 2) Tapestry is not currently aware of generics, so everywhere you see type T in your class, Tapestry sees java.lang.Object. There's an issue about handling this better, but its very tricky. On Jan 15, 2008 2:27 AM, Davor Hrg

Re: onChangeEvent of a Select component

2008-01-15 Thread Howard Lewis Ship
Currently, Tapestry doesn't have a built-in way to accomplish what you want. You will see a property update when the form containing the Select component is submitted. The containing Form component will fire a series of events: prepare, then validate, then success or failure, then submit. Using

Re: [ANN] Tapestry/Seam integration

2008-01-15 Thread Michael Courcy
Maybe a stupid question, but does your work support also seam page flow ? That should not be easy, this part is tightly integrated with JSF. Thanks for your work. Igor Drobiazko a écrit : Hi all, Seam integration for Tapestry 4 is now available as Tacos subproject:

tapestry-spring

2008-01-15 Thread HongDa Tang
http://howardlewisship.com/repository/ seems to be broken. Does anyone know of a mirror site for http://howardlewisship.com/repository/ where I can use maven to retrieve tapestry-spring library version 1.0.0? Your help is appreciated. -Hong

T5: How to influence the order JavaScript libraries are loading

2008-01-15 Thread Michael Lake
I've got a page with two Js Libraries included using the @Inject @Path(...), etc. The one .js library immediately depends on variables defined the the other .js library(meaning that it's not waiting until page ready/DOM is loaded) but the order in which tapestry is outputting the script

Re: [ANN] Tapestry/Seam integration

2008-01-15 Thread Igor Drobiazko
No, actually not. I have no idea whether any Tapestry user needs it. I have no idea how tough it would be to support it. On Jan 15, 2008 10:20 PM, Michael Courcy [EMAIL PROTECTED] wrote: Maybe a stupid question, but does your work support also seam page flow ? That should not be easy, this

T5: Ajax update of BeanEditForm on drop-down select?

2008-01-15 Thread Franz Amador
I'm using BeanEditForm to generate a form that includes a drop-down selector. I'd like to get an event when the user selects a value so I can update other fields in the form, preferably via a partial-page Ajax-style update. Is this possible? If so, is there an example I can look at? If not,

[T4.1.3] problems with localisation and possibly Prototype

2008-01-15 Thread Henrik Schlanbusch
Hi I have to do some of the localisation work in the java code, and run this simple method: public String getLocalisedMessage (String key) { return getMessages().getMessage(key); } The method does only return strings in english locale. The only special thing with my pages is that

Re: T5: How to influence the order JavaScript libraries are loading

2008-01-15 Thread Howard Lewis Ship
I think you might have a situation where component A is rendering first, and including library Y, then component B renders and includes library X then Y. Because the Y is seen first, its order is first, even though component B wants Y to depend on X. I'd check what else on your page is including

Re: T5: Ajax update of BeanEditForm on drop-down select?

2008-01-15 Thread Howard Lewis Ship
This is coming soon, but it won't be part of BeanEditForm ... to get that level of interactivity will require that you spell out your individual fields and labels, along with extra components mixins to describe the Ajax functionality to Tapestry. On Jan 15, 2008 2:44 PM, Franz Amador [EMAIL

Re: T5: Ajax update of BeanEditForm on drop-down select?

2008-01-15 Thread Sven Homburg
arrgl today i've checked in my first ajax mixin OnChange. i think i must slow down my development ;-) 2008/1/16, Howard Lewis Ship [EMAIL PROTECTED]: This is coming soon, but it won't be part of BeanEditForm ... to get that level of interactivity will require that you spell out your

Re: T5: Get user input of custom components which themselves are forms

2008-01-15 Thread ronaldlee
oh it seems that the data structure I use for the loop somehow able to store the user response, after making that list @Persist(flash)... may be that is good enough for me. ronaldlee wrote: Hi, I created a custom component Question, and this component simply displays a question and

Re: T5: Get user input of custom components which themselves are forms

2008-01-15 Thread ronaldlee
I take it back.. it doesn't store the user input, just for old display info... I think some how I need to access my Question component and get those things out thru getter functions, but the problem is the form is triggered by the page, not the component. I am able to do that if the page has

T5: using velocity in the app

2008-01-15 Thread AngeloChen960
hi, I need to use velocity's template to format an email, something like this: VelocityEngine ve = new VelocityEngine(); ve.init(); Template t = ve.getTemplate(email.vm); but always got :ResourceNotFoundException any idea how to use Velocity with Tapestry 5? thanks. A.C. -- View this

Re: [ANN] Tapestry/Seam integration

2008-01-15 Thread Jesse Kuhnert
I forwarded his announcement to them and the response sounded excited so we'll see... On Jan 15, 2008 8:26 PM, Joshua Jackson [EMAIL PROTECTED] wrote: Perhaps we can request seam pageflow from JSF. I know the seam team currently is working very hard to decouple JSF from seam. On 1/16/08, Igor