RE: Re: Embedded bean/param values
Hi There Excuse my ignorance, but what is JSPTL? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 11:08 AM To: [EMAIL PROTECTED] Subject: RE: Re: Embedded bean/param values > Using your example: > >"> > > This could be done in JSPTL in the following way: > > > I missed that on my brief tour of the JSPTL docs. Yes, that does solve the problem. > Would that make you dance on your desk? ;-) Hmm... not sure. Dancing is usually reserved for elegant solutions. This works but still looks too much like a hack. Most important, though, is that the problem at least has a possible solution now. So it's certainly worth a little jig. ;-) Devon ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **
RE: Re: Embedded bean/param values
> JSPTL allows you to do the following by using the Simplest > Possible Expression Language (SPEL) provided with the > reference implementation: > > > The above examples make things prettier but don't really add much functionality over JSP expressions. The original author in this thread was looking for something like: The problem is that the example isn't very good because it is only a which is pretty much just a lookup and can be handled with JSP expressions. But if we take another example such as: "> The problem is clearer. The taglib adds some significant functionality and isn't just a bean access. Stuff like this has caused me endless frustration. If SPEL had some way of calling a taglib as if it were a function, I'd be dancing on my desk. Something like: Seems like the hardest part of adding this is coming up with a reasonable syntax. But I don't believe it's been done yet. I do note, however, that that JSPTL provides a way of plugging in expression languages. So maybe this will encourage future experimentation in this direction. Devon