Sounds like you're right - there's something missing from the core version.
Can you please create a quick bug ticket describing what you expect and what
you actually get in that form?

Thanks
Blair

On Thu, Dec 17, 2009 at 8:11 AM, Marco van den Oever <
[email protected]> wrote:

> I just removed the editOwn.cfm from my project so the core version is
> used, still no validation...
> Do i need to include some webtop specific stuff in my project???
>
> Thanks :(
>
> On Dec 16, 3:25 am, Marco van den Oever <[email protected]>
> wrote:
> > Mm no, the default in object.cfm is <cfparam
> > name="attributes.bValidation" default="true">.
> > Do i need to include something because the editOwn.cfm is in my
> > project and not in core?
> > Can't see what i am missing right now...
> >
> > On Dec 15, 11:44 pm, Tomek Kott <[email protected]> wrote:
> >
> > > <ft:object objectid="#stobj.objectid#" typename="dmProfile"
> > > lfields="firstName,lastname,
> > > city,address,postalcode,emailAddress"
> > > r_stPrefix="prefix" />
> >
> > > change this to include validation="true"... I think that's what the
> property
> > > is, and see if that works
> >
> > > On Tue, Dec 15, 2009 at 5:31 PM, Marco van den Oever <
> >
> > > [email protected]> wrote:
> > > > Hi all,
> >
> > > > In a page i include a customized editOwn.cfm, the data gets saved but
> > > > the validation isn't working, what am i missing?
> >
> > > > <cfsetting enablecfoutputonly="true" />
> > > > <!--- @@displayname: Edit Profile --->
> > > > <!--- @@description: Form for users editing their own profile --->
> >
> > > > <!--- import tag libraries --->
> > > > <cfimport taglib="/farcry/core/tags/formtools/" prefix="ft" />
> > > > <cfimport taglib="/farcry/core/tags/extjs/" prefix="extjs" />
> > > > <cfimport taglib="/farcry/core/tags/webskin/" prefix="skin" />
> >
> > > > <!--- get profile data and set to stobj --->
> > > > <cfset stProfile = getData(objectid=session.dmProfile.objectid) />
> > > > <cfif structkeyexists(stObj,"bDefaultObject") and
> > > > stObj.bDefaultObject>
> > > >        <cfset stObj = stProfile />
> > > > </cfif>
> >
> > > > <!--- You can not edit other users' profiles --->
> > > > <cfif NOT application.security.getCurrentUserID() eq stObj.username>
> > > >        <cfthrow message="Invalid Profile Change" detail="You can not
> edit
> > > > other users' profiles." />
> > > > </cfif>
> >
> > > > <ft:processform action="Save">
> >
> > > > <ft:processFormObjects typename="dmProfile" />
> >
> > > > </ft:processform>
> >
> > > > <div id="updateform">
> >
> > > > <ft:form css="style.css">
> >
> > > >        <ft:object objectid="#stobj.objectid#" typename="dmProfile"
> > > > lfields="firstName,lastname,city,address,postalcode,emailAddress"
> > > > r_stPrefix="prefix" />
> >
> > > >        <extjs:onReady> Ext.get("#prefix#lTypenames").on('change',
> > > > this.onClick, this, {
> > > >      buffer: 500,
> > > >      fn: function() {
> > > >      renderWorkflowDefWebskins('#stobj.objectid#', Ext.get
> > > > ('#prefix#lTypenames').dom.value);
> > > >      }
> > > >      });
> >
> > > >      function renderWorkflowDefWebskins(workflowDefID,lTypenames) {
> >
> > > >      var el = Ext.get("editWebskins");
> >
> > > >      if (workflowDefID != '') {
> >
> > > >      el.slideOut('t', {
> > > >      easing: 'easeOut',
> > > >      duration: .5,
> > > >      remove: false,
> > > >      useDisplay: true,
> > > >      callback: function() {
> > > >      el.load({
> > > >      url: "#application.url.webtop#/facade/workflowFacade.cfc?
> > > > method=renderWorkflowDefWebskins",
> > > >      scripts: true,
> > > >      autoAbort:true,
> > > >      callback: function() {
> > > >      el.slideIn('t', {
> > > >      easing: 'easeIn',
> > > >      duration: .5,
> > > >      remove: false,
> > > >      useDisplay: true
> > > >      })
> > > >      },
> > > >      params: {
> > > >      workflowDefID: workflowDefID,
> > > >      lTypenames: lTypenames
> > > >      }
> > > >      });
> > > >      }
> > > >      })
> >
> > > >      }
> >
> > > >      }  </extjs:onReady>
> >
> > > >        <ft:farcryButtonPanel>
> > > >                <ft:button value="Save"
> text="#application.rb.getResource
> > > > ('shop.general.updateprofile')#" />
> > > >        </ft:farcryButtonPanel>
> >
> > > > </ft:form>
> >
> > > > </div>
> >
> > > > <cfsetting enablecfoutputonly="false" />
> >
> > > > --
> > > > You received this message cos you are subscribed to "farcry-dev"
> Google
> > > > group.
> > > > To post, email: [email protected]
> > > > To unsubscribe, email: 
> > > > [email protected]<farcry-dev%[email protected]>
> <farcry-dev%[email protected]<farcry-dev%[email protected]>
> >
> > > > For more options:http://groups.google.com/group/farcry-dev
> > > > --------------------------------
> > > > Follow us on Twitter:http://twitter.com/farcry
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: 
> [email protected]<farcry-dev%[email protected]>
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to