Is there a possibility to set a session attribute in a Java class (which is used in a PI)?

In a JSP page I can set a session attribute with ivy.setSessionAttribut().

Unfortunately the IvyObject in the Java class does not have this method?!

How to do this?

asked 22.04.2010 at 05:22

Flavio%20Muff's gravatar image

Flavio Muff
(suspended)
accept rate: 0%


You can use the method getProcessEngineHook() of the IvyObject object. The process engine hook has then the methods setSessionAttribut(...) und getSessionAttribut(...).

link

answered 27.05.2010 at 03:00

Christian%20Strebel's gravatar image

Christian St... ♦
3.2k31338
accept rate: 88%

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:

×24

Asked: 22.04.2010 at 05:22

Seen: 2,132 times

Last updated: 22.04.2010 at 05:22