This content has been marked as final.
Show 7 replies
-
1. Re: ModalPanel question?
sergeysmirnov Jun 12, 2008 12:33 PM (in response to lgweb)Did you read the documentation?
-
2. Re: ModalPanel question?
lgweb Jun 12, 2008 12:41 PM (in response to lgweb)
Yes I looked at documentation and saw the property and put the property top = "center-left" in fact not know which values the property accepts top :( .
thanks. -
3. Re: ModalPanel question?
sergeysmirnov Jun 12, 2008 12:57 PM (in response to lgweb)why not top="0" ?
-
4. Re: ModalPanel question?
lgweb Jun 12, 2008 1:25 PM (in response to lgweb)Modalpanel this with my top and left = 1 ,
see this as being presented the ModalPanel:
http://www.4shared.com/file/51074631/da88d305/Sergey.html? -
5. Re: ModalPanel question?
sergeysmirnov Jun 12, 2008 1:32 PM (in response to lgweb)if you have a FireBug, look at the top level tag of the modal panel. It should be something like:
<div id="........" class="dr-mpnl-panel rich-mpnl_panel" style=".......">
What is inside the style? -
6. Re: ModalPanel question?
lgweb Jun 12, 2008 2:16 PM (in response to lgweb)my ModalPanel defined this way:
<rich:modalPanel id="loadCliente" autosized="true" top="1" left="1"> <f:facet name="header"> <h:outputLabel value="#{msg.cadastrarcliente}"/> </f:facet> <f:facet name="controls"> <h:graphicImage value="/images/BOTOES/cancel.png" width="20" height="20"styleClass="imagem" style="cursor:pointer" onclick="Richfaces.hideModalPanel('loadCliente')" /> </f:facet> <center> <c:import url="/view/cliente/modal.jsp"></c:import> </center> </rich:modalPanel>
inside it has a <c:import.........> it is the content of the panel, in this case the content within a (<f:subview>) will be that this is what is causing this unwanted effect ? -
7. Re: ModalPanel question?
lgweb Jun 12, 2008 3:06 PM (in response to lgweb)sergey solved the problem was a lack of small lack of attention on my part was calling the modal panel thus:
oncomplete = "Richfaces.showModalPanel ( 'loadCliente' (width: 450, top: 200))"
Thank you for your help and forgive me for the lack of attention.
hugs.