wicket:for cant set output markup id because it comes after the form
component in markup and so the form component has already been
rendered. it already sets the output of markup, but it only helps if
the label is before the component in markup.

-igor

On Thu, Mar 14, 2013 at 1:35 AM, Martin Grigorov <mgrigo...@apache.org> wrote:
> Hi,
>
> Try with : textField.setOutputMarkupId(true).
> If this helps please file a ticket - 'wicket:for' should do this for you.
>
>
> On Thu, Mar 14, 2013 at 5:01 AM, Maxim Solodovnik <solomax...@gmail.com>wrote:
>
>> Hello,
>>
>> I'm trying to use wicket:for as follows:
>> <input wicket:id="rememberMe" type="checkbox" /><label
>> wicket:for="rememberMe"><wicket:ommessage key="288" /></label>
>>
>> https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/pages/auth/SignInPage.html
>>
>> the resulting HTML is:
>> <td><input type="checkbox" name="rememberMe"><label for="id3">Remember
>> login</label></td>
>> http://demo.dataved.ru/openmeetings/html
>>
>> and label for is not working :(
>>
>> Am I using this feature improperly?
>> Wicket 6.6.0 is used
>>
>> Thanks in advance
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to