[richfaces-issues] [JBoss JIRA] Commented: (RF-7571) Client-side library: make code compatible with Portlet environment

Jay Balunas (JIRA) jira-events at lists.jboss.org
Wed Feb 9 15:27:47 EST 2011


    [ https://issues.jboss.org/browse/RF-7571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581220#comment-12581220 ] 

Jay Balunas commented on RF-7571:
---------------------------------

Based on discussions with Nick, the required steps for this is too risky and complex for this stage of the release.  We will need to review and plan for portlet support in a near term future release.

What we need to get this working in portlets
1) use module pattern in JS - already done
2) overwrite CSS class names - add portlet namespaces to them - affects renderer code & CSS files
3) overwrite CSS class names in JavaScript - this is I believe the trickiest part

Either we 1) overwrite or 2) externalize class names into hash passed into module pattern constructor

These 2) & 3) parts affects almost all components - and I expected this to be covered by unified approach backed by CDK

> Client-side library: make code compatible with Portlet environment
> ------------------------------------------------------------------
>
>                 Key: RF-7571
>                 URL: https://issues.jboss.org/browse/RF-7571
>             Project: RichFaces
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: component, core, portal
>    Affects Versions: 4.0.0.ALPHA1
>            Reporter: Anton Belevich
>            Assignee: Alexander Smirnov
>             Fix For: 4.Future
>
>
>  use anonimous functions to hide internal code, pass all public methods names with ExternalContext.encodeNamespace().

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list