|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
extending formtool fieldis it possible to extend formtool field types?
I want to create my own HTML for edit, so extended array.cfc and added my own case for my display HTML The display part worked, but got errors on save. I had ripped out everything except edit() I have now put back in the other functions and it is now working. The only mod being the returnType of init() Is there a nicer / easier way to use your ourn HTML in a formtool edit form? I was thinking along the lines of webskins like used in other parts of Farcry. -- AJ Mercer Web Log: http://webonix.net --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: farcry-dev@... To unsubscribe, email: farcry-dev+unsubscribe@... For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: extending formtool fieldArray is a complex formtool. At least as much happens in the validate function as in the edit function. It works out like that whenever there needs to be processing in order to put the submitted data in the database. Others like it are file, image, datetime. You may need to override validate as well if you're adding a render type and want t.
Most formtools are much more straightforward, the submitted data simply gets inserted into the database. Blair On Wed, Jun 24, 2009 at 12:34 PM, AJ Mercer <ajmercer@...> wrote: is it possible to extend formtool field types? --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: farcry-dev@... To unsubscribe, email: farcry-dev+unsubscribe@... For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: extending formtool fieldAJ,
if you are just trying to change the way the labels appear in the display of the library or on the object admin page, then take a look at displayLibrarySelected and displayLabel (and maybe displayTitle?). I think displayLabel is used during the array function. If you're trying to change the array function more deeply than that, I don't think there is a webskin for it. Tomek On Tue, Jun 23, 2009 at 10:43 PM, Blair McKenzie <shib71@...> wrote: Array is a complex formtool. At least as much happens in the validate function as in the edit function. It works out like that whenever there needs to be processing in order to put the submitted data in the database. Others like it are file, image, datetime. You may need to override validate as well if you're adding a render type and want t. --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: farcry-dev@... To unsubscribe, email: farcry-dev+unsubscribe@... For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |