on 08-29-2006 7:02 AM
Hi there,
I think i have a very simple question, but i can't solve it and i didn't find the solution anywere else on SDN.
What i want to do is this. When a user filled in a IF (online scenario) and goes to the "check" step i would like to display the IF in Read-Only mode. I hope that somebody can give me a hint of a solution.
Thx in advance.
Regards Maarten.
Hi,
create an action handler for the "onCheck" action, in this handler you can set the "enabled" property of the IF to false.
Regards
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maarten,
1. go to your WD view which contains the IF
2. create a new value attribute in the context of this view named "pdfEnabled" of type "boolean"
3. create an action handler named "CheckPdf"
4. select this action handler for the onCheck event of your IF
5. go to the implementation tab an find the method "onActionCheckPdf" and add the following code:
wdContext.currentContextElement().setPdfEnabled(false);
6. Bind the "enabled" property of the IF to your context attribute "pdfEnabled"
Thats all.
Regards
Sebastian
Message was edited by: Sebastian Voss
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.