indra sen

Greenhorn
+ Follow
since Jun 08, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by indra sen

I implemented richfaces rich:extendedDataTable. Now when i select a row , i want to show details of selected row.

how can i implement that?

I saw example of selection="#{extendedTableBean.selection}".But what does selection means ? how i can define in managed bean .Any example will be appreciated.

Thanks in advance....
8 years ago
JSF
DEBUG ! execute(com.sun.faces.context.FacesContextImpl@c535fc)
DEBUG ! phase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@c535fc)
DEBUG ! Entering RestoreViewPhase
DEBUG ! servletPath /faces
DEBUG ! pathInfo /applications/MyJSF.jsp
DEBUG ! URL pattern of the FacesServlet executing the current request /faces
DEBUG ! Begin restoring view from response /applications/MyJSF.jsp
DEBUG ! Possibly a new request. Tree structure could not be restored for /applications/Claims.jsp
DEBUG ! End restoring view from response /applications/MyJSF.jsp
DEBUG ! New request: creating a view for /applications/MyJSF.jsp
DEBUG ! Created new view for /applications/MyJSF.jsp
DEBUG ! get defaultLocale en_US
DEBUG ! Locale for this view as determined by calculateLocale en_US
DEBUG ! RenderKitId for this view as determined by calculateRenderKitId HTML_BASIC
DEBUG ! Exiting RestoreViewPhase
DEBUG ! Skipping rest of execute() because of a reload
DEBUG ! render(com.sun.faces.context.FacesContextImpl@c535fc)
DEBUG ! phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@c535fc)
DEBUG ! Entering RenderResponsePhase
DEBUG ! About to render view /applications/MyJSF.jsp
DEBUG ! About to render view /applications/MyJSF.jsp
DEBUG ! URL pattern of the FacesServlet executing the current request /faces
DEBUG ! Found no URL patterns mapping to FacesServlet


I am getting this error
Found no URL patterns mapping to FacesServlet
Can any body help me ,
Thanks in advance....
10 years ago
JSF
we have a servlet,which acts as a controller,and forward request to action depending on action name(command pattern).
action class we instantiate at the start of the server,and store in hashmap.
My question is if multiple reuest comes to same action at the same time what will happen?
it will go on queue and request executed one by one or it will execute parallaly.
Thanks in advance.
we have a servlet,which acts as a controller,and forward request to action depending on action name(command pattern).
action class we instantiate at the start of the server,and store in hashmap.
My question is if multiple reuest comes to same action at the same time what will happen?
it will go on queue and request executed one by one or it will execute parallaly.
Thanks in advance.
10 years ago
i am submitting a request in a form,which has comments input box.
When i write Euro character ,it is converting to ? ,when i am doing request.getParameter in servlet.
any help,
thanks in advance...
10 years ago
Thanks for lots of good thoughs.
If state saving in client then hidden field stores lots of state info,which is passed evertime with a submit.
which is not a good design i think.
so if memory is not issue in server then we should go for it.
Thanks....
10 years ago
JSF
In Restore view stage of JSF lifecycle view ID is used to look up the components for the current view.
FacesContext object contains all the state information JSF needs to manage the GUI component's state for the current request in the current session.
So context keeps all the state information for the view.
So if my application has lots of pages,so faces context can be overloaded with state information ,lots of memory occupied and ultimately it can lead to server crash.
Can any body throw light on it.
Thanks in advance...
10 years ago
JSF
<h:inputText id="RegisterDate" styleClass="clTxt" value="#{ClaimsData.registerDate}" size="7">
<f:convertDateTime pattern="MM/dd/yyyy" type="date"/>
</h:inputText>

When i update the form with these value,my managed bean
setRegisterDate(Date args)
is not getting populated.It is not showing any error message also.
Ant help will be appreciated...
10 years ago
JSF
I have populated JSF select one menu this way
<h:selectOneMenu id="selectOneCar"
value="#{carBean.currentCar}">
<f:selectItems
value="#{carBean.carList}" />.
But problem is that ,everytime page load by calling a action in backend end like validate or update,combo also reloads .
it decreases performance.
Is there any way in JSF ,by which i can cache combo once it is populated.
Thanks in advance...
10 years ago
JSF
I want to use selectOneMenu in our page.
like
<h:selectOneMenu id="selectOneCar"
value="#{carBean.currentCar}">
<f:selectItems
value="#{carBean.carList}" />
</h:selectOneMenu>
But i want to make combo on javascript and instead of doing
value="#{carBean.carList}"
i want to do innerHTML in selectOneCar element of document and populate it onload of page.
Is it possible.
Thanks in advance.
10 years ago
JSF
From a locate Screen ,i am opening a Modeless window
and loading emp.html page and onload i am
setting action='/faces/emp.jsp' to load JSF page there.
My problem is that i want to pass empleoyee fk to backend bean before to retrieve emp data to show those data in emp.jsp JSF page.
i tried with
action='/faces/emp.jsp?empFK=value'
but it does not work.
Any body can help.
Thanks in advance....
10 years ago
JSF
When i am trying to invoke my face jsp page from my login servlet ,means generating JSF view from non JSF request i am getting this error

07/08/10 12:08:17 processing jsf fcFactory com.sun.faces.context.FacesContextFactoryImpl@127344

DEBUG ! Created new view for /Register.jsp

DEBUG ! get defaultLocale en_US

DEBUG ! Locale for this view as determined by calculateLocale en_US

DEBUG ! RenderKitId for this view as determined by calculateRenderKitId HTML_BASIC

DEBUG ! render(com.sun.faces.context.FacesContextImpl@121b0d8)

DEBUG ! phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@121b0d8)

DEBUG ! Entering RenderResponsePhase

DEBUG ! About to render view /Register.jsp

DEBUG ! About to render view /Register.jsp

DEBUG ! servletPath /servlet/Login

DEBUG ! pathInfo null

DEBUG ! Using default mapping extension null

WARN ! Unable to determine FaceServlet mapping for servlet path '/servlet/Login'.

DEBUG ! URL pattern of the FacesServlet executing the current request null

DEBUG ! Found no URL patterns mapping to FacesServlet
----------------------------------------------------------------------
In the html it is showing error that

"Current application deployment descriptor does not allow to include it in the response."
Any help will be appreciated.
Thanks in advance....
10 years ago
JSF
When i am trying to run jsf page in oracle 10g app server i am getting this error

2007-08-09 11:52:20.754 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exceptionracle.jsp.parse.JspParseException: /Register.jsp: Line # 4, <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>

I have put these files in lib

jsf-impl.jar

jsf-api.jar

Can any one help me,
Thanks In advance..
10 years ago
JSF
I want to implement JSF and EJB3 in Oracle 10G (10.1.3)Application Server.
what .jar files required to do that ,and in which folders i will put those files.
Thanks in advance...
10 years ago
I have to generate JSF view from non JSF request.
Requirement is like that first it will go to another servlet ,will do some processing like session id ,security and then it will generate JSF view.
Any idea about it,
Thanks in advance,
10 years ago
JSF