You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andreas Bohnert <ab...@online.de> on 2004/03/26 11:17:03 UTC
datepicker in RC1: there is no buttonOnClick handler!
hello everbody,
yesterday I checked out the newest cvs version and did validate my
application.
everthing seems to be allright, except the datepicker component:
when I click on the 'V' button nothing happens. this is, what tapestry
actually renders:
<input type="text" name="$DatePicker$0" title="tt.MM.uuuu" value="31.01.2005" size="10" maxlength="10" id="genId24886346444848195"/>
<input type="button" name="" value="V"/>
so there is no buttonOnClick handler and the window.onload = function ()
just contains code for the onChange event.
datepicker.script contains a key
<let key="buttonOnclickHandler">
javascript:${calendarObject}.toggle(document.${formName}.${name});
</let>
but this key isn't used in the initialize section.
there is also no button name anymore, so I don't know, how to reference
the button.
thanks for any help,
andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: datepicker in RC1: there is no buttonOnClick handler!
Posted by Andreas Bohnert <ab...@online.de>.
ups, I just tried it and it works!
strange, I'm sure I tried it a few months ago and it didn't work.
but anyway, that's great!
thanks
andreas
Colin Sampaleanu wrote:
> I'm using Tapestry 3.0RC1 with JBoss, and Tapestry is inside the EAR
> file only, with no problems.
>
> Andreas Bohnert wrote:
>
>> yes, you are right!
>> there was still an old version in the jboss lib folder.
>> it's a pitty, that the jboss deployer needs the tapestry jar outside
>> of the ear.
>>
>> thank you!
>> andreas
>>
>> Howard M. Lewis Ship wrote:
>>
>>> Please ensure that your copies of ealier versions of the framework
>>> are gone. This is a classic
>>> version of mixup (two versions of the framework on the classpath).
>>>
>>> --
>>> Howard M. Lewis Ship
>>> Independent J2EE / Open-Source Java Consultant
>>> Creator, Tapestry: Java Web Components http://howardlewisship.com
>>>
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Andreas Bohnert [mailto:abo@online.de] Sent: Friday, March
>>>> 26, 2004 5:17 AM
>>>> To: tapestry-user@jakarta.apache.org
>>>> Subject: datepicker in RC1: there is no buttonOnClick handler!
>>>>
>>>>
>>>> hello everbody,
>>>>
>>>> yesterday I checked out the newest cvs version and did validate my
>>>> application.
>>>> everthing seems to be allright, except the datepicker component:
>>>>
>>>> when I click on the 'V' button nothing happens. this is, what
>>>> tapestry actually renders:
>>>>
>>>> <input type="text" name="$DatePicker$0" title="tt.MM.uuuu"
>>>> value="31.01.2005" size="10" maxlength="10"
>>>> id="genId24886346444848195"/>
>>>> <input type="button" name="" value="V"/>
>>>>
>>>> so there is no buttonOnClick handler and the window.onload =
>>>> function () just contains code for the onChange event.
>>>> datepicker.script contains a key
>>>> <let key="buttonOnclickHandler">
>>>>
>>>> javascript:${calendarObject}.toggle(document.${formName}.${name});
>>>> </let>
>>>>
>>>> but this key isn't used in the initialize section.
>>>> there is also no button name anymore, so I don't know, how to
>>>> reference the button.
>>>>
>>>> thanks for any help,
>>>> andreas
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: datepicker in RC1: there is no buttonOnClick handler!
Posted by Colin Sampaleanu <co...@exis.com>.
I'm using Tapestry 3.0RC1 with JBoss, and Tapestry is inside the EAR
file only, with no problems.
Andreas Bohnert wrote:
> yes, you are right!
> there was still an old version in the jboss lib folder.
> it's a pitty, that the jboss deployer needs the tapestry jar outside
> of the ear.
>
> thank you!
> andreas
>
> Howard M. Lewis Ship wrote:
>
>> Please ensure that your copies of ealier versions of the framework
>> are gone. This is a classic
>> version of mixup (two versions of the framework on the classpath).
>>
>> --
>> Howard M. Lewis Ship
>> Independent J2EE / Open-Source Java Consultant
>> Creator, Tapestry: Java Web Components http://howardlewisship.com
>>
>>
>>
>>
>>> -----Original Message-----
>>> From: Andreas Bohnert [mailto:abo@online.de] Sent: Friday, March 26,
>>> 2004 5:17 AM
>>> To: tapestry-user@jakarta.apache.org
>>> Subject: datepicker in RC1: there is no buttonOnClick handler!
>>>
>>>
>>> hello everbody,
>>>
>>> yesterday I checked out the newest cvs version and did validate my
>>> application.
>>> everthing seems to be allright, except the datepicker component:
>>>
>>> when I click on the 'V' button nothing happens. this is, what
>>> tapestry actually renders:
>>>
>>> <input type="text" name="$DatePicker$0" title="tt.MM.uuuu"
>>> value="31.01.2005" size="10" maxlength="10"
>>> id="genId24886346444848195"/>
>>> <input type="button" name="" value="V"/>
>>>
>>> so there is no buttonOnClick handler and the window.onload =
>>> function () just contains code for the onChange event.
>>> datepicker.script contains a key
>>> <let key="buttonOnclickHandler">
>>>
>>> javascript:${calendarObject}.toggle(document.${formName}.${name});
>>> </let>
>>>
>>> but this key isn't used in the initialize section.
>>> there is also no button name anymore, so I don't know, how to
>>> reference the button.
>>>
>>> thanks for any help,
>>> andreas
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: datepicker in RC1: there is no buttonOnClick handler!
Posted by Andreas Bohnert <ab...@online.de>.
yes, you are right!
there was still an old version in the jboss lib folder.
it's a pitty, that the jboss deployer needs the tapestry jar outside of
the ear.
thank you!
andreas
Howard M. Lewis Ship wrote:
>Please ensure that your copies of ealier versions of the framework are gone. This is a classic
>version of mixup (two versions of the framework on the classpath).
>
>--
>Howard M. Lewis Ship
>Independent J2EE / Open-Source Java Consultant
>Creator, Tapestry: Java Web Components
>http://howardlewisship.com
>
>
>
>
>>-----Original Message-----
>>From: Andreas Bohnert [mailto:abo@online.de]
>>Sent: Friday, March 26, 2004 5:17 AM
>>To: tapestry-user@jakarta.apache.org
>>Subject: datepicker in RC1: there is no buttonOnClick handler!
>>
>>
>>hello everbody,
>>
>>yesterday I checked out the newest cvs version and did validate my
>>application.
>>everthing seems to be allright, except the datepicker component:
>>
>>when I click on the 'V' button nothing happens. this is, what
>>tapestry
>>actually renders:
>>
>><input type="text" name="$DatePicker$0" title="tt.MM.uuuu"
>>value="31.01.2005" size="10" maxlength="10"
>>id="genId24886346444848195"/>
>><input type="button" name="" value="V"/>
>>
>>so there is no buttonOnClick handler and the window.onload =
>>function ()
>>just contains code for the onChange event.
>>datepicker.script contains a key
>><let key="buttonOnclickHandler">
>>
>>javascript:${calendarObject}.toggle(document.${formName}.${name});
>></let>
>>
>>but this key isn't used in the initialize section.
>>there is also no button name anymore, so I don't know, how to
>>reference
>>the button.
>>
>>thanks for any help,
>>andreas
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: datepicker in RC1: there is no buttonOnClick handler!
Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
Please ensure that your copies of ealier versions of the framework are gone. This is a classic
version of mixup (two versions of the framework on the classpath).
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Tapestry: Java Web Components
http://howardlewisship.com
> -----Original Message-----
> From: Andreas Bohnert [mailto:abo@online.de]
> Sent: Friday, March 26, 2004 5:17 AM
> To: tapestry-user@jakarta.apache.org
> Subject: datepicker in RC1: there is no buttonOnClick handler!
>
>
> hello everbody,
>
> yesterday I checked out the newest cvs version and did validate my
> application.
> everthing seems to be allright, except the datepicker component:
>
> when I click on the 'V' button nothing happens. this is, what
> tapestry
> actually renders:
>
> <input type="text" name="$DatePicker$0" title="tt.MM.uuuu"
> value="31.01.2005" size="10" maxlength="10"
> id="genId24886346444848195"/>
> <input type="button" name="" value="V"/>
>
> so there is no buttonOnClick handler and the window.onload =
> function ()
> just contains code for the onChange event.
> datepicker.script contains a key
> <let key="buttonOnclickHandler">
>
> javascript:${calendarObject}.toggle(document.${formName}.${name});
> </let>
>
> but this key isn't used in the initialize section.
> there is also no button name anymore, so I don't know, how to
> reference
> the button.
>
> thanks for any help,
> andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org