Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi all Happy New Year,
I have tags that are hidden by :
<elementoption docmapinline="hidden" element="meta.info"/">
and
<charlist> <suppress sup="1"/"> </charlist>
There is a XUI dialog box that allows the user's to edit the content.
What I need to do now is show this text in the editor view as generated text, just so the user can quickly view the elements without using the XUI. I have tried several methods to create this generated text, but all I seem to be able to do is create generated text in the DocMap view of the editor. So I think I am missing something fundamental.
First I tried the help Example: pseudo-element’s parent to get some usetext to display while the elements are suppressed. Couldn't get it to work fro me.Second I tried to create a FOSI gentable from the example on fosiexpert.com.
Is there a problem that the #CONTENT I need is in the attributes? Also I saw something about the suppress, also suppresses the children which might be causing some suppression's that I don't want so that I can't get to some data.
Code snippet:
<e-i-c gi="meta.info" occur="all">
<charlist inherit="1" charsubsetref="block">
<suppress sup="1"/">
<usetext source="!<meta.fmt"><bold.fmt>Meta Data Information : </bold.fmt></meta.fmt>!,meta.app"
userule="1">
</usetext>
</charlist>
</e-i-c>
<e-i-c gi="meta.province" occur="all">
<charlist>
<suppress sup="1"/">
<savetext textid="meta.app" placemnt="after" append="1" <br="/>conrule="!<meta.fmt><bold.fmt>Meta Province : </bold.fmt>!,dot.fill,!!,#CONTENT(value),!</meta.fmt>!"/>
</charlist>
</e-i-c>
<e-i-c gi="meta.fmt">
<charlist inherit="1" charsubsetref="block">
<highlt fontclr="red"/">
</charlist></e-i-c>
OR
<e-i-c gi="meta.province" occur="all">
<charlist charsubsetref="block" indent"=">
<suppress sup="1"/">
<usetext source="!<meta.fmt"><bold.fmt>Meta Province : </bold.fmt>!,dot.fill,!!,#CONTENT(value),!</meta.fmt>!">
</usetext></charlist>
</e-i-c>
Well I finally came back to this problem. The main solution is to NOT suppress content in the FOSI and use the DCF file to control the tag output.
The other problem I ran into is if you have the XUIcontrol pointing to a parent the children all get hidden. Which I have now gotten around, BUT with my change to the tag the XUIcontrol is pointing tooI now get Java exception message(s). I don't understand why the XUI cares about the tag it is being called from.
Does anybody have some insight?
Thanks,
Ellen