tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Lamb <alexander.l...@rodanotech.ch>
Subject Re: T5: Custom components are not statefull
Date Mon, 04 Feb 2008 13:36:38 GMT
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: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>
>>
>
>
> -- 
> Michael Courcy
> http://courcy.blogspot.com
> http://courcy-en.blogspot.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Mime
View raw message