You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by xaero <xa...@gmail.com> on 2008/06/17 14:09:48 UTC
datepicker tag problem
i have used
<s:head theme="ajax" calendarcss="calender-green" debug="true"></s:head>
but when i run I get error
javax.servlet.ServletException: org.apache.jasper.JasperException:
/abc.jsp(13,2) According to TLD, tag s:head must be empty, but is not
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
I tried looking at the TLD file and it is specified there that it must be
empty please help:confused:
--
View this message in context: http://www.nabble.com/datepicker-tag-problem-tp17892454p17892454.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: datepicker tag problem
Posted by xaero <xa...@gmail.com>.
though the datepicker tag is still giving me problems but thanks for the help
i m not getting that exception any more rest i'll try to figure it out
myself and thanks for telling that there is a difference between <foo></foo>
and <foo/> i didn't knew it earlier will keep this in mind in future. thanks
for help
newton.dave wrote:
>
> --- On Tue, 6/17/08, xaero <xa...@gmail.com> wrote:
>> I am sorry i forgot to mention that i want to use datepicker
>> tag and without ajax theme i don't think i can use it..anyways
>> thanks for reply
>
>> newton.dave wrote:
>>> <s:head theme="ajax" calendarcss="calender-green" debug="true"/>
>
> Are you seeing the difference between what you had and the above?
>
> <foo></foo> is different than <foo/>, in that <foo></foo> will create an
> empty text mode. An "empty tag" isn't a tag with no attributes, it's a tag
> with no body.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/datepicker-tag-problem-tp17892454p17959706.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: datepicker tag problem
Posted by Dave Newton <ne...@yahoo.com>.
--- On Tue, 6/17/08, xaero <xa...@gmail.com> wrote:
> I am sorry i forgot to mention that i want to use datepicker
> tag and without ajax theme i don't think i can use it..anyways
> thanks for reply
> newton.dave wrote:
>> <s:head theme="ajax" calendarcss="calender-green" debug="true"/>
Are you seeing the difference between what you had and the above?
<foo></foo> is different than <foo/>, in that <foo></foo> will create an empty text mode. An "empty tag" isn't a tag with no attributes, it's a tag with no body.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: datepicker tag problem
Posted by xaero <xa...@gmail.com>.
I am sorry i forgot to mention that i want to use datepicker tag and without
ajax theme i don't think i can use it..anyways thanks for reply
the tag i m using is
<s:datetimepicker name="caption" label="Caption"
displayFormat="dd/MM/YYYY"/>
newton.dave wrote:
>
> --- On Tue, 6/17/08, xaero <xa...@gmail.com> wrote:
>> <s:head theme="ajax" calendarcss="calender-green" debug="true"/>
>
> Make the tag empty.
>
> "" (no spaces) still creates a text node, AFAIK.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/datepicker-tag-problem-tp17892454p17895316.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: datepicker tag problem
Posted by Dave Newton <ne...@yahoo.com>.
--- On Tue, 6/17/08, xaero <xa...@gmail.com> wrote:
> <s:head theme="ajax" calendarcss="calender-green" debug="true"/>
Make the tag empty.
"" (no spaces) still creates a text node, AFAIK.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org