Hybrid View

  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    1
    Vote Rating
    0
    papaz1 is on a distinguished road

      0  

    Default Open a new browser window with extj component in it

    Open a new browser window with extj component in it


    Hi,

    I've tried searching for the answer but I need some help with the connecting the dots.

    Using javascript I can open a new browser window by window.open(URL)

    Now I have a Ext.Window in my application which in turn contains charts. The client wants the Ext.Window with the charts not to open in the same browser but in a different browser window.

    So I'm looking for coding help or tips to how to achieve the following:
    window.open(new Ext.Window(...........))

    Thanks for all the help!

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,267
    Vote Rating
    81
    ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough

      0  

    Default


    Window.open not elegant but works.
    Write an HTML file which load extjs and your classes then open it.
    Look for Ext.on ready and Ext.AbstractComponent.renderTo.

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

Thread Participants: 1

Tags for this Thread