-
1. Re: a4j:region and facelets UIText and UILiteralText
andrew.rw.robinson Apr 5, 2007 2:32 PM (in response to andrew.rw.robinson)No reply = no solution to this problem?
-
2. Re: a4j:region and facelets UIText and UILiteralText
ilya_shaikovsky Apr 6, 2007 7:05 AM (in response to andrew.rw.robinson)Hi,
Sorry but I'm unable to reproduce your warning message. Could you provide an example for me directly? Thanks.
Sorry for the delays. -
3. Re: a4j:region and facelets UIText and UILiteralText
sergeysmirnov Apr 6, 2007 12:56 PM (in response to andrew.rw.robinson)probably, the attachment to jira issue is better than direct mail.
-
4. Re: a4j:region and facelets UIText and UILiteralText
andrew.rw.robinson Apr 6, 2007 2:28 PM (in response to andrew.rw.robinson)I think I figured it out. Since you said you couldn't reproduce it I decided to try facelets 1.1.11 instead of 1.0.14. It doesn't seem to be happening anymore with 1.1.11.
Thanks -
5. Re: a4j:region and facelets UIText and UILiteralText
andrew.rw.robinson Apr 6, 2007 2:59 PM (in response to andrew.rw.robinson)Okay, I just got it again. This time is when I re-render a component that contains a ui:include element. If I change the value of the ui:include from a region that doesn't contain the include, then I seem to be getting it.
<a4j:outputPanel id="panel"> <ui:include src="#{bean.value ? 'a.xhtml' : 'b.xhtml'}" /> </a4j:outputPanel> <a4j:region> <h:selectBooleanCheckbox value="#{bean.value}"> <a4j:support ajaxSingle="true" event="onclick" reRender="panel" /> </h:selectBooeanCheckBox> </a4j:region>
I don't have a simple example other than this yet to send, but hopefully you can know what is going on from this. -
6. Re: a4j:region and facelets UIText and UILiteralText
ilya_shaikovsky Apr 9, 2007 5:24 AM (in response to andrew.rw.robinson)Please use Sergey's suggestion about jira :) On me side (ajax4jsf-1.1.1-20070408.230846-5, richfaces-3.0.1-20070409.000312-4, JSF 1.2.04, Facelets 1.1.12) your code renders the include fine.
-
7. Re: a4j:region and facelets UIText and UILiteralText
andrew.rw.robinson Apr 9, 2007 11:31 AM (in response to andrew.rw.robinson)I can't reproduce it with a simple use case yet. Something in our application must be helping to cause it. I'll get back to this post if I can reproduce it with a simple example and post it to a JIRA issue for research.
-
8. Re: a4j:region and facelets UIText and UILiteralText
andrew.rw.robinson Apr 9, 2007 12:10 PM (in response to andrew.rw.robinson)Okay, found it. Originally, when I was using facelets 1.0.14 I seemed to be getting some of these messages from UIText and UILiteralText. It looks like facelets 1.1.11 got rid of that. The messages I still kept getting were not related to the UIText and UILiteralText. The problem is a bug in "org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer" in MyFaces/Tomahawk 1.1.5.
In that code, they create an HtmlOutputText object using application.createComponent(String), but never assign an ID to that component. As a result, all the command links will have a child component with no ID. One of my includes had a table with a paginator, and hence why I was only getting the message with one include.
I also found a couple of our custom component renderers that had the same problem (transient created components with no ID assigned to them).
Sorry for the rabbit trail on this forum. Not sure why I wasn't seeing this issue until I started using the region tag (maybe I just never noticed it before?).
Thanks for the help and any work put in.