[jira] Commented: (TRINIDAD-1870) tr:commandLink blocks tr:panelAccordion

2010-07-30 Thread Matt Cooper (JIRA)

[ 
https://issues.apache.org/jira/browse/TRINIDAD-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894074#action_12894074
 ] 

Matt Cooper commented on TRINIDAD-1870:
---

The stateSaving property in my example can be deleted, e.g. 


> tr:commandLink blocks tr:panelAccordion
> ---
>
> Key: TRINIDAD-1870
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1870
> Project: MyFaces Trinidad
>  Issue Type: Bug
>Affects Versions: 2.0.0.3-core
> Environment: MyFaces 2.0.1, Jetty 6.1.8, jdk 1.6.0_20, win 7
>Reporter: Cedric Durmont
>
> I'm cleaning bugs in my app after my switch to Trinidad2, and I found
> 2 problems that seems not to be on my side :
> 1. I'm unable to change of tab in a panelTabbed with a click (works
> programmatically using "disclosed" attribute)
> 2. Consider this sample.xhtml :
> 
>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";
>xmlns:f="http://java.sun.com/jsf/core";
>xmlns:tr="http://myfaces.apache.org/trinidad";
>xmlns:t="http://myfaces.apache.org/tomahawk";
>xmlns:trh="http://myfaces.apache.org/trinidad/html";
>xmlns:c="http://java.sun.com/jsp/jstl/core";
>xmlns:ui="http://java.sun.com/jsf/facelets";>
> 
>Some title
>
> 
> 
> 
> 
>
>foo
>bar
> 
> 
> 
> 
> In this case, the panelAccordion does not work (details are not
> disclosed when you click on it). Remove the commandLink, it works
> again. Replace the commandLink by a commandButton, it works too.
> Setting attributes on the commandLink does not change the situation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TRINIDAD-1870) tr:commandLink blocks tr:panelAccordion

2010-07-30 Thread Matt Cooper (JIRA)

[ 
https://issues.apache.org/jira/browse/TRINIDAD-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894073#action_12894073
 ] 

Matt Cooper commented on TRINIDAD-1870:
---

I can confirm that in a Facelets xhtml page, this is the case.

Note that using a jspx page like this, it works fine:


http://java.sun.com/JSP/Page"; version="2.0"
  xmlns:f="http://java.sun.com/jsf/core";
  xmlns:tr="http://myfaces.apache.org/trinidad";>
  
  

   
 
 
   foo
   bar
 
  

  


> tr:commandLink blocks tr:panelAccordion
> ---
>
> Key: TRINIDAD-1870
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1870
> Project: MyFaces Trinidad
>  Issue Type: Bug
>Affects Versions: 2.0.0.3-core
> Environment: MyFaces 2.0.1, Jetty 6.1.8, jdk 1.6.0_20, win 7
>Reporter: Cedric Durmont
>
> I'm cleaning bugs in my app after my switch to Trinidad2, and I found
> 2 problems that seems not to be on my side :
> 1. I'm unable to change of tab in a panelTabbed with a click (works
> programmatically using "disclosed" attribute)
> 2. Consider this sample.xhtml :
> 
>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";
>xmlns:f="http://java.sun.com/jsf/core";
>xmlns:tr="http://myfaces.apache.org/trinidad";
>xmlns:t="http://myfaces.apache.org/tomahawk";
>xmlns:trh="http://myfaces.apache.org/trinidad/html";
>xmlns:c="http://java.sun.com/jsp/jstl/core";
>xmlns:ui="http://java.sun.com/jsf/facelets";>
> 
>Some title
>
> 
> 
> 
> 
>
>foo
>bar
> 
> 
> 
> 
> In this case, the panelAccordion does not work (details are not
> disclosed when you click on it). Remove the commandLink, it works
> again. Replace the commandLink by a commandButton, it works too.
> Setting attributes on the commandLink does not change the situation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TRINIDAD-1870) tr:commandLink blocks tr:panelAccordion

2010-08-10 Thread JIRA

[ 
https://issues.apache.org/jira/browse/TRINIDAD-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896885#action_12896885
 ] 

Matthias Weßendorf commented on TRINIDAD-1870:
--

Matt,

in Trinidad 1.2.x  Cedric's test-case works.

In trindiad 2.0 it does not work. Same with this:

http://www.w3.org/1999/xhtml"; 
xmlns:h="http://java.sun.com/jsf/html";
   xmlns:tr="http://myfaces.apache.org/trinidad";
   xmlns:trh="http://myfaces.apache.org/trinidad/html"; title="Apache 
Trinidad Demo Index">
   
 
 
   foo
   bar
 
  
 
==> Does not work

Yes you are right, the provided JSPX file does work.

Looks like while adapting JSF2/Facelets in Trinidad, something has been 
forgotten.

> tr:commandLink blocks tr:panelAccordion
> ---
>
> Key: TRINIDAD-1870
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1870
> Project: MyFaces Trinidad
>  Issue Type: Bug
>Affects Versions: 2.0.0.3-core
> Environment: MyFaces 2.0.1, Jetty 6.1.8, jdk 1.6.0_20, win 7
>Reporter: Cedric Durmont
>
> I'm cleaning bugs in my app after my switch to Trinidad2, and I found
> 2 problems that seems not to be on my side :
> 1. I'm unable to change of tab in a panelTabbed with a click (works
> programmatically using "disclosed" attribute)
> 2. Consider this sample.xhtml :
> 
>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";
>xmlns:f="http://java.sun.com/jsf/core";
>xmlns:tr="http://myfaces.apache.org/trinidad";
>xmlns:t="http://myfaces.apache.org/tomahawk";
>xmlns:trh="http://myfaces.apache.org/trinidad/html";
>xmlns:c="http://java.sun.com/jsp/jstl/core";
>xmlns:ui="http://java.sun.com/jsf/facelets";>
> 
>Some title
>
> 
> 
> 
> 
>
>foo
>bar
> 
> 
> 
> 
> In this case, the panelAccordion does not work (details are not
> disclosed when you click on it). Remove the commandLink, it works
> again. Replace the commandLink by a commandButton, it works too.
> Setting attributes on the commandLink does not change the situation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TRINIDAD-1870) tr:commandLink blocks tr:panelAccordion

2010-08-10 Thread JIRA

[ 
https://issues.apache.org/jira/browse/TRINIDAD-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896886#action_12896886
 ] 

Matthias Weßendorf commented on TRINIDAD-1870:
--

I also see that the AJAX post is submitted to the server, but nothing happens.

So the error could be on our JSF2-Ajax work, or with us going Facelets (from 
JSF2)

Cedric, does this work with an older Trinidad 2 release ?

> tr:commandLink blocks tr:panelAccordion
> ---
>
> Key: TRINIDAD-1870
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1870
> Project: MyFaces Trinidad
>  Issue Type: Bug
>Affects Versions: 2.0.0.3-core
> Environment: MyFaces 2.0.1, Jetty 6.1.8, jdk 1.6.0_20, win 7
>Reporter: Cedric Durmont
>
> I'm cleaning bugs in my app after my switch to Trinidad2, and I found
> 2 problems that seems not to be on my side :
> 1. I'm unable to change of tab in a panelTabbed with a click (works
> programmatically using "disclosed" attribute)
> 2. Consider this sample.xhtml :
> 
>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";
>xmlns:f="http://java.sun.com/jsf/core";
>xmlns:tr="http://myfaces.apache.org/trinidad";
>xmlns:t="http://myfaces.apache.org/tomahawk";
>xmlns:trh="http://myfaces.apache.org/trinidad/html";
>xmlns:c="http://java.sun.com/jsp/jstl/core";
>xmlns:ui="http://java.sun.com/jsf/facelets";>
> 
>Some title
>
> 
> 
> 
> 
>
>foo
>bar
> 
> 
> 
> 
> In this case, the panelAccordion does not work (details are not
> disclosed when you click on it). Remove the commandLink, it works
> again. Replace the commandLink by a commandButton, it works too.
> Setting attributes on the commandLink does not change the situation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TRINIDAD-1870) tr:commandLink blocks tr:panelAccordion

2010-08-17 Thread Cedric Durmont (JIRA)

[ 
https://issues.apache.org/jira/browse/TRINIDAD-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899379#action_12899379
 ] 

Cedric Durmont commented on TRINIDAD-1870:
--

This also fails with Trinidad 2.0.0-alpha
I did not test it before.

> tr:commandLink blocks tr:panelAccordion
> ---
>
> Key: TRINIDAD-1870
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1870
> Project: MyFaces Trinidad
>  Issue Type: Bug
>Affects Versions: 2.0.0.3-core
> Environment: MyFaces 2.0.1, Jetty 6.1.8, jdk 1.6.0_20, win 7
>Reporter: Cedric Durmont
>
> I'm cleaning bugs in my app after my switch to Trinidad2, and I found
> 2 problems that seems not to be on my side :
> 1. I'm unable to change of tab in a panelTabbed with a click (works
> programmatically using "disclosed" attribute)
> 2. Consider this sample.xhtml :
> 
>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";
>xmlns:f="http://java.sun.com/jsf/core";
>xmlns:tr="http://myfaces.apache.org/trinidad";
>xmlns:t="http://myfaces.apache.org/tomahawk";
>xmlns:trh="http://myfaces.apache.org/trinidad/html";
>xmlns:c="http://java.sun.com/jsp/jstl/core";
>xmlns:ui="http://java.sun.com/jsf/facelets";>
> 
>Some title
>
> 
> 
> 
> 
>
>foo
>bar
> 
> 
> 
> 
> In this case, the panelAccordion does not work (details are not
> disclosed when you click on it). Remove the commandLink, it works
> again. Replace the commandLink by a commandButton, it works too.
> Setting attributes on the commandLink does not change the situation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TRINIDAD-1870) tr:commandLink blocks tr:panelAccordion

2010-09-14 Thread Cedric Durmont (JIRA)

[ 
https://issues.apache.org/jira/browse/TRINIDAD-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909151#action_12909151
 ] 

Cedric Durmont commented on TRINIDAD-1870:
--

Still having the bug with beta1.
However I think I ran into something interesting with Firebug :

=== 1st trace, without commandlink (working) ===
POST :
Tr-PPR-Message  true
_noJavaScript   false
event   show
javax.faces.ViewState   !-rw4e3s12f
javax.faces.partial.ajaxtrue
javax.faces.partial.execu...j_id2114509110_7e08d943
javax.faces.source  j_id2114509110_7e08d943
org.apache.myfaces.trinid...j_id2114509110_7e08d96d
partial true
source  j_id2114509110_7e08d943
targetItem  j_id2114509110_7e08d99f

=== 2nd trace, with a commandlink (does not work) ===
Tr-PPR-Message  true
_noJavaScript   false
event   show
javax.faces.ViewState   !-rw4e3s12e
javax.faces.partial.ajaxtrue
javax.faces.partial.execu...j_id2114509110_7e08d9b4
javax.faces.source  j_id2114509110_7e08d9b4
org.apache.myfaces.trinid...j_id2114509110_7e08d96d
partial true
source  
source  j_id2114509110_7e08d9b4
targetItem  j_id2114509110_7e08d980


=> "source" field is sent 2 times, the first one being empty ! I could explain 
why the response in the first case contains only postScript JS, and no HTML 
update to the panelAccordion (or PanelTabbed, does the same)

If I compare the generated HTML, the non-working page has the following lines 
added :
[...]
 
[...]
 
 TrPage.getInstance()._addResetFields('j_id2114509110_7e08d96d',["source"]);


1st case : no input field named "source", but one seems to be added on the fly 
on form submit, with the correct value. Works as expected.
2nd case : one "source" input field, but another one is still added on form 
submit. My guess is that the generated one is still correct, but the explicit 
one is ignored, thus never set with the correct value. That would explain the 2 
"source" in the POST.

I'm not familiar enough with Trinidad internals to investigate further. I hope 
this may lead to the bug.
Regards,
Cedric

> tr:commandLink blocks tr:panelAccordion
> ---
>
> Key: TRINIDAD-1870
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1870
> Project: MyFaces Trinidad
>  Issue Type: Bug
>Affects Versions: 2.0.0.3-core
> Environment: MyFaces 2.0.1, Jetty 6.1.8, jdk 1.6.0_20, win 7
>Reporter: Cedric Durmont
>
> I'm cleaning bugs in my app after my switch to Trinidad2, and I found
> 2 problems that seems not to be on my side :
> 1. I'm unable to change of tab in a panelTabbed with a click (works
> programmatically using "disclosed" attribute)
> 2. Consider this sample.xhtml :
> 
>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";
>xmlns:f="http://java.sun.com/jsf/core";
>xmlns:tr="http://myfaces.apache.org/trinidad";
>xmlns:t="http://myfaces.apache.org/tomahawk";
>xmlns:trh="http://myfaces.apache.org/trinidad/html";
>xmlns:c="http://java.sun.com/jsp/jstl/core";
>xmlns:ui="http://java.sun.com/jsf/facelets";>
> 
>Some title
>
> 
> 
> 
> 
>
>foo
>bar
> 
> 
> 
> 
> In this case, the panelAccordion does not work (details are not
> disclosed when you click on it). Remove the commandLink, it works
> again. Replace the commandLink by a commandButton, it works too.
> Setting attributes on the commandLink does not change the situation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [jira] Commented: (TRINIDAD-1870) tr:commandLink blocks tr:panelAccordion

2010-08-11 Thread Cédric Durmont
Sorry guys I can't tell before monday, I'm on holidays :/


2010/8/10 Matthias Weßendorf (JIRA) :
>
>    [ 
> https://issues.apache.org/jira/browse/TRINIDAD-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896886#action_12896886
>  ]
>
> Matthias Weßendorf commented on TRINIDAD-1870:
> --
>
> I also see that the AJAX post is submitted to the server, but nothing happens.
>
> So the error could be on our JSF2-Ajax work, or with us going Facelets (from 
> JSF2)
>
> Cedric, does this work with an older Trinidad 2 release ?


Re: [jira] Commented: (TRINIDAD-1870) tr:commandLink blocks tr:panelAccordion

2010-08-11 Thread Matthias Wessendorf
enjoy. Perhaps I get to it as well ;-)

-Matthias

On Wed, Aug 11, 2010 at 10:19 PM, Cédric Durmont  wrote:
> Sorry guys I can't tell before monday, I'm on holidays :/
>
>
> 2010/8/10 Matthias Weßendorf (JIRA) :
>>
>>    [ 
>> https://issues.apache.org/jira/browse/TRINIDAD-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896886#action_12896886
>>  ]
>>
>> Matthias Weßendorf commented on TRINIDAD-1870:
>> --
>>
>> I also see that the AJAX post is submitted to the server, but nothing 
>> happens.
>>
>> So the error could be on our JSF2-Ajax work, or with us going Facelets (from 
>> JSF2)
>>
>> Cedric, does this work with an older Trinidad 2 release ?
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf