Re: NoResult - write response in the Action

2009-11-05 Thread Dale Newfield
Greg Lindholm wrote: Looking at the code it appears that (null) and none are treated the same and both cause results processing to be skipped. Thanks! and the annotated view:

Re: NoResult - write response in the Action

2009-11-05 Thread Siddiq Syed
What will be the view in this case ? I mean there must be some jsp kinda thing , where the Response can be displayed !! If the framework doesn't goes to the strust.xml file , Can we define some view in the action itself ?? I am curious , may be i am out of context for this.but !! I donno.

Re: NoResult - write response in the Action

2009-11-05 Thread Brian Thompson
If I understand correctly, the response will just be sent directly to the client without going through jsp processing. -Brian On Thu, Nov 5, 2009 at 1:36 PM, Siddiq Syed siddiq...@yahoo.com wrote: What will be the view in this case ? I mean there must be some jsp kinda thing , where the

Re: UI Issues in s:doubleselect Double Select control

2009-11-05 Thread Dale Newfield
I would suggest modifying template/simple/doubleselect.ftl to do what you need. -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Struts 1.3.8 and WAS 7.0.0.5

2009-11-05 Thread Warsa, Steve
Hi All, I am a WAS admin and I have a developer who migrated his EAR to JEE 5 and servlet 2.5. His EAR uses Struts 1.3.8 Apparently, it works fine (without error) running on his local environment (RAD 7.5) on the WAS 7.0.0.3 embedded test environment. However, when deploying to WAS 7.0.0.5

RE: Struts 1.3.8 and WAS 7.0.0.5

2009-11-05 Thread Warsa, Steve
Now the developer removed all the struts jars except for the Struts 1.3.8 and is getting this error: java.lang.ClassNotFoundException: org.apache.struts.taglib.template.PutTag Here are the jars that are now included in the WAR: antlr-2.7.2.jar commons-validator-1.3.1.jar

RE: Struts 1.3.8 and WAS 7.0.0.5

2009-11-05 Thread Martin Gainty
suggest using the org.apache.struts.taglib.TagUtils.message method http://struts.apache.org/1.2.x/api/org/apache/struts/taglib/TagUtils.html#message%28javax.servlet.jsp.PageContext,%20java.lang.String,%20java.lang.String,%20java.lang.String%29 i *thought* message method was deprecated in Struts

Using struts2 to return xml to the client

2009-11-05 Thread karen
Hello, all I want to use struts2.0.14 but I’m a beginner. I want to return xml to the browser, If I return null in the execute method of an action, is there any ban consequence? I need some advice. I just want it this way: In my action: public String execute() throws Exception{

RE: UI Issues in s:doubleselect Double Select control

2009-11-05 Thread Muthu Velappan
I think you are right. Let me try that and get back to you. All I need is to add a new attribute to take the second label name... Thanks, Muthu -Original Message- From: Dale Newfield [mailto:d...@newfield.org] Sent: Friday, November 06, 2009 3:19 AM To: Struts Users Mailing List

RE: Is there any way to apply break from a s:iterator tag.

2009-11-05 Thread Muthu Velappan
I added a JIRA ticket for this and here is the URL for future tracking. https://issues.apache.org/struts/browse/WW-3317 Let me try to get this enhancement done and update the patch there in next couple of weeks. Thanks for your thoughts anyway. ~Muthu -Original Message- From: Dale

Re: Is there any way to apply break from a s:iterator tag.

2009-11-05 Thread RogerV
DNewfield wrote: s:set var=abortLoop value=%{false}/ s:iterator s:if test=%{!#abortLoop} ... ... maybe s:set var=abortLoop value=%{true}/ /s:if /s:iterator I look forward to the implementation of the maybe command - I know that I'll find it useful and I don't