Hi,
I have a interceptor, which validates that the user is authenticated. It
does the authentication using a third party library and retrieves the user
id using the third party library.
I have a POJO action with propery userId. I want to set this property in the
interceptor, is this possible.
I
Hi,
I need to display a list of String objects and let the user edit them, when
the user submits the forms my List should be having the updated values.
*Action:
**private* List inputStrings;
*
public* String execute() {
*if*(inputStrings==*null*){
inputStrings = *new* ArrayList();
inputStrings
Thank you.
there was no var attribute in iterator tag, but I could use id attribute
instead. Also had to make change to name to get is set on action.
I could get it work with either of the following.
or
Regards,
JK
On Mon, Oct 24, 2011 at 1:01 AM, Steven Yang wrote:
> try
>
>s:t
Hi,
I am showing a list of files in the drop down and want to show two more
options as follows
select one
ALL
In Struts1, we could have html:option within the html:select tag.
In Struts2, I tried to use the headerKey & headerValue attribute of
s:select, but can o
Hi,
I have the following configuration snippet in my struts.xml:
true
ERROR
i.e I have a interceptor which I am calling after the defaultStack executes.
My MenuInterceptor has the following code fragment in my intercept method
of MenuIntercept
fore JSP rendering.
>
> Dave
>
> On Wed, Nov 16, 2011 at 2:41 PM, Bruno Klava wrote:
>
> > How about setting your object in session before the action invocation,
> > i.e, before actionInvocation.invoke()?
> >
> > Bruno
> >
> > On Wed, Nov 16, 2011
t 2:43 PM, Dave Newton wrote:
> That's what implementing a PreResultListener means; it's an interface, you
> implement one.
>
> I still think the whole PreResultListener thing is a bit opaque, I wrote up
> something about that a couple of years ago--I need to dig that u
Hi all,
I am currently making use of the validator and able to work-out a example
as discussed at http://struts.apache.org/2.x/docs/validation.html.
My application has a concept of user's country which is stored in session.
Now depending on the value of this attribute stored in session, I need to
#Validation-RegisteringValidators
>
> To learn how to write a validator, you can read the source code of
> Struts2/xWork, in package
> [com.opensymphony.xwork2.validator.validators]
>
> And you can find some samples via google.
>
>
> 2011/11/28 Jyothrilinga Rao :
>
9 matches
Mail list logo