wicket-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wch2001 <wch2...@hotmail.com>
Subject Re: using listView,radiogroup, error:java.lang.IllegalStateException: Attempt to set model object on null model of component
Date Thu, 04 Sep 2008 01:44:08 GMT

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 <wch2001@hotmail.com> 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.


Mime
View raw message