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 : 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

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: [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 wrote: > This seems to be a common problem that has been a

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=206&local=y&query=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
No i didn't try this syntax because param is a special EL variable that contain request parameter and i don't have a variable named param. I've just tried to be sure and it didn't work either. I thought it was contained in the ognl #parameters special variable but apparently it's not the case. On

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 wrote: From: Zoran Avtarovski Subject: Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ? To: "Struts Users Mailing List" , "Celini

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 wrote: From: Florin Cazacu Subject: Re: [Struts 2.1.8] s:url : how to open in a new window ? To: "Struts Users Mailing List" Date: Tuesday, March 23, 2010, 9:36 AM Hello, You can avoid opening of the link in the current window remov

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: user-h...@struts.a

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

2010-03-25 Thread Lukasz Lenart
2010/3/25 Kun Niu : > 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/ Kapituła Javarsovia 2

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 us

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 : > >> 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.co

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

2010-03-25 Thread Lukasz Lenart
2010/3/25 Kun Niu : > 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 can redirect to

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 uns

[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. I can display the value with EL (${ param.blocSource }) but my goal is to test it in a s:if tag. I've tried many solutions but none of them give me the correct result.

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 and its fine. if that is all present... turn on the debugging for the parameters interceptot and check the sele

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 w