Test html-el:link Tag
String newValue = "New string value";
pageContext.setAttribute("newValue", newValue);
java.util.HashMap newValues = new java.util.HashMap();
newValues.put("floatProperty", new Float(444.0));
newValues.put("intProperty", new Integer(555));
newValues.put("stringArray", new String[]
{ "Value 1", "Value 2", "Value 3" });
pageContext.setAttribute("newValues", newValues);
%>
Test struts-html Link Tag
The following links should hyperlink back to this page, with various
combinations of request parameters used to modify the previous values of
the associated form bean. Press the "Cancel" button to return to the
main menu.
Current Values
booleanProperty
intProperty
accesskey="i" tabindex="27" styleId="abc"
onblur="showevent(event)"
onchange="showevent(event)"
onclick="showevent(event)"
ondblclick="showevent(event)"
onfocus="showevent(event)"
onkeydown="showevent(event)"
onkeypress="showevent(event)"
onkeyup="showevent(event)"
onmousedown="showevent(event)"
onmousemove="showevent(event)"
onmouseout="showevent(event)"
onmouseover="showevent(event)"
onmouseup="showevent(event)"
/>
doubleProperty
longProperty
floatProperty
stringProperty
stringArray
Hyperlinks To Be Tested
title="No modifications at all" styleId="def">
No modifications at all
accesskey="2" tabindex="4"
title="Double and long via hard coded changes">
Double and long via hard coded changes
paramId="stringProperty" paramName="newValue"
title="String via paramId and paramName">
String via paramId and paramName
paramId="booleanProperty"
paramName="testbean" paramProperty="nested.booleanProperty"
title="Boolean via paramId, paramName, and paramValue">
Boolean via paramId, paramName, and paramValue
name="newValues"
title="Float, int, and stringArray via name (Map)"
onblur="showevent(event)"
onclick="showevent(event)"
ondblclick="showevent(event)"
onfocus="showevent(event)"
onkeydown="showevent(event)"
onkeypress="showevent(event)"
onkeyup="showevent(event)"
onmousedown="showevent(event)"
onmousemove="showevent(event)"
onmouseout="showevent(event)"
onmouseover="showevent(event)"
onmouseup="showevent(event)"
>
Float, int, and stringArray via name (Map)
title="No modifications at all" styleId="def">
No modifications at all
accesskey="2" tabindex="4"
title="Double and long via hard coded changes">
Double and long via hard coded changes
paramId="stringProperty" paramName="newValue"
title="String via paramId and paramName">
String via paramId and paramName
paramId="booleanProperty"
paramName="testbean" paramProperty="nested.booleanProperty"
title="Boolean via paramId, paramName, and paramValue">
Boolean via paramId, paramName, and paramValue
name="newValues"
title="Float, int, and stringArray via name (Map)"
onblur="showevent(event)"
onclick="showevent(event)"
ondblclick="showevent(event)"
onfocus="showevent(event)"
onkeydown="showevent(event)"
onkeypress="showevent(event)"
onkeyup="showevent(event)"
onmousedown="showevent(event)"
onmousemove="showevent(event)"
onmouseout="showevent(event)"
onmouseover="showevent(event)"
onmouseup="showevent(event)"
>
Float, int, and stringArray via name (Map)
Reset and Cancel Buttons
Reset
Cancel
function showevent(evt) { window.status = evt.type; }
// -->