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 mu
2011/1/12
> 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
Regards
--
Łukasz
+ 48 606 3
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 header-bas
2011/1/12 Maurizio Cucchiara :
> 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
-
To uns
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 [mailto:maurizio
Here it the mail content:
Just to confirm, I dont need to place the following
In my pages? It is cool not to see these repeated lines
in all my pages
-Dan
2011/1/12 :
> Lukasz,
>
> Yes, I am using Struts 1.3.8. I don't think Interceptor is supported in
> it. I tried the link
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 Ma
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, wrote:
> Maurizio,
>
> Thanks a lot it worked for all the fields except few lists which has
> a call to AjaxServlet in it. Can you hel
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 wrote:
> Hi,
> I'm a newbie to the structs2
http://struts.apache.org/dtds/struts-2.0.dtd";>
HelloWorld.jsp
this is my structs.xml looks like and index.jsp is as follows
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/str
Hello,
You have tu put an "/" before yout action name in your JSP page, try with
this :
and I think you have tu put / in your namesapce definition
Best Regards
2011/1/12 Nuwan Arambage
>
> "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
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) f
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 b
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 bas
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 b
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 bas
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 bas
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 bas
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 bas
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 bas
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 bas
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 bas
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 b
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 ba
Issue was totally on WAS.
I have to change some setting there,
http://www-01.ibm.com/support/docview.wss?rss=180&uid=swg21284395)
On Tue, Jan 11, 2011 at 5:15 PM, Dave Newton wrote:
> Check the startup logs. Make sure devMode is turned on. I'd also crank up
> the logging level to DEBUG until
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 w
Sorry about the repetition of mails. I forgot to close my BlackBerry, and
put it into my pocket...
Jose
2011/1/12
> Yy
> --Mensaje original--
> De: Robert Graf-Waczenski
> Para: Struts Users Mailing List
> Responder a: Struts Users Mailing List
> Asunto: Re: Action Struts2
> Enviado: 12
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.
M
We've been butt-posted?!
:D
On Wed, Jan 12, 2011 at 11:00 AM, JOSE L MARTINEZ-AVIAL wrote:
> Sorry about the repetition of mails. I forgot to close my BlackBerry, and
> put it into my pocket...
>
> Jose
>
> 2011/1/12
>
> > Yy
> > --Mensaje original--
> > De: Robert Graf-Waczenski
> > Pa
That's never a good sign.
-Brian
On Wed, Jan 12, 2011 at 10:03 AM, Dave Newton wrote:
> We've been butt-posted?!
>
> :D
>
> On Wed, Jan 12, 2011 at 11:00 AM, JOSE L MARTINEZ-AVIAL >wrote:
>
> > Sorry about the repetition of mails. I forgot to close my BlackBerry, and
> > put it into my pocke
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:
401
NTLM
my header
NTLM
I receive the headers "a" and "WW
I wonder if that's an OGNL thing.
Dave
On Wed, Jan 12, 2011 at 12:24 PM, JOSE L MARTINEZ-AVIAL 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
> sent. For example, the
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 Strin
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
contai
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
sun.reflect.NativeMet
Not sure; maybe try "headers['WWW-Authenticate']" first?
Dave
On Wed, Jan 12, 2011 at 4:50 PM, JOSE L MARTINEZ-AVIAL wrote:
> I launched an exception to get the stacktrace, and it calls OGNL:
>
> java.lang.Throwable
>at
>
> com.spb.mvc.controller.web.struts2.json.ResponseJSONResult.setMy
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:
401
NTLM
my header
NTLM
I receive the headers "a" and "WWW
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
sun.reflect.NativeMe
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
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 an
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 Ne
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
-Origi
Can we see your related files?
On Wed, Jan 12, 2011 at 3:43 PM, Scott Koenig wrote:
> 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
45 matches
Mail list logo