on 02-14-2008 4:12 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.