after some down time I’m back again doing some xpages and I already seem to have forgotton to many things. I have the following code:

A datasource:

<xe:objectData var="league" ignoreRequestParams="true"
return leagueService.get(viewScope.currentKey);}]]></xe:this.createObject>

and a couple of comboboxes

<xp:comboBox id="idLeagueList" value="#{viewScope.currentKey}">
<xp:this.value><![CDATA[#{javascript: return eu.jeroensomhorst.cms.util.JSFUtil.asSelectItem(leagueService.getAll(season),true);}]]></xp:this.value>

<xp:eventHandler event="onchange" submit="true" refreshMode="complete">

<xp:listBox id="lstAvailableTeams">

as you can see nothing to fancy. But the problem is as that whenever I do change the value of the idLeagueList combobox and execute the changelistener ( aka it updates the viewscope ). It always retrieves the previous data. I thought I had sorted that out ages ago but apparently not. Can anyone help me out here?

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.