on 09-22-2009 1:18 PM
Hi experts,
I have a requirement where in depending on the stage of application, i need to change the tool bar button choices.
How do i create the entries of it dynamically and also do the actions for them dynamically.
Any inputs/clue is highly appreciated.
Thanks,
Ajay
Hi Lekha,
Thanks for your inputs.
Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For ex: If oyu have 4 stages then 4 hbuttons should be there as a part of button choices right.
Based on the stage of applicaiton, that button should be enabled and action to be triggered. Am I right.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes you are right, but the stage i meant is the status of the current record.
depending on the status, i want to show the next statuses as tool bar button choices.
stages are - > new, released, accepted,posted,completed.
If a record is in new, i should be able to show change_status->
released,
accenpted,
post
if record status is released->show accepted, post
if record status is accepted - > then show post
like that. i need to dynamically show the tool bar button choices and perform actions dynamically.
regards,
Ajay
Hi,
First based on the number of stages, In the MODIFYVIEW create a button choice UI element and the respective buttons.
Now, create a context attribute visible (wdui_visibility) and bind the visible property of these buttons to this attribute.
Based on the stage, you can set the visiblity right.
Regards,
Lekha.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.