Couple other ideas: 1) make your page one large form, with field names like caption#imageId#, and then process them all when you submit. Going this route, I'd still probably page the gallery into batches of ten or so, just to make it more managable.
2) keep the per-image forms, but use JS Remoting to send the updates to the server asynchronously per-form. You still get your persistance, at a per-image level, but you don't have to deal with reloading the page. cheers, barneyb On 7/8/05, John Munyan <[EMAIL PROTECTED]> wrote: > Hi, my website has a series of pictures that make up a hike - a photo gallery > essentially. The photo's themselves should have two attributes 1) caption > and 2) an available bit. Typically there are from 10 to 100 photos per hike > instance. > > My previous way of handling things was to loop over each picture and create a > form for each. The user could then update the attributes of any picture > which was good, but doing so caused the whole page to repost, which was bad. > I am wondering what a better approach would be. I have identified a couple > ways to go. > > 1) output a page (say 10 photos) into one form and let the user edit all the > attributes of those photos as one action and then let them post once. I am > unsure of how this would be best accomplished with Coldfusion. If this is a > preferred approach does anyone have any pointers to info that would help me > figure out how this would be done? > > 2) Use iframes one for each picture, containing an individual form and then > let users edit pictures one off. If this would be preferred as above is there > any info someone can point me to that would help me understand how this would > best be done? > > 3) Maybe there is some alternate preferred way someone would like to share? > > Thanks much, > > John > > Interested in Hiking in Washington State? Check out http://www.attrition.ws > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211432 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

