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.
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]