Your basic problem is that having both getEmployee() and isEmployee()
is a violation of the JavaBeans "standard" so you are asking for
trouble. The Employee property is not a boolean so you really should
rename isEmployee() to something else (maybe isTypeEmployee()). If
you can't do this then you
I've been having trouble figuring out exactly how the convention plugin
works. I've been reading the
site(http://struts.apache.org/2.1.8.1/docs/convention-plugin.html#ConventionPlugin-Helloworld)
but am still having trouble getting simple examples to work.
I have a class WelcomeUser.java loca
I think you can just spell out the method:
On Fri, 2010-07-02 at 10:13 +0100, John Dowson wrote:
>
It probably would have been better if you posted more of class
ProductAction...
I just glanced over this quickly... I don't understand how priceOption
is set
in ProductAction...
class ProductAction does have a setter for priceOption?
Hello,
I'm working with Struts 2.1.8.1, JDK 1.6.0_17, with container WASCE 2.1 on
Windows 7 Pro.
Here's a snippet of my struts.xml file:
..
...
/registerCrisis.jsp
/dummy.jsp
/error.jsp
...
When I run the application as:
ht
is this "response text " the xml what I talk about my above thread.
I need to make that xml and setting response to and hidden text field. And
that text is read in Action.
Is this what you suggesting ? To set the xml, I need to do javascript... am
i getting correct ?
Paweł Wielgus wrote:
>
I have an action class that has the following method
public WebUser getAuthenticatedUser()
The WebUser class has the following methods:
public Employee getEmployee()
public boolean isEmployee()...
and the WebUser class has the following method
public boolean isWorkgroupEnable(
7 matches
Mail list logo