Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...If I'd only had resource like eng-tips when I was just getting started! I might have dazzled them with my brilliance instead of my BS..."

Geography

Where in the world do Tek-Tips members come from?

Using RichFaces for web project

Exie (Programmer)
16 Mar 09 2:54
Hi,

I have a small app and would like to use Rich Faces to boost up the UI a bit. I found this component here:
http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/extendedDataTable.html

And used this code here:

CODE

    <f:view>
        <ui:composition mlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich">
        
            <h:form>
                <h:panelGrid columns="2" columnClasses="top,top">

                    <rich:extendedDataTable value="#{forecastBean.forecastExtractList}"
                                            var="fcastTbl"
                                            id="table"
                                            width="580px"
                                            height="400px">
                        <rich:column sortable="false" label="Flag">  
                            <f:facet name="header">
                                <h:outputText value="Flag"/>
                            </f:facet>

                             <h:graphicImage value="#{fcastTbl.productId}"/>

                        </rich:column>
                    </rich:extendedDataTable>
                </h:panelGrid>
            </h:form>
        </ui:composition>
    </f:view>

My problem is I get an error about referencing my bean with #{forecastBean.forecastExtractList}

I can access this bean fine using standard JSF HTML tag library.

What am I doing wrong ?
Exie (Programmer)
16 Mar 09 18:00
Sorry, to clarify the above question... this is the error I get:

org.apache.jasper.JasperException: /list.jsp(40,38) PWC6228: #{...} not allowed in a template text body.

I'm not sure what this means....

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close