Trigger a dynamic action from another dynamic action
37951Nov 24 2010 — edited Nov 29 2010Hi -- perhaps there is a better way to do this -- but what I'm wondering is how can I trigger something like a page item to show/hide based on some event determined by a dynamic action...
Let me explain:
I have a page item that is a popup LOV. It selects some value (obviously). This is ITEM1.
I have a second page item. This is ITEM2.
I have a dynamic action based on ITEM1 changing value -- it does a db lookup (sql query/plsql function call) to fetch a corresponding value related to this selected value of ITEM1 and it dynamically sets the value of ITEM2 with what is returned.
So far so good.
But I also have a third page item, ITEM3. What I want to do now is show or hide ITEM3 based on the value of ITEM2 (which was set via the dynamic action on ITEM1 changing). So in essence I need a dynamic action on the changing value of ITEM2 so I can show/hide ITEM3.
However it appears that the dynamic action doesn't fire on the changing of ITEM2 by the ITEM1 dynamic action.
If you've gotten this far, thanks for following! :-)
Any thoughts on how to achieve this (even in completely other/better ways)?
Thanks
David