Re: T5 Component question based on the Count component in documentation

2008-04-27 Thread Chris Lewis
gt;>>>> >>>>>>>>private boolean _increment; >>>>>>>> >>>>>>>>@SetupRender >>>>>>>>void initializeValue() >>>>>>>>{ >>>>>>>>_value = _s

Re: T5 Component question based on the Count component in documentation

2008-04-27 Thread maxthesecond
>>>int newValue = _value + 1; >>>>>>>> >>>>>>>> if (newValue <= _end) >>>>>>>> { >>>>>>>>_value = newValue; >>>>>&

Re: T5 Component question based on the Count component in documentation

2008-04-27 Thread Chris Lewis
t;>>>>>{ >>>>>>>if (_increment) >>>>>>> { >>>>>>> int newValue = _value + 1; >>>>>>> >>>>>>>if (newValue <= _end) >

Re: T5 Component question based on the Count component in documentation

2008-04-27 Thread maxthesecond
return false; >>>>>>} >>>>>>} >>>>>> else >>>>>> { >>>>>> int newValue = _value - 1; >>>>>> >>>>>>if (newValue

Re: T5 Component question based on the Count component in documentation

2008-04-27 Thread Chris Lewis
_value = newValue; >>>>>return false; >>>>> } >>>>> } >>>>> >>>>>return true; >>>>>} >>>&g

Re: T5 Component question based on the Count component in documentation

2008-04-26 Thread maxthesecond
> >> I added the stext parameter for the sake of test,you don't need even >> to >> >> declare getter and setter for parameters, in the page that uses the >> >> component y

Re: T5 Component question based on the Count component in documentation

2008-04-26 Thread Sven Homburg
>> component you write down simply: > >> > >> Ho! > >> > >> and both parameters 'end' and 'stext' will go on with no problems > >> > >> but if I write > >> > >> Ho! > >

Re: T5 Component question based on the Count component in documentation

2008-04-26 Thread maxthesecond
>> >> then I get the following enlighting message: >> >> "Could not convert 'mytext' into a component parameter binding: Class >> org.compramaestra.pages.TreeDemo does not contain a proper

Re: T5 Component question based on the Count component in documentation

2008-04-26 Thread Sven Homburg
ties: class, > componentResources, message, node, treeNodes." > > So what? the argument is supposed to be the parameter? I'm totally lost > ,bear in mind that > > Ho! does not complain at all > > > Thanks a lot if any can save me! > > tapestry 5.0.11 > &g

T5 Component question based on the Count component in documentation

2008-04-26 Thread maxthesecond
if any can save me! tapestry 5.0.11 -- View this message in context: http://www.nabble.com/T5-Component-question-based-on-the-Count-component-in-documentation-tp16917580p16917580.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---