struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Result Annotations and parameters
Date Mon, 10 Dec 2007 12:41:18 GMT
Just out of curiosity, does it work if you make the ID getter conformant to
the JavaBean spec, getId() (with appropriate corrections to your
annotations)?

d.

--- Johannes Geppert <jogep@web.de> wrote:

> Hello Ted,
> 
> thank you for reply.
> 
> > Is the property actually "ID", as in "String getID()" ?
> > 
> > Or is it getId() ?
> 
> It's getID(), with XML-Configuration it works perfectly.
> So there can not be an error with misspelling.
> 
> > In the JPA MailReader code (see the sandbox), @Results like this one
> > are working:
> > 
> > @Result(name = Index.SUCCESS, value = Index.INDEX, type
> > =ServletActionRedirectResult.class, params = {Index.USER,
> > Index.USER_USERNAME })
> > 
> > where
> > 
> >     public static final String USER = "user";
> >     public static final String USER_USERNAME = "${user.username}";
> 
> This looks similar to my code, why I become an Error Message, 
> Is there a Bug with 2.1.0 and 2.0.11 ? Where I can get 2.1.1?
> 
> Bye
> Johannes
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


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


Mime
View raw message