Re: To .action or not to .action.

2009-03-13 Thread DEck


I believe it's now the default behavior of struts 2.1.



We recently discovered, quite by accident, that we can cause our app
built on struts2 to NOT display ".action" on any of the URL's.  I'd
simply like to find out if this is an intended feature or a possible
defect?  The difference is in how we start off our interaction in the
browser.  If we use a URL like:

http://localhost:8080/mysite/login.action

then all of the URL's in the site appear to be suffixed with ".action".
If, on the other hand, we use:

http://localhost:8080/mysite/login

then none of the URL's are suffixed with ".action".

We're using Struts 2.1.6 with Tiles 2.0.4 - recently upgraded from some
prior versions.  We noticed this because our QE department's automated
testing software freaked out when it couldn't match URL's as it expected.

Thanks,
Dave

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are addressed.
 If you receive this e-mail in error please notify postmas...@holstein.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: datetimepicker ....unable to get it working :(

2008-12-29 Thread DEck


Try putting the  inside html  tags.

JSP -
<%@ include file="/WEB-INF/pages/common/standard-includes.jsp" %>








  





This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are addressed.
 If you receive this e-mail in error please notify postmas...@holstein.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Results Layout Question

2008-10-20 Thread DEck


How about a link?

-"Peterson, Ryan" <[EMAIL PROTECTED]> wrote: -

To: user@struts.apache.org
From: "Peterson, Ryan" <[EMAIL PROTECTED]>
Date: 10/20/2008 12:03PM
Subject: Results Layout Question

Hey guys, quick question on how to display results:

I have a list of names/info that will be displayed for users to choose
(possibility of 0-100+ "names") to submit a single one back to the
action.  I have a collection and can display them in plain text, but
what's a recommended way to display this list and allow the user to
select one?  I'm playing with radio buttons or a select box, but they
feel very kludgey.  Does anyone have a more elegant way to display a
list of names to allow a single selection?



Thanks for any help!


Ryan P.




This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are addressed.
 If you receive this e-mail in error please notify [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts 2: How can we save the parameters if we do redirect and not redirect-action

2008-09-18 Thread DEck
Yes.  I should have mentioned that I used a marker interface.




Dave Newton <[EMAIL PROTECTED]> 
09/18/2008 02:30 PM
Please respond to
"Struts Users Mailing List" 


To
Struts Users Mailing List 
cc

Subject
Re: Struts 2: How can we save the parameters if we do redirect and not 
redirect-action







There's no extra code in the action. The code is in the interceptor. The 
action (I'm assuming) implements a marker interface to inform the 
interceptor that it should put the request parameters into the session.

IMO doing this in a custom result is the wrong way to go about it, for 
several reasons; one is that the interceptor approach works no matter what 
result type you end up using.

Dave





This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are addressed.
 If you receive this e-mail in error please notify [EMAIL PROTECTED]



Re: Struts 2: How can we save the parameters if we do redirect and not redirect-action

2008-09-18 Thread DEck


In an interceptor that my action implemented.

session.setAttribute("PARMS", request.getParameterMap());



>  Where did you set the session with the parameterMap in the
>  servletRedirectResult.java or ?



This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are addressed.
 If you receive this e-mail in error please notify [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]