1. #1
    Ext User
    Join Date
    Jan 2008
    Posts
    4
    Vote Rating
    0
    TheLord is on a distinguished road

      0  

    Default RequestBuilder RequestData is ignored when using a loader

    RequestBuilder RequestData is ignored when using a loader


    I've got some problem with RequestBuilder:
    The value of the method setRequestData(..) is ignored when I use it for populating a grid.

    it only sends "SortDir=none" or nothing, depening on loader.setRemoteSort(..)

    How can I make the loader to send the correct requestData instead of overwriting the requestbuilder's requestData?

    Code:
    		RequestBuilder builder = new RequestBuilder(RequestBuilder.POST,
    				"http://localhost/index.php");
    
    		builder.setRequestData(requestDoc.toString());
    
    		builder.setHeader("Content-Type", "application/x-www-form-urlencoded");
    
    		HttpProxy proxy = new HttpProxy(builder);
    
    		// need a loader, proxy, and reader
    		XmlReader reader = new XmlReader(type);
    
    		final BaseListLoader loader = new BaseListLoader(proxy, reader);
    		loader.setRemoteSort(false);
    	
    		final ListStore<ModelData> store = new ListStore<ModelData>(loader);
    
    		grid = new EditorGrid<ModelData>(store, cm);
    
    	
    		grid.setAutoExpandColumn("title");
    		grid.addPlugin(columnConfig);
    
    		grid.addListener(Events.CellClick, new Listener<GridEvent>() {
    			public void handleEvent(GridEvent ge) {
    				System.out.println("CellClicked");
    				String value = store.getAt(ge.rowIndex).get("epg_longtext");
    				if (value == null)
    					value = store.getAt(ge.rowIndex).get("epg_shorttext");
    
    				textWidget.setValue(value);
    
    			}
    		});
    
    		grid.setBorders(true);
    		grid.setAutoExpandColumn("title");
    		loader.load();

  2. #2
    Ext User
    Join Date
    Jan 2008
    Posts
    4
    Vote Rating
    0
    TheLord is on a distinguished road

      0  

    Default


    Yeah... I got it... made my ohne HTTPProxy... modified the existing one a little bit

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