Author: andrei_exadel
Date: 2008-10-06 08:20:08 -0400 (Mon, 06 Oct 2008)
New Revision: 10669
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/_autotest/autotestsetup.xhtml
Log:
autotest
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/_autotest/autotestsetup.xhtml
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/_autotest/autotestsetup.xhtml 2008-10-06
11:41:40 UTC (rev 10668)
+++
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/_autotest/autotestsetup.xhtml 2008-10-06
12:20:08 UTC (rev 10669)
@@ -14,6 +14,23 @@
d.appendChild(i);
}
+ function addAttribute(name, value) {
+ var d = $('attrs_name');
+ var i = document.createElement('input');
+ i.name = "at_name";
+ i.type="hidden";
+ i.value = name;
+ d.appendChild(i);
+
+ d = $('attrs_value');
+ i = document.createElement('input');
+ i.name = "at_value";
+ i.type="hidden";
+ i.value = value;
+ d.appendChild(i);
+
+ }
+
function $(id) {
return document.getElementById(id);
}
@@ -27,6 +44,8 @@
<form id="f" method="post"
action="#{facesContext.externalContext.request.contextPath}/autotest/test">
<input id="c" type="hidden" name="c" value=""
/>
<div id="events" />
+<div id="attrs_name" />
+<div id="attrs_value" />
</form>
Loading...
</body>
Show replies by date