Menu

#19 Allow bean properties to be resolved in labels.

2.0
open
None
3
2008-07-30
2007-10-18
No

Currently we use the wicket properties file syntax ${property} to obtain Strings from properties files.

How about using a similar syntax( e.g. @{property} ) to obtain properties from the object bean? The markup within the @{} should correspond to the Wicket PropertyResolver spec.

Discussion

  • Dan Syrstad

    Dan Syrstad - 2007-10-20
    • assigned_to: nobody --> dsyrstad
     
  • Dan Syrstad

    Dan Syrstad - 2007-10-27

    Logged In: YES
    user_id=167643
    Originator: NO

    This involves some significant work as meta data parameters are not retrieved with the bean in context. An alternate solution is to display the bean property view-only without a label, hence giving the effect of a label. However, this seems to be a worthwhile feature. For example, the colspan could be driven by a bean property in this manner.

     
  • Dan Syrstad

    Dan Syrstad - 2007-10-27
    • priority: 5 --> 3
     
  • Dan Syrstad

    Dan Syrstad - 2008-07-30

    Logged In: YES
    user_id=167643
    Originator: NO

    This will be implemented in 2.0. Generally, values for any parameter will be obtainable from a bean property.

     
  • Dan Syrstad

    Dan Syrstad - 2008-07-30
    • milestone: --> 2.0
     

Log in to post a comment.