Replacement of <hx:jspPanel id> tag

I want to hide a datatable at the time of rendering

This datatable will be only visible if we have some data in it.

so for implimenting this i tried to use <hx:jspPanel id="jspPanel1" >

tag but trinidad dosn't support this tag

can u guide me to some other tag as replacement for this for my requirement

Thanks

[354 byte] By [Anuj_Sa] at [2007-11-27 8:12:22]
# 1
You could use the rendered attribute on the dataTable tag. If you use Tomahawk, there is a renderIfEmpty attribute.
RaymondDeCampoa at 2007-7-12 19:56:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

The trinidad table tr:table supports two features you should be able to use

1. attribute rendered = true/false which will show/hide the table

2. attributre emptyText = "Text to be shown if the table is empty"

hx:jspPanel is an IBM JSF component tag. It has nothing to do with Trinidad. You might ask IBM why it is not working. According to IBM's documentation it should support the attribute rendered.

smurray_eriea at 2007-7-12 19:56:44 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...