You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Paul Rivera (JIRA)" <de...@myfaces.apache.org> on 2008/09/09 19:13:44 UTC
[jira] Created: (MYFACES-1962) A proposed solution to separate
javascript code from java code in Renderers
A proposed solution to separate javascript code from java code in Renderers
---------------------------------------------------------------------------
Key: MYFACES-1962
URL: https://issues.apache.org/jira/browse/MYFACES-1962
Project: MyFaces Core
Issue Type: New Feature
Components: General
Reporter: Paul Rivera
Priority: Minor
In our current implementation of component renderers, javascript code is generated using ResponseWriter methods inside the renderer. Although, when the embedded javascript code gets too lengthy, the renderer code can become hard to read and debug.
The proposition is to provide developers with a tool that separates javascript code from the renderer code and move it into template files. This solution is similar to how TemplateRenderer handles HTML content.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-1962) A proposed solution to separate
javascript code from java code in Renderers
Posted by "Paul Rivera (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629852#action_12629852 ]
Paul Rivera commented on MYFACES-1962:
--------------------------------------
moved to TOMAHAWK-1327
> A proposed solution to separate javascript code from java code in Renderers
> ---------------------------------------------------------------------------
>
> Key: MYFACES-1962
> URL: https://issues.apache.org/jira/browse/MYFACES-1962
> Project: MyFaces Core
> Issue Type: New Feature
> Components: General
> Reporter: Paul Rivera
> Priority: Minor
> Attachments: freemarker_impl.rar
>
>
> In our current implementation of component renderers, javascript code is generated using ResponseWriter methods inside the renderer. Although, when the embedded javascript code gets too lengthy, the renderer code can become hard to read and debug.
> The proposition is to provide developers with a tool that separates javascript code from the renderer code and move it into template files. This solution is similar to how TemplateRenderer handles HTML content.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.