Hi,
I am trying to dynamic update a dropdown list based on the selection
of the previous one, but I am getting no value in the 2nd dropdown
list.
dropdown.jsp:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<title>Example - Dropdown</title>
<s:head theme="ajax"/>
</head>
<body>
<s:url id="autoLower" action="dropdown!lower"/>
<form id="selectForm">
<s:autocompleter theme="simple" id="upperValue" name="upperValue"
list="upper" listValue="name" listKey="valueId"
notifyTopics="/Changed"/>
</form>
<s:autocompleter theme="ajax" id="lowerValue" name="lowerValue"
list="lower" listValue="name" listKey="valueId" href="%{#autoLower}"
listenTopics="/Changed" formId="selectForm" />
</body>
</html>
Does anybody know what I am doing wrong?
Btw, the action is called and it can access upperValue value, is there
a way of sending key instead of value?
Thanks,
Rodrigo Pereira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]