foo.action?publicVal=true
Skip Walker wrote:
How can I get a String parameter X with a value of "true" or "false" to set the corresponding Boolean accessor in my xwork action.
If I have an action with
public isPublicVal() { return publicVal; }
public setPublicVal(boolean pub) { this.publicVal = pub; }
How can I get a parameter of publicVal with value "true" to properly set the field in the xwork action?
Thanks,
Skip Walker [EMAIL PROTECTED] Gossamer Group Bldg #2, Suite 410 4807 Spicewood Springs Rd. Austin, TX 78759 (512) 342-2600 Fax (512) 342-2612
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
