Hello,
I have the following configuration in a Struts.xml file. The
paramsPrepareParamsStack is the default interceptor stack. AccountAction
does not implement any interfaces. Both BankcardAction and ECheckAction
implement Preparable and ModelDriven.
Hi,
Thanks for answering!!
I'll post my relevant configurations. I'm using spring 2.5.6 and struts 2.1.8.1.
I have the spring plugin in the struts.conf, and my actions are
correctly autowired by name.
I also have an include in struts.conf where the relevant action is called.
The thing here is I hav
I admit that I haven't read the whole thread, so flame me if you
covered the answer already, but...
Have you looked at Sitemesh? I would suggest look at creating
different decorators for each of the devices you want to support, then
code your undecorated JSPs so that they can be decorated based on
I don't know if I'd go too far creating a TypeConverter... Can you
just do something like this -
YN
Really, you could probably create a .tag file out of it and reuse it
easier than creating a Type Converter.
-Wes
On Fri, Jan 29, 2010 at 7:48 AM, RogerV wrote:
>
> Hi
>
> I have a collection of
What you are doing should work the way you expect... I use the Spring
integration all the time :)
A few simple questions, do you have the spring-plugin installed? Do
you have the Spring ContextLoaderListener setup in the web.xml? Do you
have any non-default configuration settings in any of web.xml
Yeah, I think my best option here is to just convert my list of ints to
a comma separated list. It seems though, that since the request object
can handle lists, that there should be a way to add list parameters in
struts.
Right now the function to add a parameter in ServletRedirectResult looks
If you are using a result type of "redirectAction" you don't
explicitly code the url just give it the action name and let the
result construct the correct url.
To pass parameters with a redirectAction you do it like this:
< param name="actionName">CompleteConfirmation
< par
Right, this is similar to what I want, but it would have to be
dynamically generated, as I don't know the size of the list. For
instance, in this case, the user would have selected 4 orders, but in
the next case could select 10. The problem isnt passing parameters, it's
passing a parameter that
Sorry the line result should be like this:
>
s>test/CompleteConfirmation.action?orderNumbers=${ordernumber1}&orderNumbers=${ordernumber2}&orderNumbers=${ordernumber3}&orderNumbers=${ordernumber4}
Eric Rich
Data System Administrator
Murray State University
Address: 226 Alexander Hall
Timothy,
If I understand you correctly you want to redirect and pass values. I
have done this by encoding my url with proper html syntax.
s>test/CompleteConfirmation.action?orderNumber&${orderNumbers}
>
I hope this helps.
Eric Rich
Data System Administrator
Murray State University
Add
ruts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
__ NOD32 4817 (20100129) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
-
To unsu
Hello All,
I have a typical scenario:
1. User is presented a list of orders, and can select some of them
to complete. A list of order numbers is sent to the next action.
(ViewOrders.action)
2. Struts action completes the order by iterating through the list
of passed order numbers.
ve access to the the
>>> name of the action?
>>>
>>> Any suggestions here are greatly appreciated!
>>> Web technologies being used are Struts2, Tiles2 and JSP.
>>>
>>> Regards,
>>> Marcus
>>>
>>> --
no help on this one?
On Wed, Jan 27, 2010 at 12:43 PM, Bhaarat Sharma wrote:
> We have seen situations where sometimes the global resource bundles are
> lost intermittently for some sessions. We are in a clustered/shared
> environment where multiple apps are deployed onto a GlassFishV2 server.
>
Hi stephan,
I see you solved your issue regarding resource bundle.
I am having a problem where intermittently the resource bundles get lost and
instead of seeing values on the browser...we start seeing actual properties
like: my.label.name.
using the execute method for your code below...is ther
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
__ NOD32 4817 (20100129) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.c
it's success
>> they modify it to success_devicetype_version, which corresponds to the JSP
>> /WEB-INF/jsp/devicetype/version/success.jsp, for example. The only ugly
>> part of this is you'll have lots of results defined for each action in
>> struts.xml, but at least you ha
Hi
I have a collection of objects, each one contains a boolean flag, and I'm
displaying these via a JSP as a list via an interator. Struts is converting
the boolean fields into the strings "true" and "false", I'd like to be able
to
1) display them as "Y" and "N"
2) convert back to "true" and "f
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
__ NOD32 4817 (20100129) Information __
This me
e-mail: user-h...@struts.apache.org
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
__ NOD32 4817 (20100129) Information __
This mes
There must be extra white space.
Try trim:
response.setHeader("WWW-Authenticate", "NTLM " + new
sun.misc.BASE64Encoder().encodeBuffer(msg1).trim());
--
View this message in context:
http://old.nabble.com/Struts-2-Weblogic-and-NTLM-tp16032835p27369873.html
Sent from the Struts - User mailing l
2010/1/28 Emi Lu :
> I think both struts2 & Tiles2' official websites should highlight this in a
> very prominent position!
It's only a matter of Struts, Tiles is totally independent to Struts.
Antonio
-
To unsubscribe, e-mail:
22 matches
Mail list logo