Free Marker: Any way to know if MyProfilePage was saved.
Hi There... I'm fairly sure I can do a lot of what I want using javascript. However, if possible I rather use Free Marker.
Is it possible to know that the MyProfilePage was saved (as when the Save Changes button is pressed)?
One we could be, if somehow by using, say page.content to know if the feedback-success element was printed on the page.
Is there any way in FreeMarker to know what HTML elements were printed?
Another way could be, and it depends a lot of what the scope of these are, to see if http.request has parameters or attrubutes set by the process in charge of saving the form?
Is there any way to list all the parameters and attributes in the http.request object if one doesn't know the names? (definitely showing my lack of experience with free marker)
Ultimately what I'm trying to know is if the 'Save Changes' button was pressed in MyProfilePage and the Save was succesful, from free marker. Is there any way to know this?
Thanks a lot in advance!
My apologies.
You'll need to reference the results as so:
<#if activity.results.name.UserUpdated??> ... </#if>
Sorry for the confusion!