Hi,Matt
<display:table name="moduleSvnUrls" class="table" requestURI=""
id="moduleSvnUrlList" export="true" pagesize="25">
<display:column property="prj_id" sortable="true"
titleKey="moduleSvnUrl.prj_id"/> <!--I want to hidden this
prj_id-->
So,Change code to:
<s:hidden name="prj_id" value="prj_id"/>
But,Class request.getParameter("prj_id") is null.
What's wrong with me?
Best Regards,
--Cody.Zhang
2010/11/10 Matt Raible <[email protected]>
> You should be able to do something like the user list JSP does, where you
> use a different property (e.g. project name) and still link with the id.
>
> <display:column property="username" escapeXml="true" sortable="true"
> titleKey="user.username" style="width: 25%"
> url="/editUser.html?from=list" paramId="id" paramProperty="id"/>
>
> 2010/11/10 Cody Zhang <[email protected]>
>
> Hi,All
>>
>>
>> jsp:
>>
>> <display:table name="moduleSvnUrls" class="table" requestURI=""
>> id="moduleSvnUrlList" export="true" pagesize="25">
>>
>> <display:column property="id" sortable="true"
>> href="onePrjModuleSvnUrl.html"
>> paramId="prj_id" paramProperty="id" titleKey="project.id"/>
>> <!--I want to hidden this prj_id-->
>> <display:column property="prj_module_name" sortable="true"
>> titleKey="moduleSvnUrl.prj_module_name"/>
>> <display:column property="prj_module_svnurl" sortable="true"
>> titleKey="moduleSvnUrl.prj_module_svnurl"/>
>> <display:setProperty name="paging.banner.item_name" value="person"/>
>> <display:setProperty name="paging.banner.items_name" value="people"/>
>>
>> <display:setProperty name="export.excel.filename" value="Person
>> List.xls"/>
>> <display:setProperty name="export.csv.filename" value="Person
>> List.csv"/>
>> <display:setProperty name="export.pdf.filename" value="Person
>> List.pdf"/>
>> </display:table>
>>
>> Best Regards,
>> --Cody.Zhang
>>
>>
>> 在 2010年11月10日 下午3:38,Cody Zhang <[email protected]>写道:
>>
>> Hi,Matt
>>> I want hidden "prj_id",But action class
>>> request.getParameter("prj_id") always is null.
>>> In action :request.getParameter("prj_id")
>>> how to do it? example:。。。。
>>> Best Regards,
>>> --Cody.Zhang
>>>
>>
>>
>