> -----Original Message----- > From: Metin Erksan [mailto:[EMAIL PROTECTED] > Sent: Friday, January 07, 2005 10:43 AM > To: user@struts.apache.org > Subject: any example struts + displaytag(export) > > > > hi > > is there anybody run struts+displaytag with export > property ? i still live problem. > and it still downloads my action.is this a reason of > jdeveloper10g ? > any help will be appreciated,-esp code snippet-
Thought I'd given this to you once, but here's one that I use: <display:table name="schoolList" id="row" pagesize="20" requestURI="/chooseSchool.do" export="true"> <display:column title="School Name" sortable="true"> <c:url value="/chooseSchool.do" var="url">> <c:param name="action" value="Continue"/> <c:param name="schoolCode" value="${row.schoolCode}"/> <c:param name="branchCode" value="${row.branchCode}"/> </c:url> <c:choose> <c:when test="${action.applicationType == 'STAF' and ( row.stafDcf == 'Y' or row.stafDcf == 'A')}"> <html:link href="${url}"><c:out value="${row.schoolName}"/></html:link> </c:when> <c:when test="${action.applicationType == 'STAF' and ! ( row.stafDcf == 'Y' or row.stafDcf == 'A')}"> <html:link href="${row.stafSpi}"><c:out value="${row.schoolName}"/></html:link> </c:when> <c:when test="${action.applicationType == 'PRIV'}"> <html:link href="${url}"><c:out value="${row.schoolName}"/></html:link> </c:when> <c:when test="${action.applicationType == 'PLSA'}"> <html:link href="${url}"><c:out value="${row.schoolName}"/></html:link> </c:when> </c:choose> </display:column> <display:column title="City, State" sortable="true" sortProperty="city"> <c:out value="${row.address}" /><br /> <c:out value="${row.city}" /> <c:out value="${row.state}" /> </display:column> <display:column title="Zip Code" sortable="true"> <c:out value="${row.zipCode}" /> </display:column> <display:column title="School Code" sortable="true"> <c:out value="${row.schoolCode}" />-<c:out value="${row.branchCode}" /> </display:column> </display:table> > > sincerely > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 250MB free storage. Do more. Manage less. > http://info.mail.yahoo.com/mail_250 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]