• How to get this working on an <xe:dialog> ?

    By Kim Acket 4 years ago

    Is it possible to get this working on an xe:dialog?
    Could you provide me with some sample code on that?

    Example of what I'm trying to achieve…

    <xc:ccResizablePanel styleClassToResize=“jqueryResizeMe”

                        disabled="false" animate="false" animateDuration="500"
                        aspectRatio="false" autoHide="true" delay="0" distance="0"
                        ghost="false" minHeight="300" minWidth="650" maxHeight="600"
                        maxWidth="1000">
    
            </xc:ccResizablePanel>
    

    <xe:dialog

        id="dialogIframe"
        style="height:auto;width:auto"
        styleClass="jqueryResizeMe"
        disableTheme="false">
        <xe:this.title><![CDATA[#{javascript:return "Dialog Message";<span style="line-height: 1.42857143;">}]]></xe:this.title></span>
    
                    <xp:panel
                        tagName="iframe"
                        id="iFrameContent"
                        style="height:600.0px;width:800.0px"
                        styleClass="jqueryResizeMe"
                        disableTheme="false"
                        outerStyleClass="jqueryResizeMe">
                        <xp:this.attrs>
                            <xp:attr name="src">
                                <xp:this.value><![CDATA[#{javascript: try{
    

    return “http://…/../xpage.xsp”
    }catch(e){

    print(e.toString());
    

    }
    }]]>

                            </xp:attr>
                        </xp:this.attrs>
                    </xp:panel>
    </xe:dialog>