Re: Disable Validation of a field
Yes I am using the JS to disable the field, but the tapestry validation remains there. When i click on submit, it says that the field is required. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Disable-Validation-of-a-field-tp3779681p3869746.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Disable Validation of a field
textbox code in tml is : -- View this message in context: http://tapestry.1045711.n5.nabble.com/Disable-Validation-of-a-field-tp3779681p3779790.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Disable Validation of a field
Hi I am using Tapestry 5.2.2 version. Is there any way to disable the validation on a field on some event? say I have a checkbox and a textfield on a form, textfield - I want the validation on field email to be disabled or removed when I click the checkbox. What will be approach to implement this in tapestry? Appreciate your help!!! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Disable-Validation-of-a-field-tp3779681p3779681.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Updating a Field on event in Tapestry5
Thanks for your help Josh!! I have used the OnEvent component of chenillekit and implemented the same. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Updating-a-Field-on-event-in-Tapestry5-tp6157127p6161110.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Updating a Field on event in Tapestry5
Hi I am new to Tapestry, I am using Tapestry 5.2.2 version. I have a requirement to update another textfield on blur event of a field. for example: say I have 2 fields TextField A TextField B Enter any value in TextField A, a server call will be made and update the Textfield B. Appreciate any help! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Updating-a-Field-on-event-in-Tapestry5-tp3423064p3423064.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Calling Page from Servlet
Dear All, I am new to tapestry and require your help in resolving this issue. I have a requirement to call tapestry application from other application (built in servlets and jsp) I am calling Tapestry page from the servlet and passing certain parameters to the Tapestry page. Servlet code: PrintWriter newpage; response.setContentType("text/html"); newpage = response.getWriter(); newpage.println(""); newpage.println(""); At Tapestry end: in the Page java file, i defined onActivate method and the values are coming at this end @Inject private Request req; void onActivate() { String abc= req.getParameter("ABC"); } The onActivate method gets called twice, 1st time i can see the values passed to page and makes the value as null in 2nd time call. Which event should i use at the tapestry end to get the values from servlet and avoid the above situation? Is there any other way to achieve the requirement? The page will get called from other application as well as directly login into tapestry application. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Calling-Page-from-Servlet-tp3392127p3392127.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org