I'd like to update some URL parameters but it's not working.... could
someone help me?
For example, I have an URL parameter called DataAgenda and its value is
"11/05/2004". In my CSP page I have a textfield where the user types a new
date, for example "15/05/2004". In the page there is a button that calls a
javascript function. This javascript function calls a cache method. Here
they are:
<script language="javascript">
function SetaData(data) {
// the variable <data> contains the document.form.Data.value; it's the value
passed by reference
...
#server(..SetaData(data))#
window.location=window.location; //
document.location=document.location;
...
}
</script>
<script language=CACHE method="SetaData" arguments="data:%String"
returntype="%Status">
Set %request.Data("DataAgenda",1)=data
Quit 1
</script>
In some part of the page, there is a CSP data to get the DataAgenda value.
But it is not being updated...
Thanks
Leonardo J. Tramontina