Hi Volker,

the jsf code is the following:

<t:dataTable
                        forceId="true"
                        id="dataTable"
                        width="100%"
                        styleClass="standardTable"
                        headerClass="standardTable_Header"
                        footerClass="standardTable_Header"
                        rowClasses="standardTable_Row1,standardTable_Row2"
                        
columnClasses="standardTable_Column,standardTable_ColumnCentered,standardTable_Column"
                        var="service"
                        value="#{ServicesBean.dataModel}"
                        preserveDataModel="false" rows="10">


Maybe this id's have strange values, because I extended the paging
mechanism of the table as described in the myFaces WIKI
(http://wiki.apache.org/myfaces/WorkingWithLargeTables). Have you any
idea, how I can influence the id-generation of this mechanism?


Thank you,
Rudi

On 4/4/07, Volker Weber <[EMAIL PROTECTED]> wrote:
Hi Rudi,

can you post the relevant jsf code,

this looks not like a jsf generated id.

Regards,
  Volker

2007/4/4, Rudi Steiner <[EMAIL PROTECTED]>:
> Hello,
>
> thanks a lot to everybody.
>
> @Mike: I removed on form on the page and wrap all the formcontent by
> one form-element. So this problem is resolved.
>
> But valuating the new page, I get the following error for the markup
> rendered by the <t:datatable/> - tag :
>
> Error  Line 85 column 83: character "[" is not allowed in the value of
> attribute "id".
>
> ...dardTable_Column"><span id="ot_servId[0]">41315</span></td><td 
class="standar
>
> It is possible that you violated the naming convention for this
> attribute. For example, id and name attributes must begin with a
> letter, not a digit.
>
>
> Should I report this as a bug in Jira?
>
> Best regards,
> Rudi
>
>
>
> On 4/4/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> > Jorn,
> >
> > I don't know if the id is required by the spec or not.  Or if there's
> > some reason why it's required by the MyFaces implementation.   If you
> > want to look into that and report back on your findings, maybe we can
> > consider changing it.   I know that identical hidden fields must be
> > present for each form on the page, though.
> >
> > On 4/3/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > On 4/3/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> > > > Definitely open JIRA issues (preferrably with patches) for all but one
> > > > of these items.
> > > >
> > > >
> > > > > Error  Line 101 column 165: ID "jsf_tree_64" already defined.
> > > >
> > > > The above will not be fixed -- this element must exist and be
> > > > submitted in every form.
> > >
> > > Is there any reason against simply removing the ID? As long as the element
> > > has the correct name and is inside the form it should work without any
> > > issues. XHTML compliance to come! Though I prefer HTLM 4.01 strict...
> > >
> > >
> >
>

Reply via email to