Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Extending the Data Model-"FAQ Entry Data Type"
Amanpreet
I am trying to implement FAQ Entry Data type example from ls_300sp1_dev_v2_en.pdf.
I created FaqEntry.java.When i tried to run it /usr/bin/sh build.sh. I am getting following error
[exec] [javac] /usr2/Interwoven/TeamSite/local/config/lib/content_center/livesite_customer_src/src/com/interwoven/livesite/model/content/FaqEntry.java:116: cannot find symbol
[exec] [javac] symbol : method propertyToXmlNode(java.lang.String)
[exec] [javac] location: class com.interwoven.livesite.model.content.FaqEntry
[exec] [javac] entry.addElement(propertyToXmlNode(PROP_QUESTION)).setText(summary);
[exec] [javac] ^
Function in which propertyToXmlNode is used
public void emit(Element base)
{
super.emit(base);
Element entry = (Element)base.content().get(base.content().size() -1);
if( mFaqName != null )
{
entry.addElement(propertyToXmlNode(PROP_FAQ_NAME)).setText(mFaqName);
}
String summary = getSummary();
if( summary != null )
{
entry.addElement(propertyToXmlNode(PROP_QUESTION)).setText(summary);
}
if( mAnswer != null )
{
entry.addElement(propertyToXmlNode(PROP_ANSWER)).setText(mAnswer);
}
}
which package i need to import for propertyToXmlNode or do i need to create a function of the same name.
Find more posts tagged with
Comments
There are no comments yet