Preview of HMTL code

Questions, tips and tricks and techniques for scripting in Servoy

Preview of HMTL code

Postby rfleming » Tue Feb 10, 2004 1:20 am

Is there a way to preview some HTML text which is stored in a column of a table in a SQL database? i.e. each record stored different HTML text.

The column contains the raw HTML code - but I would like to have a preview ability to see what the text would look like if it was passed to internet explorer.

Maybe bring up the record in 'record view' on a form and hit a 'Preveiw' button. Is there a java type bean to do this?

Roger
rfleming
 
Posts: 26
Joined: Tue Feb 10, 2004 12:27 am

Postby IT2Be » Tue Feb 10, 2004 9:26 am

When you set your field to be a HTML_AREA you have your test capability. Limited but very good...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany


Return to Methods

Who is online

Users browsing this forum: No registered users and 33 guests

cron