Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Call jsp:DataTable with jsp:param?

25112Oct 24 2002
Hi,

I want to customize the DataTableComponent.jsp page to render the rowset of a ViewObject without some specified columns. jsp:AttributeIterate provides the perfect attribute 'hideattributes'. I have only to set the value of that attribute.

My question is: How can I use the DataTable Tag to call my customized DataTableComponent_hideAttr.jsp?
My hack looks like that:
<%
RequestParameters rp= HtmlServices.getRequestParameters(pageContext);
rp.addParameter("hideattributes", "Deptno1, Loc");
%>
<jbo:DataTable datasource="ds" relativeUrlPath="DataTableComponent_hideAttr.jsp" />

It is very inconveniently to do it like that.

Unfortunately, jsp:param does not work:
<jbo:DataTable datasource="ds" relativeUrlPath="DataTableComponent_hideAttr.jsp" >
<jsp:param name="hideattributes" value="Deptno1" />
<jbo:DataTable>

Do you have another solution?
Please post your comments.

Thanx,
Markus
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 21 2002
Added on Oct 24 2002
1 comment
146 views