Thanks you very much.
But now there is not final for radiogroup, how can i solve the problem ?
thanks again
igor.vaynberg wrote:
>
> final has nothing to do with it, your radiogroup component does not
> have a model...read the models wiki page
>
> -igor
>
> On Wed, Sep 3, 2008 at 6:44 PM, wch2001 <[EMAIL PROTECTED]> wrote:
>>
>> I deleted the "final", but the same error happen
>> any idea?
>> thanks a lot
>>
>>
>> igor.vaynberg wrote:
>>>
>>> final RadioGroup group = new RadioGroup("group");
>>> ^ does not have a model...
>>>
>>> -igor
>>>
>>> On Wed, Sep 3, 2008 at 6:28 PM, wch2001 <[EMAIL PROTECTED]> wrote:
>>>>
>>>> sorry,
>>>>
>>>> the HTML codes:
>>>>
>>>> <form wicket:id="saveUploadFilesForm">
>>>>
>>>> <table width="50%">
>>>> <table class="dataview">
>>>> <tr class="title">
>>>> <th>Actions</th>
>>>> <th>File Name</th>
>>>> <th>Description</th>
>>>> <th>Main status</th>
>>>> </tr>
>>>>
>>>> <tr wicket:id="fileList" class="row">
>>>> <td width="100">[Action]</td>
>>>> <td width="200">[File]</td>
>>>> <td>[Description]</td>
>>>> <!--td width="100"><input
>>>> type="checkbox"
>>>> wicket:id="chkPhotoMain"/>main</td-->
>>>> <td width="100">
>>>> <input type="radio"
>>>> wicket:id="radio"/>
>>>> </td>
>>>> </tr>
>>>>
>>>> <!--tr><td> </td></tr>
>>>> <tr>
>>>> <td><input type="button"
>>>> wicket:id="btnSaveAll" class="button"/></td>
>>>> </tr-->
>>>> </table>
>>>> <tr><td> </td></tr>
>>>> <tr>
>>>> <td><input type="button"
>>>> wicket:id="btnSaveAll" class="button"/></td>
>>>> </tr>
>>>>
>>>> </table>
>>>> </form>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/using-listView%2Cradiogroup%2C-error%3Ajava.lang.IllegalStateException%3A-Attempt-to-set-model-object-on-null-model-of-component-tp19301538p19301590.html
>>>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/using-listView%2Cradiogroup%2C-error%3Ajava.lang.IllegalStateException%3A-Attempt-to-set-model-object-on-null-model-of-component-tp19301538p19301721.html
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/using-listView%2Cradiogroup%2C-error%3Ajava.lang.IllegalStateException%3A-Attempt-to-set-model-object-on-null-model-of-component-tp19301538p19301765.html
Sent from the Wicket - Dev mailing list archive at Nabble.com.