How to create a submit button template in Oracle APEX?
I'm trying to create a template for a button in Oracle APEX but I don't seem to have access to the appropriate substitution strings to make it work. For non-templated buttons APEX seems to insert a handler for the onclick event that calls doSubmit('buttonName')
Unfortunately, when I go to create a template the only substitution strings I seem to get access to are #LINK#, #LABEL#, #BUTTON_ATTRIBUTES#, and #BUTTON_ID#. How开发者_StackOverflow中文版 do I get to the button name in order to make the doSubmit
work properly?
Use href="#LINK#". At runtime, Apex replaces this with href="javascript:doSubmit('XXX')" where 'XXX' is the Button Request Value associated with the button.
精彩评论