You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ramin <ra...@gmail.com> on 2013/04/18 17:31:34 UTC
- Conditional label
Hi
I have a textField with label "name" which is set by <wicket:message
key="myResourceBundle">
Issue is that when I hide the textField, the label ("name") is still
displayed.
Is there any way to condition <wicket:message> to display alternative label
(or even hide the label)?
Thanks in advance for any response.
Ramin
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-message-Conditional-label-tp4658092.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: - Conditional label
Posted by Ramin <ra...@gmail.com>.
Worked like a charm. Thanks very much.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-message-Conditional-label-tp4658092p4658094.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: - Conditional label
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
Wrap it in EnclosureContainer.
Some people prefer <wicket:enclosure> but I try to avoid using it.
On Thu, Apr 18, 2013 at 6:31 PM, Ramin <ra...@gmail.com> wrote:
> Hi
>
> I have a textField with label "name" which is set by <wicket:message
> key="myResourceBundle">
> Issue is that when I hide the textField, the label ("name") is still
> displayed.
>
> Is there any way to condition <wicket:message> to display alternative label
> (or even hide the label)?
>
> Thanks in advance for any response.
>
> Ramin
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/wicket-message-Conditional-label-tp4658092.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>