Ch 5 Edit Task
|
|
Hi Eldon, need a bit of hand-holding on this one… What I’m thinking on Edit Task is this…
Any sample code you can point to – in general, whats a good place to forage for sample code for stuff like this since a million other projects probably have already done this. Has anyone else done this? |
|
|
hi roupen…. the prototype and scriptaculous are used for this purpose. in_place_editor is used… passing right parameters will produce edit box on the fly. |
|
|
IMHO – the best place to start is to create it as a separate page at first. So you would add a link of some sort to edit the task which takes you to a custom page focused on editing the task. Once you’ve got the code working that way – it usually makes it easier to “extract” out the pieces that you’re interested in for making a more ajaxy approach. As for possibilities – you could do in_place_edit, you could do some sort of pop-up window (perhaps using a lightbox style solution like this , you could even do a dialog box on the bottom of the screen like this forum software does. There are tons of approaches – each with their own pros / cons. |