Hmmm...I'll look tonight, must have been a screw up on my part somehow.
Either way it will probably be fixed by tomorrow if you are using the
current 4.1.1-SNAPSHOT version of Tapestry with maven2. (Otherwise you can
download the new jar manually from the snapshot repos? )

On 8/1/06, Denis Souza <[EMAIL PROTECTED]> wrote:

Hi,



I just got Tapestry 4.1 and I now whenever I use the DatePicker component
and click on the icon I get the following javascrip error in Firefox:



Error: document.Form has no properties

Source File: javascript:calendar_dp.toggle(document.Form.DatePicker);



IE6 shows this error:



'document.Form.DatePicker' is null or not an object



The javascript output seems to be in order:



              <input type="text" name="DatePicker" value="" title="dd MMM
yyyy" id="DatePicker "/>&nbsp;<a
href="javascript:calendar_dp.toggle(document.Form.DatePicker);"><img

src="/datetest/app?service=asset&amp;path=%2Forg%2Fapache%2Ftapestry%2Fform%
2FDatePickerIcon.png" alt="Click on icon to choose a date/time value."
border="0"/></a>



I even created a new application just to test that but I keep getting the
same error. The template code couldn't be simpler:



  <input jwcid="@DatePicker" value="ognl:date"/>



Any ideas on why this is happening?







One other thing. I also tried to use the DropDownDatePicker component but
I
couldn't get it to work. Tapestry simply doesn't find it:



Component 'DropDownDatePicker' not found in [EMAIL PROTECTED]
[<application>].



I'm thinking maybe something's very different about it since it's a dojo
widget but I haven't been able to figure out how to use it. The docs don't
have much information about it (unless I overlooked something). Could
anyone
point me in the right direction?



Thanks,

Denis Souza







--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to