hi,
I would like to create a node and add an alias to it at the same time like this:
<mm:createnode type="teams" id="team3"> <mm:setfield name="name" >team3</mm:setfield> <mm:createalias>team3</mm:createalias> </mm:createnode>
however if I try that I get the following exception:
org.apache.jasper.JasperException: Cannot add alias to a new node that has not been
committed.
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
Using
<mm:createnode type="teams" id="team3"> <mm:setfield name="name" >team3</mm:setfield> </mm:createnode>
<mm:node referid="team3"> <mm:createalias>team3</mm:createalias> </mm:node>
works, but that looks a bit 'too much'.
Bug or feature?
groeten,
Simon
