This content has been marked as final. Show 8 replies
Thanks for your replay,
Actually I guess the auto-submit for selectOneChoice2 is firing because the mouse cursor is flashing when chose an item from selectOneChoice2 list, I debuggetd it too, the submit is issued.
I tried to refer selectOneChoice1 from the PartialTriggers on selectOneChoice3 but the last still return no data too.
Because cascading is working fine at application module (Business component browser) I guess I missed something at jspx configuration so this is the source code for more details:
+id="soc3" partialTriggers="soc1">+ *Please note I tried soc2 too*
Thanks and best regards
I'm new to using JDev and ADF, but I have been playing around a lot with cascading LOV's. I am guessing that it is possible to set multiple partial triggers, so maybe
<id="soc3" partialTriggers="soc1 soc2"> (Not sure if or what should separate those..)
I'm not sure if that is even possible, but I'm assuming that the partial trigger*s* isn't a typo.
1. Click the view accessor tab of that particular VO.
2. Check the View Accessor of the lov of that transient attribute which bind_value needs to be set from the above selected value .
3. In the view criteria section check if you have shuttled the view criteria from available to selected or not .
4. Also check in the bind parameteres section if you set the bind values properly or not .
Please update if these are already done .
I checked the criteira and parameters at view accessor, at other hand all three LOVs are working fine at Buisness component browser (When run the application module), so I guess my Model tier configuration is correct.
The problem appears at View tier (at jspx page), only first two LOVs are cascaded while the third one didn't response to the second LOV submit.
Thanks and bset regards
hope this help.
I was doing several different Test with Jdev R2 regarding to cascading Lov and lovs components.
here are results.
lets split them in two flavors.
a) cascading lovs works fine only if you use : input text item with lovs. (this one works fine even if you do not set autosubmit on the master and partial trigger on dependent lovs, .......cool)
b) if you choose selectOneChoise, "what is really nice for short list" it does not work. not even if you set autosubmit and partial trigger.
a) on editing mode: editAll
* using input text with lov works (you do not need to set autosubmit/partial triggers) but every time when you select a value from a list, an ugly error araise saying : field1 is required. field2 is required...to all require attributes (you can work after click)
* using selectOneChoise did not work. after you select the first lov the next lov is surrounded by red square and never get refreshed.
b) on editing mode: clickToEdit :
this is really cool and fast, but cascading lovs does not work at all. not even input text with lovs
so I think we need to wait to have a new release with these bugs fixed.
Finally my problem is solved ;-)
The solution of this issue was described at [Andrejus Baranovskis's blog|http://andrejusb.blogspot.com/2008/12/cascading-lovs-in-oracle-adf-11g-update.html]
I saw this thread before asking for help at OTN forum, but it seems I missed few steps and they are:
1- Making view links between LOVs VOs
2- At LOVs VOs, I added the bind variable at VO query (for example: where State_ID=:vState), but it seems that there's no necessary to do so, the view criteria is enough.
Now all three LOVs are cascaded.
Thank you guys for help and best regards
I have the same cascade LOV problem.
I have an entity, say Main, with two attributes: Attr1, Attr2 which are LOV. The items in the Attr2 LOV are dependent on what value the user selects for the Attr1.
I have View Links between Main and LOVs an between Attr1 and Attr2.
In the jspx page Attr1 and Attr2 are defined as af:selectOneChoice, with autoSubmit="true" for Attr1(the parent) and partialTriggers="parent" for Attr2.
But when I test the page and select a value for Attr1 from the LOV, the Attr2 is nor refreshed with the coresponding values.
Can you give me some indications about what the problem might be or what settings to check?
I actually added the View Links after reading the last post by Tiny_Oracle but I am not sure if I have to make any other changes except creating those links.