Access URL Parameters in Oracle Forms / OC4J

How do I access parameters passed to an Oracle form through a URL. For example, given the URL:

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

This will launch the "a_form" form using the "cust" configuration, but I cannot work (or even if it is possible) to access p1 (with the value "something") p2 (with the value 'else')

Does anyone know how I can do this? (Or even if it is / impossible?

thank

+3
source share
2 answers

Inside the forms, you can access the parameters p1 a p2 as follows:

  • : PARAMETER.p1
  • : PARAMETER.p2

eg.

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

.

, oracle.com, URL. form90 (config ..) "otherparams", . ( "+": ,

http://server.com/forms90/f90servlet?config=test&otherparams=param1=something+param2=else

0

Source: https://habr.com/ru/post/1697306/


All Articles