Hi

Is that possible to change dinamically action of button or hyperlink? Comparing with APEX, you have a breadcrumbs component that is used to branch to other page. Depending on current page, the hyperlink is available or not. For example:

Page 1 > Page 2 - [Page 2 is current page so hyperlink is not available]

Page 1 > Page 2 > Page 3 - [Page 3 is current page. Page 2 has hyperlink available]

When I click in Page 2 hyperlink it will branch to a page 2 (in formspider execute an action)

Thanks Ricardo

asked 07 Dec '12, 03:41

Ricardo's gravatar image

Ricardo
11121
accept rate: 0%


Hi Ricardo,

It's not possible to change dynamically the action of a component's event in Formspider.

Instead, you can define a generic procedure/action pair for your hyperlink and call the appropriate procedure that you have used in the action from this generic procedure:

procedure hyperLink2Clicked is
begin
  if condition1 then --> action1 needs to be executed
    procedureOfAction1;
  elsif condition2 then --> action2 needs to be executed
    procedureOfAction2;
  ..
  end if;
end;

Best Regards, Ibrahim

link

answered 07 Dec '12, 06:17

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

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:

×5
×1

Asked: 07 Dec '12, 03:41

Seen: 931 times

Last updated: 07 Dec '12, 06:17


© Copyright Gerger 2017