I changed my java code from

  Button submitButton = new Button("submitButton") {...};

to

  Button submitButton = new Button("submitButton",new Model("Submit")) {...};

and it now properly displays the label "Submit" on the button in rc1.

--
Jim

On Tue, Sep 13, 2005 at 12:30:03PM +0200, Johan Compagner wrote:
> From: Johan Compagner <[EMAIL PROTECTED]>
> To: [email protected]
> Subject: Re: [Wicket-user] Button value missing in rc1
> Date: Tue, 13 Sep 2005 12:30:03 +0200
> 
> 
>    ah yes it is the same problem because of the value = ""
>    and if we see that empty value then we are concluding that that button
>    was not pressed
>    This is also fixed with the thing i mention above.
>    For  now  just make sure that the model return null instead of "" when
>    asking for the buttons value
> 
>    On   9/13/05,  Kliment  Simoncev  <  [EMAIL PROTECTED]>
>    wrote:
> 
>      Johan Compagner wrote:
>      > what do you mean exactly?
>      > Do you have a simple example?
>      >
>      > On 9/13/05, *Wicket User* <[EMAIL PROTECTED]
>      > <mailto: [EMAIL PROTECTED]>> wrote:
>      >
>      >     Jim McBeath wrote:
>      >
>      >      >In  my  simple  test  app  I  have  a form with a button in
>      it.  The button
>      >      >works properly in 1.1-b4 , but when I compile and run using
>      1.1-rc1,
>      >     >the button is functional but has no label in it.
>      >     >
>      >     >The source html for the button:
>      >          >  <input     type="submit"     wicket:id="submitButton"
>      value="Submit"/>
>      >     >
>      >     >The generated html for the button in 1.1-rc1:
>      >     >  <input value="" type="submit" wicket:id="submitButton"
>      >     name="submitButton"/>
>      >     >
>      >     >The generated html for the button in 1.1-b4:
>      >             >  <input         value="Submit"        type="submit"
>      wicket:id="submitButton"
>      >     name="0:appStatus:form:submitButton"/>
>      >     >
>      >     >--
>      >     >Jim McBeath
>      >     >
>      >     >
>      >     >-------------------------------------------------------
>      >      >SF.Net email is Sponsored by the Better Software Conference
>      & EXPO
>      >      >September  19-22,  2005  *  San Francisco, CA * Development
>      Lifecycle
>      >     Practices
>      >      >Agile & Plan-Driven Development * Managing Projects & Teams
>      *
>      >     Testing & QA
>      >     >Security * Process Improvement & Measurement *
>      >     http://www.sqe.com/bsce5sf
>      >     >_______________________________________________
>      >     >Wicket-user mailing list
>      >     > [email protected]
>      >     <mailto:[email protected]>
>      >     >https://lists.sourceforge.net/lists/listinfo/wicket-user
>      >     >
>      >     >
>      >     >
>      >     >
>      >     >
>      >      I  have  the same  problem. Even more, events are handled by
>      non-wicket
>      >     button handler, only...
>      >
>      >
>      >     -------------------------------------------------------
>      >     SF.Net email is Sponsored by the Better Software Conference &
>      EXPO
>      >      September  19-22,  2005  *  San  Francisco, CA * Development
>      Lifecycle
>      >     Practices
>      >     Agile & Plan-Driven Development * Managing Projects & Teams *
>      >     Testing & QA
>      >     Security * Process Improvement & Measurement *
>      >     http://www.sqe.com/bsce5sf
>      >     _______________________________________________
>      >     Wicket-user mailing list
>      >     [email protected]
>      >     <mailto:[email protected] >
>      >     https://lists.sourceforge.net/lists/listinfo/wicket-user
>      >
>      >
>      Step with debugger  in wicket-examples-1.1 rc1 ButtonPage.java
>      (CompReference Examples)
>      -------------------------------------------------------
>      SF.Net email is Sponsored by the Better Software Conference & EXPO
>      September  19-22,  2005 * San Francisco, CA * Development Lifecycle
>      Practices
>      Agile  &  Plan-Driven  Development  *  Managing  Projects & Teams *
>      Testing & QA
>      Security     *     Process     Improvement    &    Measurement    *
>      http://www.sqe.com/bsce5sf
>      _______________________________________________
>      Wicket-user mailing list
>      [email protected]
>      https://lists.sourceforge.net/lists/listinfo/wicket-user 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to