I believe that exit="true" means "after action exit edit mode". So for <ft:processform action="Save" exit="true"> it means that after the save action you exit the page to the admin page of the type.
On Mar 11, 7:16 am, AJ Mercer <[email protected]> wrote: > ... but I have not worked it out :-( > > Change password Farcry Style (core/webskin/farUser/editOwnPassword.cfm) > <ft:processform action="Save" exit="true"> > <ft:validateFormObjects objectid="#stobj.objectid#" /> > > <ft:processformobjects objectid="#stobj.objectid#" /> > <cfoutput> > <span class="success">Your password has been updated.</span> > </cfoutput> > </ft:processform> > > This *does* only change the password if > - old password is correct > - new and confirm match > but there is no feedback to the user if it fails > > So I have this for my UD > <ft:processform action="Save" exit="true" > > <ft:validateFormObjects objectid="#stobj.objectid#" /> > > <cfif request.stfarcryformvalidation.bSuccess> > <ft:processformobjects objectid="#stobj.objectid#" /> > <extjs:bubble title="Change Password" message="Your password has > been updated." /> > <cfelse> > <extjs:bubble title="Change Password" > message="#request.stfarcryformvalidation[stobj.objectID].password.stError.message#" > /> > </cfif> > > </ft:processform> > > NOTE the use of the REQUEST variables > - request.stfarcryformvalidation.bSuccess > - request.stfarcryformvalidation[stobj.objectID].password.stError.message > > I have also only do ft:processformobjects if bScussess > > Have I missed something? > I bet it will be extremely simple - foormtools do a lot of funky magic > > Also, what does this do? > exit="true" > > -- > AJ Mercer > Web Log:http://webonix.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
