modifying the current datetimepicker would be near impossible (as you
would en up with a completely different widget :) ), I'd advice to
just use a template with a  few fields for the different parts and add
validation.

musachy

On 10/31/07, Brian Relph <[EMAIL PROTECTED]> wrote:
> thank you
>
> i have requirements to have the date-picker split up into separate input
> boxes instead of a single one ...
>
> i do have an existing split-date date-picker, but i did not write a template
> for it, and it also does not have a validator
>
> what would be easier?  writing a validator and maybe a template for my date
> picker, or modifying the existing date-picker to be split?
>
> On 10/31/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
> >
> > you need to add <d:head /> to your page.
> >
> > musachy
> >
> > On 10/31/07, Brian Relph <[EMAIL PROTECTED]> wrote:
> > > Hi, I was hoping to get some help with the date time picker in struts
> > 2.1.
> > >
> > > I have added the dojo plugin to my project:
> > >
> > > <dependency>
> > >             <groupId>org.apache.struts</groupId>
> > >             <artifactId>struts2-dojo-plugin</artifactId>
> > >             <version>2.1.0-SNAPSHOT</version>
> > > </dependency>
> > >
> > > My struts.properties declares the 'simple' theme:
> > >
> > > struts.ui.theme=simple
> > >
> > > I added the dojo taglib to my jsp:
> > >
> > > <%@ taglib prefix="d" uri="/struts-dojo-tags" %>
> > >
> > > Finally, i put a datetimepicker on the page ( i have tried both with and
> > > without declaring the theme):
> > >
> > > <d:datetimepicker theme="ajax" />
> > >
> > > Looking at the tld, it appears there are no required attributes for the
> > > component, but I get "java.lang.NullPointerException at
> > > org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(
> > > Validator.java:1198)"
> > >
> > > Any tips?
> > >
> > > Thanks, Brian
> > >
> >
> >
> > --
> > "Hey you! Would you help me to carry the stone?" Pink Floyd
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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

Reply via email to