Messages posted by: ggingras  XML
Profile for ggingras -> Messages posted by ggingras [8]
Author Message
I have the same problem, did you fix it?
Yes, I have this on a live deployment. If it is because the users browse away from ICEfaces should'nt it be at a higher level then ERROR (info, debug)? Printing the stacktrace too seems irrelevant.

I'm getting the following error a lot but I can't figure out why:

 17:04:21,257 ERROR [ByteBufferInputStream] An I/O error occurred while reading from the socket channel!
 	at sun.nio.ch.SocketChannelImpl.ensureReadOpen(SocketChannelImpl.java:113)
 	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:156)
 	at com.icesoft.faces.async.server.nio.ByteBufferInputStream.read(ByteBufferInputStream.java:219)
 	at com.icesoft.faces.async.server.nio.ByteBufferInputStream.read(ByteBufferInputStream.java:186)
 	at java.io.InputStream.read(InputStream.java:85)
 	at com.icesoft.faces.async.server.nio.ByteBufferInputStream.read(ByteBufferInputStream.java:121)
 	at com.icesoft.faces.async.server.AbstractHttpConnection$WrapperInputStream.read(AbstractHttpConnection.java:224)
 	at com.icesoft.faces.async.server.ReadHandler.run(ReadHandler.java:131)
 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
 	at java.lang.Thread.run(Thread.java:619)

I'm using ICEFaces 1.7.2 SP1, Jboss 4.2.3 and my jboss is behind an apache 2.2 with mod_proxy.

Can you explain why this happens and if this can be an issue with my application?

Here is the scenario:

- There is a datatable which is scrollable in the page.
- The user scroll down the table and select one row.
- A new item is added to the datamodel of the datatable and a push is called server side.
- The scrolling of the datatable is reset to the top of the datatable and the can not see the selected row.

Is there a way to stop this behavior? Or even better, is there a way to set the scroll position of the datatable to let the user see the selected row?

Got the same problem. Any solution yet?

I'm using 1.7.2 SP1
It would be great, we need this too!
I had the same exact problem when using IceFaces 1.7.1 and JBoss 4.2.3. I spent one day trying everything and then I saw your post.

My context root was Something/MyApp. Changing it to MyApp solved the problem.

Thanks a lot!

I was wondering if it would be possible to change the content of the dragged panelGroup.

In example, you want to drag a panelGroup that contains text but when you drag it, it would be an image instead or a more detailed text.

<ice:panelGroup id="#{task.id}" draggable="true" dragOptions="dragGhost" dragValue="#{task}" dragListener="#{taskProcessor.assignTask}" dragMask="dragging, hover_end, drag_cancel">
   <ice:outputText value="#{task.name}" />

And while dragged instead of only viewing the task, you can see a box with the date created, the owner, etc.

I have tried to do it with the UIComponent inside a DragEvent. But it changes the original UIComponent instead of the one that is being dragged. Is it possible?

Profile for ggingras -> Messages posted by ggingras [8]
Go to:   
Powered by JForum 2.1.7ice © JForum Team