Hi,

I am trying to create a link with the display tag to open a new small window with the details in it. I would like to do something like this:

<display:table name="accountposition" property="accountPositions" scope="session" width="80%" pagesize="20" requestURI="result.jsp" export="true">
<display:column title="<%=laccountName%>" property="accountName" sort="true"/>
<display:column property="instrumentSeriesName" sort="true" href="javascript:openWindow(/aftertrade/PositionDetails.do?id='<%=instrumentSeriesName%>') ;" title="<%=linstrumentSeriesName%>"/>


<display:setProperty name="export.amount" value="page"/>
<display:setProperty name="export.excel.include_header" value="true"/>
<display:setProperty name="paging.banner.group_size" value="6"/>
<display:setProperty name="paging.banner.prev_label" value="<%=lback%>"/>
<display:setProperty name="paging.banner.next_label" value="<%=lforward%>"/>
<display:setProperty name="sort.behavior" value="page" />
</display:table>
The id does not get printed out, just the text <%=instrumentSeriesName%> in the openWindow function. Please help me with this as I am a novice in both java and struts :-) I have heard I can use a decorator to fix this, but I don't know how.


Another issue:
The export feature just return a java.io.IOException: Error: Attempt to clear a buffer that's already been flushed message, does anyone know what the problem is?


Thanks a lot!

Cheers,
Bard A. Evjen


------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to