• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF CommandButton not submitting second time

 
mohanavalli ilangovan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20817
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the JSF forum.
 
Mohan Sridharan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>>>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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!