Forums Register Login

Unknown Tag(a4j:form and rich:panel)

+Pie Number of slices to send: Send
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">
<h:outputText 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" >
<h:outputText value="Hello, " rendered="#{not empty user.name}" />
<h:outputText value="#{user.name}" />
<h:outputText value="!" rendered="#{not empty user.name}" />
</h:panelGroup>
</rich:panel>
</a4j:form>
</f:view>
</body>
</html>



Thanks
Rajesh
Attractive, successful people love this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 3156 times.
Similar Threads
RichFaces with TabPanel and selectOneMenu not change the tab
STATE_SAVING_METHOD=server doesn't work but set to client it works
Richfaces Scrollable Datatable with filtermethod not working
Problem regarding the ValueChangeEvent and the commandButton
Backing Bean Behaviour on MyFaces using A4J
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:25:17.