2 days without using google [1,2]?

listview.setreuseitems(true);

Martijn

[1] http://www.google.com/search?q=wicket+form+component+listview
[2] 
http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html#ListViewandotherrepeaters-Usingformcomponentsinarepeater

On Thu, Aug 7, 2008 at 10:09 PM, Alvin_my <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> I am very new with wicket and I have a problem with TextField within
> ListView , I try to getModelObject from the Textfield but return NULL ?
>
> I am trying my best to find the solution, unfortunately I am running out of
> time with my final project. Already spent 2 days dealing with this small
> problem :,(
>
> Hope you guys can help. Below is the some part of the codes:
>
>
>                textfieldModel = new Model("");
>                textField = new TextField("textfield",textfieldModel );
>                listItem.add(textField);
>
>                listItem.add(saveLink = new Link("saveLink") {
>                    public void onClick() {
>                        String myText = (String) textField.getModelObject();
>                        info("#######  myText  = "+myText );
>                    }
>                });
>
> Thanks!!
>
> --
> View this message in context: 
> http://www.nabble.com/Help%21%21-TextField-in-ListView-%3D-NULL-tp18878710p18878710.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to