Wicket version is 1.3 beta 2

----- Original Message ----
From: Matej Knopp <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, 3 September, 2007 3:31:18 PM
Subject: Re: How to exclude from model update

What wicket version are you using?

-Matej

On 9/3/07, Ian Godman <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I have a little problem with an AJAX submit button.
>
> The template is:
>          <input type="submit" wicket:id="AddButton-link" value="Add" />
>
> In the java this is:
>             add( new AjaxSubmitLink("AddButton-link"){
>                 private static final long serialVersionUID = 1L;
>                 @Override
>                 public void onSubmit(AjaxRequestTarget target, Form form){
>                 .........
>                 });
>
> My problem is that when I submit the form it tries to update a model
> property for the submit link.
>     ERROR 2007-09-03 14:38:04,816 [btpool0-4]
> org.apache.wicket.RequestCycle: No get method defined for class: class
> com............Model expression: AddButton-link
>
> I am sure its one of those simple things I am missing again but how do I
> tell wicket not to try to update the button in the model ?
>
>
> Ian
>
>
>
>
>
>
>
>       ___________________________________________________________
> Yahoo! Answers - Got a question? Someone out there knows the answer. Try
> it
> now.
> http://uk.answers.yahoo.com/







      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  
http://uk.promotions.yahoo.com/forgood/environment.html

Reply via email to