I had this problem too - in firefox1.5. I didn't test it in IE, but I suspect it works there. Firefox wasn't liking the document.formId. It wants document.getElementById('formId') instead. It's a small change on two lines of DatePicker.script. I'm not sure why this used to work, though.

-Steve

Gabriel Lozano wrote:
Hi

Sorry, but i finally dont know what is the answer to the issue of upgrading tapestry and the datepicker not working. Why is this happening? or should we instead use the dropdownTimePicker? When I click on the date icon ( for the
daypicker component ) on IE, the js error says ('
document.formId.dateComponentId null or not an object')

By the way, how can be the effects for the dropdownDatePicker be achieved ?
( fade ...)

Thanks in advance

Gabriel Lozano M.

On 10/17/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:

The DatePicker placement issues should be fixed & deployed.

On 10/17/06, Josh Long <[EMAIL PROTECTED]> wrote:
>
> I'm not too sure about DropdownDatePicker ( I guess I haven't notied
> much there) but...
>
> the following code on mozilla yeilds a @DatePicker that, when clicked,
> shows up at the bottom of the 100px border (not at the bottom of th
> etext field).  (scroll down for sample code..)
>
> In fact, if you check the workbench example on opencomponentry.com and
> click on the 'Dates' tab the problem is visible right there: the drop
> down date pickers show up under the submit button (not the text
> fields).
> /////
> import org.apache.tapestry.html.BasePage;
> import java.util.Date;
> abstract public class Test extends BasePage {
>     abstract public Date getDateValue() ;
>     abstract public void setDateValue(Date dateValue) ;
>
> }
> ////
>
>
>
> <div jwcid = "@Shell" title="">
>
>     <div jwcid="@Body">
>         <form jwcid="@Form" action="">
>
>             <input type="text" />
>             <div style="height:100px">
>         <input type="text"
> jwcid="@DatePicker"  value="ognl:dateValue"/></div>
>         </form>
>     </div>
> </div>
>
> Peace,
> Josh
>
> On 10/16/06, mraible <[EMAIL PROTECTED]> wrote:
> >
> > Strangely enough - it works fine when I use "mvn", but not when I use
my
> Ant
> > build file that reads from pom.xml.  Oh well, chaulk the compile
problem
> up
> > to a Maven issue - obviously not something you should worry about.
> >
> > As far as @DatePicker and @DropdownDatePicker in 4.1.1-SNAPSHOT, I'm
> > experiencing the same behavior I did in 4.1. I disabled SiteMesh, but
> that
> > didn't help either. From looking at the output, it looks like there's
> calls
> > to Dojo, but Dojo JavaScript files are never referenced.
> >
> > http://rifers.org/paste/show/1993
> >
> > I wouldn't worry about this too much, I'm more than happy to revert
back
> to
> > 4.0.2 - less work for me. ;-)
> >
> > Matt
> >
> >
> > Jessek wrote:
> > >
> > > Is this something I can attempt on my own as well (like in an svn
repo
> > > somwhere)? What I mean to say is I'm willing to invest a little time
> to
> > > figure out wtf is happening if you think it'll help by trying the
same
> on
> > > my
> > > own comp.
> > >
> > > On 10/17/06, mraible <[EMAIL PROTECTED]> wrote:
> > >>
> > >>
> > >>
> > >>
> > >> Jessek wrote:
> > >> >
> > >> > Ah. I guess I was expecting you to use the 4.1.1 version, it is
> > >> available
> > >> > in
> > >> > the apache snapshot repos only (the main repos are reserved for
> > >> official
> > >> > releases) :
> > >> >
> > >> > http://people.apache.org/repo/m2-snapshot-repository/
> > >> >
> > >> > The 4.1 version is hopelessly behind what is in 4.1.1. (At least
it
> > >> seems
> > >> > that way to me personally, maybe the differences aren't that
> large.)
> > >> >
> > >> > Is equinox on a "snapshot" version as well or are you only
allowing
> > >> fully
> > >> > stable final releases into it?
> > >> >
> > >> > All known major issues that I know of (besides my umm..hickup
> brought
> > >> up
> > >> > with portlets today ) are resolved and stable right now. I make
> > >> releases
> > >> > every few days or so.
> > >> >
> > >>
> > >> I'm not against using Snapshots for releases, but I'd prefer not
> to.  I
> > >> tried 4.1.1-SNAPSHOT and adding the Apache Snapshots
repository.  Now
> I'm
> > >> getting compile errors.  I'm assuming not a whole lot changed b/w
4.1and
> > >> 4.1.1 - maybe the JARs are corrupted?
> > >>
> > >> Here's the output I'm getting:
> > >>
> > >> test:
> > >> [artifact:dependencies] [INFO] snapshot
> > >> org.apache.tapestry:tapestry-framework:4.1.1-SNAPSHOT: check
> > >> ing for updates from [EMAIL PROTECTED]
> > >> [artifact:dependencies] [INFO] snapshot
> > >> org.apache.tapestry:tapestry-framework:4.1.1-SNAPSHOT: check
> > >> ing for updates from apache.snapshots
> > >> [artifact:dependencies] Downloading:
> > >> org/apache/tapestry/tapestry-framework/4.1.1-SNAPSHOT/tapestry-
> > >> framework-4.1.1-20061017.060957-35.pom
> > >> [artifact:dependencies] Transferring 7K
> > >> [artifact:dependencies] [INFO] snapshot
> > >> org.apache.tapestry:tapestry-project:4.1.1-SNAPSHOT: checkin
> > >> g for updates from [EMAIL PROTECTED]
> > >> [artifact:dependencies] [INFO] snapshot
> > >> org.apache.tapestry:tapestry-project:4.1.1-SNAPSHOT: checkin
> > >> g for updates from apache.snapshots
> > >> [artifact:dependencies] Downloading:
> > >> org/apache/tapestry/tapestry-project/4.1.1-SNAPSHOT/tapestry-pr
> > >> oject-4.1.1-20061017.060957-37.pom
> > >> [artifact:dependencies] Transferring 15K
> > >> [artifact:dependencies] [INFO] snapshot
> > >> org.apache.tapestry:tapestry-contrib:4.1.1-SNAPSHOT: checkin
> > >> g for updates from [EMAIL PROTECTED]
> > >> [artifact:dependencies] [INFO] snapshot
> > >> org.apache.tapestry:tapestry-contrib:4.1.1-SNAPSHOT: checkin
> > >> g for updates from apache.snapshots
> > >> [artifact:dependencies] Downloading:
> > >> org/apache/tapestry/tapestry-contrib/4.1.1-SNAPSHOT/tapestry-co
> > >> ntrib-4.1.1-20061015.051823-34.pom
> > >> [artifact:dependencies] Transferring 4K
> > >> [artifact:dependencies] Downloading:
> > >> org/apache/tapestry/tapestry-framework/4.1.1-SNAPSHOT/tapestry-
> > >> framework-4.1.1-20061017.060957-35.jar
> > >> [artifact:dependencies] Transferring 2387K
> > >> [artifact:dependencies] Downloading:
> > >> org/apache/tapestry/tapestry-contrib/4.1.1-SNAPSHOT/tapestry-co
> > >> ntrib-4.1.1-20061015.051823-34.jar
> > >> [artifact:dependencies] Transferring 308K
> > >>
> > >> clear:
> > >>      [echo] Deleting data from database...
> > >>       [sql] Executing commands
> > >>       [sql] 1 of 1 SQL statements executed successfully
> > >>
> > >> compile:
> > >> [mkdir] Created dir: C:\Source\equinox-tapestry\target\classes
> > >>     [javac] Compiling 11 source files to
> > >> C:\Source\equinox-tapestry\target\classes
> > >>     [javac]
> > >>
> C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\Error.java:3:
> > >> package org.apach
> > >> e.tapestry.pages does not exist
> > >>     [javac] import org.apache.tapestry.pages.Exception;
> > >>     [javac]                                  ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:5:
> > >> package org.ap
> > >> ache.tapestry does not exist
> > >>     [javac] import org.apache.tapestry.IRequestCycle;
> > >>     [javac]                            ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:6:
> > >> package org.ap
> > >> ache.tapestry.engine does not exist
> > >>     [javac] import org.apache.tapestry.engine.IEngineService;
> > >>     [javac]                                   ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:7:
> > >> package org.ap
> > >> ache.tapestry.engine does not exist
> > >>     [javac] import org.apache.tapestry.engine.ILink;
> > >>     [javac]                                   ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:8:
> > >> package org.ap
> > >> ache.tapestry.event does not exist
> > >>     [javac] import
org.apache.tapestry.event.PageBeginRenderListener;
> > >>     [javac]                                  ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:9:
> > >> package org.ap
> > >> ache.tapestry.event does not exist
> > >>     [javac] import org.apache.tapestry.event.PageEvent;
> > >>     [javac]                                  ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:10:
> > >> package org.a
> > >> pache.tapestry.html does not exist
> > >>     [javac] import org.apache.tapestry.html.BasePage;
> > >>     [javac]                                 ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:11:
> > >> package org.a
> > >> pache.tapestry.valid does not exist
> > >>     [javac] import org.apache.tapestry.valid.IValidationDelegate;
> > >>     [javac]                                  ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:12:
> > >> package org.a
> > >> pache.tapestry.valid does not exist
> > >>     [javac] import org.apache.tapestry.valid.ValidationDelegate;
> > >>     [javac]                                  ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:16:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol: class BasePage
> > >>     [javac] public abstract class UserForm extends BasePage
> implements
> > >> PageBeginRenderListener {
> > >>     [javac]                                        ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:16:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol: class PageBeginRenderListener
> > >>     [javac] public abstract class UserForm extends BasePage
> implements
> > >> PageBeginRenderListener {
> > >>
> [javac]                                                            ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:18:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : class IEngineService
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >> [javac] public abstract IEngineService getEngineService();
> > >>     [javac]                     ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:23:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : class IValidationDelegate
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]     protected IValidationDelegate
getValidationDelegate()
> {
> > >>     [javac]               ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:32:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : class PageEvent
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]     public void pageBeginRender(PageEvent event) {
> > >>     [javac]                                 ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:40:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : class IRequestCycle
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]     public void cancel(IRequestCycle cycle) {
> > >>     [javac]                        ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:48:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : class IRequestCycle
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]     public void edit(IRequestCycle cycle) {
> > >>     [javac]                      ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:60:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : class IRequestCycle
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]     public ILink save(IRequestCycle cycle) {
> > >>     [javac]                       ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:60:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : class ILink
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]     public ILink save(IRequestCycle cycle) {
> > >>     [javac]            ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:77:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : class IRequestCycle
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]     public ILink delete(IRequestCycle cycle) {
> > >>     [javac]                         ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:77:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : class ILink
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]     public ILink delete(IRequestCycle cycle) {
> > >>     [javac]            ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserList.java:6:
> > >> package org.ap
> > >> ache.tapestry.html does not exist
> > >>     [javac] import org.apache.tapestry.html.BasePage;
> > >>     [javac]                                 ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserList.java:9:
> > >> cannot find sy
> > >> mbol
> > >>     [javac] symbol: class BasePage
> > >>     [javac] public abstract class UserList extends BasePage {
> > >>     [javac]                                        ^
> > >>     [javac]
> > >>
> C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\Error.java:15:
> > >> cannot find symb
> > >> ol
> > >>     [javac] symbol  : method setException(java.lang.Throwable)
> > >>     [javac] location: class java.lang.Exception
> > >>     [javac]         super.setException(value);
> > >>     [javac]              ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:25:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : method getSpecification()
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]         if (getSpecification() != null) {
> > >>     [javac]             ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:26:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : class IValidationDelegate
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]             return (IValidationDelegate)
> > >> getBeans().getBean("delegate");
> > >>     [javac]                     ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:26:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : method getBeans()
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]             return (IValidationDelegate)
> > >> getBeans().getBean("delegate");
> > >>     [javac]                                          ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:28:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : class ValidationDelegate
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]             return new ValidationDelegate();
> > >>     [javac]                        ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:72:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : method getMessages()
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]
> > >> nextPage.setMessage(getMessages().format("user.saved",
> > >> getUser().getFullName()))
> > >> ;
> > >>     [javac]                             ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:74:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : method getPageName()
> > >>     [javac] location: class org.appfuse.web.UserList
> > >>     [javac]         return getEngineService().getLink(false,
> > >> nextPage.getPageName());
> > >>
> [javac]                                                          ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:85:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : method getMessages()
> > >>     [javac] location: class org.appfuse.web.UserForm
> > >>     [javac]
> > >> nextPage.setMessage(getMessages().format("user.deleted
> > >> ",
> > >> getUser().getFullName()
> > >> ));
> > >>     [javac]                             ^
> > >>     [javac]
> > >>
>
C:\Source\equinox-tapestry\src\main\java\org\appfuse\web\UserForm.java:87:
> > >> cannot find s
> > >> ymbol
> > >>     [javac] symbol  : method getPageName()
> > >>     [javac] location: class org.appfuse.web.UserList
> > >>     [javac]         return getEngineService().getLink(false,
> > >> nextPage.getPageName());
> > >>
> [javac]                                                          ^
> > >>     [javac] 31 errors
> > >>
> > >> Thanks,
> > >>
> > >> Matt
> > >> --
> > >> View this message in context:
> > >>
>
http://www.nabble.com/DatePicker-not-working-after-upgrading-from-4.0.2-to-4.1-tf2231968.html#a6849234
> > >> Sent from the Tapestry - User mailing list archive at Nabble.com.
> > >>
> > >>
> > >>
---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >> For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > >>
> > >
> > >
> > > --
> > > Jesse Kuhnert
> > > Tapestry/Dojo/(and a dash of TestNG), team member/developer
> > >
> > > Open source based consulting work centered around
> > > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
> > >
> > >
> >
> > --
> > View this message in context:
>
http://www.nabble.com/DatePicker-not-working-after-upgrading-from-4.0.2-to-4.1-tf2231968.html#a6849477
> > Sent from the Tapestry - User mailing list archive at Nabble.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]
>
>


--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com




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

Reply via email to