AnsweredAssumed Answered

Validation Error while sending email from gel script

Question asked by rg2027 on Jan 25, 2011
Latest reply on Jan 25, 2011 by rg2027
Hello All,

Could some one please help me resolve this.

<gel:script xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:core="jelly:core"
xmlns:mail="jelly:email"
xmlns:jelly="jelly:core"
xmlns:file="jelly:com.niku.union.gel.FileTagLibrary"
xmlns:bpm="jelly:com.niku.bpm.gel.BPMTagLibrary"
xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary"
xmlns:soap="jelly:com.niku.union.gel.SOAPTagLibrary"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sql="jelly:sql" xmlns:jxml="jelly:xml"
xmlns:xog="http://www.niku.com/xog"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- Set up datasource -->
<gel:setDataSource dbId="Niku" var="a"/>

<jelly:email server="abc.com" from="user"



to= "TeamLead" CC= "Manager"



subject="xxxx" >




yyyyyyyyyyyyyyyyyyyy

</jelly:email>
</gel:script>


I have used <jelly:email> for sending mails having CC. But, it throws validation error as follows


BPM-0703: Custom script syntax error at line 17, column 21: The prefix "jelly" for element "jelly:email" is not bound.

I have then tried using the tag xmlns:jelly="jelly:core" and it throws validation error as follows


BPM-0703: Custom script syntax error at line 18, column 21: Tag 'email' is not a registered tag in tag library
'org.apache.commons.jelly.tags.core.CoreTagLibrary'.


Thanks in advance

Outcomes