javadev-chiennx / struts2-jquery-plugin

Automatically exported from code.google.com/p/struts2-jquery-plugin
0 stars 0 forks source link

<sj:select problem #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts2-jquery-tags"%>
<%@taglib prefix="sx" uri="/struts-dojo-tags"%>
<html>
<head>
<sj:head compressed="true" />
<title><s:text name="application.title" /></title>
</head>
<body>
<sj:select list="listCompany" id="firstSelect" name="firstElement"
    key="firstElement" listKey="id" listValue="name"
    onChangeTopics="firstSelectChanged"
    src="../license/Deneme_deneme2.action"></sj:select>
<sj:select list="listCode" id="secondSelect" listKey="id"
    listValue="name" reloadTopics="firstSelectChanged"
src="../license/Deneme_deneme3.action"
    elementIds="firstSelect" ></sj:select>
</body>
</html>

I want to this page..
I cnange first select box its going action but there is no change..
And 
This is action
    public String deneme3() throws Exception {
        listCode  = genService.listPersitable(Code.class);
        System.out.println("firstElement  : "+firstElement);
//      ActionContext.getContext().getSession().put("listCode", listCode);
        return null;
    }
I dont now what is return value;

Original issue reported on code.google.com by adagdelen25@gmail.com on 14 Dec 2009 at 8:35

GoogleCodeExporter commented 8 years ago
sr

Original comment by Srivaths...@gmail.com on 30 Sep 2011 at 8:48