voyent
Icefaces, Seam, panelTabSet, iframe  XML
Forum Index -> JBoss Seam Integration
Author Message
jerome

Joined: 14/Nov/2006 00:00:00
Messages: 16
Offline


Hello,

I am using Icefaces 1.5 (with support for Seam) and Seam 1.1 CR1.

In order to support navigation rules and page flows inside a panelTabSet and support Seam conversations, would it be possible to use an iframe to render content in each tab ?

Like in the component showcase demo with the dynamic tab panel, but using an ice:outputText to render an iframe ?

Regards,
Jerome.

PS: I tried to use an <object> tag to conform to strict xhtml but that did not work inside a panelTab.



jerome

Joined: 14/Nov/2006 00:00:00
Messages: 16
Offline


Hello,

Do you have any idea ?

I'd like to keep navigation rules, and possibly page flows, but how could I do that with Icefaces ? in a PanelTabSet ?

I really need an idea.

Regards,
Jerome.
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi Jerome,

You can display an iframe through an <ice:outputText>. You could try something like this:

I'm attaching the code as the forum software keeps rendering the html encodings.

Thanks,
Philip
 Filename outputTextIframe.txt [Disk] Download
 Description
 Filesize 91 bytes
 Downloaded:  791 time(s)


.
jerome

Joined: 14/Nov/2006 00:00:00
Messages: 16
Offline


Hi Philip,

Thank you but I had already tried that.

The problem here is that when I select another tab and then come back to the tab containing the iframe, its content is always refreshed: I lose the current view and I am sent back to the initial iframe view.

Is there a way to maintain iframe content ?

Basically, I'd like to use navigation rules inside a panelTab while maintaining Seam conversations. Using an iframe would allow me to achieve to some kind of dynamic includes for page subviews.

Regards,
Jerome.

philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi Jerome,

In a non-Seam icefaces context the iframes being refreshed is expected behaviour. As you have to set concurrentDOMViews to true and use request scoped beans to have multiple views of the same page. Every time you change a tab the iframe is refreshed.

In a Seam context with conversations I think this should work, but perhaps I don't know enough about Seam. I'm getting 'conversation not started' exceptions when trying to change tabs. I'm using the Seam 1.1 nightly build.

Thanks,
Philip
 Filename forum-2916.zip [Disk] Download
 Description
 Filesize 26 Kbytes
 Downloaded:  621 time(s)


.
 
Forum Index -> JBoss Seam Integration
Go to:   
Powered by JForum 2.1.7ice © JForum Team