[ 
http://issues.apache.org/jira/browse/TAPESTRY-907?page=comments#action_12374910 
] 

Andreas Andreou commented on TAPESTRY-907:
------------------------------------------

Tapestry manages the lifecycle of parameters. It extends the component class 
and adds code that sets parameters to default values (before use) and cleans up 
(after use, before returning them to the pool)

So, even if you provide code for those methods, Tapestry will override it, in 
the dynamically generated subclass.

A solution to your problem is to use :
public boolean isReallyDisabled() { return isDisabled(); }
and
public boolean isReallyDisabled() { return true; } in the subclass.


> overridden parameter problem
> ----------------------------
>
>          Key: TAPESTRY-907
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-907
>      Project: Tapestry
>         Type: Bug

>   Components: Annotations
>     Versions: 4.0.1
>     Reporter: Norbert Sándor
>  Attachments: test.zip
>
> The output of the attached simple test is "false false".
> I expected "false true".
> What do you think?
> Regards,
> Norbi

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to