Axon.ivy 7.0 - the Digital Business Platform - is out now...


I am having trouble with connecting my java bean output to the HTML User Dialog string. Basically I want the string output of my java bean to go to my HTML User Dialog data string. How do I do this?


asked 07.11.2013 at 12:50

mprvijay's gravatar image

accept rate: 0%

edited 08.11.2013 at 09:06

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦

It's a standard JSF problem:

  1. Try to communicate directly between the two beans. Resolve them over the faces context and then call getters / setters. Answer: Content of a HtmlDialog in my javabean
  2. The other possible (but not recommended way) would be to access the setter in an el-expression within the view: #{data.setMyString(javaBean.evaluateString())}. This is possible since within ivy expression language 2.2 is supported (which brought method calls for el-expressions)

answered 08.11.2013 at 09:01

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 69%

edited 08.11.2013 at 09:07

For a better understanding: Could you explain, why is the second solution not recommended?

(08.11.2013 at 09:31) Nikel Weis Nikel%20Weis's gravatar image
Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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



Asked: 07.11.2013 at 12:50

Seen: 1,407 times

Last updated: 08.11.2013 at 09:31