You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Luka Surija (JIRA)" <de...@myfaces.apache.org> on 2011/06/03 19:21:47 UTC
[jira] [Created] (TRINIDAD-2107) Trinidad 2.x using facelets
doesn't work on Glassfish 3.1
Trinidad 2.x using facelets doesn't work on Glassfish 3.1
----------------------------------------------------------
Key: TRINIDAD-2107
URL: https://issues.apache.org/jira/browse/TRINIDAD-2107
Project: MyFaces Trinidad
Issue Type: Bug
Components: Facelets
Affects Versions: 2.0.0
Environment: Glassfish 3.1, Mojarra 2.1.0 (FCS 2.1.0-b11), Trinidad 2.0.0
Reporter: Luka Surija
Priority: Critical
Some PPR functionality doesn't work. For example:
tr:commandNavigationItem - dialog not opening when partialSubmit="true" & useWindow="true"
tr:showDetail - if you try to expand, it will be removed from the page. Further analysis using developer tools from chrome shown following scenario:
example:
<tr:showDetail disclosedText="Test" >
<tr:outputText value="test2" />
</tr:showDetail>
1. rendered component
<!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt92"]-->
<span id="j_idt8:j_idt92">
<div class="af_showDetail_prompt-undisclosed">
<script type="text/javascript">function _submitHideShow(a,v,b,c,l,d) {var o = {event:b,source:c};if (d!=(void 0)) o.value=d;_setRequestedFocusNode(document,l,false,window);_submitPartialChange(a,v,o);return false;}</script>
<a onclick="return _submitHideShow('j_idt8',1,'show','j_idt8:j_idt92','j_idt8:j_idt92__xc_')" href="#" id="j_idt8:j_idt92__xc_" class="OraLink af_showDetail_disclosure-icon-link">
<img src="/HR/css/bm4/img/icon_plus.gif" height="11" border="0" style="vertical-align:middle;margin-right:5px" title="Select to show information" alt="Select to show information" align="middle">
</a>
<a onclick="return _submitHideShow('j_idt8',1,'show','j_idt8:j_idt92','j_idt8:j_idt92__xc_')" href="#" class="OraLink af_showDetail_prompt-link">Test</a>
</div>
</span>
2. XHR Request Header
--------------------------------------
org.apache.myfaces.trinidad.faces.FORM:j_idt8
_noJavaScript:false
javax.faces.ViewState:!13z8tz1pvu
source:j_idt8:j_idt94
event:show
state:
value:
partial:true
javax.faces.source:j_idt8:j_idt94
javax.faces.partial.execute:j_idt8:j_idt94 j_idt8:j_idt94
Tr-PPR-Message:true
javax.faces.partial.ajax:true
--------------------------------
3. XHR response
--------------------------------------------------
<?xml version="1.0" ?>
<partial-response><changes><update id="j_idt8:j_idt74"><![CDATA[<!--Start: org.apache.myfaces.trinidad.Messages["j_idt74"]--><table id="j_idt8:j_idt74" class="af_messages" style="display:none;" cellpadding="0" cellspacing="0" border="0" summary=""><tbody><tr>
<td class="af_messages_top-start"></td>
<td class="af_messages_top"></td>
<td class="af_messages_top-end"></td>
</tr><tr>
<td class="af_messages_start"></td>
<td><!--Start: org.apache.myfaces.trinidad.Messages["j_idt74"]--><div class="af_messages_body"><div>
<h1 class="af_messages_header"><span class="af_messages_error">Error</span></h1>
</div>
<ol id="j_idt8:j_idt74__LIST__" class="af_messages_list af_messages_list-single"></ol>
</div></td>
<td class="af_messages_end"></td>
</tr><tr>
<td class="af_messages_bottom-start"></td>
<td class="af_messages_bottom"></td>
<td class="af_messages_bottom-end"></td>
</tr></tbody></table>]]></update><update id="j_idt8:j_idt94"><![CDATA[<!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt94"]--><span id="j_idt8:j_idt94"><div class="af_showDetail_prompt-disclosed"><a onclick="return _submitHideShow('j_idt8',1,'hide','j_idt8:j_idt94','j_idt8:j_idt94__xc_')" href="#" id="j_idt8:j_idt94__xc_" class="OraLink af_showDetail_disclosure-icon-link"><img src="/HR/css/bm4/img/icon_minus.gif" height="11" border="0" style="vertical-align:middle;margin-right:5px" title="Select to hide information" alt="Select to hide information" align="middle"></a><a onclick="return _submitHideShow('j_idt8',1,'hide','j_idt8:j_idt94','j_idt8:j_idt94__xc_')" href="#" class="OraLink af_showDetail_prompt-link">Test 2</a></div><div><!--Start: org.apache.myfaces.trinidad.Output["j_idt95"]-->test2</div></span>]]></update><update id="tr_j_idt8_Postscript"><![CDATA[<!--Start: org.apache.myfaces.trinidad.Form["j_id4"]--><span id="tr_j_idt8_Postscript"><input type="hidden" name="source"><input type="hidden" name="event"><input type="hidden" name="partial"><script type="text/javascript">TrPage.getInstance()._addResetFields('j_idt8',["source","event","partial"]);</script><script type="text/javascript">var j_idt8_SF={"j_idt8:j_idt45":2,"j_idt8:appMenu":1};</script></span>]]></update><update id="javax.faces.ViewState"><![CDATA[!13z8tz1pvu]]></update><eval><![CDATA[TrPage.getInstance().__handlePprResponseAction('/HR/application/hr/index.xhtml');]]></eval></changes></partial-response>
--------------------------------------------------------------
4. DOM structure after AJAX
<!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt94"]-->
<!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt94"]-->
.... and that's it.
My wild gues is that for some reason component with id "j_idt94" is replaced only with first comment in CDATA section of XHR response.
trinidad-components-showcase also doesn't work.
Steps to reproduce:
1. download latest glassfish 3.1
2. install
3. deploy trinidad-components-showcase
main menu on left side doesn't work.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TRINIDAD-2107) Trinidad 2.x using facelets
doesn't work on Glassfish 3.1
Posted by "Max Starets (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Starets updated TRINIDAD-2107:
----------------------------------
Resolution: Fixed
Fix Version/s: 2.0.1
Status: Resolved (was: Patch Available)
> Trinidad 2.x using facelets doesn't work on Glassfish 3.1
> ----------------------------------------------------------
>
> Key: TRINIDAD-2107
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2107
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Facelets
> Affects Versions: 2.0.0
> Environment: Glassfish 3.1, Mojarra 2.1.0 (FCS 2.1.0-b11), Trinidad 2.0.0
> Reporter: Luka Surija
> Assignee: Max Starets
> Priority: Critical
> Fix For: 2.0.1
>
> Attachments: trinidad-2107.patch
>
>
> Some PPR functionality doesn't work. For example:
> tr:commandNavigationItem - dialog not opening when partialSubmit="true" & useWindow="true"
> tr:showDetail - if you try to expand, it will be removed from the page. Further analysis using developer tools from chrome shown following scenario:
> example:
> <tr:showDetail disclosedText="Test" >
> <tr:outputText value="test2" />
> </tr:showDetail>
> 1. rendered component
> <!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt92"]-->
> <span id="j_idt8:j_idt92">
> <div class="af_showDetail_prompt-undisclosed">
> <script type="text/javascript">function _submitHideShow(a,v,b,c,l,d) {var o = {event:b,source:c};if (d!=(void 0)) o.value=d;_setRequestedFocusNode(document,l,false,window);_submitPartialChange(a,v,o);return false;}</script>
> <a onclick="return _submitHideShow('j_idt8',1,'show','j_idt8:j_idt92','j_idt8:j_idt92__xc_')" href="#" id="j_idt8:j_idt92__xc_" class="OraLink af_showDetail_disclosure-icon-link">
> <img src="/HR/css/bm4/img/icon_plus.gif" height="11" border="0" style="vertical-align:middle;margin-right:5px" title="Select to show information" alt="Select to show information" align="middle">
> </a>
> <a onclick="return _submitHideShow('j_idt8',1,'show','j_idt8:j_idt92','j_idt8:j_idt92__xc_')" href="#" class="OraLink af_showDetail_prompt-link">Test</a>
> </div>
> </span>
> 2. XHR Request Header
> --------------------------------------
> org.apache.myfaces.trinidad.faces.FORM:j_idt8
> _noJavaScript:false
> javax.faces.ViewState:!13z8tz1pvu
> source:j_idt8:j_idt94
> event:show
> state:
> value:
> partial:true
> javax.faces.source:j_idt8:j_idt94
> javax.faces.partial.execute:j_idt8:j_idt94 j_idt8:j_idt94
> Tr-PPR-Message:true
> javax.faces.partial.ajax:true
> --------------------------------
> 3. XHR response
> --------------------------------------------------
> <?xml version="1.0" ?>
> <partial-response><changes><update id="j_idt8:j_idt74"><![CDATA[<!--Start: org.apache.myfaces.trinidad.Messages["j_idt74"]--><table id="j_idt8:j_idt74" class="af_messages" style="display:none;" cellpadding="0" cellspacing="0" border="0" summary=""><tbody><tr>
> <td class="af_messages_top-start"></td>
>
> <td class="af_messages_top"></td>
>
> <td class="af_messages_top-end"></td>
> </tr><tr>
> <td class="af_messages_start"></td>
>
> <td><!--Start: org.apache.myfaces.trinidad.Messages["j_idt74"]--><div class="af_messages_body"><div>
> <h1 class="af_messages_header"><span class="af_messages_error">Error</span></h1>
> </div>
> <ol id="j_idt8:j_idt74__LIST__" class="af_messages_list af_messages_list-single"></ol>
> </div></td>
>
> <td class="af_messages_end"></td>
> </tr><tr>
> <td class="af_messages_bottom-start"></td>
>
> <td class="af_messages_bottom"></td>
>
> <td class="af_messages_bottom-end"></td>
> </tr></tbody></table>]]></update><update id="j_idt8:j_idt94"><![CDATA[<!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt94"]--><span id="j_idt8:j_idt94"><div class="af_showDetail_prompt-disclosed"><a onclick="return _submitHideShow('j_idt8',1,'hide','j_idt8:j_idt94','j_idt8:j_idt94__xc_')" href="#" id="j_idt8:j_idt94__xc_" class="OraLink af_showDetail_disclosure-icon-link"><img src="/HR/css/bm4/img/icon_minus.gif" height="11" border="0" style="vertical-align:middle;margin-right:5px" title="Select to hide information" alt="Select to hide information" align="middle"></a><a onclick="return _submitHideShow('j_idt8',1,'hide','j_idt8:j_idt94','j_idt8:j_idt94__xc_')" href="#" class="OraLink af_showDetail_prompt-link">Test 2</a></div><div><!--Start: org.apache.myfaces.trinidad.Output["j_idt95"]-->test2</div></span>]]></update><update id="tr_j_idt8_Postscript"><![CDATA[<!--Start: org.apache.myfaces.trinidad.Form["j_id4"]--><span id="tr_j_idt8_Postscript"><input type="hidden" name="source"><input type="hidden" name="event"><input type="hidden" name="partial"><script type="text/javascript">TrPage.getInstance()._addResetFields('j_idt8',["source","event","partial"]);</script><script type="text/javascript">var j_idt8_SF={"j_idt8:j_idt45":2,"j_idt8:appMenu":1};</script></span>]]></update><update id="javax.faces.ViewState"><![CDATA[!13z8tz1pvu]]></update><eval><![CDATA[TrPage.getInstance().__handlePprResponseAction('/HR/application/hr/index.xhtml');]]></eval></changes></partial-response>
> --------------------------------------------------------------
> 4. DOM structure after AJAX
> <!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt94"]-->
> <!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt94"]-->
> .... and that's it.
> My wild gues is that for some reason component with id "j_idt94" is replaced only with first comment in CDATA section of XHR response.
> trinidad-components-showcase also doesn't work.
> Steps to reproduce:
> 1. download latest glassfish 3.1
> 2. install
> 3. deploy trinidad-components-showcase
> main menu on left side doesn't work.
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TRINIDAD-2107) Trinidad 2.x using facelets
doesn't work on Glassfish 3.1
Posted by "Max Starets (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067885#comment-13067885 ]
Max Starets commented on TRINIDAD-2107:
---------------------------------------
The issue is that client-side Ajax implementation in Mojarra (JSF 2.0) just takes the first node inside of the <update> element. The fix in Trinidad would be to force debug-output to false on the writer used to write JSF 2.0 Ajax response.
There are two workarounds for this problem:
1) Set debug-output to false in trinidad-config.xml. That will disable comments in the generated HTML.
2) Set org.apache.myfaces.trinidadinternal.PPR_OVER_JSF_AJAX context parameter to "off" in web.xml. That will make Trinidad use its old (legacy) PPR support instead of Ajax support from JSF2.
> Trinidad 2.x using facelets doesn't work on Glassfish 3.1
> ----------------------------------------------------------
>
> Key: TRINIDAD-2107
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2107
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Facelets
> Affects Versions: 2.0.0
> Environment: Glassfish 3.1, Mojarra 2.1.0 (FCS 2.1.0-b11), Trinidad 2.0.0
> Reporter: Luka Surija
> Priority: Critical
>
> Some PPR functionality doesn't work. For example:
> tr:commandNavigationItem - dialog not opening when partialSubmit="true" & useWindow="true"
> tr:showDetail - if you try to expand, it will be removed from the page. Further analysis using developer tools from chrome shown following scenario:
> example:
> <tr:showDetail disclosedText="Test" >
> <tr:outputText value="test2" />
> </tr:showDetail>
> 1. rendered component
> <!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt92"]-->
> <span id="j_idt8:j_idt92">
> <div class="af_showDetail_prompt-undisclosed">
> <script type="text/javascript">function _submitHideShow(a,v,b,c,l,d) {var o = {event:b,source:c};if (d!=(void 0)) o.value=d;_setRequestedFocusNode(document,l,false,window);_submitPartialChange(a,v,o);return false;}</script>
> <a onclick="return _submitHideShow('j_idt8',1,'show','j_idt8:j_idt92','j_idt8:j_idt92__xc_')" href="#" id="j_idt8:j_idt92__xc_" class="OraLink af_showDetail_disclosure-icon-link">
> <img src="/HR/css/bm4/img/icon_plus.gif" height="11" border="0" style="vertical-align:middle;margin-right:5px" title="Select to show information" alt="Select to show information" align="middle">
> </a>
> <a onclick="return _submitHideShow('j_idt8',1,'show','j_idt8:j_idt92','j_idt8:j_idt92__xc_')" href="#" class="OraLink af_showDetail_prompt-link">Test</a>
> </div>
> </span>
> 2. XHR Request Header
> --------------------------------------
> org.apache.myfaces.trinidad.faces.FORM:j_idt8
> _noJavaScript:false
> javax.faces.ViewState:!13z8tz1pvu
> source:j_idt8:j_idt94
> event:show
> state:
> value:
> partial:true
> javax.faces.source:j_idt8:j_idt94
> javax.faces.partial.execute:j_idt8:j_idt94 j_idt8:j_idt94
> Tr-PPR-Message:true
> javax.faces.partial.ajax:true
> --------------------------------
> 3. XHR response
> --------------------------------------------------
> <?xml version="1.0" ?>
> <partial-response><changes><update id="j_idt8:j_idt74"><![CDATA[<!--Start: org.apache.myfaces.trinidad.Messages["j_idt74"]--><table id="j_idt8:j_idt74" class="af_messages" style="display:none;" cellpadding="0" cellspacing="0" border="0" summary=""><tbody><tr>
> <td class="af_messages_top-start"></td>
>
> <td class="af_messages_top"></td>
>
> <td class="af_messages_top-end"></td>
> </tr><tr>
> <td class="af_messages_start"></td>
>
> <td><!--Start: org.apache.myfaces.trinidad.Messages["j_idt74"]--><div class="af_messages_body"><div>
> <h1 class="af_messages_header"><span class="af_messages_error">Error</span></h1>
> </div>
> <ol id="j_idt8:j_idt74__LIST__" class="af_messages_list af_messages_list-single"></ol>
> </div></td>
>
> <td class="af_messages_end"></td>
> </tr><tr>
> <td class="af_messages_bottom-start"></td>
>
> <td class="af_messages_bottom"></td>
>
> <td class="af_messages_bottom-end"></td>
> </tr></tbody></table>]]></update><update id="j_idt8:j_idt94"><![CDATA[<!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt94"]--><span id="j_idt8:j_idt94"><div class="af_showDetail_prompt-disclosed"><a onclick="return _submitHideShow('j_idt8',1,'hide','j_idt8:j_idt94','j_idt8:j_idt94__xc_')" href="#" id="j_idt8:j_idt94__xc_" class="OraLink af_showDetail_disclosure-icon-link"><img src="/HR/css/bm4/img/icon_minus.gif" height="11" border="0" style="vertical-align:middle;margin-right:5px" title="Select to hide information" alt="Select to hide information" align="middle"></a><a onclick="return _submitHideShow('j_idt8',1,'hide','j_idt8:j_idt94','j_idt8:j_idt94__xc_')" href="#" class="OraLink af_showDetail_prompt-link">Test 2</a></div><div><!--Start: org.apache.myfaces.trinidad.Output["j_idt95"]-->test2</div></span>]]></update><update id="tr_j_idt8_Postscript"><![CDATA[<!--Start: org.apache.myfaces.trinidad.Form["j_id4"]--><span id="tr_j_idt8_Postscript"><input type="hidden" name="source"><input type="hidden" name="event"><input type="hidden" name="partial"><script type="text/javascript">TrPage.getInstance()._addResetFields('j_idt8',["source","event","partial"]);</script><script type="text/javascript">var j_idt8_SF={"j_idt8:j_idt45":2,"j_idt8:appMenu":1};</script></span>]]></update><update id="javax.faces.ViewState"><![CDATA[!13z8tz1pvu]]></update><eval><![CDATA[TrPage.getInstance().__handlePprResponseAction('/HR/application/hr/index.xhtml');]]></eval></changes></partial-response>
> --------------------------------------------------------------
> 4. DOM structure after AJAX
> <!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt94"]-->
> <!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt94"]-->
> .... and that's it.
> My wild gues is that for some reason component with id "j_idt94" is replaced only with first comment in CDATA section of XHR response.
> trinidad-components-showcase also doesn't work.
> Steps to reproduce:
> 1. download latest glassfish 3.1
> 2. install
> 3. deploy trinidad-components-showcase
> main menu on left side doesn't work.
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TRINIDAD-2107) Trinidad 2.x using facelets
doesn't work on Glassfish 3.1
Posted by "Max Starets (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Starets updated TRINIDAD-2107:
----------------------------------
Status: Patch Available (was: Open)
> Trinidad 2.x using facelets doesn't work on Glassfish 3.1
> ----------------------------------------------------------
>
> Key: TRINIDAD-2107
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2107
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Facelets
> Affects Versions: 2.0.0
> Environment: Glassfish 3.1, Mojarra 2.1.0 (FCS 2.1.0-b11), Trinidad 2.0.0
> Reporter: Luka Surija
> Assignee: Max Starets
> Priority: Critical
> Attachments: trinidad-2107.patch
>
>
> Some PPR functionality doesn't work. For example:
> tr:commandNavigationItem - dialog not opening when partialSubmit="true" & useWindow="true"
> tr:showDetail - if you try to expand, it will be removed from the page. Further analysis using developer tools from chrome shown following scenario:
> example:
> <tr:showDetail disclosedText="Test" >
> <tr:outputText value="test2" />
> </tr:showDetail>
> 1. rendered component
> <!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt92"]-->
> <span id="j_idt8:j_idt92">
> <div class="af_showDetail_prompt-undisclosed">
> <script type="text/javascript">function _submitHideShow(a,v,b,c,l,d) {var o = {event:b,source:c};if (d!=(void 0)) o.value=d;_setRequestedFocusNode(document,l,false,window);_submitPartialChange(a,v,o);return false;}</script>
> <a onclick="return _submitHideShow('j_idt8',1,'show','j_idt8:j_idt92','j_idt8:j_idt92__xc_')" href="#" id="j_idt8:j_idt92__xc_" class="OraLink af_showDetail_disclosure-icon-link">
> <img src="/HR/css/bm4/img/icon_plus.gif" height="11" border="0" style="vertical-align:middle;margin-right:5px" title="Select to show information" alt="Select to show information" align="middle">
> </a>
> <a onclick="return _submitHideShow('j_idt8',1,'show','j_idt8:j_idt92','j_idt8:j_idt92__xc_')" href="#" class="OraLink af_showDetail_prompt-link">Test</a>
> </div>
> </span>
> 2. XHR Request Header
> --------------------------------------
> org.apache.myfaces.trinidad.faces.FORM:j_idt8
> _noJavaScript:false
> javax.faces.ViewState:!13z8tz1pvu
> source:j_idt8:j_idt94
> event:show
> state:
> value:
> partial:true
> javax.faces.source:j_idt8:j_idt94
> javax.faces.partial.execute:j_idt8:j_idt94 j_idt8:j_idt94
> Tr-PPR-Message:true
> javax.faces.partial.ajax:true
> --------------------------------
> 3. XHR response
> --------------------------------------------------
> <?xml version="1.0" ?>
> <partial-response><changes><update id="j_idt8:j_idt74"><![CDATA[<!--Start: org.apache.myfaces.trinidad.Messages["j_idt74"]--><table id="j_idt8:j_idt74" class="af_messages" style="display:none;" cellpadding="0" cellspacing="0" border="0" summary=""><tbody><tr>
> <td class="af_messages_top-start"></td>
>
> <td class="af_messages_top"></td>
>
> <td class="af_messages_top-end"></td>
> </tr><tr>
> <td class="af_messages_start"></td>
>
> <td><!--Start: org.apache.myfaces.trinidad.Messages["j_idt74"]--><div class="af_messages_body"><div>
> <h1 class="af_messages_header"><span class="af_messages_error">Error</span></h1>
> </div>
> <ol id="j_idt8:j_idt74__LIST__" class="af_messages_list af_messages_list-single"></ol>
> </div></td>
>
> <td class="af_messages_end"></td>
> </tr><tr>
> <td class="af_messages_bottom-start"></td>
>
> <td class="af_messages_bottom"></td>
>
> <td class="af_messages_bottom-end"></td>
> </tr></tbody></table>]]></update><update id="j_idt8:j_idt94"><![CDATA[<!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt94"]--><span id="j_idt8:j_idt94"><div class="af_showDetail_prompt-disclosed"><a onclick="return _submitHideShow('j_idt8',1,'hide','j_idt8:j_idt94','j_idt8:j_idt94__xc_')" href="#" id="j_idt8:j_idt94__xc_" class="OraLink af_showDetail_disclosure-icon-link"><img src="/HR/css/bm4/img/icon_minus.gif" height="11" border="0" style="vertical-align:middle;margin-right:5px" title="Select to hide information" alt="Select to hide information" align="middle"></a><a onclick="return _submitHideShow('j_idt8',1,'hide','j_idt8:j_idt94','j_idt8:j_idt94__xc_')" href="#" class="OraLink af_showDetail_prompt-link">Test 2</a></div><div><!--Start: org.apache.myfaces.trinidad.Output["j_idt95"]-->test2</div></span>]]></update><update id="tr_j_idt8_Postscript"><![CDATA[<!--Start: org.apache.myfaces.trinidad.Form["j_id4"]--><span id="tr_j_idt8_Postscript"><input type="hidden" name="source"><input type="hidden" name="event"><input type="hidden" name="partial"><script type="text/javascript">TrPage.getInstance()._addResetFields('j_idt8',["source","event","partial"]);</script><script type="text/javascript">var j_idt8_SF={"j_idt8:j_idt45":2,"j_idt8:appMenu":1};</script></span>]]></update><update id="javax.faces.ViewState"><![CDATA[!13z8tz1pvu]]></update><eval><![CDATA[TrPage.getInstance().__handlePprResponseAction('/HR/application/hr/index.xhtml');]]></eval></changes></partial-response>
> --------------------------------------------------------------
> 4. DOM structure after AJAX
> <!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt94"]-->
> <!--Start: org.apache.myfaces.trinidad.ShowDetail["j_idt94"]-->
> .... and that's it.
> My wild gues is that for some reason component with id "j_idt94" is replaced only with first comment in CDATA section of XHR response.
> trinidad-components-showcase also doesn't work.
> Steps to reproduce:
> 1. download latest glassfish 3.1
> 2. install
> 3. deploy trinidad-components-showcase
> main menu on left side doesn't work.
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira