A solution can be:

use IVisitor on the form to traverse all the children, and find the one
which have markupId == "loginName".

I am curious, why do you need this?

Regards, 
Alex.


Istvan De wrote:
> 
> Hi!
> 
> When I use CompoundPropertyModels, I can automatically wire together my 
> model with the components.
> 
> However, now what I need to do is to find the corresponding Component by 
> a property expression. How to do this? Eg. if there is a CPM attached to 
> my form, with a model object of a User, I need to find out what 
> Component is bound to the "loginName" field of the model.
> 
> How to achieve this?
> 
> Best regards,
> Istvan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/components-by-property-expressions-tp14250406p14255679.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]

Reply via email to