EGL tooling and version - IBM® Rational® Business Developer 220.127.116.11
IBM® WebSphere® Application Server Version 7.0 Test Environment 18.104.22.168
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 22.214.171.124 to RBD 126.96.36.199, the server stayed the same as before WAS 188.8.131.52.
In RBD 184.108.40.206 forward command works fine, when we pass some data we can receive that data in onConstruction and onPrerender functions without problems.
In RBD 220.127.116.11 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 18.104.22.168 and never on 22.214.171.124.
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!