I am kind of learning dhtml and have some basic question…Attached is a piece of code from my jsp.
Basically this call is made when i drill down on the dhtml grid. (which makes a controller call)
mygrid.kidsXmlFile="<portlet:resourceURL id=‘METRIC_DATA’/>";
Is there a way i can make a dynamic call to the controller so i can filter data. My question is how can i make the kidsXmlFile dynamic based on what the user has selected in the dropdown(zCombo)? basically how do i pass whats selected into the further kidsXmlFile calls.
See code
<%@page import="com.bac.itsc.util.StringUtil"%>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String ctx = request.getContextPath();
boolean showHI = false;
if(!StringUtil.isNullOREmpty((String)request.getAttribute("showHI"))){
showHI = true;
}
%>
.<
portlet:namespace />_hover {
background-color: #f2f8ff;
font-weight: bold;
}
.<
portlet:namespace />_heading {
font-family: Tahoma;
font-size: 15px;
font-weight: bold;
}
.<
portlet:namespace />_comm {
font-family: Tahoma;
font-size: 12px;
}
.<
portlet:namespace />_but {
font-family: Tahoma;
font-size: 10px;
text-valign: top;
height: 25px;
}
p .<portlet:namespace />_commp {
font-family: Tahoma;
font-size: 12px;
width: 450px;
word-wrap: normal;
}
-:
Configuration Options :-
Filter By :
Hide/Unhide
Metrics Group:
</td>
</tr>
</table>
</div>