Hi,

Adding namespaces, eg
  taskListData:taskListData_table
is fine, as Vitaly notes.

Or
    foo:j_id_1
for the case where the child has no explicit id.

But something like "tasklistDataj_id_1" just looks like a bug to me.

However the odd thing is that it seems to work fine for me. From the app
I'm currently working on:
   id="j_id62:itemlist:5:j_id84"

Maybe it is something specific to richfaces components? If you modify
your page to use just normal JSF components, does the problem occur?

Regards,
Simon


Andrew Robinson schrieb:
> Isn't that intentionally done when using JSP w/ JSF when there are jsp 
> includes?
>
> On Feb 19, 2008 2:17 AM, Vitaly Venediktov
> <[EMAIL PROTECTED]> wrote:
>   
>>
>> Hi,
>>
>> My jsp looks like
>>
>> <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
>> <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
>> <%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>
>> <%@ taglib uri="http://richfaces.org/a4j"; prefix="a4j"%>
>> <%@ taglib uri="http://richfaces.org/rich"; prefix="rich"%>
>>
>>
>> <h:form id="taskListData">
>>         <h:panelGrid>
>>                 <rich:panel>
>>                         <f:facet name="header">
>>                                 <h:outputText value="#{...}" />
>>                         </f:facet>
>>                         <rich:dataTable id="taskListData_table"
>> var="taskList"
>>                                 columnClasses="align_hcenter"
>> value="#{...}">
>> ---skip---
>>
>>                         </rich:dataTable>
>>                 </rich:panel>
>>         </h:panelGrid>
>> </h:form>
>>
>> Rendered ID for dataTable in html looks like
>> "taskListDataj_id_1:taskListData_tablej_id_1". It is confusing since I
>> expected "taskListData:taskListData_table" as id. It was as expected just
>> before update to new faces revision. Do you know the cause of this behavior?
>>
>> Best Regards
>> Vitaly
>>     
>
>   

Reply via email to