on 07-27-2006 2:41 AM
when I click on search button, I get the search result, but along with those results, I see some input fields automatically assigned the values in the search input, which should not be.
values are assigned to these fields because of controller context field values, once the values are populated these values are assigned everywhere where istle feild referring to.
How to keep the user input without changes?
Thanks!
Naveen,
Your question is not completely clear.
If you do not want InputField to show values of some attributes from model node, just bind them to another attributes from regular node.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was trying to reuse fields in component controller which are mapped to three different veiws in a viewset.
If I map the component controller fields, and reuse these fields in three different views, then when the value of the fields is changed at context in component controller, in all 3 views the changed value is dfisplayed, which I dont want.
so question is:-
shoudl I maintain different fields for all three views?or should I not map the values to component controller?
Naveen
Naveen,
You set contradictory requirements: on one hand you have mapping, where values are always synchronized; on other hand you whant them to be unique.
Just break your existing mappings.
1. Create separate attributes in view context(s) if you do not need to access them in component controller or you do not need to be synchronized between views.
2. Create unique set of attributes in component controller for combination of attributes that really must be synchronized. Then map view context attributes accordingly.
VS
Hi VS,
yeah.. right.. I am breaking it in that way only.
Actually i will need the values from one veiw to be accessed in component controlller.
What I am planing is that.. I will retrieve view context attribute values in view controller and pass it them as a method parameter to component controller.
I dont want to synchronize the values from one view to another view.
But.. I want to use the atributes of view context into the component context.
Hi Naveen,
Are you using Adaptive RFC model? Set context attributes to null or to empty string after model execution.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.