rofl

i guess you shouldve posted your markup sooner

<input wicket:id="selected" type="checkbox" value="" checked />

^ value="" there overrides the submitted value of the checkbox from
"on" back to "" and thus the checkbox is never selected.

simply remove value="" from your markup and all should work.

-igor

On Fri, Oct 31, 2008 at 4:13 PM, ds26680 <[EMAIL PROTECTED]> wrote:
>
> I have zipped the project up and posted the file here.
>
> http://www.mediafire.com/?sharekey=80eaecc06e6b1b4dd2db6fb9a8902bda
>
> Hopefully, this will shed some light on my issues! Thanks in advance for
> your help.
>
>
> igor.vaynberg wrote:
>>
>> that looks fine too. package your project and attach it somewhere so
>> we can take a look.
>>
>> -igor
>>
>> On Fri, Oct 31, 2008 at 3:12 PM, ds26680 <[EMAIL PROTECTED]> wrote:
>>>
>>> Here is my web.xml. This was auto generated as I used the QuickStart
>>> project
>>> generated off the Wicket website.
>>>
>>> <?xml version="1.0" encoding="ISO-8859-1"?>
>>> <web-app xmlns="http://java.sun.com/xml/ns/j2ee";
>>>         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
>>> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
>>>         version="2.4">
>>>
>>>        <display-name>checkboxtester</display-name>
>>>
>>>        <filter>
>>>                <filter-name>wicket.checkboxtester</filter-name>
>>>
>>> <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
>>>                <init-param>
>>>                        <param-name>applicationClassName</param-name>
>>>
>>> <param-value>com.indigoapp.WicketApplication</param-value>
>>>                </init-param>
>>>        </filter>
>>>
>>>  <filter-mapping>
>>>  <filter-name>wicket.checkboxtester</filter-name>
>>>        <url-pattern>/*</url-pattern>
>>>  </filter-mapping>
>>> </web-app>
>>>
>>> Any ideas? Thanks in advance for your help.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Help-with-simple-CheckBox-example-tp20267081p20274813.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]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Help-with-simple-CheckBox-example-tp20267081p20275410.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]
>
>

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

Reply via email to