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)
Insert table from file in Visualformat
ela
Hi,
I'm having problems when trying to insert an existing html table into a Visualformat text area. I mean inserting with the browse functionality in the VF Table menu. The code I get in the html view is as follows:
<table cellspacing="0" cellpadding="0" width="100%" align="center" bgcolor="#ffffff" background="/de/tabellen/400000.htm" border="0">
<tr>
<td> </td>
</tr>
</table>
As you can see, it tries to appear in the background, but what I really want is to insert the html code from the other file. Does anyone know what to do? Is there something I have to change in the visualformatconfig file?
Thanks,
Eldbjoerg
Find more posts tagged with
Comments
MattP
copy and paste.
Matt
Matthew Petitjean
BOC Group
Murray Hill, NJ 07974 USA
ela
Hi Matthew,
thanks for your answer! Do you mean that is the only option?
Of course it wouldn't be so troblesome to copy/paste, but since there's a browse option the users, and also I, expect it to be possible to insert in that way. We've got many tables which have been created as separate html files, as we used to have Java Templating before, but it is also a nice reuse option.
Regards,
Eldbjoerg
MattP
well, no, but it certainly the fastest way. The browse is meant for inserting links to images or pages. Your other option would be:
1. Have the user browse to the file
2. use formapi to determine the field has changed
3. use Perl (or java) to read as an input the file data (no I do not have sample code)
4. print that data to a corresponding formatted text field
I am sure there are many similar processes with inlines, callouts etc.
Good luck
Matt
Matthew Petitjean
BOC Group
Murray Hill, NJ 07974 USA