I think something similar to the form input syntax would be good. Have
it return nothing but links, all in one string and allow some options
i.e. : around, before, first, between, last as keys to input html
around, before the first item, between all items ( meaning between
consecutive links - not the first or last ), and after the last would
be enough to generate an xhtml correct unordered list. You could also
do like the tableRows function and pass more parameters for
controlling the html attributes of the ul, and li elements.

At this point I might just write the damned thing since I half specced
it already and have easy reference code =)

On Jun 24, 4:30 am, euromark <[email protected]> wrote:
> i guess you can handle it..^^
> so i will shut up now^^
>
> On 24 Jun., 13:27, Leszek Stachowski <[email protected]> wrote:
>
> > As John wrote:
> > > maybe as
> > > an option, so those who for some reason don't want a list can request
> > > that :)
>
> > and then I
>
> > > I will submit a ticket with a change (as option) then
>
> > There will be both outputs possible ;)
>
> > On Jun 24, 1:24 pm, euromark <[email protected]> wrote:
>
> > > maybe we should allow both outputs - depending on the case both might
> > > be useful
>
> > > with a param "type" for example:
> > > - string
> > > - list (default)
>
> > > On 24 Jun., 13:11, Leszek Stachowski <[email protected]> wrote:
>
> > > > I will submit a ticket with a change (as option) then. Thanks for your
> > > > replies :)
>
> > > > On Jun 24, 1:05 pm, John Andersen <[email protected]> wrote:
>
> > > > > I will agree - for accessibility reason - as a list it will be
> > > > > understood better!
> > > > > So as Mark (euromark) says, submit a ticket and the change, maybe as
> > > > > an option, so those who for some reason don't want a list can request
> > > > > that :)
> > > > > Thank you for bringing the accessibility issue into the picture, that
> > > > > clarifies a lot - also for me :)
> > > > > Enjoy,
> > > > >    John
>
> > > > > On Jun 24, 12:54 pm, Leszek Stachowski <[email protected]> wrote:> I 
> > > > > didn't write it is not correct (x)html, because syntax of current
> > > > > > result is, indeed, correct. Providing a <ul> or <ol> element for
> > > > > > something which is de facto a list of elements (links, it this case)
> > > > > > is semantically correct and is a accessibility feature. You can see 
> > > > > > it
> > > > > > is a list, but what about someone using a screen reader? Consider 
> > > > > > it.
>
> > > > > [snip]- Zitierten Text ausblenden -
>
> > > > - Zitierten Text anzeigen -- Zitierten Text ausblenden -
>
> > - Zitierten Text anzeigen -

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 [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

Reply via email to