Frederick,
There are many options. To get the best feel you are probably looking
at some ajax. You can use many different list controls that will give
you the browse feel. As far as using html there are options there
too.
For example, you could turn your title or name field into an edit
link. Just use something like this in your code that creates the
list...
<?php echo $html->link($client['Event']['name'], array
('action'=>'edit', $client['Event']['id'])); ?>
This will make each Event name in your list a link that can be clicked
to edit. If you wanted to be really fancy, you could presumably use
the link to set an EvenId variable that you could reference when you
click edit or delete buttons. If you really wanted to be "Windows"
like you could put Insert, Change, and Delete buttons somewhere and
then use the EventId variable for the edit and delete functions. But
that might not look really pretty.
The problem with your question is there are too many answers. I
understand what you are wanting to do. There are just way too many
different ways to approach the solution.
Hope this helps.
On Aug 12, 8:02 am, FrederickD <[email protected]> wrote:
> I'm sorry my post was not more clear. I know in things Internet-
> related there is no double-click like in a local application. However,
> I cannot figure out how to have a row in a list of users (from /users/
> index.ctp), or even an attribute within that row (perhaps 'username'),
> be a hot spot so that clicking on that would request an action (view,
> edit, or delete).
>
> Having the links at the end of the row in a list takes up valuable
> 'real estate' from the area to display information.
>
> I'm just looking for suggestions on alternate UI architecture. Thank
> you for the suggested link with jQuery. I will check that out.
>
> I wasn't being deliberately obtuse... it just happens sometimes.
> Thanks for your patience.
>
> On Aug 11, 10:57 pm, Robert P <[email protected]> wrote:
>
> > It sounds like (no, no it doesn't - i'm just guessing) what you're
> > after is some kind of inline editing jQuery plugin... something
> > likehttp://www.appelsiini.net/projects/jeditable
>
> > Or perhaps you mean something like a drop-down RED (http://paul-m-
> > jones.com/?p=291) list for each row...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---