The final keyword has nothing to do with Wicket, but all with your
knowledge of Java. Grab a book (for example Thinking in Java, 3rd
edition, free online) and read up on what it means. It is out of scope
for this list (which btw is the wrong forum for your question: use
[EMAIL PROTECTED] in the future) to discuss basic or advanced
Java concepts.

Why didn't you put the final back? What's keeping you from doing so?

Martijn

On Thu, Sep 4, 2008 at 3:48 AM, wch2001 <[EMAIL PROTECTED]> wrote:
>
> 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.
>
>



-- 
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.

Reply via email to