_eventId in url with webflow
Hi,
I have two problem with webflow.
The first, I try to use parameter in url with webflow. I am able to receive the parameter but when the page is reloaded, the parameters are still here. (I use this url with an ajax request)
It's my link :
Code:
<a id="${beneficiaire.login}" href="${flowExecutionUrl}&_eventId=delpers&idpers=${beneficiaire.login}">supprimer</a>
the transition :
Code:
<transition on="delpers">
<evaluate expression="demande.removeBeneficiaire(requestParameters.idpers)"/>
<render fragments="part1"/>
</transition>
It's a problem because when I try to submit a form (in the same page), the _eventId is still here and it's not the good transition. How can I resolve that ?
My second problem is with javascript decoration :
I use this code I want to reload all the fragment and not just the form. If I remove the formId parameter, it don't work, i have a javascript error :
_285.url is undefined.
Code:
Spring.addDecoration(new Spring.AjaxEventDecoration({
elementId: '${beneficiaire.login}',
event: "onclick",
formId:"formbenef",
params: { fragments: "part1" }
}));
thanks for your reply.