maybe it must be inside a form...

Davor Hrg

On Feb 4, 2008 2:36 PM, Alexander Lamb <[EMAIL PROTECTED]> wrote:
> No, it extends nothing. Actually, the TextField was put in the loop
> only to check I was not going crazy... to see the loop was indeed
> statefull, but not for my custom component.
>
> Should a custom component extend some class to benefit from the id
> increment?
>
> Alex
>
> Le 4 févr. 08 à 13:44, Michael Courcy a écrit :
>
>
> > Sorry I meant AbstractField
> >
> > Michael Courcy a écrit :
> >>
> >> Does your enrollmentbenchmarkchart compenent extends
> >> AbstractTextField ?
> >>
> >> Alexander Lamb a écrit :
> >>> Hello list,
> >>>
> >>> It looks like custom components are not statefull.
> >>>
> >>> Indeed, I have a loop which contains a graph I generate and a
> >>> TextField (for testing purposes), and the generated code looks
> >>> like this:
> >>>
> >>> <div><img src="./
> >>> statistics
> >>> .dashboardview.enrollmentbenchmarkchart.monthserieslinechart:chart/
> >>> 460/280"></div></div></td></tr><tr><td><input id="textfield_8"
> >>> name="textfield_8" type="text" value="ITALY"><img alt="[Error]"
> >>> class="t-error-icon t-invisible" id="textfield_8:icon" src="assets/
> >>> tapestry/field-error-marker.gif"><div> IT <div><img src="./
> >>> statistics
> >>> .dashboardview.enrollmentbenchmarkchart.monthserieslinechart:chart/
> >>> 460/280"></div></div></td></tr><tr><td><input id="textfield_9"
> >>> name="textfield_9" type="text" value="NETHERLANDS"><img
> >>> alt="[Error]" class="t-error-icon t-invisible"
> >>> id="textfield_9:icon" src="assets/tapestry/field-error-
> >>> marker.gif"><div> NL <div><img src="./
> >>> statistics
> >>> .dashboardview.enrollmentbenchmarkchart.monthserieslinechart:chart/
> >>> 460/280"></div></div></td></tr><tr><td><input id="textfield_10"
> >>> name="textfield_10" type="text" value="NORWAY"><img alt="[Error]"
> >>> class="t-error-icon t-invisible" id="textfield_10:icon"
> >>> src="assets/tapestry/field-error-marker.gif"><div> NO
> >>> As you can see, my TextField gets incremented but not my
> >>> enrollmentbenchmarkchart !
> >>> Should I file a bug for this?
> >>> P.S. I tried to generate the ids but it didn't work.
> >>> Thanks,
> >>>
> >>> Alex
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>
> >>
> >
> >
> > --
> > Michael Courcy
> > http://courcy.blogspot.com
> > http://courcy-en.blogspot.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to