Some Redirect after Post issues

2006-12-12 Thread Bastian Voigt
Hi *, In my project (tap 4.02) I make heavy use of the redirect-after-post pattern with listeners such as this: public ILink onSubmit() { ... return getLinkService().getLink(...); } I have noticed that the PageValidationListener for the old page is always called when

Howto get locales's messages from a database

2006-12-12 Thread Cyrille37
Hello, I would like to store locales messages in a database. In my application project, some users can translate messages by them self to create new locales or change some messages. It will be better if they can do that online via a web interface. I think it would not be great and dangerous if

Re: Howto get locales's messages from a database

2006-12-12 Thread Cyrille37
Cyrille37 a écrit : I would like to store locales messages in a database. In my application project, some users can translate messages by them self to create new locales or change some messages. It will be better if they can do that online via a web interface. I think it would not be great and

Re: Howto get locales's messages from a database

2006-12-12 Thread Andreas Andreou
Yep, that's the way... There's also the wiki! http://wiki.apache.org/tapestry/UsingCustomResourceSource Cyrille37 wrote: Cyrille37 a écrit : I would like to store locales messages in a database. In my application project, some users can translate messages by them self to create new locales

Re: Some Redirect after Post issues

2006-12-12 Thread Bastian Voigt
Additionally, it seems that even pageBeginRender is called when using redirect after post. Now this really makes no sense does it? On Tuesday 12 December 2006 10:50, Bastian Voigt wrote: Hi *, In my project (tap 4.02) I make heavy use of the redirect-after-post pattern with listeners such

Re: Some Redirect after Post issues

2006-12-12 Thread Andreas Andreou
Bastian Voigt wrote: Additionally, it seems that even pageBeginRender is called when using redirect after post. Now this really makes no sense does it? It makes perfect sense to me ! (See more inline) On Tuesday 12 December 2006 10:50, Bastian Voigt wrote: Hi *, In my project

Translator and formating

2006-12-12 Thread Yiannis Mavroukakis
Hello :-) Is it valid use to employ a translator to force input into a certain format? In particular, I want a string that is made up of 4 letters and 7 number to be formatted with dashes at the letters and numbers boundary and once again for the final number, e.g. ABCD-123456-7. If so, which

Re: Howto get locales's messages from a database

2006-12-12 Thread Cyrille37
Andreas Andreou a écrit : Yep, that's the way... There's also the wiki! http://wiki.apache.org/tapestry/UsingCustomResourceSource YEAH ! That's it ! Thank you Andreas. Cyrille. Cyrille37 wrote: Cyrille37 a écrit : I would like to store locales messages in a database. In my

BeanPropertySelectionModel Dont't Work... (Tap 4.1.1 JPOX 1.1)

2006-12-12 Thread Juan Carlos García García
¿Why the Property Selection Model don’t initialize the value to ‘usuario.servicio’? It returns OK the value selected but it don’t initialize. Please . Help I have: (UsuarioPage.html): ... th align=rightServicio/th td select

Re: Problem generating content based on a conditional statement!

2006-12-12 Thread jake123
Hey Nick, thanks for the explanation. I change my span tag like you suggested to span jwcid=@If condition=ognl:businessCardListEntry.isHavingPendingSiteContactDTO and now everything is working just fine Cheers, Jacob -- View this message in context:

Re: Some Redirect after Post issues

2006-12-12 Thread Bastian Voigt
On Tuesday 12 December 2006 13:36, Andreas Andreou wrote: I have noticed that the PageValidationListener for the old page is always called when submitting a form, even when the form submission listener redirects to a different page. Sometimes this failed in my project. Why exactly does

After all this? Tapester 4.1 and JDK 1.4?!

2006-12-12 Thread Greg.L.Cormier
Ack! So I think I sorted out everything in moving from 4.0 - 4.1! Does 4.1 support JDK 1.4?! I get some oh-so-familiar errors ---Original exception--- java.lang.UnsupportedClassVersionError: org/apache/tapestry/ApplicationServlet (Unsupported major.minor version 49.0) at

Re: Some Redirect after Post issues

2006-12-12 Thread Andreas Andreou
Bastian Voigt wrote: On Tuesday 12 December 2006 13:36, Andreas Andreou wrote: I have noticed that the PageValidationListener for the old page is always called when submitting a form, even when the form submission listener redirects to a different page. Sometimes this failed in my

dojo error

2006-12-12 Thread Anjana Gopinath
Hi, i am using tapestry-annotations-4.1.1-20061211.220316-20.jar and tapestry-framework-4.1.1-20061203.170421-12.jar. i get this error when i try to load my app DEBUG: failed loading /northstaradmin/assets/static/dojo/../tapestry/ namespace.js with error: [TypeError:

Re: Translator and formating

2006-12-12 Thread Jesse Kuhnert
I think MaskEdit would work for you. http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/maskedit.html On 12/12/06, Yiannis Mavroukakis [EMAIL PROTECTED] wrote: Hello :-) Is it valid use to employ a translator to force input into a certain format? In particular, I want

Re: Translator and formating

2006-12-12 Thread Yiannis Mavroukakis
Thank you Jesse..I assume this is available for 4.0.x correct? On Tue, 2006-12-12 at 11:41 -0500, Jesse Kuhnert wrote: I think MaskEdit would work for you. http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/maskedit.html On 12/12/06, Yiannis Mavroukakis [EMAIL

Type Converter question

2006-12-12 Thread Ed Cohen
When refreshing a form, I get the error: No type converter for type TypeABC My question is: Why does Tapestry (4.0) invoke a type converter. What does Tapestry use it for? Ed

Tapestry Component using another Component (in this case JSCookMenu)

2006-12-12 Thread This High Xvision
Hi! I've build a Home page with the JsCookMenu. No problems doing so, it works according to the example of the JSCookMenu site. The problem is that instad of using the Jscookmenu on the Home page, I've built Border component, where on the HTML template page I've put the jscookmenu. Well I'm

Just out of curiousity[OT]

2006-12-12 Thread Emmanuel Sowah
Hi Jesse, I'm a Tapestry user and while googling today I found a message from you to the Wicket user mailing list. Are you a commiter/user of Wicket as well? Emmanuel

RE: Getting rid of .getVisit()

2006-12-12 Thread Greg.L.Cormier
Okay, I've set this up in my ApplicationServlet's init() method Registry myRegistry = RegistryBuilder.constructDefaultRegistry(); PCTAdminApplicationServlet.asm = (ApplicationStateManager)myRegistry.getService(ApplicationStateManager.class); then i have this in a new method I made called

Optgroup

2006-12-12 Thread Matthew Walsh
I have an implementation of IPropertySelectionModel that works fine, but I was looking for an easy way to divide them into groups using the optgroup tag like so: select optgroup label=food optionburger/option optionhot dog/option /optgroup optgroup label=drink

Automated Testing Tool

2006-12-12 Thread Miguel Angel Hernández
Hi all, Are there any tools that allow to build automated tests for tapestry apps? Do they suport Tacos and Dojo? cheers, miguel

Re: Automated Testing Tool

2006-12-12 Thread Konstantin Ignatyev
Selenium and its wrapper STIQ. --- Miguel Angel Hernández [EMAIL PROTECTED] wrote: Hi all, Are there any tools that allow to build automated tests for tapestry apps? Do they suport Tacos and Dojo? cheers, miguel Konstantin Ignatyev PS: If this is a typical day on planet

Re: Optgroup

2006-12-12 Thread Ron Piterman
There is a renderer parameter to the PropertySelection component, which sadly is being ignored. here are the classes, you can just copy, set the package and use. They are a modified version of the PropertySelection component cheers, Ron ==

Re: Some Redirect after Post issues

2006-12-12 Thread Bastian Voigt
Andreas Andreou schrieb: Since the form is in an 'area page' and tapestry's submits trigger the same page (i.e. the listeners are found on the current page) it's only normal that the validation listener will complain... Can't you include the current area as a hidden form field, so that it

Re: Some Redirect after Post issues

2006-12-12 Thread andyhot
Bastian Voigt wrote: Andreas Andreou schrieb: Since the form is in an 'area page' and tapestry's submits trigger the same page (i.e. the listeners are found on the current page) it's only normal that the validation listener will complain... Can't you include the current area as a

Re: @EventListener question

2006-12-12 Thread Julian Wood
I think what Jesse says is exactly what is expected and intuitive, but I've just spent 3 hours proving that it needs those redundant divs if you want it to work (unless I've misunderstood, or am approaching this wrong). Case in point, using the Dec 12, 4.1.1 snapshot: @EventListener(

Re: Type Converter question

2006-12-12 Thread Howard Lewis Ship
Chances are good this is related to a client-side persistent property, or a property stored inside a form using Hidden. A type converter is most likely being used to convert from a string to some server-side type. Perhaps you tried to update a property that is really an entity type? A stack