Home
TeamSite
html table inside textarea
getnaren
I have
<item name="body" pathid="body">
<label>Body</label>
<textarea wrap='virtual' cols='70' rows='30' external-editor='visualformat'/>
</item>
in datacapture.cfg and I have set external-editor='visualformat'
and in the form when I add content using
<table>
<tr>
<td>aaaa<br> a1a1a1</td>
</tr>
<tr>
<td>bbb</td>
</tr>
</table>
its displaying the tags also like <table>,<tr>, <td> <br>
whats wrong with using table tags inside textarea?
Find more posts tagged with
Comments
Migrateduser
When viewing the VFE initially, you're in WYSIWYG mode which just means that you should be entering content as you would with, say, a word processor. You should be entering that and any other HTML stuff in the VFE's HTML editor.
Just a comment -- you're opening more <tr> tags instead of closing the two that you seem to have represented there.
Environments:
(1,2) TS6.5, TS6.5SP1 on W2K3
(3) Vignette V7 Portal on Solaris 9
getnaren
Dave,
When I right click the vfe to check view as HTML I dont see the option, is there a way to make that on?
rgarding <tr> it was a typo
http://devnet.interwoven.com/forums/cgi-bin/showthreaded.pl?Cat=&Board=PRODUCTS_TEMPLATING&Number=3119&Search=true&Forum=PRODUCTS_TEMPLATING&Words=html%20editor&Match=Entire%20Phrase&Searchpage=0&Limit=25&Old=allposts&Main=3039
nipper
Page 57 of the Visual Formatters Dev Guide
Migrateduser
You pretty much nailed it with the message you referred to in your post. It's possible that the button is disabled but do you not see a button in your VFE toolbar that's titled "View As HTML" when you mouseover it? If it's disabled, p. 191 in the VFE Developer's Guide documentation describes how to disable it, so you should be able to recognize it and then remove the code, if desired.
Dave
Environments:
(1,2) TS6.5, TS6.5SP1 on W2K3
(3) Vignette V7 Portal on Solaris 9