S2 Can I use java templates for all tags except form?

2009-12-27 Thread Néstor Boscán
Hi Is there a way I can use java templates for all tags except form?. I want to gain on the performance of the java tags but still maintain the validation features of the form tag. Regards, Néstor Boscán

RE: S2 Can I use java templates for all tags except form?

2009-12-27 Thread Neil Aggarwal
Nestor: > Is there a way I can use java templates for all tags except form? You can mix and match struts UI tags and normal HTML tags in your JSPs. I do it all the time and it will not hurt anything. Neil -- Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net Host your Struts app on

Re: S2 Can I use java templates for all tags except form?

2009-12-27 Thread Saeed Iqbal
And thats the beauty of struts On Sunday, December 27, 2009, Neil Aggarwal wrote: > Nestor: > >> Is there a way I can use java templates for all tags except form? > > You can mix and match struts UI tags and normal > HTML tags in your JSPs.  I do it all the time and > it will not hurt anything. >

int validator stopped working after upgrade to 2.1.8 from 2.1.6

2009-12-27 Thread Parm Lehal
Hello my int validator stopped working after upgrade to 2.1.8 from 2.1.6. Can someone please, provide some insight? My validators are defined like this and they used to work fine before. Now string validators are working but not the int ones. ..

Re: S2 Can I use java templates for all tags except form?

2009-12-27 Thread Néstor Boscán
Hi Thanks for the quick reply. What I'm refering is: instead of using only the Struts 2 Tags with the FreeMarker XHTML template combine the "Form" Struts 2 Tag with FreeMarker XHTML template and the rest of the tags with Java Templates. What I want is to gain on the performance of the Java Templa

RE: Forwarding to a Java Application

2009-12-27 Thread Rafael Muneton
Hi Wes: Thanks for your answer. I am a little bit confused now. What I am trying to do is uncommon? The fact that I want to launch a Java class(Nor a Servlet) from a Java Server Page is something odd??? Or is it against the rules of Struts The question is now ===> How would you

Clear text while using File Upload in Struts2

2009-12-27 Thread Mageshwaran
Hi All, In my jsp code i had used "label="File" size="20" onkeypress = "killEvent(event)"/>" for file upload using IFrame. The issue is if i select a file using file dialog, there is no option to clear the selected text. Can any one help me how to clear the uploaded file path text? T

Re: Forwarding to a Java Application

2009-12-27 Thread Saeed Iqbal
An action bean is similar to a java bean just point in struts xml the java bean name On Monday, December 28, 2009, Rafael Muneton wrote: > > Hi Wes: > > > > Thanks for your answer. > > I am a little bit confused now. > > What I am trying to do is uncommon? > > The fact that I want to launch

Re: Clear text while using File Upload in Struts2

2009-12-27 Thread Saeed Iqbal
It gets submitted after post if you want to clear maybe use javascript to clear On Monday, December 28, 2009, Mageshwaran wrote: > Hi All, >       In my jsp code i had used " size="20" onkeypress = "killEvent(event)"/>" for file upload using IFrame. > > The issue is if i select a file using fil

Re: Clear text while using File Upload in Struts2

2009-12-27 Thread Mageshwaran
I have not submitted the form. I just only selected the file using file dialog. It would be helpful if you give the code snippet to implement in Java Script. Magesh. Saeed Iqbal wrote: It gets submitted after post if you want to clear maybe use javascript to clear On Monday, December 28,

Re: Clear text while using File Upload in Struts2

2009-12-27 Thread Saeed Iqbal
If you have not submitted the form and you want this functionality then you are talking about ajax file upload struts doesnt provide ajax file upload but you can do that in struts using other libraries On Monday, December 28, 2009, Mageshwaran wrote: > I have not submitted the form. > I just onl