Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2013-02-21T17:33:28Z by markevans
hrobrod2
hrobrod2
91 Posts
ACCEPTED ANSWER

Pinned topic RBD 8.0.1.4 onPrerender function cannot receive data passed with forward

‏2013-02-21T10:27:24Z |
Hi,

EGL tooling and version - IBM® Rational® Business Developer 8.0.1.4
IBM® WebSphere® Application Server Version 7.0 Test Environment 7.0.0.11
Target environment - Windows 7 64-bit
Application type - JSF, Web
Generation language - Java
Browser Tested - Internet Explorer 8,9, Firefox 18.0.2

Recently we moved few computers from RBD 8.0.1.3 to RBD 8.0.1.4, the server stayed the same as before WAS 7.0.0.11.

In RBD 8.0.1.3 forward command works fine, when we pass some data we can receive that data in onConstruction and onPrerender functions without problems.

In RBD 8.0.1.4 forward transfers us on new page, but we can receive data only in onConstruction function, onPrerender function never receive anything. We tried same projects on different RBD versions, and always they work on 8.0.1.3 and never on 8.0.1.4.

Our existing projects which worked perfectly fine now don't forward data into onPrerender function. We thought that it is maybe some kind of problem because of migration.
That is why we created new project which is simple as possible just to test this and it still doesn't work. So it isn't a migration problem I guess.

This is example of new project which also doesn't work:

startingCode.egl forwards some value to destination.egl:


function forward_varijable() varijable1 

int; varijable1 = 5; writestdout(
"varijable1 before forward = " + varijable1); forward varijable1 to 
"destination"; end


destination.egl code has onPrerender function like this:


function onPrerender(var1 

int) varijable2 = var1; writestdout(
"varijable2 after forward = " + varijable2); end


This doesn't work, but if we do the same thing with onConstruction function it works. We really need onPrerender to work again.
I hope someone knows if this is something because new version of RBD or if there is some fix for this problem.
Thanks in advance for your help!

Regards,
Danijel
Updated on 2013-02-21T17:33:28Z at 2013-02-21T17:33:28Z by markevans
  • markevans
    markevans
    2778 Posts
    ACCEPTED ANSWER

    Re: RBD 8.0.1.4 onPrerender function cannot receive data passed with forward

    ‏2013-02-21T17:33:28Z  in response to hrobrod2
    Hi,

    My suggestion is that you go ahead and open a PMR so this can investigated by the development team.