File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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)