See setDependentDropdownValuesJs.ftl as an example
It's related to getDependentDropdownValues.js
Jacques
vivek mishra wrote:
Hi Jacopo,
Thanks for your response.
I am trying to use the data of one form in another one and when i update
the data in one form it should be reflected in the other one also. Entities
for both forms are different.
Regards
*Vivek Mishra
*
*
*
On Tue, Jun 5, 2012 at 3:13 PM, Jacopo Cappellato <
[email protected]> wrote:
I would also suggest to summarize *what* you are trying to achieve before
the description about *how* you attempted to implement it.
Jacopo
On Jun 5, 2012, at 9:33 AM, Jacopo Cappellato wrote:
I am sorry but I can't get much of this example... no one replied and so
I suspect I am not the only one.
I would suggest that you send a simpler more concrete example; it may
also help if you could reference an existing screen in OFbiz that does
something similar to what you are trying to implement.
Regards,
Jacopo
On Jun 1, 2012, at 11:48 AM, vivek mishra wrote:
Hello all,
I am trying the following scenario in ofbiz:
1. I have created two forms A and B.
2. I am entering data in form form A, suppose the fields are C, D, E and F,
where C is primary key in table for form A.
3. Suppose the fields in form B are E, C, F and G, suppose E is primary key
in table for form B.
4. Upon submitting the data for form A, when response is success i am
calling form B in request map. So the data in fields C and F appears as in
form A.
5. Now i have created form B entering the rest of the fields.
6. Now through a Back button in sub-menu i am going back to form A with
parameters C and E.
7. Suppose i have updated the fields in form A, including field F which is
common to both forms.
8. Now i want to go to form B with a Next button in sub-menu with the same
parameters C and E, but in this case in form B the fields that i had
entered already are not being shown ( due to parameter E being null ),
rather empty fields are appearing except the fields in common and the
updated data is not shown in form B.
Thaks in advance.
Vivek Mishra
+919873205937