wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Vaynberg <igor.vaynb...@gmail.com>
Subject Re: wicket:for behavior
Date Thu, 14 Mar 2013 15:38:51 GMT
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 <mgrigorov@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 <solomax666@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message