Im very much new to Ext Js. I had an application developed using html,jsp's and java code. I have used Ext js for the look and feel. I have used a Form panel and on submit the url fired calls a jsp file.I have used the form.submit() as per the documentation. But on pressing submit there happens to be a syntax error. when i try to debug in Visual studio i see there is a line ext-all.js : return eval("("+json+")") which i believe is the place where it is failing.It is trying to evaluate the entire jsp file which has html codes, java codes, ext codes etc.. is not possible to direct to a jsp file on submit?
The jsp code where the form is being submitted, as you can see above there is a function call on the click of update button
var scrno = ScrNo.getValue();
username = "<%= session.getAttribute("username")%>"
username = EmpDrop.getValue();
index = EmpDrop.selectedIndex;
It is the 'submit' which is throwing the syntax error as mentioned in my first post to this thread.Let me know if any other info is needed...
Even after adding 'success' and 'failure' the error is being thrown. Actually what i have done is i ahve created the entire UI using Ext js and hence no HTML content. I just have empty <div> tags in the HTML code where these Ext components are rendered to. The jsp file which has the HTML code also have some java coding and other logic written inorder to fire different url's having different parametr values. So when i press the submit button the parameter values in the url are created on the fly . Always the same jsp page is called. Can you tell me a way to do this. Im trying to do it in a way as posted above. Thanks in advance
Did you manage to resolve your issue? I have an issue relating to a similar method (submitting through a custom function), but I am getting an error that my formpanel variable is not defined. In your example, doesn't it state that gridForm is not defined?
My formpanel is within ext onready and the submit function is after the onready function, is your script composed in the same way?
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..."