[
https://issues.apache.org/jira/browse/PORTLETBRIDGE-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003472#comment-13003472
]
Michael Freedman commented on PORTLETBRIDGE-186:
------------------------------------------------
I have reopened https://issues.apache.org/jira/browse/MYFACES-702 as it looks
to me that the real bug here is that UIViewRoot.createUniqueId calls
encodeNamespace(). I don't see a valid reason for it doing so and would prefer
comment/fix by the MyFaces core folks before introducing any hacks to
workaround the issue. In the meantime if you need to workaround the issue
you can always introduce your own ExternalContext and subclass encodeNameSpace
to add the additional prefix.
> Unnecesarry Id and span's generated in a portal
> -----------------------------------------------
>
> Key: PORTLETBRIDGE-186
> URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-186
> Project: MyFaces Portlet Bridge
> Issue Type: Bug
> Reporter: Krashan Brahmanjara
> Assignee: Michael Freedman
>
> Html generated via bridge has dot a'lot of unnecesary code :id's, span's and
> span's unwanted by programmers (like h:outputText without styleClass)
> Full description of this problem and easy patch is here
> https://issues.apache.org/jira/browse/MYFACES-702.
> BTW.
> It looks like very old bug. Old patch pplied to file:
> myfaces_1_1_8\impl\src\main\java\org\apache\myfaces\context\portlet\PortletExternalContextImpl.java
> still exist but was not moved and applied to file:
> myfaces-portlet-bridge-2.0.0\src\impl\src\main\java\org\apache\myfaces\portlet\faces\context\PortletFacesContextImpl.java
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira