I am adding the usecase for the person object as specified on the following
site:
http://lenya.apache.org/docu20/tutorials/usecaseTutorial/usecaseTutorialPart2.html
I have made changes to the sitemap added $MODULE_HOME/xslt/knows2include.xsl
Added the table row to the $MODULE_HOME/xslt/foaf2xhtml.xsl stylesheet:
<tr>
<th>Knows:</th>
<td>
<xsl:for-each select="foaf:knows">
{...@rdf:resource}
<xsl:value-of select="rdf:RDF/foaf:Person/foaf:givenname"/>
<xsl:text> </xsl:text>
<xsl:value-of select="rdf:RDF/foaf:Person/foaf:family_name"/>
<br/>
</xsl:for-each>
</td>
</tr>
Also added the following
$MODULE_HOME/config/cocoon-xconf/usecase-addKnownPerson.xconf
Added it to the menu and also added permissions. The menu item shows up,
when I click on the Add New Person menu item I get the following error:
An error occured.
Please contact your system administrator.
Any inputs on resolving this will be much appreciated.
Best regards,
Monisha
--
View this message in context:
http://www.nabble.com/Add-New-Person-usecase-gives-error----Adding-a-usecase-tp21836310p21836310.html
Sent from the Lenya - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]