Hi, 

is it possible to bind a field of a component to an Asset's path?

public class AnyPage{
 //this should be part of the @Path value
 private String imageName = "default.png"

 @Inject
 //would not work, is a symbol which is somewhat different to class member
 @Path("context:${imageName}")
 private Asset img;

 public getImageName(){...}

 //for rest style to pass image path info
 public void onActivate(String...){...} 
 public String onPassivate(){....}

}

-----
manuel aldana
aldana((at))gmx.de
software-engineering blog: http://www.aldana-online.de
-- 
View this message in context: 
http://www.nabble.com/-T5--reference-binding-field-value-to-%40Path-tp20571654p20571654.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to