outputConnectionStatus
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
outputConnectionStatus  XML
Forum Index -> Portals & Portlets
Author Message
boudewijn

Joined: 25/10/2007 00:00:00
Messages: 34
Offline


Hello,

as a solution to get rid of "user session expired" popups when it's really not expired, I read that I could place the outputConnectionStatus on the page.

This works fine, but has a side effect: a cancel button on the next page in the portlet doesn't work anymore. It seams the outputConnectionStatus interferes. In firebug I can see the following error:
Code:
[Exception... "Component is not available"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js :: sss_saveState :: line 1753"  data: no]
 file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
 Line 1753
 
 


I thought it might be because I only put the component on the first page of the portlet, so I also added it on the second page, with no luck.

This portlet is a synchronous one (I have 2 other portlets on the same place, one of the asynchronous); I read that in the past there's been problems with that.

Any clues to solve this issue?

Cheers, Bo
boudewijn

Joined: 25/10/2007 00:00:00
Messages: 34
Offline


Hi,

I double checked the portlet, and it was set as asynchronous in web.xml, so I changed that to synchronous.
The error remains, the text is different:
Code:
this.elementID.asElement() has no properties
 http://localhost:8080/newpetition/xmlhttp/1213957328093/icefaces-d2d.js
 Line 30


I also can see that it's not only the cancel button (with immediate="true"), but also another button. However, the upload button of the upload component DOES seem to work.

To me it seems that the portlet, by changing to another view page, lost a reference to the connectionStatus component..
boudewijn

Joined: 25/10/2007 00:00:00
Messages: 34
Offline


Hi,

I didn't solve this problem, but I DID solve the one I wanted to solve initially (=getting rid of the "user session expired" popup); it was the fault of the synchronousUpdate parameter in web.xml (should be "true")

regards, Bo
sandeepjha18

Joined: 07/11/2007 00:00:00
Messages: 6
Offline


Hi,

I also get this error:

this.elementID.asElement() has no properties

I get this when I put the <ice:outputConnectionStatus/> tag in my page.

This error comes when I change to another view page. I use ICEfaces 1.7.0 with Facelets on JSF RI 1.2

Did anyone solve this?

Thanks.
 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team