Since the problem with the synchronous and asynchronous system call
was solved I run against the next wall.
I wanted to use the UNIX command "cat" to load a local XML file
into the widget for processing.
The UNIX command call seems to have still limitations. Regarding my
TestWidget I finally saw that the
50kb file was not loaded completely. Pressing the workaround50 link
several times loads more or less
of the file than as it was pressed befroe. I've attached my
TestWidget to this Post. Now the main view has
a scroll bar (yes I know I should have used an apple scroll bar -
but it is just for testing purposes).
The files 1.txt and 50.txt end with "FIN" when loading 1.txt the
file is loaded completely.
50.txt is not. You can scroll all the way down and you won't find
the word FIN as you would in TextEdit.
So here again some questions:
1. is there some sort of memory limit ? If so, it can't be a string
size limit in the JavaScript language.
Appending the 1.txt files several times results in a bigger string
as loaded by workaround50.
2. what can I do to load such a huge file into my widget. With huge
I mean up to 128kb.
"cat" does not load them all and XML HTTP request does not work on
local files.
Regards,
Michael
<TestWidget.wdgt.zip>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/dashboard-dev/sghuebner%
40gmx.de
This email sent to email@hidden
--
map: A piece of paper that helps you to get lost -- Anonymous
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden