render a previously non-existing component on ajax submit

2006-12-12 Thread karthik G
I have one page in my application. I want to display a panel/form (FORM-1) in the page that allows user to do ajax submit. Once that is done , i want to replace FORM-1 with a different FORM-2 that didn't exist before in the page. I see that AjaxSubmit has a property updateComponents where we are s

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 tra

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( eve

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 th

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 get

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 == import

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 p

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

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 tag like so: burger hot dog beer soda What is the easiest way to accomplish this without rewriting too much? ---

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 getAdm

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

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 u

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

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

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 wa

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: dojo.hostenv.moduleHasP

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 fail

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 java.lang.Clas

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

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 and now everything is working just fine Cheers, Jacob -- View this message in context: http://www.nabble.com/Problem-generating-content-based-on-a-conditional-statement%21-tf2796443.html#a7834666 Sent from th

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): ... Servicio

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 app

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: 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

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 suc

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 lo

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

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

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 submitting

Db-Configuration

2006-12-12 Thread Fabian Dittrich
Hi tapestry-users, before i used a file in conf/catalina/localhost/ to configure my db-connection there in an xml file, like this: Now i want to deploy my app directly into Tomcat/webapps Anyone knows where to put the settings for the db-connection now? Thanks for any advice Fabian