Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-25 Thread Alex Rodriguez Lopez
Hi Zoran, would you mind sharing the code of this tag? It would be helpful to me, as somehow I've been able to link to the same sction with an empty url tag but unable to retain params. Thanks! Em 24-03-2010 22:42, Zoran Avtarovski escreveu: I wrote a small custom tag which builds the link

RE: Form values getting empty After validation failure

2010-03-25 Thread adam pinder
the selects should behave as any other input type, if the select name has an associated get in the action class then it should re-populate the selected value. i use a straight s:select ../ and its fine. if that is all present... turn on the debugging for the parameters interceptot and

[Struts2] Retrieve parameter scope variables with OGNL

2010-03-25 Thread poof65
Hi, i'm using jsp:include to include a jsp from another but i've a problem to get the value set in the jsp:param tag. jsp:include page=../include/blocs/blocEnteteDossier.jsp jsp:param name=blocSource value=depeche / /jsp:include I can display the value with EL (${ param.blocSource })

Can I redirect user to another website using action result?

2010-03-25 Thread Kun Niu
Dear all, I'm trying to use struts2 to redirect user to another website out of my tomcat box. I wonder if action result supports http://xxx.com format. Any hints are appreciated and thanks in advance. Best regards, Kun - To

Re: Can I redirect user to another website using action result?

2010-03-25 Thread Lukasz Lenart
2010/3/25 Kun Niu haoniu...@gmail.com: I'm trying to use struts2 to redirect user to another website out of my tomcat box. I wonder if action result supports http://xxx.com format. Any hints are appreciated and thanks in advance. You have to results: redirect and redirectAction. The first one

Re: Can I redirect user to another website using action result?

2010-03-25 Thread Kun Niu
Thank you for your fast reply. I wonder if there's a manual so that I can checkout all the struts function? Lukasz Lenart writes: 2010/3/25 Kun Niu haoniu...@gmail.com: I'm trying to use struts2 to redirect user to another website out of my tomcat box. I wonder if action result supports

RE: [Struts2] Retrieve parameter scope variables with OGNL

2010-03-25 Thread Hoying, Ken
If you can display it with ${ param.blocSource }, did you try #attr.param.blocSource? -Original Message- From: poof65 [mailto:poo...@gmail.com] Sent: Thursday, March 25, 2010 6:01 AM To: user@struts.apache.org Subject: [Struts2] Retrieve parameter scope variables with OGNL Hi, i'm

Re: Can I redirect user to another website using action result?

2010-03-25 Thread Lukasz Lenart
2010/3/25 Kun Niu haoniu...@gmail.com: Thank you for your fast reply. I wonder if there's a manual so that I can checkout all the struts function? http://struts.apache.org/2.x/docs/guides.html http://struts.apache.org/2.x/docs/result-types.html Regards -- Łukasz http://www.lenart.org.pl/

Re: Form values getting empty After validation failure

2010-03-25 Thread Greg Lindholm
Does this FAQ entry help? http://struts.apache.org/2.x/docs/how-do-we-repopulate-controls-when-validation-fails.html - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: [Struts 2.1.8] s:url : how to open in a new window ?

2010-03-25 Thread Celinio Fernandes
Thanks, that works :) --- On Tue, 3/23/10, Florin Cazacu florin.caz...@cst.ro wrote: From: Florin Cazacu florin.caz...@cst.ro Subject: Re: [Struts 2.1.8] s:url : how to open in a new window ? To: Struts Users Mailing List user@struts.apache.org Date: Tuesday, March 23, 2010, 9:36 AM Hello,

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-25 Thread Celinio Fernandes
Thanks.   Could you share that code ? It would be useful and much appreciated. Thanks again.   --- On Wed, 3/24/10, Zoran Avtarovski zo...@sparecreative.com wrote: From: Zoran Avtarovski zo...@sparecreative.com Subject: Re: [Struts 2.1.8.1] Internationalization: how to remain in the current

Re: [Struts2] Retrieve parameter scope variables with OGNL

2010-03-25 Thread Greg Lindholm
This seems to be a common problem that has been asked about many times on this list (see search for include + param): http://old.nabble.com/forum/Search.jtp?forum=206local=yquery=include+param I've never seen a definitive answer (but maybe it's buried in the above search). In my latest project

Re: [Struts2] Retrieve parameter scope variables with OGNL

2010-03-25 Thread poof65
Ok thank you for the answer. I've had already found a workaround using s:set but i wanted to know if a clean solution did exist. I will take a look at tag file when i'll have some free time. On Thu, Mar 25, 2010 at 3:00 PM, Greg Lindholm greg.lindh...@gmail.com wrote: This seems to be a common

struts.xml vs struts.properties which takes a precedence?

2010-03-25 Thread Bhaarat Sharma
Hi, If the same property is set in struts.xml and struts.properties which one takes precedence? also, is there any documentation where this is explained /verified?

Re: Can I redirect user to another website using action result?

2010-03-25 Thread Kun Niu
Thank you for your detailed reply. Lukasz Lenart writes: 2010/3/25 Kun Niu haoniu...@gmail.com: Thank you for your fast reply. I wonder if there's a manual so that I can checkout all the struts function? http://struts.apache.org/2.x/docs/guides.html