You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(75) |
Nov
(252) |
Dec
(418) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(659) |
Feb
(1039) |
Mar
(870) |
Apr
(235) |
May
(329) |
Jun
(251) |
Jul
(123) |
Aug
(119) |
Sep
(67) |
Oct
(194) |
Nov
(535) |
Dec
(133) |
2002 |
Jan
(122) |
Feb
(24) |
Mar
(29) |
Apr
(28) |
May
(16) |
Jun
(20) |
Jul
(11) |
Aug
(12) |
Sep
(13) |
Oct
(14) |
Nov
(23) |
Dec
(19) |
2003 |
Jan
(28) |
Feb
(170) |
Mar
(288) |
Apr
(211) |
May
(126) |
Jun
(166) |
Jul
(131) |
Aug
(102) |
Sep
(211) |
Oct
(301) |
Nov
(22) |
Dec
(6) |
2004 |
Jan
(14) |
Feb
(16) |
Mar
(7) |
Apr
|
May
(8) |
Jun
(25) |
Jul
(21) |
Aug
(2) |
Sep
(7) |
Oct
|
Nov
(2) |
Dec
(1) |
2005 |
Jan
(4) |
Feb
(2) |
Mar
(14) |
Apr
(24) |
May
(3) |
Jun
(7) |
Jul
(30) |
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
(1) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
From: SourceForge.net <no...@so...> - 2003-07-24 07:04:02
|
Bugs item #776779, was opened at 2003-07-24 15:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105757&aid=776779&group_id=5757 Category: DynAPI 3 API Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nguyen Quang Minh (minhngq) Assigned to: Nobody/Anonymous (nobody) Summary: Problems when working with IE6 Initial Comment: Hi, I'm having trouble with GUI when using IE6. It's my first time utilizing this project. Probably I got my IE's settings wrong, but problems do happen again and again. Hope you can help me solve this. Attached file will give you 3 problems I'm facing. -= MinhNgQ =- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105757&aid=776779&group_id=5757 |
From: SourceForge.net <no...@so...> - 2003-07-24 06:43:18
|
Patches item #776772, was opened at 2003-07-23 23:43 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305757&aid=776772&group_id=5757 Category: DynAPI 3 GUI Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Problems when working with IE6 Initial Comment: Hi, I'm having trouble with GUI when using IE6. It's my first time utilizing this project. Probably I got my IE's settings wrong, but problems do happen again and again. Hope you can help me solve this. Attached file will give you 3 problems I'm facing. -= MinhNgQ =- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305757&aid=776772&group_id=5757 |
From: Dan W. <dy...@da...> - 2003-07-24 02:11:00
|
I really should use the email address im signed up for on the list -----Forwarded Message----- To: dyn...@li... Subject: Re: [Dynapi-Dev] Permission denied in Mozilla 1.4 Date: 23 Jul 2003 21:10:08 -0500 Well, using the attached html file, i found out a little bit more about this issue, but it appears to get more and more confusing. The file attached basically dumps the entire dom name/value pairs of r/r.parentNode/... onto the screen to be examined. (this has been edited a few times, so it might not flow very well) i finally got it working using the same code as raymond first used, and using the below change when i made sure that the scan function was only called once. I think we probably have a race condition happening somewhere here. (for those not familiar with threading, more than one thread/process/piece of code, etc manipulating a single variable at the same time) To get the error to go away, i just declared a new global variable named numb to 0, then in the onmouseout(i removed the onmouseover for testing) i checked to see if it was still zero, if it was, i assigned 1 to it, and called the function. When i changed the javascript code to read: var r = elm; instead of: var r = e.relatedTarget; it appears to work correctly, but mozilla also adds some intermediate wrappers for the html elements, for example there is a node named INPUT, and then a node named HTMLInputElement part of the problems i was having debugging this is that the scan function is called multiple times OK, some of the above might be incorrect now that i have played with this further, but the bad results started coming back up(it displays the HTML node first) when i added the onmouseover handler back in. This tells me that we have more of a race condition than i first thought, and it might actually be a bug on the mozilla side. I think that the scan function is being called multiple times, even though i tried to prevent that. probably has something to do with the global variable 'event' being changed as we are operating on it in the scan function. Before i screw this up further im sending this to the list. Hope someone can benefit from this, Dan Willemsen On Mon, 2003-07-21 at 08:57, Raymond Irving wrote: > Hello, > > Here's how we can simulate the error in Mozilla 1.4: > > Error: uncaught exception: Permission denied to get > property HTMLDivElement.parentNode > > Is this an error in moz 1.4 or an I doing something > wrong in the following code? > > <script> > function scan(e,elm) { > var r = e.relatedTarget; > while(r && r.parentNode){ > r = r.parentNode > //alert(r) > } > } > </script> > <div id="dv" > style="position:absolute;left:100;top:100"> > <form name="frm"> > <input type="textbox" name="tbox" value="test..." > onmouseover="scan(event,this)" > onmouseout="scan(event,this)"> > </form> > </div> > > > -- > Raymond Irving > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ -- Dan Willemsen <dy...@da...> |
From: Andrew G. <an...@zo...> - 2003-07-24 00:15:12
|
This is a simple one. In the current version of graphics.js (CVS revision 1.2) on line 223, the closing brace to the drawLine() function is missing. Andrew. |
From: Daniel T. <de...@ti...> - 2003-07-23 07:00:43
|
Very nice one! And it works in ns4 :) Regards Daniel > Hi Everyone, > > > I've managed to create a start menu that behaves like > the windows "Start Menu" and looks like the "Office > XP" menus using the HTMLMenu component. > > See a demo here: > > http://www24.brinkster.com/dyntools/next/examples/dynapi.gui.htmlmenu-startmenu.html > > PS. Just image what you can do with a little > creativity and the HTMLMenu! > > -- > Raymond Irving > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Leif W <war...@us...> - 2003-07-23 02:52:35
|
That is looking pretty sweet. Leif ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: <dyn...@li...>; "dynapi help" <dyn...@li...> Sent: Tuesday, July 22, 2003 10:43 PM Subject: [Dynapi-Dev] The Start Menu with an Office XP look-and-feel > Hi Everyone, > > > I've managed to create a start menu that behaves like > the windows "Start Menu" and looks like the "Office > XP" menus using the HTMLMenu component. > > See a demo here: > > http://www24.brinkster.com/dyntools/next/examples/dynapi.gui.htmlmenu-startmenu.html > > PS. Just image what you can do with a little > creativity and the HTMLMenu! > > -- > Raymond Irving > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > |
From: Raymond I. <xw...@ya...> - 2003-07-23 02:47:01
|
Daniel, You're correct. I will see what I can do. -- Raymond Irving --- Daniel Tiru <de...@ti...> wrote: > Hi Raymond and everyone else! > > Looks real good this one! > > I have a problem.. (as usual) and its about the > menu. > > Now everything looks really fine, but i should need > the possibility to add top level images instead of > text cause if i now have a menu looking like this > http://195.178.179.38/default.ns?lngItemID=479&clearcache=1 > > Then when moving the mouse over chatt for example, > the submenu opens and if you then mouse the mouse > down to some chatt option, the Chatt top menu button > will go back to the state it was before. If i use > text buttons instead of images i will keep the state > for the top level as it will be colored with the > whole menu. > > So my question is if you could have the time to > implement images into the htmlmenu as it dont look > very nice with the imagefunction on top of it. > > But i must say that the menu really rocks! > > The new autofold is really nice, but what i would > like to add to that one aswell :) Is that if it > would be possible to specify a maxvalue instead of > using the window width? Cause if you have a menu but > you dont want it to be as big as the window, it > would loook alot better. > > Best regards > Daniel Tiru > > > > > In response to Jesse's request I've added such a > > feature to the HTMLMenus. > > > > Online example: > > > > > http://www24.brinkster.com/dyntools/next/examples/dynapi.gui.htmlmenu.html > > > > You can resize your browser to see the menu fold > > inwards if it exceeds the with or height of the > > browser > > > > > > -- > > Raymond Irving > > > > --- Jesse Vitrone <je...@6t...> > wrote: > > > Those menu's look great. Is there a way to have > > > ones similar to the > > > set, but have it be at the bottom of the page > and > > > have the menus pop up > > > (like the MS start menu). > > > > > > Jesse > > > > > > > > > __________________________________ > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > http://sbc.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems > on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems > on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-07-23 02:43:21
|
Hi Everyone, I've managed to create a start menu that behaves like the windows "Start Menu" and looks like the "Office XP" menus using the HTMLMenu component. See a demo here: http://www24.brinkster.com/dyntools/next/examples/dynapi.gui.htmlmenu-startmenu.html PS. Just image what you can do with a little creativity and the HTMLMenu! -- Raymond Irving __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Daniel T. <de...@ti...> - 2003-07-22 20:29:27
|
Hi Raymond and everyone else! Looks real good this one! I have a problem.. (as usual) and its about the menu. Now everything looks really fine, but i should need the possibility to add top level images instead of text cause if i now have a menu looking like this http://195.178.179.38/default.ns?lngItemID=479&clearcache=1 Then when moving the mouse over chatt for example, the submenu opens and if you then mouse the mouse down to some chatt option, the Chatt top menu button will go back to the state it was before. If i use text buttons instead of images i will keep the state for the top level as it will be colored with the whole menu. So my question is if you could have the time to implement images into the htmlmenu as it dont look very nice with the imagefunction on top of it. But i must say that the menu really rocks! The new autofold is really nice, but what i would like to add to that one aswell :) Is that if it would be possible to specify a maxvalue instead of using the window width? Cause if you have a menu but you dont want it to be as big as the window, it would loook alot better. Best regards Daniel Tiru > > In response to Jesse's request I've added such a > feature to the HTMLMenus. > > Online example: > > http://www24.brinkster.com/dyntools/next/examples/dynapi.gui.htmlmenu.html > > You can resize your browser to see the menu fold > inwards if it exceeds the with or height of the > browser > > > -- > Raymond Irving > > --- Jesse Vitrone <je...@6t...> wrote: > > Those menu's look great. Is there a way to have > > ones similar to the > > set, but have it be at the bottom of the page and > > have the menus pop up > > (like the MS start menu). > > > > Jesse > > > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Raymond I. <xw...@ya...> - 2003-07-21 20:51:01
|
In response to Jesse's request I've added such a feature to the HTMLMenus. Online example: http://www24.brinkster.com/dyntools/next/examples/dynapi.gui.htmlmenu.html You can resize your browser to see the menu fold inwards if it exceeds the with or height of the browser -- Raymond Irving --- Jesse Vitrone <je...@6t...> wrote: > Those menu's look great. Is there a way to have > ones similar to the > set, but have it be at the bottom of the page and > have the menus pop up > (like the MS start menu). > > Jesse > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-07-21 13:57:04
|
Hello, Here's how we can simulate the error in Mozilla 1.4: Error: uncaught exception: Permission denied to get property HTMLDivElement.parentNode Is this an error in moz 1.4 or an I doing something wrong in the following code? <script> function scan(e,elm) { var r = e.relatedTarget; while(r && r.parentNode){ r = r.parentNode //alert(r) } } </script> <div id="dv" style="position:absolute;left:100;top:100"> <form name="frm"> <input type="textbox" name="tbox" value="test..." onmouseover="scan(event,this)" onmouseout="scan(event,this)"> </form> </div> -- Raymond Irving __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-07-18 23:00:02
|
--- Leif W <war...@us...> wrote: > Sorry if some of these questions seem redundant, but > I'm picking the code > apart line by line as I convert it, and am hitting > some stumbling blocks in > my comprehension during this process. > > > ... The "@RESULT#0" variable would store the result > from > > the "multiply" function while "@RESULT#1" would > store > > the results from the "subtract" function, etc. > > So these results are being stored in the array named > ar, with corresponding > indexes? It's starting to make sense now. There > will never be a result on > first iteration (first method name). There will be > results on successive > iterations (from the previous method). Is this a > correct interpretation? Correct. It might also be good to check it the "@RESULT#" exist inside the array before executing line 168 -- Raymond Irving > > See also: > > > > docs/docs/quickref.soda.html > > examples/dynapi.util.ioelement-soda-nsync.html > > > > > > -- > > Raymond Irving > > > > > > > Leif > > > > > > ----- Original Message ----- > > > From: "Leif W" <war...@us...> > > > To: <dyn...@li...> > > > Sent: Friday, July 18, 2003 11:30 AM > > > Subject: Re: [Dynapi-Dev] > ioelmsrv.soda.jscript.asp > > > -> ioelmsrv.soda.php > > > conversion > > > > > > > > > > Ok. I saw that further on in the file and > that's > > > what I suspected, but I > > > > wasn't sure. I'll make the change to the ASP > > > versions too, to use > > > > soda.Methodname (JScript), > soda.item("methodName") > > > (VBScript), and $soda[ > > > > "methodName" ] (PHP), respectively. > > > > > > > > Leif > > > > > > > > ----- Original Message ----- > > > > From: "Raymond Irving" <xw...@ya...> > > > > To: <dyn...@li...> > > > > Sent: Friday, July 18, 2003 10:35 AM > > > > Subject: Re: [Dynapi-Dev] > > > ioelmsrv.soda.jscript.asp -> ioelmsrv.soda.php > > > > conversion > > > > > > > > > > > > > Hi Leif, > > > > > > > > > > The variable mn is used to hold the method > name > > > but > > > > > it's used further down in function. > > > > > > > > > > It should be safe to replace mn in line 110 > and > > > 114 of > > > > > ioelmsvr.soda.jscript.asp with > soda.methodName > > > > > > > > > > -- > > > > > Raymond Irving > === message truncated === __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Leif W <war...@us...> - 2003-07-18 22:46:30
|
Sorry if some of these questions seem redundant, but I'm picking the code apart line by line as I convert it, and am hitting some stumbling blocks in my comprehension during this process. See below. ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: <dyn...@li...> Sent: Friday, July 18, 2003 5:56 PM Subject: Re: [Dynapi-Dev] ioelmsrv.soda.jscript.asp -> ioelmsrv.soda.php conversion > > See below: > > --- Leif W <war...@us...> wrote: > > On line 168 of the JScript version: > > > > if (typeof(value)=="string" && > > value.indexOf("@RESULT#")==0) > > value=ar[value.substr(8)]; > > > > In the statement: > > > > value = ar[value.substr(8)]; > > > > "ar" has a null value, as it has not yet been set to > > anything inside the > > function. So how do we get a value from it? What > > should it be set to, and > > at what point should it be set? > > Looking at ioelmsvr.soda.jscript.asp: > > The "ar" is an array (line 122) that's used to store > results from a previously executed function (line > 186). I see the assignment of an empty array to local (not global) variable ar on line 122, and between that and line 168 where the ar array is being accessed, there was no assignment, so ar["anything"] will never exist. I don't understand how something on a later line in the same function can be considered a previously executed function. It doesn't make sense to me. Line 186 is after line 122, so assignment to array ar will only occur after line 186 is hit. Is it because this is inside a loop? Does the assignment on line 186 always occur on an iteration before the access of line 168? Is there any guarantee of this? I don't see any error checks for an empty array, and no comment about this non-intuitive assumption-based behaviour. Also, there's no try..catch construct in PHP or Perl as used in the JScript, but I think I remember seeing a way to write such functions in Perl, and I'm searching for an equivalent in PHP. I could just as easily embed a return statement in the eval and check the eval result and go from there. I may go so far as to implement something like try .. catch functions in PHP if I can. Also, I found talk of try..catch construct being added to PHP back in a mail archive from 2000. There's no mention of try..catch in the current PHP manual, but PHP5 has recently been released and I am curious if they've added the construct to this major revision. In any case, to make the PHP code more versatile, I'd probably want a PHP3 or PHP4 fallback solution anyways. > This makes it possible to execute multi functions on > the server in one call: > > Let's say we want to perform the following calculation > via our web service: > > 23+(((5*7)-6)/2) which is equal to 37.5 > > With conventional tools you would have to make several > calls to the server or create a function on the server > that can perform the above calculation. But what it > you're not able to create the function on the server? > Then you'd just have to stick with with what you have. > SODA-RPC solves the above problem by allowing you to > not only make multiple calls but to also pass > arguments from one method to the next in a single call > to the server! > > Here's how it's done using a simple object: > > var fn={ > multiply:[5,7], > subtract:['@RESULT#0',6], > divide:['@RESULT#1',2], > add:[23,'@RESULT#2'] > } > var response = io.calc.call(fn,null,false); > if (response.error) alert(response.error.text); > else alert(response.value[3]); // displays 37.5 > > The "@RESULT#0" variable would store the result from > the "multiply" function while "@RESULT#1" would store > the results from the "subtract" function, etc. So these results are being stored in the array named ar, with corresponding indexes? It's starting to make sense now. There will never be a result on first iteration (first method name). There will be results on successive iterations (from the previous method). Is this a correct interpretation? > See also: > > docs/docs/quickref.soda.html > examples/dynapi.util.ioelement-soda-nsync.html > > > -- > Raymond Irving > > > > Leif > > > > ----- Original Message ----- > > From: "Leif W" <war...@us...> > > To: <dyn...@li...> > > Sent: Friday, July 18, 2003 11:30 AM > > Subject: Re: [Dynapi-Dev] ioelmsrv.soda.jscript.asp > > -> ioelmsrv.soda.php > > conversion > > > > > > > Ok. I saw that further on in the file and that's > > what I suspected, but I > > > wasn't sure. I'll make the change to the ASP > > versions too, to use > > > soda.Methodname (JScript), soda.item("methodName") > > (VBScript), and $soda[ > > > "methodName" ] (PHP), respectively. > > > > > > Leif > > > > > > ----- Original Message ----- > > > From: "Raymond Irving" <xw...@ya...> > > > To: <dyn...@li...> > > > Sent: Friday, July 18, 2003 10:35 AM > > > Subject: Re: [Dynapi-Dev] > > ioelmsrv.soda.jscript.asp -> ioelmsrv.soda.php > > > conversion > > > > > > > > > > Hi Leif, > > > > > > > > The variable mn is used to hold the method name > > but > > > > it's used further down in function. > > > > > > > > It should be safe to replace mn in line 110 and > > 114 of > > > > ioelmsvr.soda.jscript.asp with soda.methodName > > > > > > > > -- > > > > Raymond Irving > > > > > > > > --- Leif W <war...@us...> wrote: > > > > > In the ASP versions of the file, in function > > > > > wsDispatch, an undefined > > > > > variable named "mn" is passed to > > > > > ws__createSODAEnvelope. Is this correct? > > > > > It doesn't seem correct... Should a NULL > > value be > > > > > passed instead, or should > > > > > mn be set to something beforehand? > > > > > > > > > > Leif > > > > > > > > > > JScript version > > > > > --------------- > > > > > // check if internal system function returned > > any > > > > > data > > > > > if(!isoda) { > > > > > // Not System Function - continue with > > dispatch & > > > > > invoke dispatch events > > > > > if created > > > > > continueDispatch=true; > > > > > // trigger dispatch event > > > > > if (wso_hasDispatchEvent) { > > > > > value=ws__invokeEvent("dispatch"); > > > > > if (value==false) { > > > > > // send error (E4) message to client - > > > > > connection rejected > > > > > isoda = > > > > > > > > > > > > ws__createSODAEnvelope(mn,null,"E4",wso_sodaErrorText["E4"]); > > > > > > > > > > ----^^---- > > > > > continueDispatch=false; > > > > > }else if(typeof(value)=="string") { > > > > > // send error (E1) message to client - > > system > > > > > error > > > > > isoda = > > > > > > > > > > > > ws__createSODAEnvelope(mn,null,"E1",wso_sodaErrorText["E1"]+ > > > > > " : > > > > > "+value+" while executing dispatch event") > > > > > > > > > > ----^^---- > > > > > continueDispatch=false; > > > > > } > > > > > } > > > > > } > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.net email is sponsored by: VM Ware > > > > > With VMware you can run multiple operating > > systems > > > > > on a single machine. > > > > > WITHOUT REBOOTING! Mix Linux / Windows / > > Novell > > > > > virtual machines at the > > > > > same time. Free trial click here: > > > > > http://www.vmware.com/wl/offer/345/0 > > > > > > > _______________________________________________ > > > > > Dynapi-Dev mailing list > > > > > Dyn...@li... > > > > > > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > __________________________________ > > > > Do you Yahoo!? > > > > SBC Yahoo! DSL - Now only $29.95 per month! > > > > http://sbc.yahoo.com > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: VM Ware > > > > With VMware you can run multiple operating > > systems on a single machine. > > > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > > virtual machines at the > > > > same time. Free trial click here: > > http://www.vmware.com/wl/offer/345/0 > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: VM Ware > > > With VMware you can run multiple operating systems > > on a single machine. > > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > > virtual machines at the > > > same time. Free trial click here: > > http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems > > on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > > virtual machines at the > > same time. Free trial click here: > > http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |
From: Raymond I. <xw...@ya...> - 2003-07-18 21:56:12
|
See below: --- Leif W <war...@us...> wrote: > On line 168 of the JScript version: > > if (typeof(value)=="string" && > value.indexOf("@RESULT#")==0) > value=ar[value.substr(8)]; > > In the statement: > > value = ar[value.substr(8)]; > > "ar" has a null value, as it has not yet been set to > anything inside the > function. So how do we get a value from it? What > should it be set to, and > at what point should it be set? Looking at ioelmsvr.soda.jscript.asp: The "ar" is an array (line 122) that's used to store results from a previously executed function (line 186). This makes it possible to execute multi functions on the server in one call: Let's say we want to perform the following calculation via our web service: 23+(((5*7)-6)/2) which is equal to 37.5 With conventional tools you would have to make several calls to the server or create a function on the server that can perform the above calculation. But what it you're not able to create the function on the server? Then you'd just have to stick with with what you have. SODA-RPC solves the above problem by allowing you to not only make multiple calls but to also pass arguments from one method to the next in a single call to the server! Here's how it's done using a simple object: var fn={ multiply:[5,7], subtract:['@RESULT#0',6], divide:['@RESULT#1',2], add:[23,'@RESULT#2'] } var response = io.calc.call(fn,null,false); if (response.error) alert(response.error.text); else alert(response.value[3]); // displays 37.5 The "@RESULT#0" variable would store the result from the "multiply" function while "@RESULT#1" would store the results from the "subtract" function, etc. See also: docs/docs/quickref.soda.html examples/dynapi.util.ioelement-soda-nsync.html -- Raymond Irving > Leif > > ----- Original Message ----- > From: "Leif W" <war...@us...> > To: <dyn...@li...> > Sent: Friday, July 18, 2003 11:30 AM > Subject: Re: [Dynapi-Dev] ioelmsrv.soda.jscript.asp > -> ioelmsrv.soda.php > conversion > > > > Ok. I saw that further on in the file and that's > what I suspected, but I > > wasn't sure. I'll make the change to the ASP > versions too, to use > > soda.Methodname (JScript), soda.item("methodName") > (VBScript), and $soda[ > > "methodName" ] (PHP), respectively. > > > > Leif > > > > ----- Original Message ----- > > From: "Raymond Irving" <xw...@ya...> > > To: <dyn...@li...> > > Sent: Friday, July 18, 2003 10:35 AM > > Subject: Re: [Dynapi-Dev] > ioelmsrv.soda.jscript.asp -> ioelmsrv.soda.php > > conversion > > > > > > > Hi Leif, > > > > > > The variable mn is used to hold the method name > but > > > it's used further down in function. > > > > > > It should be safe to replace mn in line 110 and > 114 of > > > ioelmsvr.soda.jscript.asp with soda.methodName > > > > > > -- > > > Raymond Irving > > > > > > --- Leif W <war...@us...> wrote: > > > > In the ASP versions of the file, in function > > > > wsDispatch, an undefined > > > > variable named "mn" is passed to > > > > ws__createSODAEnvelope. Is this correct? > > > > It doesn't seem correct... Should a NULL > value be > > > > passed instead, or should > > > > mn be set to something beforehand? > > > > > > > > Leif > > > > > > > > JScript version > > > > --------------- > > > > // check if internal system function returned > any > > > > data > > > > if(!isoda) { > > > > // Not System Function - continue with > dispatch & > > > > invoke dispatch events > > > > if created > > > > continueDispatch=true; > > > > // trigger dispatch event > > > > if (wso_hasDispatchEvent) { > > > > value=ws__invokeEvent("dispatch"); > > > > if (value==false) { > > > > // send error (E4) message to client - > > > > connection rejected > > > > isoda = > > > > > > > > ws__createSODAEnvelope(mn,null,"E4",wso_sodaErrorText["E4"]); > > > > > > > > ----^^---- > > > > continueDispatch=false; > > > > }else if(typeof(value)=="string") { > > > > // send error (E1) message to client - > system > > > > error > > > > isoda = > > > > > > > > ws__createSODAEnvelope(mn,null,"E1",wso_sodaErrorText["E1"]+ > > > > " : > > > > "+value+" while executing dispatch event") > > > > > > > > ----^^---- > > > > continueDispatch=false; > > > > } > > > > } > > > > } > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: VM Ware > > > > With VMware you can run multiple operating > systems > > > > on a single machine. > > > > WITHOUT REBOOTING! Mix Linux / Windows / > Novell > > > > virtual machines at the > > > > same time. Free trial click here: > > > > http://www.vmware.com/wl/offer/345/0 > > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > SBC Yahoo! DSL - Now only $29.95 per month! > > > http://sbc.yahoo.com > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: VM Ware > > > With VMware you can run multiple operating > systems on a single machine. > > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > > > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems > on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems > on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-07-18 21:34:11
|
Hi Everyone, Here's a new function that will allow you to execute a javascript function within the parent window of the browser: io.execInParent(function(){ tpLogin = new parent.Template('This is a test Layer',0,0,0,0); tpLogin.setAnchor({left:100,top:100,bottom:100,right:100}); tpLogin.setDefaultFieldValue(' '); tpLogin.generate(); dynapi.document.addChild(tpLogin); tpLogin.setClass('test'); }); io.execInParent("alert('This is executed from within the parent')"); Also see the new IOElement server-side wsAddJSCommand that will allow you to execute js commands on the client wsAddJSCommand("alert('News: DynAPI IOElement is very cool!'") -- Raymond Irving __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-07-18 17:19:04
|
Mozilla 1.1 works fine but 1.4 seems to have a problem when accessing a div's parentNode Any ideas? -- Raymond Irving --- Leif W <war...@us...> wrote: > Ok that was maybe a false lead, but an indication of > some other unrelated > problem (potentially?) in the MouseEvent. Seeing > that IOElement requires > only dynapi.api.DynLayer, I included only that file > and the errors went > away, but the file upload example still failed. > Upon further inspection, I > included each of the dynapi.api files manually until > the errors occured, and > the erros are caused by the MouseEvent code: > dynapi.library.include('dynapi.api.MouseEvent'); . > > Back to square one, a set of JavaScript and PHP > scripts that work in IE6 but > not in Mozilla 1.4, with no browser errors caused by > Mozilla, and no server > errors reported by PHP or Apache. > > Leif > > ----- Original Message ----- > From: "Leif W" <war...@us...> > To: <dyn...@li...> > Sent: Thursday, July 17, 2003 9:59 AM > Subject: Re: [Dynapi-Dev] IOElement Upload example > > > > I've narrowed down the problem area. In the > IOElement Upload example, > > Mozilla is "quietly" (i.e. can only be seen if you > open the JavaScript > > console from Tools->Web Development) throwing > exceptions when the mouse > > moves over and out of two of the form elements: > the "name" text field, and > > the "myfile" file field. I started by looking at > upload and text fields > in > > other non-DynAPI pages without any JavaScript, and > they're not throwing > > these exceptions in Mozilla. Then I commented out > all JavaScript code in > > the IOElement Upload example page, and turned on > one thing at a time until > > the exceptions started occuring. This happened > when I turned on > > dynapi.library.include('dynapi.api'); . The > JavaScript error messages are > > as follows: > > > > "name" text input field mouse over and mouse out > (same error): > > > > Error: [Exception... "'Permission denied to get > property > > HTMLDivElement.parentNode' when calling method: > > [nsIDOMEventListener::handleEvent]" nsresult: > "0x8057001e > > (NS_ERROR_XPC_JS_THREW_STRING)" location: > "<unknown>" data: no] > > > > "myfile" file input field mouse over and mouse out > (same error): > > > > Error: [Exception... "'Permission denied to get > property > > HTMLInputElement.parentNode' when calling method: > > [nsIDOMEventListener::handleEvent]" nsresult: > "0x8057001e > > (NS_ERROR_XPC_JS_THREW_STRING)" location: > "<unknown>" data: no] > > > > Has anyone seen this behaviour before? Can anyone > reproduce this error > > message, or maybe give some insight where the > problem may lie? > > > > Leif > > > > > > ----- Original Message ----- > > From: "Leif W" <war...@us...> > > To: <dyn...@li...> > > Sent: Thursday, July 17, 2003 8:15 AM > > Subject: Re: [Dynapi-Dev] IOElement Upload example > > > > > > > I had no problem with a stand alone upload > script in php, and the upload > > > example for the IOElement script (php) is > working in IE. Something is > > > apparently happening differently in Mozilla than > in IE for some reason. > > > Exactly what is happening is what I'm trying to > determine now. > > > > > > ----- Original Message ----- > > > From: "Raymond Irving" <xw...@ya...> > > > To: <dyn...@li...> > > > Sent: Thursday, July 17, 2003 12:48 AM > > > Subject: Re: [Dynapi-Dev] IOElement Upload > example > > > > > > > > > > > > > > Uploads should be straight forward for any > browser. > > > > IOElement sends the data using the multipart > encode > > > > format. > > > > > > > > You should be able to handle IOElement form > uploads on > > > > the server the same way you would a normal > <form> > > > > upload. > > > > > > > > -- > > > > Raymond Irving > > > > > > > > > > > > --- Leif W <war...@us...> wrote: > > > > > I've got the PHP sort of working for the > upload > > > > > example (fixed more > > > > > ioelmsrv.php bugs), but only in IE for some > reason. > > > > > I'm fiddling with the > > > > > Mozilla JavaScript console and debugger to > see if I > > > > > can get more > > > > > information. Still need to go over > everything > > > > > later. But for now just > > > > > trying to get this upload example working > for both > > > > > browsers. > > > > > > > > > > Leif > > > > > > > > > > ----- Original Message ----- > > > > > From: "Raymond Irving" <xw...@ya...> > > > > > To: <dyn...@li...> > > > > > Sent: Wednesday, July 16, 2003 7:58 PM > > > > > Subject: Re: [Dynapi-Dev] IOElement Upload > example > > > > > > > > > > > > > > > > > > > > > > --- Leif W <war...@us...> wrote: > > > > > > > Ahh, answering my own question, sort of. > > > > > > > > > > > > > > I was using Mozilla 1.4 for testing. I > tried in > > > > > > > IE6, and I was prompted > > > > > > > about a JavaScript error. Using the > builtin > > > > > > > JavaScript debugger, I saw the > > > > > > > output of the php file. It was somewhat > > > > > malformed. > > > > > > > Now I have the hook I > > > > > > > was looking for; I have the error > feedback now > > > > > so I > > > > > > > can correct the PHP > > > > > > > code. But if anyone else has other > ideas how to > > > > > > > approach this part of the > > > > > > > development, let me know. > > > > > > > > > > > > Glad to hear that you're moving ahead with > the php > > > > > > section of ioelement. > > > > > > > > > > > > One way we can do this is to create a > > > > > > wsRaiseError(code,text) function in > ioelmsvr to > > > > > > trigger an alert message on the client. > What do > > > > > you > > > > > > think? > > > > > > > > > > > > Note this will only trap user generated > errors. To > > > > > see > > > > > > sever generated or script errors you might > have to > > > > > see > > > > > > the dynapi.util.datasource.html: > > > > > > > > > > > > // IE only - used to display page content > of a > > > > > failed > > > > > > response. > > > > > > var elm=o.ioelement.getScope(); > > > > > > if (!(dynapi.ua.ie && elm.document && > > > > > > !elm.document._tranState)) t=''; > > > > > > else > t='------\n'+elm.document.body.innerText; > > > > > > > === message truncated === __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-07-18 16:51:51
|
That's true. The ";" at line 33 was the cause. We need to check on all the examples to see if others exists. PS. The fixed is attached -- Raymond Irving --- Leif W <war...@us...> wrote: > On line 33 of src/fx/motionx.js, remove the ; after > the }. This was > presumably put there because of the onmove:function, > for either compression > or documentation purposes, but it breaks the code so > obviously we can't put > it there. Does it break the compression or > documentation programs if the ; > is removed? Anyone care to explain exactly what > that semi-colon is for, why > it was put there, and what will happen if it's not > there? There may very > well be other instances of this problem in the API. > I remember some time > ago someone went through the API adding semi-colons. > > Leif > > ----- Original Message ----- > From: "Daniel Tiru" <de...@ti...> > To: "dynapi-dev" <dyn...@li...> > Sent: Friday, July 18, 2003 6:15 AM > Subject: [Dynapi-Dev] > examples/dynapi.fx.motionx.html > > > > Hi! > > > > This example dont work anymore, some update ago it > stopped working. > > > > /Daniel > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems > on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems > on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Leif W <war...@us...> - 2003-07-18 16:28:33
|
On line 168 of the JScript version: if (typeof(value)=="string" && value.indexOf("@RESULT#")==0) value=ar[value.substr(8)]; In the statement: value = ar[value.substr(8)]; "ar" has a null value, as it has not yet been set to anything inside the function. So how do we get a value from it? What should it be set to, and at what point should it be set? Leif ----- Original Message ----- From: "Leif W" <war...@us...> To: <dyn...@li...> Sent: Friday, July 18, 2003 11:30 AM Subject: Re: [Dynapi-Dev] ioelmsrv.soda.jscript.asp -> ioelmsrv.soda.php conversion > Ok. I saw that further on in the file and that's what I suspected, but I > wasn't sure. I'll make the change to the ASP versions too, to use > soda.Methodname (JScript), soda.item("methodName") (VBScript), and $soda[ > "methodName" ] (PHP), respectively. > > Leif > > ----- Original Message ----- > From: "Raymond Irving" <xw...@ya...> > To: <dyn...@li...> > Sent: Friday, July 18, 2003 10:35 AM > Subject: Re: [Dynapi-Dev] ioelmsrv.soda.jscript.asp -> ioelmsrv.soda.php > conversion > > > > Hi Leif, > > > > The variable mn is used to hold the method name but > > it's used further down in function. > > > > It should be safe to replace mn in line 110 and 114 of > > ioelmsvr.soda.jscript.asp with soda.methodName > > > > -- > > Raymond Irving > > > > --- Leif W <war...@us...> wrote: > > > In the ASP versions of the file, in function > > > wsDispatch, an undefined > > > variable named "mn" is passed to > > > ws__createSODAEnvelope. Is this correct? > > > It doesn't seem correct... Should a NULL value be > > > passed instead, or should > > > mn be set to something beforehand? > > > > > > Leif > > > > > > JScript version > > > --------------- > > > // check if internal system function returned any > > > data > > > if(!isoda) { > > > // Not System Function - continue with dispatch & > > > invoke dispatch events > > > if created > > > continueDispatch=true; > > > // trigger dispatch event > > > if (wso_hasDispatchEvent) { > > > value=ws__invokeEvent("dispatch"); > > > if (value==false) { > > > // send error (E4) message to client - > > > connection rejected > > > isoda = > > > > > ws__createSODAEnvelope(mn,null,"E4",wso_sodaErrorText["E4"]); > > > > > > ----^^---- > > > continueDispatch=false; > > > }else if(typeof(value)=="string") { > > > // send error (E1) message to client - system > > > error > > > isoda = > > > > > ws__createSODAEnvelope(mn,null,"E1",wso_sodaErrorText["E1"]+ > > > " : > > > "+value+" while executing dispatch event") > > > > > > ----^^---- > > > continueDispatch=false; > > > } > > > } > > > } > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: VM Ware > > > With VMware you can run multiple operating systems > > > on a single machine. > > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > > > virtual machines at the > > > same time. Free trial click here: > > > http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > __________________________________ > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > http://sbc.yahoo.com > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > |
From: Leif W <war...@us...> - 2003-07-18 15:29:20
|
Ok. I saw that further on in the file and that's what I suspected, but I wasn't sure. I'll make the change to the ASP versions too, to use soda.Methodname (JScript), soda.item("methodName") (VBScript), and $soda[ "methodName" ] (PHP), respectively. Leif ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: <dyn...@li...> Sent: Friday, July 18, 2003 10:35 AM Subject: Re: [Dynapi-Dev] ioelmsrv.soda.jscript.asp -> ioelmsrv.soda.php conversion > Hi Leif, > > The variable mn is used to hold the method name but > it's used further down in function. > > It should be safe to replace mn in line 110 and 114 of > ioelmsvr.soda.jscript.asp with soda.methodName > > -- > Raymond Irving > > --- Leif W <war...@us...> wrote: > > In the ASP versions of the file, in function > > wsDispatch, an undefined > > variable named "mn" is passed to > > ws__createSODAEnvelope. Is this correct? > > It doesn't seem correct... Should a NULL value be > > passed instead, or should > > mn be set to something beforehand? > > > > Leif > > > > JScript version > > --------------- > > // check if internal system function returned any > > data > > if(!isoda) { > > // Not System Function - continue with dispatch & > > invoke dispatch events > > if created > > continueDispatch=true; > > // trigger dispatch event > > if (wso_hasDispatchEvent) { > > value=ws__invokeEvent("dispatch"); > > if (value==false) { > > // send error (E4) message to client - > > connection rejected > > isoda = > > > ws__createSODAEnvelope(mn,null,"E4",wso_sodaErrorText["E4"]); > > > > ----^^---- > > continueDispatch=false; > > }else if(typeof(value)=="string") { > > // send error (E1) message to client - system > > error > > isoda = > > > ws__createSODAEnvelope(mn,null,"E1",wso_sodaErrorText["E1"]+ > > " : > > "+value+" while executing dispatch event") > > > > ----^^---- > > continueDispatch=false; > > } > > } > > } > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems > > on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > > virtual machines at the > > same time. Free trial click here: > > http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > |
From: Raymond I. <xw...@ya...> - 2003-07-18 14:35:31
|
Hi Leif, The variable mn is used to hold the method name but it's used further down in function. It should be safe to replace mn in line 110 and 114 of ioelmsvr.soda.jscript.asp with soda.methodName -- Raymond Irving --- Leif W <war...@us...> wrote: > In the ASP versions of the file, in function > wsDispatch, an undefined > variable named "mn" is passed to > ws__createSODAEnvelope. Is this correct? > It doesn't seem correct... Should a NULL value be > passed instead, or should > mn be set to something beforehand? > > Leif > > JScript version > --------------- > // check if internal system function returned any > data > if(!isoda) { > // Not System Function - continue with dispatch & > invoke dispatch events > if created > continueDispatch=true; > // trigger dispatch event > if (wso_hasDispatchEvent) { > value=ws__invokeEvent("dispatch"); > if (value==false) { > // send error (E4) message to client - > connection rejected > isoda = > ws__createSODAEnvelope(mn,null,"E4",wso_sodaErrorText["E4"]); > > ----^^---- > continueDispatch=false; > }else if(typeof(value)=="string") { > // send error (E1) message to client - system > error > isoda = > ws__createSODAEnvelope(mn,null,"E1",wso_sodaErrorText["E1"]+ > " : > "+value+" while executing dispatch event") > > ----^^---- > continueDispatch=false; > } > } > } > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems > on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Leif W <war...@us...> - 2003-07-18 14:14:27
|
In the ASP versions of the file, in function wsDispatch, an undefined variable named "mn" is passed to ws__createSODAEnvelope. Is this correct? It doesn't seem correct... Should a NULL value be passed instead, or should mn be set to something beforehand? Leif JScript version --------------- // check if internal system function returned any data if(!isoda) { // Not System Function - continue with dispatch & invoke dispatch events if created continueDispatch=true; // trigger dispatch event if (wso_hasDispatchEvent) { value=ws__invokeEvent("dispatch"); if (value==false) { // send error (E4) message to client - connection rejected isoda = ws__createSODAEnvelope(mn,null,"E4",wso_sodaErrorText["E4"]); ----^^---- continueDispatch=false; }else if(typeof(value)=="string") { // send error (E1) message to client - system error isoda = ws__createSODAEnvelope(mn,null,"E1",wso_sodaErrorText["E1"]+ " : "+value+" while executing dispatch event") ----^^---- continueDispatch=false; } } } |
From: Leif W <war...@us...> - 2003-07-18 13:29:26
|
On line 33 of src/fx/motionx.js, remove the ; after the }. This was presumably put there because of the onmove:function, for either compression or documentation purposes, but it breaks the code so obviously we can't put it there. Does it break the compression or documentation programs if the ; is removed? Anyone care to explain exactly what that semi-colon is for, why it was put there, and what will happen if it's not there? There may very well be other instances of this problem in the API. I remember some time ago someone went through the API adding semi-colons. Leif ----- Original Message ----- From: "Daniel Tiru" <de...@ti...> To: "dynapi-dev" <dyn...@li...> Sent: Friday, July 18, 2003 6:15 AM Subject: [Dynapi-Dev] examples/dynapi.fx.motionx.html > Hi! > > This example dont work anymore, some update ago it stopped working. > > /Daniel > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > |
From: Daniel T. <de...@ti...> - 2003-07-18 10:07:01
|
Hi! This example dont work anymore, some update ago it stopped working. /Daniel |
From: Raymond I. <xw...@ya...> - 2003-07-18 01:38:16
|
Hi Leif, Really glad to hear that you've gotten it to work. This MouseEvent bug does seems to have something to do with the mouse_dom.js file. Any ideas anyone? -- Raymond Irving --- Leif W <war...@us...> wrote: > Finally, it just started working! IOElement Upload > functionality not > affected by the previously mentioned MouseEvent > errors. > > On to converting the rest of the examples, and then > finally do some > robustness testing with different data types to make > sure the > ioelmsrv.[php|pl|pm] is correctly generating the > resultant JavaScript code > when dispatching variables. Now I'm pretty familiar > with the IOElement > stuff, thanks to mysterious bugs that go away > without change when only > examined more closely. Hopefully the SODA part > isn't much more difficult. > > Leif > > ----- Original Message ----- > From: "Leif W" <war...@us...> > To: <dyn...@li...> > Sent: Thursday, July 17, 2003 10:41 AM > Subject: Re: [Dynapi-Dev] IOElement Upload example > > > > Ok that was maybe a false lead, but an indication > of some other unrelated > > problem (potentially?) in the MouseEvent. Seeing > that IOElement requires > > only dynapi.api.DynLayer, I included only that > file and the errors went > > away, but the file upload example still failed. > Upon further inspection, > I > > included each of the dynapi.api files manually > until the errors occured, > and > > the erros are caused by the MouseEvent code: > > dynapi.library.include('dynapi.api.MouseEvent'); . > > > > Back to square one, a set of JavaScript and PHP > scripts that work in IE6 > but > > not in Mozilla 1.4, with no browser errors caused > by Mozilla, and no > server > > errors reported by PHP or Apache. > > > > Leif > > > > ----- Original Message ----- > > From: "Leif W" <war...@us...> > > To: <dyn...@li...> > > Sent: Thursday, July 17, 2003 9:59 AM > > Subject: Re: [Dynapi-Dev] IOElement Upload example > > > > > > > I've narrowed down the problem area. In the > IOElement Upload example, > > > Mozilla is "quietly" (i.e. can only be seen if > you open the JavaScript > > > console from Tools->Web Development) throwing > exceptions when the mouse > > > moves over and out of two of the form elements: > the "name" text field, > and > > > the "myfile" file field. I started by looking > at upload and text fields > > in > > > other non-DynAPI pages without any JavaScript, > and they're not throwing > > > these exceptions in Mozilla. Then I commented > out all JavaScript code > in > > > the IOElement Upload example page, and turned on > one thing at a time > until > > > the exceptions started occuring. This happened > when I turned on > > > dynapi.library.include('dynapi.api'); . The > JavaScript error messages > are > > > as follows: > > > > > > "name" text input field mouse over and mouse out > (same error): > > > > > > Error: [Exception... "'Permission denied to get > property > > > HTMLDivElement.parentNode' when calling method: > > > [nsIDOMEventListener::handleEvent]" nsresult: > "0x8057001e > > > (NS_ERROR_XPC_JS_THREW_STRING)" location: > "<unknown>" data: no] > > > > > > "myfile" file input field mouse over and mouse > out (same error): > > > > > > Error: [Exception... "'Permission denied to get > property > > > HTMLInputElement.parentNode' when calling > method: > > > [nsIDOMEventListener::handleEvent]" nsresult: > "0x8057001e > > > (NS_ERROR_XPC_JS_THREW_STRING)" location: > "<unknown>" data: no] > > > > > > Has anyone seen this behaviour before? Can > anyone reproduce this error > > > message, or maybe give some insight where the > problem may lie? > > > > > > Leif > > > > > > > > > ----- Original Message ----- > > > From: "Leif W" <war...@us...> > > > To: <dyn...@li...> > > > Sent: Thursday, July 17, 2003 8:15 AM > > > Subject: Re: [Dynapi-Dev] IOElement Upload > example > > > > > > > > > > I had no problem with a stand alone upload > script in php, and the > upload > > > > example for the IOElement script (php) is > working in IE. Something is > > > > apparently happening differently in Mozilla > than in IE for some > reason. > > > > Exactly what is happening is what I'm trying > to determine now. > > > > > > > > ----- Original Message ----- > > > > From: "Raymond Irving" <xw...@ya...> > > > > To: <dyn...@li...> > > > > Sent: Thursday, July 17, 2003 12:48 AM > > > > Subject: Re: [Dynapi-Dev] IOElement Upload > example > > > > > > > > > > > > > > > > > > Uploads should be straight forward for any > browser. > > > > > IOElement sends the data using the multipart > encode > > > > > format. > > > > > > > > > > You should be able to handle IOElement form > uploads on > > > > > the server the same way you would a normal > <form> > > > > > upload. > > > > > > > > > > -- > > > > > Raymond Irving > > > > > > > > > > > > > > > --- Leif W <war...@us...> wrote: > > > > > > I've got the PHP sort of working for the > upload > > > > > > example (fixed more > > > > > > ioelmsrv.php bugs), but only in IE for > some reason. > > > > > > I'm fiddling with the > > > > > > Mozilla JavaScript console and debugger to > see if I > > > > > > can get more > > > > > > information. Still need to go over > everything > > > > > > later. But for now just > > > > > > trying to get this upload example working > for both > > > > > > browsers. > > > > > > > > > > > > Leif > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Raymond Irving" <xw...@ya...> > > > > > > To: <dyn...@li...> > > > > > > Sent: Wednesday, July 16, 2003 7:58 PM > > > > > > Subject: Re: [Dynapi-Dev] IOElement Upload > example > > > > > > > > > > > > > > > > > > > > > > > > > > --- Leif W <war...@us...> wrote: > > > > > > > > Ahh, answering my own question, sort > of. > > > > > > > > > > > > > > > > I was using Mozilla 1.4 for testing. > I tried in > > > > > > > > IE6, and I was prompted > > > > > > > > about a JavaScript error. Using the > builtin > > > > > > > > JavaScript debugger, I saw the > > > > > > > > output of the php file. It was > somewhat > === message truncated === __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-07-18 01:29:02
|
--- Daniel Tiru <de...@ti...> wrote: > Hi! > > I have tried the html menu now with: > netscape 4.79 (would work better with images as its > quite dumb with css) > IE 6 (Works well) > Netscape 7.02 (Looks ok, but you have to do a > mouseover on each element to get the background of > them) > Mozilla 1.4 (Looks ok, but you have to do a > mouseover on each element to get the background of > them) > Opera 7.11 (Works well) > > Well thats my testing so far of the menu :) Cool. I'll look into the above. > I was wondering if there would be possible to change > the content of the html menu when doing a mouse > over, cause i think alot of ppl would like to use > images instead of text and that i think would be a > very nice addition to the menu. Maybee add the image > rollover HC to this one? No the image rollover HC will not work here but dynapi.functions.Image library can do the trick. It has built-in support for image rollovers. -- Raymond Irving > Have a great day/evening > Regards > Danile > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems > on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |