Awesome. This worked!
Thanks!
newton.dave wrote:
>
> --- On Fri, 8/29/08, rakeshxp wrote:
>> I am using Result annotations in the following manner (static way )
>> @Results({
>> @Result(name = "index", value =
>> "/jsp/en_US/help.jsp")
--- On Fri, 8/29/08, mujoko mujoko wrote:
> Annotation Result is a part of of configuration (struts
> config) that read on start up and load on startup, I dont
> think you can use dinamic value on annotation.
XML configuration files are also loaded on startup. The basic result
configuration page
--- On Fri, 8/29/08, rakeshxp wrote:
> I am using Result annotations in the following manner (static way )
> @Results({
> @Result(name = "index", value =
> "/jsp/en_US/help.jsp")
> })
>
> How can I pass a dynamic value to the result annotation, so
Annotation Result is a part of of configuration (struts config) that read on
start up and load on startup, I dont think you can use dinamic
value on annotation.
Mujoko
On 8/29/08, rakeshxp <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I am using Result annotations in the foll
Hi,
I am using Result annotations in the following manner ( static way )
@Results({
@Result(name = "index", value = "/jsp/en_US/help.jsp")
})
How can I pass a dynamic value to the result annotation, so that I can
achieve something like this
@Results({
@Result(n
t; -- HTH, Ted
> * <http://www.StrutsMentor.com/>
>
> On Dec 9, 2007 5:32 AM, Johannes Geppert <[EMAIL PROTECTED]> wrote:
>> Does no one have a resolution for my problem?
>> With XML-Configuration it works perfectly.
>> But I like the Configuration with Ann
gt;> 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: [EMAIL PROTECTED]
>&
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 <[EMAIL PROTECTED]> wrote:
> Hello Ted,
>
> thank you for reply.
>
> > Is the property actually "ID", as in "String
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
gt;
> Thank You
> Johannes
>
>
> >
> > Hello,
> >
> > i try to use the Result Annotations in my new Project, this works fine for
> > me.
> > But when I try to use parameters I become an Exception.
> >
> > Config:
> > @Namespace
Does no one have a resolution for my problem?
With XML-Configuration it works perfectly.
But I like the Configuration with Annotations.
I try it with Struts 2.1.0 and the codebehind plugin.
Thank You
Johannes
>
> Hello,
>
> i try to use the Result Annotations in my new Project
Hello,
i try to use the Result Annotations in my new Project, this works fine for me.
But when I try to use parameters I become an Exception.
Config:
@Namespace(value="/")
@Results( {
@Result(value = "myresult.action", type =
ServletActionRedirectResult.class
12 matches
Mail list logo