chetanmv
29 Jun 2009, 11:33 PM
Hi,
I'm new to ExtJs and we are currently evaluating various options for our new project including Flex,ExtJs/GWT.
Thus far, based on the samples available I have seen that all that we conventionally do on the HTML is done through a js file here(for instance the Basic Login example).I mean the form is entirely written in a .js file.This approach is to some extent different from the conventional jsp pages where we intersperse java code with html layout and render the form.
From an understanding perspective I have a question.
Normally all web interfaces support CRUD operations on the underlying database.I could to some extent understand how a "New" form gets created entirely by js etc.But if for a given scenario we should support editing features,like Edit profile,in which case the form apart from being rendered should also depict the current data,which the user may decide to EDIT .
Can you please point me to one such example or help me out in understanding how we should develop.
i.e how do i query the existing data and populate the form with that so that the user sees the filled in form presented to him for editing.
Regards,
Chetan
I'm new to ExtJs and we are currently evaluating various options for our new project including Flex,ExtJs/GWT.
Thus far, based on the samples available I have seen that all that we conventionally do on the HTML is done through a js file here(for instance the Basic Login example).I mean the form is entirely written in a .js file.This approach is to some extent different from the conventional jsp pages where we intersperse java code with html layout and render the form.
From an understanding perspective I have a question.
Normally all web interfaces support CRUD operations on the underlying database.I could to some extent understand how a "New" form gets created entirely by js etc.But if for a given scenario we should support editing features,like Edit profile,in which case the form apart from being rendered should also depict the current data,which the user may decide to EDIT .
Can you please point me to one such example or help me out in understanding how we should develop.
i.e how do i query the existing data and populate the form with that so that the user sees the filled in form presented to him for editing.
Regards,
Chetan