1. #1
    Sencha User
    Join Date
    Sep 2010
    Location
    Germany
    Posts
    70
    Vote Rating
    0
    robertdbuckley is on a distinguished road

      0  

    Default 2 Easy questions

    2 Easy questions


    Hi,

    I´m still pretty new to extjs and would like to clear up a couple of things.

    1. I have a viewport consisting of a few panels. In one panel I want to display some text with an html table. I have the div written in my <html> <body> and assign the id to the contentEl: config in the panel. This works ok, but the text can be seen behind the viewport where the "split" divider is. This is obviously an error on my part, but how can I solve it?

    2. my viewport is not rendered by firefox 4. Is this a known issue?

    Thanks for the help,

    Robert

  2. #2
    Sencha User fay's Avatar
    Join Date
    Apr 2007
    Location
    Ireland
    Posts
    1,750
    Vote Rating
    9
    fay will become famous soon enough fay will become famous soon enough

      0  

    Default


    1. Impossible to say without seeing some code.
    2. ^^

    Can you post a working showcase of this?

    Btw, it's always better to give your post a meaningful title, or it'll likely get ignored.

    See: http://www.sencha.com/learn/Ext_Forum_Help

  3. #3
    Sencha User
    Join Date
    Sep 2010
    Location
    Germany
    Posts
    70
    Vote Rating
    0
    robertdbuckley is on a distinguished road

      0  

    Default


    Sorry for being vague....

    here is the code for my panel...

    var downloadPanel = new Ext.TabPanel({
    id:'Download',
    title:'Datacenter',
    iconCls: "icon-download",
    region:'south',
    height: 80,
    activeTab: 0,
    autoScroll: true,
    stateId:'TabPanel',
    contentEl: 'data'
    });


    this is my html body...

    <body>
    <div id="data" class="data">
    <p><b>Willkommen zum Data Center</b></p><br>
    <p></p>
    <p>Bevor Sie die Daten herunterladen, schauen Sie zur Kontrolle, die Daten an mittels des Vorschaufensters.</p>
    <br><br>
    <div class="center">
    <table cellspacing="0" id="datacenter-table" name="datacenter-table">
    <thead>

    <tr style="background:#eeeeee;">
    <th style="width: 160px;">DATA SET</th>
    <th>METADATA</th>
    <th>PREVIEW</th>
    <th>SHAPEFILE</th>
    <th style="width: 60px;">KMZ</th>
    <th style="width: 60px;">KML</th>
    <th style="width: 60px;">WMS</th>
    <th style="width: 60px;">WFS</th>
    </tr>
    </thead>
    <tbody>
    <tr>

    <td>wea_wgs84</td>
    <td><a href="http://maps.zgb.de:8080/catalogueManager/service=csw&version=2.0.2&request=GetRecords_title&title=wea_wgs84" target="_blank">Metadata</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=zgb:wea_wgs84&styles=&bbox=10.0,51.266,11.059,52.77&width=360&height=512&srs=EPSG:4326&format=application/openlayers" target="_blank">Vorshau</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=zgb:wea_wgs84&maxFeatures=50&outputFormat=SHAPE-ZIP" target="_blank">Shapefile</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=zgb:wea_wgs84&maxFeatures=50" target="_blank">GML</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/wms/kml?layers=zgb:wea_wgs84" target="_blank">KML</a></td>

    <td><a href="http://maps.zgb.de:8080/geoserver/wms?request=getCapabilities" target="_blank">WMS</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/wfs&amp;version=1.1.0&amp;namespace=zgb&amp;request=GetCapabilities" target="_blank">WFS</a></td>
    </tr>
    <tr>
    <td>Zip Code Boundaries</td>
    <td>Metadata</td>
    <td><a href="http://maps.zgb.de:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=zgb:Biogas_wgs84&styles=&bbox=10.052,51.482,11.02,52.806&width=374&height=512&srs=EPSG:4326&format=application/openlayers" target="_blank">Vorshau</a></td>

    <td><a href="http://maps.zgb.de:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=zgb:Biogas_wgs84&maxFeatures=50&outputFormat=SHAPE-ZIP" target="_blank">Shapefile</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=zgb:Biogas_wgs84&maxFeatures=50" target="_blank">GML</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/wms/kml?layers=zgb:Biogas_wgs84" target="_blank">KML</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/wms?request=getCapabilities" target="_blank">WMS</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/wfs&amp;version=1.1.0&amp;namespace=zgb&amp;request=GetCapabilities" target="_blank">WFS</a></td>
    </tr>
    <tr>
    <td>Zip Code Boundaries</td>
    <td>Metadata</td>
    <td><a href="http://maps.zgb.de:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=zgb:Biogas_wgs84&styles=&bbox=10.052,51.482,11.02,52.806&width=374&height=512&srs=EPSG:4326&format=application/openlayers" target="_blank">Vorshau</a></td>

    <td><a href="http://maps.zgb.de:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=zgb:Biogas_wgs84&maxFeatures=50&outputFormat=SHAPE-ZIP" target="_blank">Shapefile</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=zgb:Biogas_wgs84&maxFeatures=50" target="_blank">GML</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/wms/kml?layers=zgb:Biogas_wgs84" target="_blank">KML</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/wms?request=getCapabilities" target="_blank">WMS</a></td>
    <td><a href="http://maps.zgb.de:8080/geoserver/wfs&amp;version=1.1.0&amp;namespace=zgb&amp;request=GetCapabilities" target="_blank">WFS</a></td>
    </tr>
    </tbody>
    </table>
    </div>

    <div id="permalink"></div>
    </body>

  4. #4
    Sencha User
    Join Date
    Sep 2010
    Location
    Germany
    Posts
    70
    Vote Rating
    0
    robertdbuckley is on a distinguished road

      0  

  5. #5
    Sencha User fay's Avatar
    Join Date
    Apr 2007
    Location
    Ireland
    Posts
    1,750
    Vote Rating
    9
    fay will become famous soon enough fay will become famous soon enough

      0  

    Default


    I'm a bit confused as to why you would specify downloadPanel first as a TabPanel and secondly with region: 'south' - you're adding downloadPanel to your centerTabPanel along with the mapPanels - why not just create a Panel and add in the same way?

    Sorry to be a bore, but can you also post with CODE tags

  6. #6
    Sencha User
    Join Date
    Sep 2010
    Location
    Germany
    Posts
    70
    Vote Rating
    0
    robertdbuckley is on a distinguished road

      0  

    Default


    your right...that makes no sense. I think it was a left over from an earlier design.

    Code:
    <body> 
            <div id="data" class="data">
            <p><b>Willkommen zum Data Center</b></p><br>
            <p></p>
            <p>Bevor Sie die Daten herunterladen, schauen Sie zur Kontrolle, die Daten an mittels des Vorschaufensters.</p>
            <br><br>
            <div class="center">
            <table cellspacing="0" id="datacenter-table" name="datacenter-table">
                    <thead>
            
                        <tr style="background:#eeeeee;">
                            <th style="width: 160px;">DATA SET</th>
                            <th>METADATA</th>
                            <th>PREVIEW</th>
                            <th>SHAPEFILE</th>
                            <th style="width: 60px;">KMZ</th>
                            <th style="width: 60px;">KML</th>
                            <th style="width: 60px;">WMS</th>
                            <th style="width: 60px;">WFS</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
            
                            <td>wea_wgs84</td>
                            <td><a href="http://maps.zgb.de:8080/catalogueManager/client/requestHandler.jsp?GCAction=http://maps.zgb.de:8080/catalogueManager/services&GCXML=%3C?xml%20version=%221.0%22%20encoding=%22UTF-8%22?%3E%3Ccsw:GetRecordById%20service=%22CSW%22%20version=%222.0.2%22%20outputFormat=%22application/xml%22%20outputSchema=%22http://www.opengis.net/cat/csw/2.0.2%22%20xmlns:csw=%22http://www.opengis.net/cat/csw/2.0.2%22%3E%3Ccsw:Id%3EC4AFBD6C-7090-0001-7817-CC051C8F1758%3C/csw:Id%3E%3Ccsw:ElementSetName%3Efull%3C/csw:ElementSetName%3E%3C/csw:GetRecordById%3E" target="_blank">Metadata</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=zgb:wea_wgs84&styles=&bbox=10.0,51.266,11.059,52.77&width=360&height=512&srs=EPSG:4326&format=application/openlayers" target="_blank">Vorshau</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=zgb:wea_wgs84&maxFeatures=50&outputFormat=SHAPE-ZIP" target="_blank">Shapefile</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=zgb:wea_wgs84&maxFeatures=50" target="_blank">GML</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/wms/kml?layers=zgb:wea_wgs84" target="_blank">KML</a></td>
            
                            <td><a href="http://maps.zgb.de:8080/geoserver/wms?request=getCapabilities" target="_blank">WMS</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/wfs&amp;version=1.1.0&amp;namespace=zgb&amp;request=GetCapabilities" target="_blank">WFS</a></td>
                        </tr>
                        <tr>
                            <td>Zip Code Boundaries</td>
                            <td>Metadata</td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=zgb:Biogas_wgs84&styles=&bbox=10.052,51.482,11.02,52.806&width=374&height=512&srs=EPSG:4326&format=application/openlayers" target="_blank">Vorshau</a></td>
            
                            <td><a href="http://maps.zgb.de:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=zgb:Biogas_wgs84&maxFeatures=50&outputFormat=SHAPE-ZIP" target="_blank">Shapefile</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=zgb:Biogas_wgs84&maxFeatures=50" target="_blank">GML</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/wms/kml?layers=zgb:Biogas_wgs84" target="_blank">KML</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/wms?request=getCapabilities" target="_blank">WMS</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/wfs&amp;version=1.1.0&amp;namespace=zgb&amp;request=GetCapabilities" target="_blank">WFS</a></td>
                        </tr>
                        <tr>
                            <td>Zip Code Boundaries</td>
                            <td>Metadata</td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=zgb:Biogas_wgs84&styles=&bbox=10.052,51.482,11.02,52.806&width=374&height=512&srs=EPSG:4326&format=application/openlayers" target="_blank">Vorshau</a></td>
            
                            <td><a href="http://maps.zgb.de:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=zgb:Biogas_wgs84&maxFeatures=50&outputFormat=SHAPE-ZIP" target="_blank">Shapefile</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=zgb:Biogas_wgs84&maxFeatures=50" target="_blank">GML</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/wms/kml?layers=zgb:Biogas_wgs84" target="_blank">KML</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/wms?request=getCapabilities" target="_blank">WMS</a></td>
                            <td><a href="http://maps.zgb.de:8080/geoserver/wfs&amp;version=1.1.0&amp;namespace=zgb&amp;request=GetCapabilities" target="_blank">WFS</a></td>
                        </tr>
                    </tbody>
                </table>
    </div>
    
        <div id="permalink"></div> 
        </body>

  7. #7
    Sencha User
    Join Date
    Sep 2010
    Location
    Germany
    Posts
    70
    Vote Rating
    0
    robertdbuckley is on a distinguished road

      0  

    Default


    I don´t know if it´s a workaround or not, but I removed everything from the html body and put it in a separate html file and called it with the html config.

    I guess that everything that is written in the body will also appear behind the viewpanel.

    thanks for your time,

    Robert

Similar Threads

  1. Something easy
    By mdavis6890 in forum Ext: Discussion
    Replies: 2
    Last Post: 21 Feb 2011, 1:59 PM
  2. It's easy can anybody help?
    By deployit in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 14 Sep 2009, 4:34 AM
  3. easy problem ?
    By mfm in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 24 Oct 2008, 6:26 AM
  4. is there any easy way to keep the checkbox in 1 row?
    By lake in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 25 Sep 2007, 10:12 PM
  5. New User: Layout Questions, Property Questions
    By muffinman in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 25 Aug 2007, 12:02 PM

Thread Participants: 1

Tags for this Thread