Re: [Wicket-user] getting object from model using propertyExpression

2007-04-20 Thread Jan Kriesten
hi eelco, no, you misunderstood me - i need to access the model /before/ my components are created (cause the number of components to be created depends on the model). i found the helper class myself: Object property = PropertyResolver.getValue( binding, model.getObject() ); but thanks for yo

Re: [Wicket-user] getting object from model using propertyExpression

2007-04-20 Thread Eelco Hillenius
Not sure whether I understand your question. But right after you added your component, you can use getModelObject on it to get the value. Also, keep in mind that CompoundPropertyModel is for convenience, but you can e.g. use PropertyModel directly for more control. In that case, you can get the mod