Hello everyone :) I am a beginner in Axon Ivy platform and trying to learn it. I am playing with the demos that are provided but got stuck at one place. The demo project that I am running now is called HtmlDialogDemos. I wanted to understand how can I deal with multiple views, and there is a option in the demo called Multi View, when I select it I have a form and a button. The thing that makes me confused, how the view is changed when I click the button there. I have checked the logic part and the html code but could not find anything except that there is a string value called nextView moving around.

Thank you :)

asked 08.12.2016 at 09:08

tano9321's gravatar image

tano9321
(suspended)
accept rate: 0%


The button calls a method in the User Dialog Process. This called method returns the name of the next view as String. The Method Start Element contains the input/output mapping, so the nextView field is mapped as return parameter there. The method itself is defined in the interface definition of the User Dialog.

link

answered 08.12.2016 at 14:34

Flavio%20Sadeghi's gravatar image

Flavio Sadeghi ♦♦
(suspended)
accept rate: 75%

thank you for the answer, yes I saw that in the interface there is a method but cant find where is implementation of this method(i mean the code part which says here you are the nextView string and change to it)

(08.12.2016 at 14:50) tano9321 tano9321's gravatar image

All methods defined in the User Dialog Interface are implemented as Process. You could add a new method to the interface and you will get an error-marker on the corresponding Process, because the implementation of your just added method is missing...

(12.12.2016 at 17:15) Flavio Sadeghi ♦♦ Flavio%20Sadeghi's gravatar image

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:

×147

Asked: 08.12.2016 at 09:08

Seen: 1,775 times

Last updated: 12.12.2016 at 17:15