Sean,

I am using the object admin.

Here's what I have been able to reproduct so far.

I added a new object using the object admin for the cutom type.


for the properiotes:

<cfproperty ftseq="40" ftfieldset="Territories"
name="territories"     type="longchar" hint="Territories
represented"   required="yes" default="" ftlabel="Territories"
fttype="category"   ftalias="sp_territories"
ftSelectMultiple="true" ftvalidation="required" />


<cfproperty ftseq="41" ftfieldset="Product Lines"
name="productlines"    type="longchar" hint="Product lines
represented" required="yes" default="" ftlabel="Product Lines"
fttype="category"   ftalias="sp_product_lines"
ftSelectMultiple="true" ftvalidation="required" />


I initialy checked off 2 "territories", leaving "product lines" blank.

I checked the table and this record hada blank productlines column and
2 object IDs in the territories column as I should.

I then went back to objectadmin and edited the record. I checked off 1
of the productlines categories.

When I go back to the dtabase table, I still have 2 territories,
HOWEVER, in the productlines column, I have 3 objectids, the firt two
are the territories and the 3rd is the productline category.

So I edit again, unchecking the productline, review DB and the column
no longer has the productline object id, but retains the two
territoties ids .. the territories column now has 4 objectids.

seems like the fttype="category" is loading the entire tree and
setting all the "cateogory" values, while only displaying only those
at the property's "ftalias"

Is this how its supposed to be working or a bug. It seems like I
should be able to have a property/column levergage the category tree
witout other columns that also use the tree interfereing.



On Oct 22, 10:40 am, Sean Coyne <[EMAIL PROTECTED]> wrote:
> how are you editing it?  using objectadmin or a custom formtools setup
> or your own code?
>
> On Oct 21, 2:22 pm, Chris Roth <[EMAIL PROTECTED]> wrote:
>
>
>
> > I seem to have an issue with a custom type that uses the category
> > system.
>
> > I have 2 properties for this type:
>
> > <cfproperty ftseq="40" ftfieldset="Territories"
> > name="territories"     type="longchar" hint="Territories
> > represented"   required="yes" default="" ftlabel="Territories"
> > fttype="category"   ftalias="sp_territories"
> > ftSelectMultiple="true" ftvalidation="required" />
>
> > <cfproperty ftseq="41" ftfieldset="Product Lines"
> > name="productlines"    type="longchar" hint="Product lines
> > represented" required="yes" default="" ftlabel="Product Lines"
> > fttype="category"   ftalias="sp_product_lines"
> > ftSelectMultiple="true" ftvalidation="required" />
>
> > For some reason, when you edit a record for one of these content
> > opbjects, the selections made for one or the other seem to get crossed
> > over or appended. I am not sure whats happening, but when you edit a
> > record, the "checked" values look just fine, but in the DB, the column
> > holding the data has more than the check off cats.
>
> > ideas?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to