You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by infiniter <in...@gmail.com> on 2011/12/12 23:56:32 UTC

component path question

What type of path expression can be used to get a component which is inside a
repeater?
So is there an expression like "somPanel.listView[0].label" that can be
used? I mean, something like:
MarkupContainer.get("somPanel.listView[0].label") ?



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/component-path-question-tp4188010p4188010.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: component path question

Posted by Martin Grigorov <mg...@apache.org>.
The component delimiter is ':', not '.'.

On Tue, Dec 13, 2011 at 5:09 AM, Igor Vaynberg <ig...@gmail.com> wrote:
> repeater children generate numeric ids, so
>
> somPanel.listView.0.label should work
>
> -igor
>
> On Mon, Dec 12, 2011 at 2:56 PM, infiniter <in...@gmail.com> wrote:
>> What type of path expression can be used to get a component which is inside a
>> repeater?
>> So is there an expression like "somPanel.listView[0].label" that can be
>> used? I mean, something like:
>> MarkupContainer.get("somPanel.listView[0].label") ?
>>
>>
>>
>> --
>> View this message in context: http://apache-wicket.1842946.n4.nabble.com/component-path-question-tp4188010p4188010.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
>>
>
> ---------------------------------------------------------------------
> 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

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


Re: component path question

Posted by Igor Vaynberg <ig...@gmail.com>.
repeater children generate numeric ids, so

somPanel.listView.0.label should work

-igor

On Mon, Dec 12, 2011 at 2:56 PM, infiniter <in...@gmail.com> wrote:
> What type of path expression can be used to get a component which is inside a
> repeater?
> So is there an expression like "somPanel.listView[0].label" that can be
> used? I mean, something like:
> MarkupContainer.get("somPanel.listView[0].label") ?
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/component-path-question-tp4188010p4188010.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
>

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