mardi 1 juillet 2014

Ext.data.writer.Json: Encode and extraParams

Hi,

I'm using SA3 (extjs 4.2.2) when I unintentionally enabled writer.jason: encode to true.

Then I notice that this causes extraParams (theSoNo) in the SAVE scenario to pass BLANK, in my PHP code:



Code:



if(isset($_POST['theSoNo'])) {
$selectedSoNo = $_POST['theSoNo'];
}

The IF statement returns TRUE... but $selectedSoNO has no value.

When I set writer.jason: encode to false, everything worked as


Is this a normal behavior?


I'm new to ExtJS and have not dealt with other parameters yet.





Aucun commentaire:

Enregistrer un commentaire