|
Andrew, all popups are centered and modal. I use a hidden button to
trigger them. Actually there is just one popup, located inside the (single) form on the application page. I just replace panel contents by means of facelets ui:include. Things such as: <tr:document ... xmlns:tr="http://myfaces.apache.org/trinidad" > <h:form id="browser"> <script type="text/_javascript_" src=""></script> ... <cx:modalt bean="#{modaltBean}" container="browser:"/> </h:form> </tr:document> where the included modal component is: <ui:component> <c:if test="#{bean.visible}"> <tr:panelPopup id="modal" alignment="center" modal="true"> <f:facet name="trigger"> <tr:commandButton id="modalTrigger" text="d" inlineStyle="visibility: hidden" /> </f:facet> <cx:include src="" bean="#{bean.componentBean}" container="#{container}"/> </tr:panelPopup> </c:if> </ui:component> Browser behavior is: - IE 6/7: vertical position/height are ok. The right border always matches the right window border. The left border is somewhere in left half window. - FF 2.0: height ok. Top=0, left=0, width = full window. I can debug what the renderer is doing wrong, just let me know where to start. -- Renzo Andrew Robinson wrote: There were _javascript_ changes to this popup. Could you be more exact with the problem?Where is the popup showing in relation to the center of the screen (modal dialogs should be centered)? Where is the form that the dialog appears in, in relation to the screen? Is the location exactly the same in IE 6/7 and FF 2? Is there any scrolling on the HTML, BODY or FORM elements? Thanks, Andrew On 10/29/07, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: |
- [Trinidad] bad position/size of tr:panelPopup after moving... Renzo Tomaselli
- Re: [Trinidad] bad position/size of tr:panelPopup aft... Andrew Robinson
- Re: [Trinidad] bad position/size of tr:panelPopup... Renzo Tomaselli
- Re: [Trinidad] bad position/size of tr:panelPopup... Renzo Tomaselli
- Re: [Trinidad] bad position/size of tr:panelP... Andrew Robinson
- Re: [Trinidad] bad position/size of tr:pa... Renzo Tomaselli
- Re: [Trinidad] bad position/size of ... Andrew Robinson
- Re: [Trinidad] bad position/size... Renzo Tomaselli
- Re: [Trinidad] bad position/... Andrew Robinson
- Re: [Trinidad] bad position/... Renzo Tomaselli
- Re: [Trinidad] bad position/... Renzo Tomaselli

