cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to have string variable to iframe source property dynamical

Former Member
0 Kudos

Hi all,

I am setting the Source property of iframe dynamically at runtime. Can it be possible to set string variable of around 10000 length

Thanks in advance

Hemalatha

Edited by: Hemalatha T C on Feb 14, 2008 9:44 AM

Accepted Solutions (1)

Accepted Solutions (1)

thomas_szcs
Active Contributor
0 Kudos

Hello Hemalatha,

the length of the source property of the iframe is limited in two ways. First off, for static values there is a limit imposed by the workbench. This can be circumvented by binding

the property to a context attribute of type string and supplying the value at runtime. Then

at the server side the length of this property will become virtually unlimited.

The aspect one should take into account is that browsers impose a limit to the length of

a URL, which is usually in the range of 255 characters (sometimes also byte as with old

versions of Safari).

This means, having a URL that was larger than 255 characters is not advisable.

Best regards,

Thomas

Former Member
0 Kudos

Hi Thomas,

My requirement is to pass the large amount of data ( 10000 char ) to html page and bind it to web dynpro application..

As u have told it is not possible to have iframe.

is there any other way to do this

Thanks

Hemalatha

thomas_szcs
Active Contributor
0 Kudos

Hello Hemalatha,

in case application A calls WD application B and would like to transfer large amounts of

data to it, my suggestion is to first save the data somewhere (database, local file) and

then pass an identifier of this data to the WD application (db key) or use fileupload ui element.

Best regards,

Thomas

Answers (0)