Let's see the method signature.
-Original Message-
From: Mark Kaye [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 8:25 AM
I use ValueObject Beans to pass data between my struts actions and my
back-end business objects. For some reason, if I add a new method to my
ValueObj
is your method boolean LoginVO.isLoggedIn() as per normal method conventions
I think struts expects everything to be set
:-)
Tom Lister
* 020 7612 3030
* [EMAIL PROTECTED]
-Original Message-
From: Mark Kaye [mailto:[EMAIL PROTECTED]]
Sent: 05 September 2002 13:25
To: Struts Users Mailin
> -Original Message-
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
>
> Let's see the method signature.
>From com.getitall.vo.LoginVO:
public static void setIsLoggedIn(boolean isLoggedIn)
{
this.isLoggedIn = isLoggedIn;
}
Called by this in the Business Object:
if (list.si
September 2002 13:47
To: Struts Users Mailing List
Subject: RE: [ValueObjects] New methods not seen
> -Original Message-
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
>
> Let's see the method signature.
>From com.getitall.vo.LoginVO:
public static void setIsLoggedI
Why is your method declared "static"?
-Original Message-
From: Lister, Tom (ANTS) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 8:54 AM
To: 'Struts Users Mailing List'
Subject: RE: [ValueObjects] New methods not seen
have you reloaded/restarted tomc
Hi Mark,
Have you done a clean recompile? In other words, have you wiped out all
.class files and recompiled everything? Have you then made sure that the
new classes are being included with your deployed app? Static members
are notorious for causing these kinds of problems (especially with the
va
Might I suggest you refactor to use a singleton? :-)
Regards,
Eddie
Mark Kaye wrote:
>>-Original Message-
>>From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
>>
>>Let's see the method signature.
>>
>
>>From com.getitall.vo.LoginVO:
>
>public static void setIsLoggedIn(boolean isLoggedIn
I don't think your setter should be a static method.
Regards, Skip
-Original Message-
From: Mark Kaye [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 5:47 AM
To: Struts Users Mailing List
Subject: RE: [ValueObjects] New methods not seen
> -Original
8 matches
Mail list logo