Could some one help me on this please with some example?
Thanks,
Vikram
_
From: Byali, Vikram G.
Sent: Tuesday, January 11, 2011 3:48 PM
To: 'user@struts.apache.org'
Subject: retaining the values in html:select multiple=true in jsp +
collection + struts
Hi,
I have a
2011/1/12 vikram.g.by...@accenture.com
Could some one help me on this please with some example?
Please read a bit about Preparable interface
http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html
http://struts.apache.org/2.2.1.1/docs/prepare-interceptor.html
Lukasz,
I'm afraid he is using struts 1.
Anyway, I think that when user goes back using the browser's arrow,
the page is loaded from cache. So It shouldn't be a matter of Struts.
My suggest is that you should find a way to avoid http caching [1] (I
don't know if it works, I usually use
2011/1/12 Maurizio Cucchiara maurizio.cucchi...@gmail.com:
Lukasz,
I'm afraid he is using struts 1.
You're right, I missed that out ;-)
Kind reagds
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia http://javarsovia.pl
Lukasz,
Yes, I am using Struts 1.3.8. I don't think Interceptor is supported in
it. I tried the link you shared, but still it is not working. Could you
please share me the right example to fix this ?
Best Regards,
Vikram
-Original Message-
From: Maurizio Cucchiara
Here it the mail content:
Just to confirm, I dont need to place the following
META HTTP-EQUIV=Expires CONTENT=-1
META HTTP-EQUIV=Pragma CONTENT=no-cache
META HTTP-EQUIV=Cache-Control CONTENT=no-cache
In my pages? It is cool not to see these repeated lines
in all my pages
-Dan
Maurizio,
Thanks a lot it worked for all the fields except few lists which has
a call to AjaxServlet in it. Can you help me with this?
-Original Message-
From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Sent: Wednesday, January 12, 2011 3:06 PM
To: Struts Users
Hi,
I'm a newbie to the structs2 and I was trying to write my first hello
world application using structs2.Once I have tried it , I was getting
the following warning message.
WARNING: No configuration found for the specified action: 'HelloWorld'
in namespace: ''. Form action defaulting to 'action'
No; you'd need to re-load the contents/selections either in page load,
like normal, or on document ready via Ajax.
Dvae
On Wednesday, January 12, 2011, vikram.g.by...@accenture.com wrote:
Maurizio,
Thanks a lot it worked for all the fields except few lists which has
a call to
Struts. Struts 2.
Any startup messages in the log? We have no idea what your
configuration looks like or how you're calling the action--not sure
how to help other than normal web app debugging tips.
Dave
On Wednesday, January 12, 2011, Nuwan Arambage nuwan.aramb...@gmail.com wrote:
Hi,
I'm a
?xml version=1.0 encoding=UTF-8 ?
!DOCTYPE struts PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 2.0//EN
http://struts.apache.org/dtds/struts-2.0.dtd;
struts
constant name=struts.devMode value=true /
package name=default namespace= extends=struts-default
Hello,
You have tu put an / before yout action name in your JSP page, try with
this :
s:form action=/HelloWorld
s:textfield name=name label=Your name/
s:submit/
/s:form
and I think you have tu put / in your namesapce definition
Best Regards
2011/1/12 Nuwan
Hello,
I woud like to know if the Struts actions are singleton based or not, some
links treating this topic are pleased
Thanks
--
Cordialement
Mohamed
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton based or not, some
links treating this topic are pleased
Thanks
Struts2 actions are far away from being singletons. Quite the contrary:
Instances of action classes are created (IIRC)
Yyy
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton based
Yyy
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton based
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton based
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton based
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton based
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton based
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton based
Y
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton based
Yyy
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton
Yy
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
Enviado: 12 Ene, 2011 08:19
Am 12.01.2011 14:02, schrieb Mohamed SIDI:
Hello,
I woud like to know if the Struts actions are singleton
Issue was totally on WAS.
I have to change some setting there,
http://www-01.ibm.com/support/docview.wss?rss=180uid=swg21284395)
On Tue, Jan 11, 2011 at 5:15 PM, Dave Newton davelnew...@gmail.com wrote:
Check the startup logs. Make sure devMode is turned on. I'd also crank up
the logging
Maurizio,
Thank you. I have read over that but I am interested in Localizing
the rules actually changing whether a field is required or not
depending on the country. For example I may have a County field for
my address which is required for the US but in Hong Kong they don't
require County. I
Sorry about the repetition of mails. I forgot to close my BlackBerry, and
put it into my pocket...
Jose
2011/1/12 jlm...@gmail.com
Yy
--Mensaje original--
De: Robert Graf-Waczenski
Para: Struts Users Mailing List
Responder a: Struts Users Mailing List
Asunto: Re: Action Struts2
I don't think that's how it works, but you might try storing masks etc. in
the resource file and accessing them via a %{zipValidationText} base action
property or something similar.
I honestly don't remember how I implemented that, but I know I did it in two
different ways and they both worked.
We've been butt-posted?!
:D
On Wed, Jan 12, 2011 at 11:00 AM, JOSE L MARTINEZ-AVIAL jlm...@gmail.comwrote:
Sorry about the repetition of mails. I forgot to close my BlackBerry, and
put it into my pocket...
Jose
2011/1/12 jlm...@gmail.com
Yy
--Mensaje original--
De: Robert
That's never a good sign.
-Brian
On Wed, Jan 12, 2011 at 10:03 AM, Dave Newton davelnew...@gmail.com wrote:
We've been butt-posted?!
:D
On Wed, Jan 12, 2011 at 11:00 AM, JOSE L MARTINEZ-AVIAL jlm...@gmail.com
wrote:
Sorry about the repetition of mails. I forgot to close my
Hi all,
I'm using Struts .2.1.8.1, and I've found a problem when I use result
type httpheader and I try to use a header name with a hyphen. They don't get
sent. For example, the following result definition:
result name=mvc.security.authentication.ntlm.solicited type=httpheader
param
I wonder if that's an OGNL thing.
Dave
On Wed, Jan 12, 2011 at 12:24 PM, JOSE L MARTINEZ-AVIAL jlm...@gmail.comwrote:
Hi all,
I'm using Struts .2.1.8.1, and I've found a problem when I use result
type httpheader and I try to use a header name with a hyphen. They don't
get
sent. For
Hi,
I've been having difficulties using validation with the
Convention+Rest plugin using Struts 2.2.1.1.
My validation successfully adds field errors to the action and the
rest workflow chooses to render an editNew result as expected.
If I include a method called editNew (returning either a
Hello,
In my company's internal CMS, we are implementing two new asset types,
Videos and Playlists (collections of Videos). In the Video UI, the user
designates which Playlists are to be associated with a given Video, and
these values are posted on save via an array called playlists which
I launched an exception to get the stacktrace, and it calls OGNL:
java.lang.Throwable
at
com.spb.mvc.controller.web.struts2.json.ResponseJSONResult.setMyValue(ResponseJSONResult.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
Not sure; maybe try headers['WWW-Authenticate'] first?
Dave
On Wed, Jan 12, 2011 at 4:50 PM, JOSE L MARTINEZ-AVIAL jlm...@gmail.comwrote:
I launched an exception to get the stacktrace, and it calls OGNL:
java.lang.Throwable
at
Hi all,
I'm using Struts .2.1.8.1, and I've found a problem when I use
result type httpheader and I try to use a header name with a hyphen.
They don't get sent. For example, the following result definition:
result name=mvc.security.authentication.ntlm.solicited
type=httpheader
param
I launched an exception to get the stacktrace, and it calls OGNL:
java.lang.Throwable
at
com.spb.mvc.controller.web.struts2.json.ResponseJSONResult.setMyValue(Re
sponseJSONResult.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
Did you try my original answer?!
Dave
On Wed, Jan 12, 2011 at 10:59 AM, Jose Luis Martinez Avial
jlmarti...@pb-santander.com wrote:
Hi all,
I'm using Struts .2.1.8.1, and I've found a problem when I use
result type httpheader and I try to use a header name with a hyphen.
They don't get
Yes, it worked!!. Thanks.
Jose Luis
-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com]
Sent: Wednesday, January 12, 2011 6:00 PM
To: Struts Users Mailing List
Subject: Re: Strtus2: httpheader result does not sent headers with
hyphenated names
Did you try my original
No problem--maybe my email is messed up, because I just got two other posts
about the same topic. Oh well!
Dave
On Wed, Jan 12, 2011 at 6:02 PM, Jose Luis Martinez Avial
jlmarti...@pb-santander.com wrote:
Yes, it worked!!. Thanks.
Jose Luis
-Original Message-
From: Dave Newton
No, is that I am subscripted to the list with two accounts. I tried to send the
mail with one of them, but it apparently failed. Then I used the other one, and
it worked. A few hours later the first mail reached the list, that's why it
appears twice.
Sent via BlackBerry from T-Mobile
Can we see your related files?
On Wed, Jan 12, 2011 at 3:43 PM, Scott Koenig scott.l.koe...@gmail.comwrote:
Hello,
In my company's internal CMS, we are implementing two new asset types,
Videos and Playlists (collections of Videos). In the Video UI, the user
designates which Playlists are to
45 matches
Mail list logo