Hi !
I'm using myfaces-1.2.0, trinidad-1.2.1, facelets-1.1.12 and Tomcat-6.0.
The following code should pop a new browser window unless flag
"org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS" is set to true in
web.xml; instead, it is using a modal iframe and hovering over the
existing page. That is happening despite the value of flag
"org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS". I'd like the
application to pop a new browser window. Facelets seems to be the problem
since the Trinidad demo is behaving correctly. My browser (firefox) is
configured to open a new window for popups. Here is an example :
<tr:commandLink id="id_selectColumns"
text="some text"
partialSubmit="true"
action="dialog.column.select"
useWindow="true"
windowWidth="250"
windowHeight="250" />
Action "dialog.column.select" results in the following code (an xhtml
file) being executed :
<tr:document
xmlns:f="http://java.sun.com/jsf/core"
xmlns:tr="http://myfaces.apache.org/trinidad"
xmlns:trh="http://myfaces.apache.org/trinidad/html"
template="/WEB-INF/format/dialogLayout.xhtml" >
<f:loadBundle basename="application" var="bundle"/>
<tr:form id="sf_selectColumn">
<trh:tableLayout borderWidth="1" halign="center">
<trh:rowLayout>
<trh:cellFormat styleClass="center">
<tr:selectOrderShuttle id="id_column_selector"
leadingHeader="#{bundle['dialog.available_columns']}"
trailingHeader="#{bundle['dialog.selected_columns']}"
value="#{pageFlowScope.dialogBackingBean.listOfSelectedProperties}">
<f:selectItems
value="#{pageFlowScope.dialogBackingBean.listOfSelectableProperties}"
/>
</tr:selectOrderShuttle>
</trh:cellFormat>
</trh:rowLayout>
<trh:rowLayout>
<trh:cellFormat styleClass="center">
<tr:commandButton
text="#{bundle['button.submit']}"
action="#{pageFlowScope.dialogBackingBean.navigationRuleHandler}"
/>
</tr:commandButton>
</trh:cellFormat>
</trh:rowLayout>
</trh:tableLayout>
</tr:form>
</tr:document>
Any idea why I can't get a new browser window ? Thanks in advance.
--
Edmond/