Re: Rendering Struts2 tags from the Action class content for the JSP template.

2012-02-10 Thread Dave Newton
Custom tags need to go through the rendering process, which they won't do if they're written to the body in an action. Dave (pardon brevity and typos, on cell) On Feb 10, 2012 11:44 PM, "umamaheswara rao" wrote: > Hi, > > I have defined struts tag in myApp_header.jsp. I have tested > that fun

Re: Rendering Struts2 tags from the Action class content for the JSP template.

2012-02-10 Thread umamaheswara rao
Hi,     I have defined struts tag in myApp_header.jsp. I have tested that functionality  by placing the tags directly in AssignOffer.jsp and they are working fine. Since we have JSP as a template (header, body and footer) header.jsp  contains all the tab libraries defined common for the applicat

Rendering Struts2 tags from the Action class content for the JSP template.

2012-02-10 Thread umamaheswara rao
  Hello List subscribers, I'm working on struts2 application to incorporate the Double click submission issue by using Tokens. But I have one issue here..Currently Body content of a JSP is building in the Action class and putting back in JSP template. So, far we are not using any struts spe

Re: REST in Struts 2 Web Applications

2012-02-10 Thread developer researcher
Hello Lukasz, thank you for your answer, *1.* I have severals problems when include the configuration for the rest-plugin in struts.xml (attachment the file): - Get HTTP for http://ipserver:port/weapp/index.action (for example) return HTTP 404 code error. Before include the rest plugin confi

Re: Validation FieldErrors missing after Struts2 Update (2.1.8 to 2.3.1.2)

2012-02-10 Thread Maurizio Cucchiara
I am glad it worked out. Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 10 February 2012 18:03, Jörg Bostelmann wrote: > > Hi Maurizio, > > thanks for you

Re: Validation FieldErrors missing after Struts2 Update (2.1.8 to 2.3.1.2)

2012-02-10 Thread Jörg Bostelmann
Hi Maurizio, thanks for your quick answer. This solved my problem. Field errors are shown :-) Thank you again, you saved my weekend :-) Wish you a nice weekend, Jörg - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org F

Re: Hide .do [S 1.3.8]

2012-02-10 Thread Josep García
The urlrewrite filter can help you with that. Take a look at AppFuse 2.0: appfuse.org This appfuse version shows .html extensions in the url, instead of .do or .action. Cheers, Josep 2012/2/10 Anjib Mulepati > Hi All, > > I am getting odd situation in Struts 1.3.8 application. > I have differen

Re: Validation FieldErrors missing after Struts2 Update (2.1.8 to 2.3.1.2)

2012-02-10 Thread Maurizio Cucchiara
Hi Jorg, according to the docs [1] you should use struts.xwork.chaining.copyFieldErrors - set to true to copy Field Errors [1] http://struts.apache.org/2.3.1.2/xwork-core/apidocs/com/opensymphony/xwork2/interceptor/ChainingInterceptor.html Twitter :http://www.twitter.com/m_cucchiara G+

Validation FieldErrors missing after Struts2 Update (2.1.8 to 2.3.1.2)

2012-02-10 Thread Jörg Bostelmann
Hello List subscribers, after an Update of Struts2 from version 2.1.8 to 2.3.1.2 the validation field error messages are missing in the frontend. But the validation takes place. The field errors are not transferred to the jsp. Some more details: This way we are adding the field error: try {

Re: Hide .do [S 1.3.8]

2012-02-10 Thread Mohamed SIDI
I think by using mapping mecanism in your web.xml 2012/2/10 Anjib Mulepati > Hi All, > > I am getting odd situation in Struts 1.3.8 application. > I have different actions and for each action user can see link as > http://localhost/MyApp/**MyAction.do > How c

Hide .do [S 1.3.8]

2012-02-10 Thread Anjib Mulepati
Hi All, I am getting odd situation in Struts 1.3.8 application. I have different actions and for each action user can see link as http://localhost/MyApp/MyAction.do How can I hide *.do from address bar? Thanks - To unsubscri