1. #1
    Sencha User
    Join Date
    Nov 2009
    Posts
    2
    Vote Rating
    0
    bigssam is on a distinguished road

      0  

    Exclamation Viewport portlet problem

    Viewport portlet problem


    hi guys

    M trying to add protlet items by javascript (after deleting them by plugin using tools property) to my viewport object by using the following lines :

    Code:
    viewport.getComponent(0).items.items[1].add(portltObjet_1);
    viewport.doLayout();
    viewport.syncSize();
    I don't have any probleme when m adding protlets containing HTML content like :

    Code:
        var portltObjet_1 = [{
                title: "title",
                tools : toolsMonrPofil,
                collapsedCls:'x-panel-collapsed',
                layout: 'fit',
                cls:'backgroundteste',
                html: 'some HTML code'
        }];
    but when it s about a portlet which contains sub items usin object like :

    Code:
        var portlet_3 = [{
            title: "title",                   
            tools : toolsMesLM,
            layout: 'fit',
            cls:'backgroundteste',
            items: new portleObject()   // object returning dataview based on xtemplate
        }];
    my portlet widget is loaded in the container but whitout data even i reload the store of the data view, and the console display the following message :

    b.getDomPositionEl().dom is undefined;

    Need Help plz guys
    Last edited by bigssam; 11 Mar 2011 at 10:44 AM. Reason: additional explains

Similar Threads

  1. Portlet refresh Problem
    By lgdito in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 17 Mar 2010, 6:37 AM
  2. (solved)Problem with using the Portlet example
    By gpstatnon in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 4 Aug 2008, 10:43 PM

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi