on 07-16-2011 5:39 AM
Hello All,
I have used initial screen and mainstep1 , Mainstep2 u2026.etc in the FPM-GAF.
When I am trying to set the values in the initial screen step , the values are not coming next mainsteps.
Example: In the initial screen one button is there, I am setting context attribute value and mapped to component controller , when I am trying to read in the mainstep1 the values are coming empty.
Looks like from initial step to mainstep values are not coming
How can I overcome above issue?
BR
-CW
Hello Williams,
are you using the same component in both Initial Screen and Main Step? if so then the data entered in Initial screen should be available in the Main Step. this is because of the same component instance.
If you are using different components in Initial Screen and Main Steps then data entered in the Initial screen wont be available in the Main step (even if you add the Initial Screen's component as used component in Main Step's Component). this is because in the Main Step, the used component will be instantiated again.
to achieve this you need to go for a singleton class to store the data entered in Initial Screen. Hope this helps.
BR, Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How you are navigating to the next step ?
if you are doing it thru code like
lo_fpm = cl_fpm_factory=>get_instance( ).
lo_fpm->raise_event_by_id( cl_fpm_event=>gc_event_next_step ).
then you should first set the values in the initial screen step then write your code to navigate to the next screen
this is really strange. I created a sample application to test this behavior and works perfectly. in the sense the data entered in the initial screen is transferred to the Main step.
thinks I did.
1. Created a component with two views and two windows
2. created and context node with single attribute and mapped it to both the views
3. iin both views created a form to display the attributes
4. in the first view created a button to navigate to next_step
5. in configuration, embedded the first window in Initial screen and second window in the Main step.
thats it. the data entered in first view is transferred to the second view i.e to the Mainstep
I hope you did the same thing.
BR, Saravanan
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.