Re: Blog post about Tapestry 5

2008-12-19 Thread Bill Holloway
Thanks, Borut, for this! I especially appreciate the depth you went to in discussing the use of the component message catalog with forms and how you can factor regexp validation entirely into the catalog. This is going to help some colleagues of mine become believers. Bill On Fri, Dec 19, 2008 a

Re: AppModule not loaded?? (No ClassLoaders found for: org.apache.tapestry5.services.FormSupport)

2008-12-19 Thread Howard Lewis Ship
Tapestry 5.1 helps with this by logging, to the console, the names of all the module classes that are loaded at startup. On Thu, Dec 18, 2008 at 10:13 PM, Jean Luc wrote: > Aaaarg... solved. I missed the second part of "Tapestry looks for a > module builder class in the services package (unde

Re: Blog post about Tapestry 5

2008-12-19 Thread Borut BolĨina
Thanks to all, I have updated the post to include a case if you don't get listed all the arhetypes (including Tapestry quickstart). If anyone has an improvement to suggest please don't hesitate to leave a comment. Cheers, Borut 2008/12/18 Marcelo Lotif > Very good, Borut, a really nice tutori

Re: [T5] GenericSelectModel Problem

2008-12-19 Thread CG
you save my life ! I keep thinking that the problem is at the idField (because the error message) , and I does not realize that the labelField is the culprit here ... the name is correct but I didn't hv a getter/setter for the labelField ! troubleshooting for 1 week , finally solved ... hurray

Re: Select with @InjectSelectionModel problem (value passed in is null)

2008-12-19 Thread Marcelo Lotif
Great idea, it was corrected. Thanks. On Fri, Dec 19, 2008 at 10:17 AM, Joe123 --- wrote: > > Hi, > > Thanks for your answer. I forgot to add the > public void onPrepare() and therefore the list was empty. > > Thanks. > > One addition for the tapestry wiki page. > > I think it is better to repl

RE: Select with @InjectSelectionModel problem (value passed in is null)

2008-12-19 Thread Joe123 ---
Hi, Thanks for your answer. I forgot to add the public void onPrepare() and therefore the list was empty. Thanks. One addition for the tapestry wiki page. I think it is better to replace: String accessActualName = transformation.addField(Modifier.PRIVATE, "org.apache.tapestry5.ioc.services.

Re: [T5] GenericSelectModel Problem

2008-12-19 Thread Marcelo Lotif
Just a quick hint: check if the name of your bean attributes are correct when you pass it to the GenericSelectionModel (labelField and idField). In my implementation, when the names are wrong, the list shows the toString() method. On Fri, Dec 19, 2008 at 3:59 AM, CG wrote: > thx all .. > seems l

Re: How to refresh a component in a different html file

2008-12-19 Thread olip
Hey JoeMayo, I am currently having the same problem. I use the onEvent component and have a event handler for it. The eventhandler refreshes the page but my layout component (which surrounds the page...such in the tapestry tutorial for nonbelievers the layout.tml component) gets not refreshed eve

Re: Select with @InjectSelectionModel problem (value passed in is null)

2008-12-19 Thread Marcelo Lotif
Joe, There were some errors on the wiki page and I've already corrected it, but was nothing related with this problem. I can't reproduce it here, can you show some more of your code so I can test it here? On Fri, Dec 19, 2008 at 8:32 AM, Joe123 --- wrote: > > I have been debugging and noticed t

RE: Select with @InjectSelectionModel problem (value passed in is null)

2008-12-19 Thread Joe123 ---
I have been debugging and noticed that the failure is in the GenericValueEncoder.toValue method The idFieldAdapter property is null and therefore it can't find a match. And why is the idFieldAdapter null? Because in the constructor(see below), the list parameter was null after submitting the fo

Select with @InjectSelectionModel problem (value passed in is null)

2008-12-19 Thread Joe123 ---
Hello I use the select component with the @InjectSelectionModel annotation as described here: http://wiki.apache.org/tapestry/Tapestry5AnotherSelectWithObjects The select is nicely loaded with categories. Next I submit the form and I notice that the setSelectedCategory method is called. But

Re: tapestry:parameter namespace

2008-12-19 Thread Andy Pahne
Oops. I am still on 5.0.18. But I really thought from the beginning that there might be something wrong with my setup. Andy Howard Lewis Ship schrieb: What version of Tapestry are you using? You need to be using 5.1.0.0-SNAPSHOT for this feature. On Thu, Dec 18, 2008 at 12:21 AM, Andy

T4 Reset page property

2008-12-19 Thread issoax
Hello I'm having the following problem I'm using a property in a page which i want to reset when i go to another page /or refresh the current one/ I did it persist="flash" but it in that case it is reseted on the second refresh or page load which doesnt work for me So is there a way to find out t