1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    2
    Vote Rating
    0
    cnapagoda is on a distinguished road

      0  

    Default Unanswered: Save portal layout

    Unanswered: Save portal layout


    Hi all,

    I faced some problem with when saving current status of Portal. I have add PortalEvent listener. But There I am unable to get all Portlet's position information. Is there any specific methods to get current portal status?

    Thank you

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

      0  

    Default


    PortalEvent object gives you details of old row, old column, new row and new column of the portlet which is moved. It also has portlet object reference using which you can get the absolute left and top position of the portlet.

    Code:
      portal.addListener(Events.Drop, new Listener<PortalEvent>(){
    
            @Override
            public void handleEvent(PortalEvent be) {
                GWT.log("Start "+be.getStartRow()+" Column "+be.getStartColumn()+" New Row "+be.getRow()
                        +" New Column "+be.getColumn());
                
                //Displays the current position of the moved portlet
                GWT.log(" Position "+be.getPortlet().getAbsoluteLeft()+" "+be.getPortlet().getAbsoluteTop());
            }
            
        });
    Hope it helps you
    Ganesh

Thread Participants: 1

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