Hi,
I am having a very strange problem. I am using WW1.3.
I have a form that has this tag:
<input type=hidden name="caseBean/id" value='ww:property
value="caseBean/id"/>'>
My case bean looks like this..
public void setId(Long id) {
this.id = id;
}
If I the bean has an id property everything is OK! But if the bean is NEW as in the
case of an Insert I get "Unable to set value for " errors.
I post to a Action class, but the doExecute is never getting called. I have traced it
back to the LongEditor line 26. It seems like the value is being sent in a "". So I
am getting a NumberFormatException. This MAKES SENSE.
The part that is driving me crazy, is that this code USED to work! And my doExecute
was getting called and my id was still null. Thats the behavior that I want.
So, my question is, how does WW recognize that a "" mapped to a Long should really be
null? And why is it no longer working for me?
Thanks,
Mike Porter
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork