Martin Dietze wrote:
Yes, this is how I found it in the documentation. However I'd
like to be able to do something like:

| @Component(id="myInput")
| private TextField _myInput;

[...]

| _myInput.setDisabled(true);
You can use parameter expansion in Java code :

8<-----------------------
   @Component(parameters="disabled=prop:isdisabled")
   private TextField textField;
public boolean getIsdisabled() {
       return disabled;
   }
   @SetupRender
   void setup() {
      if(should de disabled) {
       disabled = true;
      } else {
         disabled = false;
      }
   }
8<-------------------------

Francois

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

Reply via email to