How can i access to a method or getter/setter of a managed bean (e.g. session scoped) in an ivy-script-step ?? |
In your Script-Step:
If you want to use this bean in your view just declare a data-object of the given type (de.azt.exampleData.MapBean) in your data-class and bind this as model in your view code, f.e.:
The corresponding code in your script step would then be:
Whereas you need to pass the attributes from your database-query as parameters to the constructor of your bean. Hope that helps. |
Usually i do that way: First i will create instance:
then i get it when i want to use like this:
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 06.06.2014 at 13:11
Seen: 6,184 times
Last updated: 23.07.2015 at 11:54