SmartClient Version: SC_SNAPSHOT-2011-05-03/LGPL Development Only (built 2011-05-03)
Hi,
Im facing issue with executeFetch() when using SectionStack. My Problem is:
I have section stack with 3 sections, named create, load and edit profile. In Edit Profile section i have a drop down which gets data from backend. For this i've used GwtRpcDatasource implementation. I'm attaching the form which contains dropdown to this section and i set criteria and setAuthoFetchData(true) so that when form gets rendered it will call executeFetch() and gets data and the data will be populated in the drop down.
Expected Result: When i click Edit Profile section, the page should contain dropdown with fetched values from backend.
Actual Result: I'm getting exception as the executeFetch() is calling twice. For the second time call, the attribute which i set in criteria becomes null. At backend i'm getting NullPointerException.
I couldn't understand why executeFetch() gets called twice. To demonstrate this, i created Test class. Please check once and suggest me a solution.
Hi,
Im facing issue with executeFetch() when using SectionStack. My Problem is:
I have section stack with 3 sections, named create, load and edit profile. In Edit Profile section i have a drop down which gets data from backend. For this i've used GwtRpcDatasource implementation. I'm attaching the form which contains dropdown to this section and i set criteria and setAuthoFetchData(true) so that when form gets rendered it will call executeFetch() and gets data and the data will be populated in the drop down.
Expected Result: When i click Edit Profile section, the page should contain dropdown with fetched values from backend.
Actual Result: I'm getting exception as the executeFetch() is calling twice. For the second time call, the attribute which i set in criteria becomes null. At backend i'm getting NullPointerException.
I couldn't understand why executeFetch() gets called twice. To demonstrate this, i created Test class. Please check once and suggest me a solution.
Comment