Guess what? soved it. However, I don't know why it worked. So if anyone can
please explain or possibly improved on what listed below, I would greatly
appreciate it.
(This markup works) why?
<mm:relatednodes type="publication">
<mm:formatter format="xhtml">
<mm:field name="title" />
<mm:field name="abstract"/>
<mm:listrelations role="idrel">
<mm:relatednode />
</mm:listrelations>
</mm:formatter>
</mm:relatednodes>
On Wednesday 28 July 2004 07:07 pm, Curtney Jacobs wrote:
> Greetings!!
>
> I have a publication builder that contains a few xml type fields. I have
> been following the formatter.jsp example and for the most part everything
> seems to be working. However, when I try the following markup I am
> recieving an servlet exception. Below is the markup and the resulting
> exception:
>
> (Markup)
>
> <mm:related path="posrel,publication" fields="posrel.pos,publication.title"
> orderby="posrel.pos">
> <mm:formatter format="xhtml">
> <mm:field name="publication.title" />
> </mm:formatter>
> </mm:related>
>
> (Exception)
>
> ServletException in:/j2ee/jsf/tiles/jsf_body_section.jsp] Something went
> wrong while getting node with number '-1': Node not found !! (key = '-1')'
>
> Any ideas as to why I am recieving this error. I have been debugging this
> for a while.
>
> _Curtney