cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [1.8-dev patch] Global Vars in XSP - xsp:variable
Date Fri, 22 Sep 2000 13:02:41 GMT
Donald Ball wrote:
> 
> On Thu, 21 Sep 2000, Kevin Sonney wrote:
> 
> > ESQL has given me a new outlook on life. However, the inability to pass
> > <xsp:expr></xsp:expr> statements to esql has been a bit trying on one
> > application I'm writing. So, in a blinding flash of "wouldn't this would
> > work if I had a global var, now wouldn't it?", I added the ability to
> > specify global variables in XSP, something that had been lacking.
> 
> hrm? in what sense can you not pass <xsp:expr> expressions into esql?
> 
> > With this patch, you can do the following :
> >
> > <xsp:sturcture>
> >       <xsp:variable>UserRecord user</xsp:variable>
> >       <xsp:variable>boolean debug = true</xsp:variable>
> > </xsp:structure>
> >
> > FWIW, I *KNOW* we can do this with <xsp:logic> tags imediately after
> > the last <xsp:structure> tag, but using <xsp:variable>, IMHO seperates
> > logic from structure just that little bit further. It's also a bit
> > clearer to document. Especailly since the xsp docs don't talk about
> > global vars, from what I could see.
> 
> i somewhat concur here, actually, this does perhaps improve clarity. i'm
> curious to see what ricardo and stefano, and naturally, we should get in
> touch with matt sergeant before making any changes to the xsp namespace.
> someone had mentioned being able to make an xsp-dev list just for these
> issues - can that be revisited by someone with admin powers on locus?
> hello?

I'll ask the PMC to create such a list.

I think it's about time now.

I'll be back soon.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message