The input is returning to the server as an empty string "".
The field is required, so when the onEvent method checks
protected final void onEvent(final AjaxRequestTarget target)
{
final FormComponent formComponent = getFormComponent();
boolean callOnUpdate = true;
try
use wicket's ajax debug console to see what the url request is
then set a breakpoint in AjaxFormComponentUpdatingBehavior.onEvent and walk
it, see why its not setting the value to null
-igor
On 1/23/07, Shawn Tumey <[EMAIL PROTECTED]> wrote:
Hello Erik,
The form element is there.
Hello Igo
Hello Erik,
The form element is there.
Hello Igor,
I will have check with our software architect before I can upgrade to the
1.3x branch. I am moving on to other functionality for the time being.
Thanks to both of you for your assistance.
Any other suggestions?
Regards,
On 1/23/07, Erik van
Hi Shawn,
Could you check that you have a single, properly nested element
in the html? I vaguely remember someone having problems with this.
Erik.
Shawn Tumey wrote:
> onblur has the same outcome as onchange.
>
> Updates to myString that grow it, or shrink it work fine as long as
> ther
onblur has the same outcome as onchange.
Updates to myString that grow it, or shrink it work fine as long as there is
something in the textarea field. Clearing the field retains the previous
value.
BTW, this is using 1.2.4
any other ideas?
On of my coworkers suggested overloading the setMyStri
hmm can you try onblur instead of onchange, dont know if textarea supports
that event
-igor
On 1/23/07, Shawn Tumey <[EMAIL PROTECTED]> wrote:
Hello,
FormComponent myStringComp = new TextArea("myString", new
PropertyModel(this, "myString"));
myStringComp.add (new AjaxFormComponentUpdatingB
Hello,
FormComponent myStringComp = new TextArea("myString", new
PropertyModel(this, "myString"));
myStringComp.add(new AjaxFormComponentUpdatingBehavior("onchange"){
protected void onUpdate(AjaxRequestTarget target) {
myString
// do stuff