You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.
I've an heavy dynamic application in JSF 2.2 running on Wildfly 12.0 (single page web app) it's currently migrated from Jboss AS 7.0 .
I encounter a lot of messages : unable to save dynamic action with clientid.
It seems after debugging that the problem is coming from the class : StateContext method handleAddRemoveWithAutoPrune.
In my case ; struct.action = 'REMOVE' and firstIndex = -1 so it will add the component to the actionList and the map instead of not adding it. So the next JSF Ajax Function called will log the error message "unable to save dynamic action with clientid".
I've added some logging to see if my component was dynamically added to the actionList but it was not the case ; maybe it's because of my typical application.
With the correction, error messages dissappears and application seems ok.
Sorry, i've no use case to provide for the moment.
What do you think ?
Thanks,
if (firstIndex == -1) { if (ComponentStruct.ADD.equals(struct.action)) { actionList.add(struct); componentMap.put(struct.clientId, component); } }
The text was updated successfully, but these errors were encountered:
When you click on the button, outputText is removed (No error Message). The second time you click on the button you have the error : unable to save dynamic action with clientid.
Hi,
I've an heavy dynamic application in JSF 2.2 running on Wildfly 12.0 (single page web app) it's currently migrated from Jboss AS 7.0 .
I encounter a lot of messages : unable to save dynamic action with clientid.
It seems after debugging that the problem is coming from the class : StateContext method handleAddRemoveWithAutoPrune.
In my case ; struct.action = 'REMOVE' and firstIndex = -1 so it will add the component to the actionList and the map instead of not adding it. So the next JSF Ajax Function called will log the error message "unable to save dynamic action with clientid".
I've added some logging to see if my component was dynamically added to the actionList but it was not the case ; maybe it's because of my typical application.
With the correction, error messages dissappears and application seems ok.
Sorry, i've no use case to provide for the moment.
What do you think ?
Thanks,
if (firstIndex == -1) {
if (ComponentStruct.ADD.equals(struct.action)) {
actionList.add(struct);
componentMap.put(struct.clientId, component);
}
}
The text was updated successfully, but these errors were encountered: