Load URL or process HTML code

03 Nov '14, 08:32 PM
2,568 Views
No Forum Badges

Hi all,

I need to treat a navigation between pages using scripts. My intention is that the final page: 


1 shows the HTML code that the script gives me. 


or 


2- load a URL that I can get the script. For example www.google.com 

I don't know which of the two options is simpler or which is possible to perform in WebRatio. I have not found an example or documentation about this. 

Can anyone help me? 

regards

 
x 0
Follow
Answer Answer at this question and get points!
Forum Expert - Level 6

Hi Francisco,

I do not understand clearly the situation but if you are interested to generate HTML code with a Script Component you can easily do it and then show the generated HTML code in a Message Component placed in the final page with the layout property set to show HTML tags.

To show HTML tags select the Message Component from the Page, and select the Component from the Layout View. From the Layout Properties open the Layout Parameters dialog (using the blue dot) and set the Content Type property to 'text/HTML'.

Let me know if this helps you.

Regards

   
x 1
No Forum Badges

Thank you fot the answer, Lucio.

You understand me perfectly. I could show the web across the property taht you said. It's easy, but to be a new user in WebRatio have these things, loss a lot time trying find :)

Regards

 
x 0
Answer at this question and get points!