create your own model that does that.
-igor
On 5/8/07, ywtsang <[EMAIL PROTECTED]> wrote:
yes, any hint/guide to the problems are very much appreciated
Nino Saturnino Martinez Vazquez Wael wrote:
>
> I think you need to use reflection for that part or/and implementing
> your own abstract model. This approach has spared me some trouble
> earlier on. If you want to I could dig up some examples...
>
> regards Nino
>
> ywtsang wrote:
>> it is easy to reference the property of a model by using "java bean"
>> notation
>> as:
>>
>> add(new Label("name", new PropertyModel(myModel, "name")));
>>
>> (get the value of name property from the myModel)
>>
>> what about if I want to insert some parameters in my property getter
>> method?
>> e.g. I have a getter method:
>> String getName(int)
>>
>> is it possible to "use" this getter method by passing an integer value
in
>> PropertyModel?
>>
>> -Wing
>>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
--
View this message in context:
http://www.nabble.com/expression-to-get-property-tf3707591.html#a10371215
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user