在Oracle Forms/OC4J中访问URL参数 [英] Accessing URL parameters in Oracle Forms / OC4J

查看:101
本文介绍了在Oracle Forms/OC4J中访问URL参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何访问通过URL传递到Oracle Form中的参数. 例如给出的网址:

How do I access parameters passed into an Oracle Form via a URL. Eg given the url:

> http://example.com/forms90/f90servlet?config=cust&形式= 'a_form'& p1 =某些东西& p2 =其他

http://example.com/forms90/f90servlet?config=cust&form='a_form'&p1=something&p2=else

这将使用"cust"配置启动"a_form"表单,但是我无法工作(即使可能)访问p1(值为"something"的值)p2(值为'其他")

This will launch the 'a_form' form, using the 'cust' configuration, but I can't work how (or even if it's possible) to access p1 (with value of 'something') p2 (with value of 'else')

有人知道我该怎么做吗? (或者即使/不可能?

Does anyone know how I can do this? (Or even if it is/isn't possible?

谢谢

推荐答案

在表格中,您可以按以下方式引用参数p1和p2:

Within Forms you can refer to the parameters p1 an p2 as follows:

  • :PARAMETER.p1
  • :PARAMETER.p2

例如

if :PARAMETER.p1 = 'something' then
   do_something;
end if;

这篇关于在Oracle Forms/OC4J中访问URL参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆