Hi there

within ULC we often used the panel api to call some methods with the rdc logic. Means after pressing a button to save data the save event was triggered. In the logic of this save process we called a method on the panel (for example validate some data).

Within JSF there is no longer a panel api available - but maybe you could give us a hint to solve this issue?

Thanks for the fish, Sven

asked 13.06.2014 at 10:03

skilchenmann's gravatar image

skilchenmann
(suspended)
accept rate: 33%

I don't know the panel API but if you need any feedback, a.e. validation by the bean you can use messages.

(13.06.2014 at 13:08) Daniel Oechslin Daniel%20Oechslin's gravatar image

It is possible to pass a callable-method reference (of a process) to an ivy component dialog. The component can then call this process method (from the parent dialog) at any time.

There is a demonstration of this feature in the HtmlDialogDemos project, which is bundled with the Designer in the applications/samples folder. Check out the implementation of the ch.ivyteam.htmldialog.demo.component.MethodCallbackDialog and its child ch.ivyteam.htmldialog.demo.component.DetailListComponent

So to be clear you can not call logic of another process within a component process directly. But the component view can interact which logic from a parent process. Maybe you could simulate the call from the composite process to the parent process by using the Request Context to fire a hidden view effent that will trigger the parent process.

link

answered 20.06.2014 at 14:12

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958
accept rate: 70%

edited 20.06.2014 at 14:19

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:

×58
×37
×7

Asked: 13.06.2014 at 10:03

Seen: 4,255 times

Last updated: 12.04.2016 at 12:34