Hi everybody. Can I give a parameter in a action? for example

<button label="" 'divide="" x'=""> <events> <buttonpress action="calcule(x,12,12,'add',12)"/> </events> </button>

If this action can be a direct call to a function, procedure or package it would be great.

Also if literals can be a function call for example label='&calcule(x,y)'

Regards.

asked 05 Sep, 20:17

JoseBenitez's gravatar image

JoseBenitez
4113
accept rate: 16%


Hi Jose,

No. You should read values from the application using the api_component.getXXX API's inside a PL/SQL procedure.

I understand that this might seem cumbersome at first. However, having all the code of an application in one place (i.e. the database) has tremendous advantages in terms of code management and debugging.

If Formspider allowed writing code in the IDE, then every time there is something you wanted to debug, you'd have to look at two different places; the code in the FS app and the database (kind of like Oracle Forms).

At first, this doesn't seem like a big deal, but while managing a big application over a long period of time, having code in one place only makes life really easy for developers.

Kind Regards,
Yalim

link

answered 05 Sep, 20:58

Yalim's gravatar image

Yalim ♦♦
2.8k5
accept rate: 21%

edited 05 Sep, 20:58

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2
×2

Asked: 05 Sep, 20:17

Seen: 129 times

Last updated: 05 Sep, 20:58


© Copyright Gerger 2017