it should work fine.
public fields are found.

johan


On 2/15/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote:
I saw from the commit logs that Jonathan just removed this. Are people
using this a lot? I know it used to be possible with OGNL...

Eelco

On 2/15/06, Matej Knopp <[EMAIL PROTECTED]> wrote:
> It is possible in 1.2. Just ensure the field is public. And it should work.
>
> Frank Silbermann wrote:
> > In Wicket 1.2, if an object has a public variable named "property" but
> > no getProperty() / setProperty() methods, can we use the string
> > "property" in constructing a PropertyModel?
> >
> >
> >
> > It seems that we could do this in Wicket 1.1, which used OGNL -- as OGNL
> > mentions using a variable name if the getters/setters are absent.
> > However, the JavaDoc for PropertyResolver in Wicket 1.2 does not mention
> > finding aptly named instance variables.  Is this an oversight in the
> > documentation, or is this one of the infrequently used OGNL options that
> > was sacrificed for efficiency?
> >
> >
> >
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to