gunjan bohra

Ranch Hand
+ Follow
since Mar 24, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by gunjan bohra

Upon core JSF specification ...there are lots of libraries ..some of them are paid and some of them are open source ....like ICEFaces is paid and myfaces is open source (from apache)...IceFaces support AJAX support in his component ...
16 years ago
JSF
You can simply done through <navigation-rule> tag in faces-config.xml ...
Mentioned the rule do your work ...enjoy
16 years ago
JSF
Many Thanks for your information..
16 years ago
JSF
you can browse the given link with Resources at the end of the given link's page
http://www.javaworld.com/javaworld/jw-12-2004/jw-1213-jsf.html?page=2
16 years ago
JSF
I want ot display Datatable dynamically in Popup window .
How can I do that ...
Please help
17 years ago
JSF
Hi
I want to use sitemesh with myfaces the problem I got is blank page when executing ...
First I got that sitemesh is not compatable for JSF so I got work around for that .
Now I am using Myfaces and I got blank page ...although I remove all filter I got blank page .....
Is it problem be solved my any one ....
With Thanks
17 years ago
JSF
I am trying to user sitemesh with JSF,
Decorator JSP is as follow
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="page"%>


<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<page:applyDecorator page="/jsp/decorator/header.jsp" name="panel" title="menu"/>
</td>
</tr>
<tr>
<td>
<decorator:body/>
</td>
</tr>
</table>

and header.jsp is as follow


<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
<table>
<tr>
<td>
<h:outputText id="userName" value="Test Value"/>
</td>
</tr>
</table>
</f:view>

my faces servlet mapping and sitemesh mappings are as follow (in web.xml)


<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<filter-mapping>


<filter-name>sitemesh</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

If I want to put <f:view > tag in decorator file ....
It's giving me error .
java.lang.NullPointerException
javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:929)
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:310)

Please help
17 years ago
JSF
How Can I do Keyboard navigation in <h:dataTable> tag !!!

I want my record in dataTable can be navigate from keybord navigation key .....like I want I can navigate on record from top to bottom .....like in EXCEL sheet record ...and once I press enter IT's open for Edit...and when I press DELETE key it should be deleted from datatable .

IS it's possible in current version of JSF or I have to customize dataTable tag....

Is it possible with out write JAVASCRIPT code ?

Thanks
17 years ago
JSF
How Can I do Keyboard navigation in <h:dataTable> tag !!!

I want my record can me navigation from keybord navigation key .....
IS it's possible in current version of JSF or I have to customize dataTable tag....

Is it possible with out write JAVASCRIPT code ....

Thanks
17 years ago
JSF
Hi All
I want to start my application ...
First question is which server I have to use ?
Oc4j is free so I am intresting comparision with OC4j.
Can any body send me link or Detail where I can found Server comparision
list available.

With Thanks
Gunjan Bohra
18 years ago
Can you provide me some good url on
JSF with Hibernate .

Actually I would not make relation between faces-config.xml and hiibernate.cfg.xml file
i.e. How my JSF Code know that it should use Hibernate .
With Thanks
Gunjan
18 years ago
JSF
Hi
When I try to run my JSF program .
Following error comes
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsf/demo/components cannot be resolved in either web.xml or the jar files deployed with this application
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)

Root cause :
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsf/demo/components cannot be resolved in either web.xml or the jar files deployed with this application
18 years ago
JSF
If you have already JDK1.4 in your class path .
Any Problem is still coming !!!
For Fixed This problem using following URL:
http://ryandaigle.com/pebble/2005/01/27/1106856324774.html

Enjoy
18 years ago
JSF
Hi
Actually HibernatePlugin class is in com.exam.util package in classes folder of WEB-INF dir.
I have given path ../xml/hibernate.cfg.xml.
Now it's working file .
But logically I feel that is not right way !!
Is it So!!!
If yes how can it possible .
Because upto web-inf dir it's default path
IT's not working when I gives /xml/Hibernate.cfg.xml.
Thanks for your reply
With Best
Hi
Actually HibernatePlugin class is in com.exam.util package in classes folder of WEB-INF dir.
I have given path ../xml/hibernate.cfg.xml.
Now it's working file .
But logically I feel that is not right way !!
Is it So!!!
If yes how can it possible .
Because upto web-inf dir it's default path
IT's not working when I gives /xml/Hibernate.cfg.xml.
Thanks for your reply
With Best