This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes Unknown Tag(a4j:form and rich:panel) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Unknown Tag(a4j:form and rich:panel)" Watch "Unknown Tag(a4j:form and rich:panel)" New topic
Author

Unknown Tag(a4j:form and rich:panel)

Rajesh Challa
Greenhorn

Joined: Mar 07, 2007
Posts: 9
Hi Friends,
I am new to jsf, while doing sample program using eclispe and tomcat server facing issues
1. In the eclispe getting warning UnknowTag(A4j:from and rich:panel)
2. if i run the application command button is not displaying
Please see the below code and let me know whats the wrong i did.

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
</ui:composition>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

<!-- RichFaces tag library declaration -->

<html>
<head>
<title>RichFaces Greeter</title>
</head>
<body>
<f:view>
<a4j:form>
<rich:panel header="RichFaces Greeter" style="width: 315px">
<hutputText value="Your name: " />
<h:inputText value="#{user.name}" >
<f:validateLength minimum="1" maximum="4" />
</h:inputText>

<a4j:commandButton value="Get greeting" reRender="greeting" />
<h:panelGroup id="greeting" >
<hutputText value="Hello, " rendered="#{not empty user.name}" />
<hutputText value="#{user.name}" />
<hutputText value="!" rendered="#{not empty user.name}" />
</h:panelGroup>
</rich:panel>
</a4j:form>
</f:view>
</body>
</html>



Thanks
Rajesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unknown Tag(a4j:form and rich:panel)
 
Similar Threads
Backing Bean Behaviour on MyFaces using A4J
Problem regarding the ValueChangeEvent and the commandButton
RichFaces with TabPanel and selectOneMenu not change the tab
Richfaces Scrollable Datatable with filtermethod not working
STATE_SAVING_METHOD=server doesn't work but set to client it works