On Jan 30, 2008 9:50 AM, Al Sutton <[EMAIL PROTECTED]> wrote:

> I think I've found a problem in the dojo plugin but I'd like someone to
> double check I'm not doing anything whacky before raising a JIRA ticket.


One of the Dojo devs pinged me the other day to "remind" me that we're still
using Dojo 0.4, which is pretty much ancient history for Dojo. Perhaps we
should consider updating to Dojo 1.0.2, which is the latest release?

--
Martin Cooper


> I've got a webapp with the latest snapshots of core and dojo plugin. I
> also
> have a jsp with;
>
> <[EMAIL PROTECTED] prefix="sd" uri="/struts-dojo-tags"%>
> ....
>
>  <sd:tree id="objectTree"
>     rootNode="%{#session.objectTree}"
>     nodeIdProperty="id"
>     nodeTitleProperty="name"
>     childCollectionProperty="children"/>
>
> When I try to load the page I get an NPE on line 257 of Tree.java which
> is;
>
>        boolean generateId =
> !(Boolean)stack.getContext().get(Head.PARSE_CONTENT);
>
>
> from what I can tell stack.getContext().get(Head.PARSE_CONTENT) returns a
> null instead of a default value, and thus the !..... with autoboxing of
> the
> boolean causes the NPE.
>
> Is there suppose to be a default set or have I missed a step which would
> set
> this up?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to