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)
Container problems with Browser UI
sarre
I'll make my best describing my problem and hopes that someone has an solution to it.
In my DCT I have a container
replicant combination="or" min="0" max="40"
that holds some other containers.
container name="tableParagraph" hide-name="t" combination="and"
container name="ImageParagraph" hide-name="t" combination="and"
.. and so forth
When I want to add a replicant in the browser ui I get a little list where I can choose between the containers I want to add.
So far i works fine but when I add another replicant the list with containers don't pop up beside the + sign. It seems to me like it don't figure out the height of the container correctly or something.
The annoying thing is that when I have a lot of replicants and want to add another one then I have to scroll up the window to select what type.
Any idea what the problem is? I know I could solved it by using the java ui but that is not what we want to use due to other reasons.
Thanks for listening
Find more posts tagged with
Comments
hemranga
hey we have done this kind of a thing. But we never faced such probs here. anywayz can u pls post ur datacaptur.cfg file so that we can ckeck it out?
this will help us do rnd and solve the issue.Hemanth
PercentChart.ssd.zip
PercentChart[5PropMod].pdf
sarre
Thanks for your help Hemanth
We have notised that the problem arises as soon as we move the brower scrollbar. If we are in the top of the window it works but as soon as we scroll down just a little bit the list appears in the wrong place. I'm starting to suspect a browser error.
Here is the datacapture.cfg file.
<?xml version="1.0" standalone="no"?>
<!DOCTYPE datacapture SYSTEM "datacapture5.0.dtd">
<data-capture-requirements type="content" name="generalInformationPages">
<ruleset name="General Information Page 2">
<description>
Enter information for General Information Page 2
</description>
<item name="pageTitle">
<label>Page Title</label>
<description>Enter page title</description>
<text required="t" size="35" rtf="f" maxlength="50" />
</item>
<container name="introductoryContainer" hide-name="t" combination="and">
<label>Introductory container</label>
<item name="introductoryHeading">
<label>Introductory Heading</label>
<description>Enter page heading </description>
<text required="t" size="30" rtf="f" maxlength="40" />
</item>
<item name="introductoryText">
<label>Introductory Text</label>
<description>Enter introductory text</description>
<textarea wrap="virtual" required="t" rows="10" cols="60" external-editor="visualformat" rtf="f"/>
</item>
<item name="introductoryLinkText">
<label>Introductory Link Text</label>
<description>Enter introductory link name</description>
<text size="30" rtf="f" maxlength="35" />
</item>
<item name="introductoryLinkURL">
<label>Introductory URL</label>
<description>Enter introductory link URL </description>
<browser initial-dir="/htdocs" size="30"/>
</item>
</container>
<item name="Paragraphs">
<label>Paragraphs</label>
<replicant combination="or" min="0" max="40">
<container name="textParagraph" hide-name="f" combination="and">
<label>Text paragraph</label>
<item name="paragraphHeading">
<label>Paragraph Heading</label>
<description>Enter paragraph heading </description>
<text size="30" rtf="f" maxlength="50" />
</item>
<item name="paragraphText">
<label>Paragraph Text</label>
<description>Enter paragraph text</description>
<textarea wrap="virtual" required="t" rows="10" cols="60" rtf="f" external-editor="visualformat"/>
</item>
</container>
<container name="linkParagraph" hide-name="f" combination="and">
<label>Link paragraph</label>
<item name="paragraphLinkText">
<label>Paragraph Link Text</label>
<description>Enter link name</description>
<text required="t" size="30" rtf="f" maxlength="35" />
</item>
<item name="paragraphLinkURL">
<label>Paragraph Link URL or email address</label>
<description>Enter link URL or email address</description>
<browser initial-dir="/htdocs" size="30"/>
</item>
</container>
<container name="ImageParagraph" hide-name="t" combination="and">
<label>Image paragraph</label>
<item name="paragraphImageURL">
<label>Paragraph Image URL</label>
<description>Enter path to paragraph image</description>
<browser required="t" initial-dir="/htdocs/images/paragraphpics" size="30"/>
</item>
</container>
<container name="tableParagraph" hide-name="t" combination="and">
<label>Table paragraph</label>
<item name="paragraphHeading">
<label>Paragraph Heading</label>
<description>Enter table heading</description>
<text size="30" rtf="f"/>
</item>
<item name="HeaderColumn1">
<label>Header Column 1</label>
<description>Enter column 1 heading</description>
<text required="t" size="25" rtf="f" />
</item>
<item name="HeaderColumn2">
<label>Header Column 2</label>
<description>Enter column 2 heading</description>
<text size="25" rtf="f" />
</item>
<item name="tableRows" >
<label>Table Rows</label>
<replicant combination="and" min="1" max="30" default="1">
<label>Table Rows Container</label>
<item name="TextColumn1">
<label>Text Column 1</label>
<description>Enter column 1 text</description>
<textarea wrap="virtual" rows="3" cols="60" rtf="f"/>
</item>
<item name="TextColumn2">
<label>Text Column 2</label>
<description>Enter column 2 text</description>
<textarea wrap="virtual" rows="3" cols="60" rtf="f"/>
</item>
<item name="LinkTextColumn2">
<label>Link Text Column 2</label>
<description>Enter column 2 link text</description>
<text size="30" rtf="f" maxlength="35" />
</item>
<item name="URLColumn2">
<label>URL Column 2</label>
<description>Enter URL/e-mail for column 2 link text</description>
<browser initial-dir="/htdocs" size="25" />
</item>
</replicant>
</item>
</container>
<container name="bookmarkParagraph" hide-name="f" combination="and">
<label>Bookmark paragraph</label>
<item name="paragraphHeading">
<label>Bookmark paragraph heading</label>
<description>Enter bookmark paragraph heading</description>
<text required="t" size="30" rtf="f"/>
</item>
<item name="subParagraph">
<label>Bookmark subparagraph</label>
<replicant combination="or" min="0" max="10">
<container name="textParagraph" hide-name="f" combination="and">
<label>Text paragraph</label>
<item name="paragraphText">
<label>Paragraph Text</label>
<description>Enter paragraph text</description>
<textarea wrap="virtual" required="t" rows="10" cols="60" rtf="f" external-editor="visualformat"/>
</item>
</container>
<container name="linkParagraph" hide-name="f" combination="and">
<label>Link paragraph</label>
<item name="paragraphLinkText">
<label>Paragraph Link Text</label>
<description>Enter link name</description>
<text required="t" size="30" rtf="f" maxlength="35" />
</item>
<item name="paragraphLinkURL">
<label>Paragraph Link URL or email address</label>
<description>Enter link URL or email address</description>
<browser initial-dir="/htdocs" size="30"/>
</item>
</container>
<container name="ImageParagraph" hide-name="t" combination="and">
<label>Image paragraph</label>
<item name="paragraphImageURL">
<label>Paragraph Image URL</label>
<description>Enter path to paragraph image</description>
<browser required="t" initial-dir="/htdocs/images/paragraphpics" size="30"/>
</item>
</container>
<container name="tableParagraph" hide-name="t" combination="and">
<label>Table paragraph</label>
<item name="HeaderColumn1">
<label>Header Column 1</label>
<description>Enter column 1 heading</description>
<text required="t" size="25" rtf="f" />
</item>
<item name="HeaderColumn2">
<label>Header Column 2</label>
<description>Enter column 2 heading</description>
<text size="25" rtf="f" />
</item>
<item name="tableRows" >
<label>Table Rows</label>
<replicant combination="and" min="1" max="30" default="1">
<label>Table Rows Container</label>
<item name="TextColumn1">
<label>Text Column 1</label>
<description>Enter column 1 text</description>
<textarea wrap="virtual" rows="3" cols="60" rtf="f"/>
</item>
<item name="TextColumn2">
<label>Text Column 2</label>
<description>Enter column 2 text</description>
<textarea wrap="virtual" rows="3" cols="60" rtf="f"/>
</item>
<item name="LinkTextColumn2">
<label>Link Text Column 2</label>
<description>Enter column 2 link text</description>
<text size="30" rtf="f" maxlength="35" />
</item>
<item name="URLColumn2">
<label>URL Column 2</label>
<description>Enter URL/e-mail for column 2 link text</description>
<browser initial-dir="/htdocs" size="25" />
</item>
</replicant>
</item>
</container>
</replicant>
</item>
</container>
</replicant>
</item>
<item name="mailLinkText">
<label>e-mail Text</label>
<description>Enter Mail Text of Person Responsible</description>
<text required="f" size="30" maxlength="35" />
</item>
<item name="mailAddress">
<label>e-mail address</label>
<description>Enter link e-mail address</description>
<text required="f" size="30" />
</item>
<item name="latestUpdatingValue">
<label>Latest Updating Date</label>
<description>Enter date of latest updating</description>
<text required="f" size="30" maxlength="10" />
</item>
<item name="glossaryCheck">
<label>Glossary</label>
<description>Check for a link to glossary on page</description>
<checkbox><option label="" value="1" selected="f"/></checkbox>
</item>
<item name="printerFriendly">
<label>How would you like the Printer Friendly page?</label>
<description>Your selection will determine whether the printer-friendly page contains images or not</description>
<radio>
<option selected="t" label="with Text only" value="no" />
<option label="with Text and Images" value="yes" />
</radio>
</item>
<item name="metaKeywords">
<label>Meta Data Keywords</label>
<description>Enter keywords, separated by comma.</description>
<textarea wrap="virtual" rows="5" cols="60" rtf="f"/>
</item>
<item name="metaDescription">
<label>Meta Data Description</label>
<description>Enter Description of web site.</description>
<textarea wrap="virtual" rows="5" cols="60" rtf="f"/>
</item>
</ruleset>
</data-capture-requirements>
/Sarre