javax.faces.SEPARATOR_CHAR not working well together with AJAX

2011-06-15 Thread Christoph Dietze
Hello, we changed the default SEPARATOR_CHAR from colon to underscore. However, that causes an Exception javax.faces.FacesException: Component with id:myid not found at org.apache.myfaces.renderkit.html.HtmlAjaxBehaviorRenderer.getComponentId(HtmlAjaxBehaviorRenderer.java:291) It looks like

What is wrong with Trinidad's download example?

2011-06-15 Thread jitechno
Hello, I tried this example, http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_fileDownloadActionListener.html Not with commandLine, not with commandButton I am nat able to fire file save dialog. No exceptions, no actions, nothing. Please, advice me, what is wrong here? Thanks in advance

[Trinidad] disabled attribute and form submit does not work correctly

2011-06-15 Thread Detlef Grittner
I am loading a page with a tr:inputNumberSpinbox component, whose disabled attribute is intially set to true. With a tr:selectOneRadio I trigger the disabled flag and the value 1 will set it to false. This is done with PPR and autoSubmit in the tr:selectOneRadio. This part of xhtml page on the

Re: [Trinidad] disabled attribute and form submit does not work correctly

2011-06-15 Thread Walter Mourão
Hi, I'm not sure if it relates with your situation, but every time I change the disable/rendered of a component using PPR, I add partialTriggers to the enclosing component. In your case I would add partialTriggers=selection to the tr:form. Regards, Walter Mourão http://waltermourao.com.br

Re: What is wrong with Trinidad's download example?

2011-06-15 Thread Cédric Durmont
Ooops, looks like tr:form is missing... Regards, Cedric 2011/6/15 jitechno jitec...@gmail.com: Hello, I tried this example, http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_fileDownloadActionListener.html Not with commandLine, not with commandButton I am nat able to fire file save

Re: javax.faces.SEPARATOR_CHAR not working well together with AJAX

2011-06-15 Thread Leonardo Uribe
Hi I don't think use underscore could be a good choice, because for generated ids, the prefix is j_id, so methods like UIComponent.findComponent will not work correctly. I have checked it and it is a bug. It should use UINamingContainer.getSeparatorChar(FacesContext) instead a constant. Please

Re: Both child and facet list should be checked while moving an existing child ?

2011-06-15 Thread Leonardo Uribe
Hi Checking the code I see that _ComponentChildrenList.removeChildrenFromParent do this: private void removeChildrenFromParent(UIComponent child) { UIComponent oldParent = child.getParent(); if (oldParent != null) {

Re: [Trinidad] disabled attribute and form submit does not work correctly

2011-06-15 Thread Detlef Grittner
Hi, adding the partialTriggers to the enclosing form does not change the behavior. And I have tried another control tr:selectOneRadio, it shows the same faulty behavior regarding the disabled attribute. Just for the record (I forgot to add the versions in the original post), I am running: