|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Extending Core type creates duplicate properties and ftWizardStepsI extended core type dmHTML and in my extended component I have some new properties that I want to get added to the existing ftWizardStep "Start" and ftFieldSet "General Details". When I add my new property and give it the same ftWizardStep="Start" and ftFieldSet="General Details" the formTool generates a duplicate "Start" ftWizard step and a duplicate "General Details" ftFieldSet. All properties, including my new one are duplicated in the second General Details section. This extended component worked properly in FarCry 4_0_9. This duplicate issue happened after upgrading to FarCry 5. Has anyone run into this issue? -Jason --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@... To unsubscribe from this group, send email to farcry-dev-unsubscribe@... For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Extending Core type creates duplicate properties and ftWizardStepsHi Jason,
I posted about this a couple of days back http://groups.google.com/group/farcry-dev/browse_thread/thread/248bd60a6713cadd On Fri, Jul 11, 2008 at 11:14 PM, jasonp <pero.jason@...> wrote:
-- 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 farcry-dev@... To unsubscribe from this group, send email to farcry-dev-unsubscribe@... For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Extending Core type creates duplicate properties and ftWizardStepsAJ, Thanks for the response. I think my situation is a little different or maybe I'm looking at the situation wrong. I extended dmHTML and all properties in the original farcry dmHTML have an ftWizardStep value set. A few of them have ftWizardStep="Start" and the rest are set to something else. In my extended dmHTML I added one property and made sure that I also added the ftWizardStep="Start" but I still get the duplicate sections and properties in the formTool. I would like to keep the wizard step functionality so what I did was create a new ftWizardStep category and stopped trying to add to the existing "Start" wizard step. Like I said before, I was able to extend dmHTML and add additional properties to ftWizardStep="Start" in 4.0.9, but 5.0.0 causes the duplicates. Its probably better to make a separate Wizard Step anyway. Thanks again, -Jason On Jul 11, 10:25 am, "AJ Mercer" <ajmer...@...> wrote: > Hi Jason, > > I posted about this a couple of days back > > http://groups.google.com/group/farcry-dev/browse_thread/thread/248bd6... > > > > On Fri, Jul 11, 2008 at 11:14 PM, jasonp <pero.ja...@...> wrote: > > > I extended core type dmHTML and in my extended component I have some > > new properties that I want to get added to the existing ftWizardStep > > "Start" and ftFieldSet "General Details". When I add my new property > > and give it the same ftWizardStep="Start" and ftFieldSet="General > > Details" the formTool generates a duplicate "Start" ftWizard step and > > a duplicate "General Details" ftFieldSet. All properties, including my > > new one are duplicated in the second General Details section. > > > This extended component worked properly in FarCry 4_0_9. This > > duplicate issue happened after upgrading to FarCry 5. Has anyone run > > into this issue? > > > -Jason > > -- > > 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 farcry-dev@... To unsubscribe from this group, send email to farcry-dev-unsubscribe@... For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Extending Core type creates duplicate properties and ftWizardStepsJason, Check that the ftSeq numerical value is sequential to where it should be in the form elements and make sure you're not using the same value twice (either in the extended file or the CFC you're extending from). -- Jeff Coughlin Web Application Developer http://jeffcoughlin.com On Jul 11, 2008, at 1:23 PM, jasonp wrote: > > AJ, > > Thanks for the response. I think my situation is a little different or > maybe I'm looking at the situation wrong. I extended dmHTML and all > properties in the original farcry dmHTML have an ftWizardStep value > set. A few of them have ftWizardStep="Start" and the rest are set to > something else. In my extended dmHTML I added one property and made > sure that I also added the ftWizardStep="Start" but I still get the > duplicate sections and properties in the formTool. > > I would like to keep the wizard step functionality so what I did was > create a new ftWizardStep category and stopped trying to add to the > existing "Start" wizard step. > > Like I said before, I was able to extend dmHTML and add additional > properties to ftWizardStep="Start" in 4.0.9, but 5.0.0 causes the > duplicates. > > Its probably better to make a separate Wizard Step anyway. > > Thanks again, > -Jason --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@... To unsubscribe from this group, send email to farcry-dev-unsubscribe@... For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Extending Core type creates duplicate properties and ftWizardStepsOn Jul 12, 3:23 am, jasonp <pero.ja...@...> wrote: > Thanks for the response. I think my situation is a little different or > maybe I'm looking at the situation wrong. I extended dmHTML and all > properties in the original farcry dmHTML have an ftWizardStep value > set. A few of them have ftWizardStep="Start" and the rest are set to > something else. In my extended dmHTML I added one property and made > sure that I also added the ftWizardStep="Start" but I still get the > duplicate sections and properties in the formTool. > > I would like to keep the wizard step functionality so what I did was > create a new ftWizardStep category and stopped trying to add to the > existing "Start" wizard step. > > Like I said before, I was able to extend dmHTML and add additional > properties to ftWizardStep="Start" in 4.0.9, but 5.0.0 causes the > duplicates. > > Its probably better to make a separate Wizard Step anyway. If it worked in 4.0 then it should work the same way in 5.0. Can you please raise an issue, and attach your extension plus a screenshot of the resulting wizard. http://bugs.farcrycms.org/browse/FC Many thanks, -- geoff http://www.daemon.com.au/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@... To unsubscribe from this group, send email to farcry-dev-unsubscribe@... For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Extending Core type creates duplicate properties and ftWizardStepsOn Jul 12, 3:23 am, jasonp <pero.ja...@...> wrote: > Thanks for the response. I think my situation is a little different or > maybe I'm looking at the situation wrong. I extended dmHTML and all > properties in the original farcry dmHTML have an ftWizardStep value > set. A few of them have ftWizardStep="Start" and the rest are set to > something else. In my extended dmHTML I added one property and made > sure that I also added the ftWizardStep="Start" but I still get the > duplicate sections and properties in the formTool. > > I would like to keep the wizard step functionality so what I did was > create a new ftWizardStep category and stopped trying to add to the > existing "Start" wizard step. > > Like I said before, I was able to extend dmHTML and add additional > properties to ftWizardStep="Start" in 4.0.9, but 5.0.0 causes the > duplicates. > > Its probably better to make a separate Wizard Step anyway. Can you send through the actual <cfproperty ../> tags you are using in your extended type? Thanks, -- geoff http://www.daemon.com.au/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@... To unsubscribe from this group, send email to farcry-dev-unsubscribe@... For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Extending Core type creates duplicate properties and ftWizardStepsI uploaded a copy of the entire extended component to bug fix FC-1402. Thanks, Jason On Jul 14, 8:10 pm, modius <mod...@...> wrote: > On Jul 12, 3:23 am, jasonp <pero.ja...@...> wrote: > > > > > Thanks for the response. I think my situation is a little different or > > maybe I'm looking at the situation wrong. I extended dmHTML and all > > properties in the original farcry dmHTML have an ftWizardStep value > > set. A few of them have ftWizardStep="Start" and the rest are set to > > something else. In my extended dmHTML I added one property and made > > sure that I also added the ftWizardStep="Start" but I still get the > > duplicate sections and properties in the formTool. > > > I would like to keep the wizard step functionality so what I did was > > create a new ftWizardStep category and stopped trying to add to the > > existing "Start" wizard step. > > > Like I said before, I was able to extend dmHTML and add additional > > properties to ftWizardStep="Start" in 4.0.9, but 5.0.0 causes the > > duplicates. > > > Its probably better to make a separate Wizard Step anyway. > > Can you send through the actual <cfproperty ../> tags you are using in > your extended type? > > Thanks, > > -- geoffhttp://www.daemon.com.au/ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@... To unsubscribe from this group, send email to farcry-dev-unsubscribe@... For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Extending Core type creates duplicate properties and ftWizardStepsI think this might be related to the ftSeq in your new properties. You have added a new property in fieldset General Details with a ftSEQ of 7. This means that General Details now has ftSeq's of 1,2,3,4 & 7 with Metadata having ftSeq's of 5 & 6 Try pulling all the properties from the core dmHTML and ensure that the ftSeqs for fieldsets do not overalp. Chris. On Jul 18, 5:29 pm, jasonp <pero.ja...@...> wrote: > I uploaded a copy of the entire extended component to bug fix FC-1402. > > Thanks, > Jason > > On Jul 14, 8:10 pm, modius <mod...@...> wrote: > > > On Jul 12, 3:23 am, jasonp <pero.ja...@...> wrote: > > > > Thanks for the response. I think my situation is a little different or > > > maybe I'm looking at the situation wrong. I extended dmHTML and all > > > properties in the original farcry dmHTML have an ftWizardStep value > > > set. A few of them have ftWizardStep="Start" and the rest are set to > > > something else. In my extended dmHTML I added one property and made > > > sure that I also added the ftWizardStep="Start" but I still get the > > > duplicate sections and properties in the formTool. > > > > I would like to keep the wizard step functionality so what I did was > > > create a new ftWizardStep category and stopped trying to add to the > > > existing "Start" wizard step. > > > > Like I said before, I was able to extend dmHTML and add additional > > > properties to ftWizardStep="Start" in 4.0.9, but 5.0.0 causes the > > > duplicates. > > > > Its probably better to make a separate Wizard Step anyway. > > > Can you send through the actual <cfproperty ../> tags you are using in > > your extended type? > > > Thanks, > > > -- geoffhttp://www.daemon.com.au/ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@... To unsubscribe from this group, send email to farcry-dev-unsubscribe@... For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Extending Core type creates duplicate properties and ftWizardStepsYour issue is the ordering of fieldsets. You will notice in the code below (the combination of core and your custom type) that the "General Details" fieldsets are not all together. This is what is causing your problem. Your best bet is to rename your extended fieldset to something other than "General Details", perhaps something like "Print Options". As a side note, we always put ftSeq, ftWizardStep and ftFieldset as the first fields and on the same line so that it is easier to eyeball the structure of your form. <cfproperty ftSeq="1" ftwizardStep="Start" ftFieldset="General Details" name="Title"> <cfproperty ftSeq="2" ftwizardStep="Start" ftFieldset="General Details" name="reviewDate" > <cfproperty ftSeq="3" ftwizardStep="Start" ftFieldset="General Details" name="ownedby"> <cfproperty ftSeq="4" ftwizardStep="Start" ftFieldset="General Details" name="displayMethod"> <cfproperty ftSeq="5" ftwizardStep="Start" ftFieldset="Metadata" name="metaKeywords" > <cfproperty ftSeq="6" ftwizardStep="Start" ftFieldset="Metadata" name="extendedmetadata"> <cfproperty ftSeq="7" ftwizardStep="Start" ftFieldset="General Details" name="includePrintOption" type="boolean" required="false" default="0" hint="Flag to indicate whether to include print menu on page" ftLabel="Include Print Menu" ftType="boolean"> <cfproperty ftSeq="8" ftwizardStep="Body" ftFieldset="Body" name="pageHeading" type="string" required="false" default="" hint="page heading to appear in body" ftLabel="Page Heading"> <cfproperty ftSeq="9" ftwizardStep="Body" ftFieldset="Body" name="pageTitle" type="string" required="false" default="" hint="page title to appear in html title" ftLabel="Page Title"> Kind regards -- -- Matthew Bryant Product Development Manager Daemon Internet Consultants Adobe Solutions Partner http://www.daemon.com.au/ p. 02 8302 4600 f. 02 9380 4204 On 19/07/2008, at 2:29 AM, jasonp wrote: > > I uploaded a copy of the entire extended component to bug fix FC-1402. > > Thanks, > Jason > > On Jul 14, 8:10 pm, modius <mod...@...> wrote: >> On Jul 12, 3:23 am, jasonp <pero.ja...@...> wrote: >> >> >> >>> Thanks for the response. I think my situation is a little >>> different or >>> maybe I'm looking at the situation wrong. I extended dmHTML and all >>> properties in the original farcry dmHTML have an ftWizardStep value >>> set. A few of them have ftWizardStep="Start" and the rest are set to >>> something else. In my extended dmHTML I added one property and made >>> sure that I also added the ftWizardStep="Start" but I still get the >>> duplicate sections and properties in the formTool. >> >>> I would like to keep the wizard step functionality so what I did was >>> create a new ftWizardStep category and stopped trying to add to the >>> existing "Start" wizard step. >> >>> Like I said before, I was able to extend dmHTML and add additional >>> properties to ftWizardStep="Start" in 4.0.9, but 5.0.0 causes the >>> duplicates. >> >>> Its probably better to make a separate Wizard Step anyway. >> >> Can you send through the actual <cfproperty ../> tags you are using >> in >> your extended type? >> >> Thanks, >> >> -- geoffhttp://www.daemon.com.au/ > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@... To unsubscribe from this group, send email to farcry-dev-unsubscribe@... For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free Forum Powered by Nabble | Forum Help |