×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Aaron Bartell wrote:
The things I learned to dislike are when I needed to step slightly out of
the box that JSF created. For example, I dislike the limitations of not
being able to embed other HTML without tags like <dataTable> without using
the <verbatim> tag.
I'm not sure I understand this. I've never had a problem. Here's an example:

<hx:jspPanel rendered="#{EditProfile.showCart}">
<table class="Widget" width="100%" cellspacing="0" cellpadding="2">
<tr>
<th>Shopping Cart</th>
</tr>
<tr>
<td><h:outputText value="#{EditProfile.cart.status}" /><br>
<a href="ShowCart.faces">Show Cart</a><br>
</td>
</tr>
</table>
</hx:jspPanel>


This is a simple widget that shows a shopping cart status. The widget itself is conditionally displayed based on the boolean value "showCart". If it is shown, I create a table using standard HTML and then I show the status of the cart using another JSF tag. I also show a link to the View Cart page.

This sort of mix and match works fine for me. Where do you have problems?

Joe

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.