Re: Reloading zone from custom event handler

2012-03-02 Thread George Christman
Thanks Guys, I was able to combine a little from the both of you to come up with a solution. I'd like to start by saying, I was completely unaware of t:type="any" , what a life saver. I manage to find that within the bind code. Anyhow I developed a simple mixin enabling you to submit a single val

Re: Reloading zone from custom event handler

2012-03-02 Thread François Facon
Hi George did you try the bind mixin? see documentation at http://tapestry5-jquery.com/mixins/docsbind and test at https://github.com/got5/tapestry5-jquery/blob/master/src/test/java/org/got5/tapestry5/jquery/pages/Bind.java and https://github.com/got5/tapestry5-jquery/blob/master/src/test/reso

Re: Resolved: Re: Reloading zone from custom event handler

2012-03-02 Thread Thiago H. de Paula Figueiredo
On Fri, 02 Mar 2012 15:29:21 -0300, George Christman wrote: Would you mind elaborating a bit more on "It should be created inside the component itself. " Thanks Thiago. You shouldn't worry at all about event URLs, just use ComponentResources.createEventLink() to create them. If you're cre

Re: Hibernate/Tapestry5 - MySQL database

2012-03-02 Thread Josh Canfield
It seems like the OP is asking about using update To upgrade the schema of his database. It's generally considered bad practice to let hibernate auto upgrade your production database, although it's really handy during development. This is entirely a hibernate problem though and unrelated to Ta

Re: Resolved: Re: Reloading zone from custom event handler

2012-03-02 Thread George Christman
Would you mind elaborating a bit more on "It should be created inside the component itself. " Thanks Thiago. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Reloading-zone-from-custom-event-handler-tp5531638p5531787.html Sent from the Tapestry - User mailing list archive a

Re: Resolved: Re: Reloading zone from custom event handler

2012-03-02 Thread Thiago H. de Paula Figueiredo
On Fri, 02 Mar 2012 15:08:37 -0300, George Christman wrote: Thiago, is that a better solution than what I just recently posted as a solution? I guess they're equivalent. Also, I can't figure out how to generate a url with the component in it. Link link = resources.createEventLink("mySubm

Re: ?t:lb=t being appended to query parameter

2012-03-02 Thread George Christman
Yes, Its causing exceptions in IE. I don't have the app in front of me, but I'll do my best to explain. I have an autocomplete search box on the frontend. On the backend I have an onSubmit method. I'm grabbing the string value from the search field on submit performing a simple query for the r

Re: Resolved: Re: Reloading zone from custom event handler

2012-03-02 Thread George Christman
Thiago, is that a better solution than what I just recently posted as a solution? Also, I can't figure out how to generate a url with the component in it. Link link = resources.createEventLink("mySubmit"); link.toAbsoluteURI() only gives me /eprs/testtemplate:mysubmit but I need /eprs/testte

Re: ?t:lb=t being appended to query parameter

2012-03-02 Thread Howard Lewis Ship
Not currently. Why is it a problem? On Fri, Mar 2, 2012 at 9:22 AM, George Christman wrote: > Thanks Howard, so this only occurs when the component has a pageReset > lifecycle method? If this is true, is there a way to prevent it from > happening? > > -- > View this message in context: > http://

Resolved: Re: Reloading zone from custom event handler

2012-03-02 Thread George Christman
Resolved Just needed to remove $.ajax and add tapestryZone and pass in my parameters. $("#" + spec.linkId).bind("click", function(){ var specs = { url: "/eprs/testtemplate.vendorzone:mysubmit", params : {value : $("#" + spec.idI

Re: Reloading zone from custom event handler

2012-03-02 Thread Thiago H. de Paula Figueiredo
On Fri, 02 Mar 2012 14:35:04 -0300, George Christman wrote: Hello, I'm using Tapestry-Jquery and I'm trying to get the zone to reload. I'm able to get the request parameter values without issue, just won't reload the zone. Hi! Your JavaScript must have something like this: Tapestry.find

Reloading zone from custom event handler

2012-03-02 Thread George Christman
Hello, I'm using Tapestry-Jquery and I'm trying to get the zone to reload. I'm able to get the request parameter values without issue, just won't reload the zone. I have the following method @OnEvent(value = "mySubmit") Object ajaxLink() { value = request.getParameter("value")

Re: Hibernate/Tapestry5 - MySQL database

2012-03-02 Thread CHAUVEL
Hi thiago Tnaks for your reply. No I didn't know. I'm working on it. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Hibernate-Tapestry5-MySQL-database-tp5528748p5531630.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: ?t:lb=t being appended to query parameter

2012-03-02 Thread George Christman
Thanks Howard, so this only occurs when the component has a pageReset lifecycle method? If this is true, is there a way to prevent it from happening? -- View this message in context: http://tapestry.1045711.n5.nabble.com/t-lb-t-being-appended-to-query-parameter-tp5526503p5531610.html Sent from th

RE: Header text for recordError()

2012-03-02 Thread Demey Emmanuel
Hi Please check the documentation of the Errors component : http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Errors.html There is a banner parameter. Manu -Message d'origine- De : Markus Grell [mailto:tapes...@military.de] Envoyé : vendredi 2 mars 20

Header text for recordError()

2012-03-02 Thread Markus Grell
Greetings! After submitting a form I'nm using recordError() to display errors. recordError() produces a red box with the following header: "You must correct the following errors before continuing." Who can I change that text? Any ideas? markus