Chris, Right, this makes sense to me. What still doesn't is how do I access the number on a previous ftWizardStep if it is not written to the database (or is it in memory and I can simply use #stObj.session# or something similar?).
I guess what I'm confused about is the scope of the variables. If I set the session number in one wizard step, how do I access it in another? Maybe I'm just not asking the right question... Tomek On Wed, Sep 17, 2008 at 4:16 PM, Chris Kent <[EMAIL PROTECTED]> wrote: > > I have not tried this but it should get you started. > > - make sure you have the array property on a different ftWizardStep to > your selection property > - create a custom library edit behaviour that selects the library > content items based on your selection property, you will need to use > ftLibraryEditWebskin > > There are some detail in the wiki > http://docs.farcrycms.org/display/FCDEV50/Library+Element > > Chris. > > On Sep 17, 4:37 pm, "Tomek Kott" <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I'm trying to create a custom type which, essentially, has a number > > associated with a session. A custom file type, that is already present, > also > > has that same session number associated with it. What I'm trying to do is > in > > my custom type creation process (through regular formtools) get an array > of > > the file types that matches the session number as candidates to > associate. > > > > On the "create object" form for the new type, I have a ftType="numeric" > for > > the session number (and all associate ftLabels etc). A little down below, > I > > have ftType="array" with appropriate ftJoin set. Now I was thinking of > using > > ftlibrarydatasqlwhere, but I realized that the numeric data would not > have > > been written yet so I can't just do a simple > > "fileType.sessionNum=newType.sessionNum" (or something similar), and I > can't > > assume a default value. > > > > Is there a way I can use the information already in the form to only > return > > my custom file items that share the same session number? Something I > guess > > like ftlibrarydatasqlwhere=" fileType.sessionNum='#ft:SessionNum#' " ? > > > > Any help would be appreciated, > > > > Tomek > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
