Thanks for the reply.
What does your code look like at the moment?
Are you using any of the AJAX/JS helper methods provided by Cake?
I am using the javascript helper and a modified ajax helper (for jquery).
Which JS engine are you using (jQuery, prototype, ...)?
jQuery
Are you firing a new AJAX request each time the value of a select list changes?
Yes, all requests are initiated by $ajax->observeField() and complimented with a little jquery
Are you pre-loading all conceivable options once at the start and just selecting the
appropriate subset of options when you change values?
I am loading the appropriate subset of options when values are changed.
Please see the attached images for extra clarification.identifier.png - this is the initial step, before any ajax requests are made.
vertical.png- this is a blind which contains all 5 steps
roller.png - this is another blind which only contains 3 steps but uses the same form and system.
configuration.png- This is a list of options which has been loaded due to your selection (into the #options div)
if you see the vertical.png image, these fields will need to be all loaded at once when I select "Vertical Blind" from the identifier.
You can see the way I structured the html in my pastie.
Kind Regards
Stephen
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment