You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "sean schofield (JIRA)" <in...@incubator.apache.org> on 2005/03/02 18:09:49 UTC
[jira] Commented: (MYFACES-111) Exposed/refactored renderClearFormOnClick for subclass chaining in HtmlButtonRendererBase
[ http://issues.apache.org/jira/browse/MYFACES-111?page=comments#action_60052 ]
sean schofield commented on MYFACES-111:
----------------------------------------
Doesn't the "ext" version of commandButton already allow you to add your own onclick javascript through the tag attribute? I know that commandLink does this. What extra functionality will this provide?
> Exposed/refactored renderClearFormOnClick for subclass chaining in HtmlButtonRendererBase
> -----------------------------------------------------------------------------------------
>
> Key: MYFACES-111
> URL: http://issues.apache.org/jira/browse/MYFACES-111
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.8 beta
> Environment: WSAD 5.1.2, IE6
> Reporter: Heath Borders-Wing
> Priority: Minor
> Attachments: HtmlButtonRendererBase.java, HtmlButtonRendererBaseDiff.java
>
> The current HtmlButtonRendererBase does not allow for easy additions to the rendered onclick attribute. This refactoring makes this possible.
> Now, the renderClearFormOnClick() is defined as:
> protected StringBuffer buildOnClick(UIComponent uiComponent, FacesContext facesContext, ResponseWriter writer);
> This way, subclasses may call the superclass implementation and add any additional javascript before onclick is rendered.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira