form tools

View: New views
6 Messages — Rating Filter:   Alert me  

form tools

by AJ Mercer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The more I look into Farcry the more I release how much I don't know.

How do some objects like dmNews and dmHTML, when edited, get  Complete / Cancel buttons on the right hand side, verses buttons on the bottom of the form?


--
AJ Mercer
Web Log: http://webonix.net


Once you come to the realisation that everyone is crazy,
You will never be surprised or disappointed ever again.
AJM 2008

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: form tools

by modius :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sep 11, 5:50 pm, "AJ Mercer" <ajmer...@...> wrote:
> The more I look into Farcry the more I release how much I don't know.
> How do some objects like dmNews and dmHTML, when edited, get  Complete /
> Cancel buttons on the right hand side, verses buttons on the bottom of the
> form?

Buttons to the right mean a multi-step wizard.  To make this magic
happen, add ftWizardStep="Step Name" to each of your cfproperty tags -
very similar to the way ftfieldset works.  That's it.

Some debate internally as to whether or not we make everything a
wizard -- that is, simple forms with only fieldsets use the wizard
format and have only one step.  Would maintain consistency in the UI.
But the jury is still out.

-- geoff
http://www.daemon.com.au/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: form tools

by AJ Mercer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmm, that is what I originally thought, but it did not do anything.
Maybe I should update the application.


On Thu, Sep 11, 2008 at 5:32 PM, modius <modius@...> wrote:

On Sep 11, 5:50 pm, "AJ Mercer" <ajmer...@...> wrote:
> The more I look into Farcry the more I release how much I don't know.
> How do some objects like dmNews and dmHTML, when edited, get  Complete /
> Cancel buttons on the right hand side, verses buttons on the bottom of the
> form?

Buttons to the right mean a multi-step wizard.  To make this magic
happen, add ftWizardStep="Step Name" to each of your cfproperty tags -
very similar to the way ftfieldset works.  That's it.

Some debate internally as to whether or not we make everything a
wizard -- that is, simple forms with only fieldsets use the wizard
format and have only one step.  Would maintain consistency in the UI.
But the jury is still out.

-- geoff
http://www.daemon.com.au/




--
AJ Mercer
Web Log: http://webonix.net


Once you come to the realisation that everyone is crazy,
You will never be surprised or disappointed ever again.
AJM 2008

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: form tools

by AJ Mercer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I took another look at dmNews.cfc and noticed it had some extra attributes in the CFCOMPONENT tag
namely: bSchedule="true" bFriendly="true" bObjectBroker="true"

When I added these to my component I got the wizard magic I was after :-)

But I am not sure which one did it based on what this is telling me

bSchedule has been Deprecated
bFriendly is for SES URLs
bObjectBroker is to activeate object broker


The attributes did not have an affect on the form component :-(
But Geoff already said this would be the case in another thread; but I still had to go and stick my finger in the socket to find out for myself.


On Thu, Sep 11, 2008 at 5:32 PM, modius <modius@...> wrote:

On Sep 11, 5:50 pm, "AJ Mercer" <ajmer...@...> wrote:
> The more I look into Farcry the more I release how much I don't know.
> How do some objects like dmNews and dmHTML, when edited, get  Complete /
> Cancel buttons on the right hand side, verses buttons on the bottom of the
> form?

Buttons to the right mean a multi-step wizard.  To make this magic
happen, add ftWizardStep="Step Name" to each of your cfproperty tags -
very similar to the way ftfieldset works.  That's it.

Some debate internally as to whether or not we make everything a
wizard -- that is, simple forms with only fieldsets use the wizard
format and have only one step.  Would maintain consistency in the UI.
But the jury is still out.

-- geoff
http://www.daemon.com.au/




--
AJ Mercer
Web Log: http://webonix.net


Once you come to the realisation that everyone is crazy,
You will never be surprised or disappointed ever again.
AJM 2008

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: form tools

by Jeff Coughlin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> Some debate internally as to whether or not we make everything a
> wizard -- that is, simple forms with only fieldsets use the wizard
> format and have only one step.  Would maintain consistency in the UI.
> But the jury is still out.

You have my vote to keep the consistent layout (as well as most of my  
clients).  But if there is a reason to possibly keep both, then maybe  
add a simple switch.  Example: In cfcomponent tag allow a new  
attribute bForceWizardLayout="true|false" (where I'd just make it a  
habit to always force it to true on all my apps past and present).  Or  
something with more future growth: ftLayout="standard/wizard|non-
standard--find-the-button--nope-keep-scrolling--yup-way-down-there-
like-FarCry-2". Thoughts?

--
Jeff Coughlin
Web Application Developer
http://jeffcoughlin.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: form tools

by AJ Mercer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I like the idea of having an consistent interface, no matter if you are editing a core, farcryCMS or custom type.

If you are going for a wizrd interface, it is nice to have the cancel & save buttons in the side bar with all the next / prev buttons and  navigation links so you can jump out at any of the steps.

If it is a one page form, then the side bar may seem unnecessary, but it keeps everything consistent.



On Fri, Sep 12, 2008 at 1:37 PM, Jeff Coughlin <jeff@...> wrote:

> Some debate internally as to whether or not we make everything a
> wizard -- that is, simple forms with only fieldsets use the wizard
> format and have only one step.  Would maintain consistency in the UI.
> But the jury is still out.

You have my vote to keep the consistent layout (as well as most of my
clients).  But if there is a reason to possibly keep both, then maybe
add a simple switch.  Example: In cfcomponent tag allow a new
attribute bForceWizardLayout="true|false" (where I'd just make it a
habit to always force it to true on all my apps past and present).  Or
something with more future growth: ftLayout="standard/wizard|non-
standard--find-the-button--nope-keep-scrolling--yup-way-down-there-
like-FarCry-2". Thoughts?

--
Jeff Coughlin
Web Application Developer
http://jeffcoughlin.com





--
AJ Mercer
Web Log: http://webonix.net


Once you come to the realisation that everyone is crazy,
You will never be surprised or disappointed ever again.
AJM 2008

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---