| Author |
JSF CommandButton not submitting second time
|
mohanavalli ilangovan
Greenhorn
Joined: Aug 02, 2009
Posts: 2
|
|
Hi All,
We developed entire project by extending facesgenericportlet, but while client is using they are extending facesportlet. Here is problem, my code works fine with facesgenericportlet when it comes to facesportlet , first click is performing, second click is not performing. We are using h:commandbutton and we use many javascript for rendering/show,hide div tag.
And its working fine in firefox its failing only in IE. Please advise me.
Regards,
Mohana
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Moving to the JSF forum.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Mohan Sridharan
Greenhorn
Joined: Dec 17, 2005
Posts: 4
|
|
Hi Mohana,
Can you be a bit more clearer on what you are trying to accomplish. From your post, the following is what I understand
1. You are on Websphere Portal Server
2. You are using JSF within your Portlets.
Not sure what functionality you are trying to accomplish.
thanks
Mohan
|
 |
Mathew Lee
Ranch Hand
Joined: Jun 08, 2009
Posts: 238
|
|
>>>And its working fine in firefox its failing only in IE. Please advise me.
Please check if there is some scripts etc disabled for IE
|
 |
mohanavalli ilangovan
Greenhorn
Joined: Aug 02, 2009
Posts: 2
|
|
We have lot of jsps and UI elements under single form. If it is PortletFacesContextFactoryImpl(<faces-context-factory>) and FacesGenericPortlet its working fine. If we change to AjaxFacesContextFactory(<faces-context-factory>) and FacesPortlet, second time any action is not happening. We are using jsf-portletbridge.jar for AjaxFacesContextFactory.
This issue is solved if we use more <h:form>. But, since it is performance issue we are looking for alternative solution.
We are using Websphere Portal v5.1 test environment and using JSF within portlets.
It should not be any javascript problem since it is working fine with FacesGerericPortlet. And its working fine with more <h:form>
|
 |
 |
|
|
subject: JSF CommandButton not submitting second time
|
|
|