3.2.0

some voodoo in your code

I have referred a part of your code in a thread I opened at comp.lang.javascript.

[source: grid.js, ActiveWidgets Grid 1.0.1]

$import("xml/table.js");
...

function $import(path){
var i, base, src = "grid.js", scripts = document.getElementsByTagName("script");
for (i=0; i<scripts.length; i++){if (scripts[i].src.match(src)){ base = scripts[i].src.replace(src, "");break;}}
document.write("<" + "script src=\"" + base + path + "\"></" + "script>");
}

it's in comp.lang.javascript, or
http://www.highdots.com/forums/showthread.php?postid=3847305#post3847305

you would find it interesting.
sundew
June 1,
Thanks a lot, sundew - learned something new today :-)
Alex (ActiveWidgets)
June 1,
Hi is thr any way that i can identify the components that are used in JSP being in Struts Action Class.
For example:
My ActionForm will have a property called Staring userName.
And my JSp file will have a component called
<html:text property="userName"/>
and the same can also be like
<html:textarea property="userName"/>

But in porior to the loading of jsp, the action class should identify the component that is used in the JSp..that the component that is used is TextField or TextArea....

Is thr a way for that
If so pls mail me to ganeshkt@nous.soft.net
Ganesh Kumar
June 10,

This topic is archived.

See also:


Back to support forum