Topic
  • 2 replies
  • Latest Post - ‏2013-02-27T17:59:47Z by paoloc
paoloc
paoloc
530 Posts

Pinned topic onPrerender accessed only one time

‏2013-02-22T15:28:16Z |
Hi,
in a faces jsp the onPrerender function are accessed only when I launch the jsp.
This code:
handler spazioDiLavoro5 type JSFHandler{onConstructionFunction = onConstruction, onPrerenderFunction = onPrerender, view = "spazioDiLavoro5.jsp", viewRootVar = viewRoot, msgResource = "lingue/rb"}
function onPrerender()
syslib.writeStdout("onPrerender ");
if(J2EELib.getQueryParameter("$$ajaxmode") == null)
syslib.writeStdout("null ");
else
listacartelle string? = J2eeLib.getQueryParameter("menu30");
syslib.writeStdout("listacartelle " +listacartelle);
if(listacartelle != "")
leggi();
end
end
end

The spazioDiLavoro5.jsp:
preRender="#{spazioDiLavoro5._preRender}"
postRender="#{spazioDiLavoro5._postRender}">
The console (first time):
onPrerender
null

The next time the onPrerender is not executed.

paoloc
Updated on 2013-02-27T17:59:47Z at 2013-02-27T17:59:47Z by paoloc
  • markevans
    markevans
    2887 Posts

    Re: onPrerender accessed only one time

    ‏2013-02-22T17:39:49Z  
    Paolo,

    can you open a PMR. This sounds like something the support team should look at.

    Did it start occurring on all pages or just this one? And in either case, did the symptoms start after some change in RBD levels or other type of change?
  • paoloc
    paoloc
    530 Posts

    Re: onPrerender accessed only one time

    ‏2013-02-27T17:59:47Z  
    • markevans
    • ‏2013-02-22T17:39:49Z
    Paolo,

    can you open a PMR. This sounds like something the support team should look at.

    Did it start occurring on all pages or just this one? And in either case, did the symptoms start after some change in RBD levels or other type of change?
    The problem occours in this case:
    A first ajax request from a combobox generate a table into a groupbox (group1)with an jsp into the group box (jsp1). This works.
    Fom the table in jsp1 an ajax request to another groupbox (group2)with another jsp (jsp2)containing another table.
    The first table have the parameter: $$AJAXROW$$form1:tableEx1:(=linkEx with the content of one column).
    When I execute the parameter from this table are blank on onPrerender.

    paoloc