开发者

How to create a submit button template in Oracle APEX?

开发者 https://www.devze.com 2022-12-11 14:38 出处:网络
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 h

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消