|
Replies:
5
-
Pages:
1
-
Last Post:
Dec 8, 2006 9:02 AM
Last Post By: lavanyadanda
|
|
|
Posts:
21
Registered:
02/08/01
|
|
|
|
Re: from 10.1.2 to 10.1.3
Posted:
Dec 6, 2006 7:16 AM
in response to: Steven Davelaar
|
|
|
|
That is very cool. I haven't noticed it.
Thanks alot Steven.
One more question regarding migration from 10.1.2 to 10.1.3. Inorder show user spefic information on pages, we had query bind parameter ${data.UserProfilesUIModel.UserProfilesCurrentCommunityId} for a group. In 10.1.3 this is #{data.UserProfilesPageDef.UserProfilesCurrentCommunityId}. It does work (filters the data for the user specific community id) but only when navigated from user profiles page.
When navigated to the page from user profiles page, in the log I noticed new value is set 1 which is correct.
09:07:40 DEBUG (JhsApplicationModuleImpl) -ViewObject ResidentTransactionsView1: value of bind param 0 has changed: old value= ,new value=1
09:07:40 DEBUG (JhsApplicationModuleImpl) -ViewObject ResidentTransactionsView1: executing query, bind parameter values have changed
but If I try to open an lov on that page, it doesn't open lov, the log shows
09:10:46 DEBUG (JhsApplicationModuleImpl) -Executing applyBindParams for ResidentTransactionsView1
09:10:46 DEBUG (JhsApplicationModuleImpl) -ViewObject ResidentTransactionsView1: value of bind param 0 has changed: old value=1 ,new value=
09:10:46 DEBUG (JhsApplicationModuleImpl) -ViewObject ResidentTransactionsView1: executing query, bind parameter values have changed
some how the bind parameter value is lost. Also If I click on this page after navigating to another page, no rows are displayed, again bind parameter is lost.
It seems like I need to store that value in session some how. But it worked in 10.1.2. Does storing the value in session solves my problem, In that case, Please let me know how to save it in session.
Thanks,
Lavanya.
|
|
|
Posts:
891
Registered:
01/10/01
|
|
|
|
Re: from 10.1.2 to 10.1.3
Posted:
Dec 7, 2006 11:36 PM
in response to: lavanyadanda
|
|
|
|
Lavanya,
In order to use bindings of a PageDef, that PageDef must have been loaded first. If you navigate from the UserProfiles page, that page has loaded the UserProfilesPageDef. To force loading the UserProfilesPageDef on other pages, you can set a parameter in the other page's PageDef:
<parameters>
<parameter id="bindingContainersToPrepare" value="#{'UserProfilesPageDef'}"/>
</parameters>
JHeadstart looks at the parameter bindingContainersToPrepare and ensures that they are loaded when you run the page.
You can add such a parameter by going to the target page's PageDef, and in the structure window right-click the 'parameters' folder, and choose 'insert inside parameters' -> 'parameter'.
Don't forget to uncheck 'Clear Page Definition before Generation' for this group (you can find it in the Application Definition in Expert Mode), otherwise your changes get lost when you run the JHeadstart generator.
Hope this helps,
Sandra
|
|
|
Posts:
891
Registered:
01/10/01
|
|
|
Posts:
21
Registered:
02/08/01
|
|
|
|
Re: from 10.1.2 to 10.1.3
Posted:
Dec 8, 2006 9:02 AM
in response to: Sandra Muller
|
|
|
|
Thanks alot Sandra. Your tip worked.
Thanks,
Lavanya.
|
|
|
|
Legend
|
|
Guru : 2500
- 1000000
pts
|
|
Expert : 1000
- 2499
pts
|
|
Pro : 500
- 999
pts
|
|
Journeyman : 200
- 499
pts
|
|
Newbie : 0
- 199
pts
|
|
Oracle ACE Director
|
|
Oracle ACE Member
|
|
Oracle Employee ACE
|
|
Helpful Answer
(5 pts)
|
|
Correct Answer
(10 pts)
|
|