Hello everybody!

I have a problem in my ivy-project. In my main HTMl dialog panel, I add dynamically 8 rows(component)(ui:repeat).
I would like to call a ivy script method(in the component) from the main panel with a button click event.

Is this possible and if so how can i make this?

Thanks for your help, Patrick

asked 19.10.2015 at 12:17

Patrick's gravatar image

Patrick
(suspended)
accept rate: 0%


It is not possible to call an ivy script method because ivy script does not know methods.

What you can do is call a method of your component Html Dialog that is mapped to a logic process. In the logic process use a script step to execute your ivy script. Use #{logic.myMethod()} to call your method from JSF.

Or, use a manged bean java class with a method and call this from JSF with #{myBean.myMethod()}.

See chapter Html Dialog in the Designer Guide for more information and the Html Dialog Demo project delivered with the Designer.

link

answered 19.10.2015 at 14:29

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
4.9k202857
accept rate: 74%

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:

×33
×7

Asked: 19.10.2015 at 12:17

Seen: 2,473 times

Last updated: 19.10.2015 at 14:29