On 2004.09.09, Robert Seeger <[EMAIL PROTECTED]> wrote:
> I've been putting some thought into what might be useful for a
> standard tag library for everyone to use. I thought I'd send in my
> current thoughts (along with a very small bit of implementation that
> I've written):

My votes:

    <ns:var { get="var" | set="var" value="value" } />

    <ns:if expr> body </ns:if>

    <ns:loop name="var" { list="elements" | start="int" end="int" ?step="int=1"? | 
query="name" }> body </ns:loop>

    <ns:include file="pathname" />

    <ns:query name="id" { pool="poolname" | handle="dbid" }> sql </ns:query>

I'm not sure if it's clear what I mean by providing this "description"
of the interface I'm suggesting, but I'd be happy to code these tags up
and give example uses to help illustrate.

-- Dossy

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to