Hey All,I think I know the answer to this, but I'd like to get confirmation.I have a 'desktop-like' page with icons that users click on to open new windows. These windows are more than popup windows, they are full-blown pages with tabbed interfaces, etc. I'm currently under the impression that I
If you have a look at Jenia4Faces, there is a popup library that is
meant to integrate child windows into the JSF framework. You may want
to have a look to see if that fits your needs. If you are concerned
about multiple windows interfering with each other in a server saved
state you may also want
Hey Andrew, Thanks for the response, (jenia looks interesting) but my current problem space is more basic. I'm mainly concerned with the mechanics of opening a 'new' browser window. Once the window is open it is largely independent - in the sense that it no longer needs to communicate with the
Any of these should work:
h:outputLink target=_new value=urlh:outputText
value=text/h:outputLink
h:commandLink target=_new value=link name/
h:commandButton target=_new value=button text type=submit/
I am not sure what output the target creates. If it uses target then
beware of XHTML strict as
After reading your email, I checked the documentation and see no reference to a target attrib for the h:commandButton... but my question is specifically about using the jsf navigation mechanism (ie. faces-config.xml
). As I stated, I can open a new window using other methods.Here's a statement to
That is correct. The navigation just says where and if it should be a
redirect or not, it will output the content on the current stream.
There is no way that the server can target a new window for example
(without javascript in the onload). The browser must open a new
window, then load a given URL
Ok... thanks Andrew. Your response makes sense.BobbyP.S. The documentation that I was referring to can be found here:http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/tlddocs/
P.S.S. I checked the documentation that you were referencing and it actually states the following for the target attrib
7 matches
Mail list logo