Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Choice
System
Can anyone tell me whats wrong with the below codes ? Everything works fine except that when i reload the saved data the Link does not get loaded, and it shows an empty item (see attached screen capture)
( ... )
<container name="Navigation" min="0" max="5" default="0">
<label>Navigation</label>
<item name="Shortcut" pathid="Shortcut">
<label>Shortcut</label>
<description>Please enter a Shortcut for the link</description>
<select>
<inline command="/iw-home/iw-perl/{.........}datacapture/shortcuts.ipl"/>
</select>
</item>
<item name="Label" pathid="Label">
<label>Label</label>
<description>Please type the Label here</description>
<text size="50" required="t" maxlength="100"/>
</item>
<choice name="Link">
<label>Please select the link type and fill in the details</label>
<item name="URL" pathid="URL" default="1">
<label>URL</label>
<description>Please type Location Link here</description>
<browser ceiling-dir="/" initial-dir="/" required="t" extns=".htm,.html,.shtm" size="50"/>
</item>
<item name="Phone" pathid="Phone">
<label>Phone</label>
<description>Please type phone number here</description>
<text size="12" required="t" maxlength="12"/>
</item>
<item name="Email" pathid="Email">
<label>Email</label>
<description>Please type email address here</description>
<text size="30" required="t" maxlength="30"/>
</item>
</choice>
</container>
( ... )
the capture data is :
(...)
<item name="Navigation">
<value>
<item name="Shortcut">
<value>3</value>
</item>
<item name="Label">
<value>Home</value>
</item>
<item name="Link">
<value>
<item name="URL">
<value>/home.shtml</value>
</item>
</value>
</item>
</value>
</item>
(...)
Find more posts tagged with
Comments
Migrateduser
here's the screenshot
Migrateduser
come on.. a little help here... kinda deperate to get this done.. nobody using "choice" ?
Migrateduser
ok, after did more research i found the followings in another thread:
====
The <choice> element, is a new element introduced in the TeamSite 6. And as per the TeamSite 6 Release notes, all new templates created with TeamSite 6 should have dcr-type="xml". Only data capture templates that were created or modified from TeamSite 5 have the dcr-type="iwov". Since the <choice> element is new, hence it is supported only by dcr-type="xml". Please refer to "Compatibility of Data Capture Templates" section on page 18 of TeamSite 6 Release note ["ts.610.rn.pdf"].
Ensure that the file datacapture.cfg is refering to the datacapture6.0.dtd and the dcr-type attribute of the data-type element in the templating.cfg is set to "xml"."
Unfortunately they only mentioned this in the TS61.rn. It's not in the TS65 docs. Be warned!
=======