You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Krashan Brahmanjara (JIRA)" <de...@myfaces.apache.org> on 2011/03/06 12:09:45 UTC
[jira] Created: (PORTLETBRIDGE-186) Unnecesarry Id and span's
generated in a portal
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
[jira] Commented: (PORTLETBRIDGE-186) Unnecesarry Id and span's
generated in a portal
Posted by "Michael Freedman (JIRA)" <de...@myfaces.apache.org>.
[ 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
[jira] [Commented] (PORTLETBRIDGE-186) Unnecesarry Id and span's
generated in a portal
Posted by "Krashan Brahmanjara (Commented) (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/PORTLETBRIDGE-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133996#comment-13133996 ]
Krashan Brahmanjara commented on PORTLETBRIDGE-186:
---------------------------------------------------
>you can always introduce your own ExternalContext and subclass encodeNameSpace to add the additional prefix.
I tried this without success.
At this moment I use patched bridge.
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira