Tiles-EL ???
Anyone know of a non-scriplet way to do what this jsp snippet is doing? <% String editPage = (String) pageContext.getAttribute("editPage"); %> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tiles-EL?
Thanks for the reply, but I'm sorry I don't understand what you wrote! What is Tiles-EL? Where do I find it? How do I find out what it does? Thanks for your help. "Vic Cekvenich" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Did you take at a nighly build Tiles-EL (that can do expresions)? > .V > > PhilNoon wrote: > > In a JSP I can use the following syntax to grab a value from a bean: > > > > > > > > However, tag used in definitions doesn't seem to have any equivalent > > functionality. > > > > Can anyone help? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tiles-el
Am I tree-barking or is there such a thing as tiles-el? I seem to recall some mention of it on the dev list but I cant find any reference to it on the struts site.. Anyone know anything? Cheers Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tiles-EL ???
Wouldn't that be beanScope="page" for his example? Or are you assuming that config was already in request scope before the ? K.C. Yann Lebreton wrote: maybe something like: -Original Message- From: Jeff Caddel [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 1:14 PM To: Struts Users Mailing List Subject: Tiles-EL ??? Anyone know of a non-scriplet way to do what this jsp snippet is doing? <% String editPage = (String) pageContext.getAttribute("editPage"); %> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles-EL ???
i'm assuming no -Original Message- From: K.C. Baltz [mailto:[EMAIL PROTECTED] Sent: Sunday, August 10, 2003 8:48 PM To: Struts Users Mailing List Subject: Re: Tiles-EL ??? Wouldn't that be beanScope="page" for his example? Or are you assuming that config was already in request scope before the ? K.C. Yann Lebreton wrote: >maybe something like: > > >-Original Message- >From: Jeff Caddel [mailto:[EMAIL PROTECTED] >Sent: Thursday, August 07, 2003 1:14 PM >To: Struts Users Mailing List >Subject: Tiles-EL ??? > > >Anyone know of a non-scriplet way to do what this jsp snippet is doing? > > > <% String editPage = (String) pageContext.getAttribute("editPage"); %> > > > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles-EL ???
maybe something like: -Original Message- From: Jeff Caddel [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 1:14 PM To: Struts Users Mailing List Subject: Tiles-EL ??? Anyone know of a non-scriplet way to do what this jsp snippet is doing? <% String editPage = (String) pageContext.getAttribute("editPage"); %> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles-EL?
Although I've never heard anything about tiles-el here it goes the explanation of Struts-el Struts-EL is an extension of the Struts tag library that uses the expression evaluation engine in the Jakarta Taglibs implementation of the JSP Standard Tag Library to evaluate attribute values. This way you can use expressions as you do in JSTL tags. > -Mensaje original- > De: PhilNoon [mailto:[EMAIL PROTECTED] > Enviado el: miércoles, 08 de octubre de 2003 15:20 > Para: [EMAIL PROTECTED] > Asunto: Tiles-EL? > > > Thanks for the reply, but I'm sorry I don't understand what > you wrote! What is Tiles-EL? Where do I find it? How do I > find out what it does? > > Thanks for your help. > > "Vic Cekvenich" <[EMAIL PROTECTED]> wrote in > message news:[EMAIL PROTECTED] > > Did you take at a nighly build Tiles-EL (that can do expresions)? .V > > > > PhilNoon wrote: > > > In a JSP I can use the following syntax to grab a value > from a bean: > > > > > > > > > > > > However, tag used in definitions doesn't seem to have any > equivalent > > > functionality. > > > > > > Can anyone help? > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tiles-el
Okay I've just had a sniff around the stuff in cvs, has any one used tiles-el without any bleeding edge issues? On 12 Dec 2003, at 10:33, Mark Lowe wrote: Am I tree-barking or is there such a thing as tiles-el? I seem to recall some mention of it on the dev list but I cant find any reference to it on the struts site.. Anyone know anything? Cheers Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tiles-el
At times in the development of our most recent project (many, many Tiles with quite pervasive use of extension, overriding, etc.), I've thought I really needed tiles-el, but I always managed to get around it. If you want to post what it is you're trying to do, we can probably help you w/o resorting to non-released CVS code :) Brice Mark Lowe wrote: Okay I've just had a sniff around the stuff in cvs, has any one used tiles-el without any bleeding edge issues? On 12 Dec 2003, at 10:33, Mark Lowe wrote: Am I tree-barking or is there such a thing as tiles-el? I seem to recall some mention of it on the dev list but I cant find any reference to it on the struts site.. Anyone know anything? Cheers Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tiles-el
> Okay I've just had a sniff around the stuff in cvs, has any one used > tiles-el without any bleeding edge issues? Well... I use JSTL and Struts-EL (in that order of preference) and I've never run into a need for what I'd think of as Tiles-EL. The only place I use tiles tags is in the layouts, then everything is assembled in tiles-defs.xml. Just curious, what situation have you run into that needs Tiles-EL? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tiles-el
On 12/12/2003 03:53 PM Wendy Smoak wrote: Okay I've just had a sniff around the stuff in cvs, has any one used tiles-el without any bleeding edge issues? Well... I use JSTL and Struts-EL (in that order of preference) and I've never run into a need for what I'd think of as Tiles-EL. The only place I use tiles tags is in the layouts, then everything is assembled in tiles-defs.xml. Just curious, what situation have you run into that needs Tiles-EL? If you upgrade to jsp 2.0 (i.e. tomcat 5) you don't need any -el taglibs. Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error using tiles-el
Hello, I am using Struts 1.2 (nightly build as of 17 Dec 2003) and am trying out using the tiles-el. When I replace my tiles taglib with tiles-el, I am getting this error /WEB-INF/tiles/layout/main_layout.jsp(4): Error in using tag library uri='/WEB-INF/taglib/struts-tiles-el.tld' prefix='tiles': The Tag class 'org.apache.strutsel.taglib.tiles.ELUseAttributeTag' has no setter method corresponding to TLD declared attribute 'classname', (JSP 1.1 spec, 5.4.1) probably occurred due to an error in /WEB-INF/tiles/layout/main_layout.jsp line 4: <%@ taglib uri="/WEB-INF/taglib/struts-tiles-el.tld" prefix="tiles" %> On looking at the source of ELUseAttributeTag.java, am finding that there is no setter for the classname attribute which has been defined in the struts-tiles-el.tld file. Have any of you seen this problem? Is this a known bug? Thanks, Sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error using tiles-el
Yup, you're correct. Could you please file a bug in Bugzilla for this? I may get to this this weekend. -Original Message- From: Narayanan, Sunitha [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 11:45 AM To: [EMAIL PROTECTED] Subject: Error using tiles-el Hello, I am using Struts 1.2 (nightly build as of 17 Dec 2003) and am trying out using the tiles-el. When I replace my tiles taglib with tiles-el, I am getting this error /WEB-INF/tiles/layout/main_layout.jsp(4): Error in using tag library uri='/WEB-INF/taglib/struts-tiles-el.tld' prefix='tiles': The Tag class 'org.apache.strutsel.taglib.tiles.ELUseAttributeTag' has no setter method corresponding to TLD declared attribute 'classname', (JSP 1.1 spec, 5.4.1) probably occurred due to an error in /WEB-INF/tiles/layout/main_layout.jsp line 4: <%@ taglib uri="/WEB-INF/taglib/struts-tiles-el.tld" prefix="tiles" %> On looking at the source of ELUseAttributeTag.java, am finding that there is no setter for the classname attribute which has been defined in the struts-tiles-el.tld file. Have any of you seen this problem? Is this a known bug? Thanks, Sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error using tiles-el
>>>>> "Sunitha" == Sunitha Narayanan writes: Sunitha> Hello, Sunitha> I am using Struts 1.2 (nightly build as of 17 Dec 2003) and am trying out using the tiles-el. When I replace my tiles taglib with tiles-el, I am getting this error Sunitha> /WEB-INF/tiles/layout/main_layout.jsp(4): Error in using tag library uri='/WEB-INF/taglib/struts-tiles-el.tld' prefix='tiles': The Tag class 'org.apache.strutsel.taglib.tiles.ELUseAttributeTag' has no setter method corresponding to TLD declared attribute 'classname', (JSP 1.1 spec, 5.4.1) Sunitha> probably occurred due to an error in /WEB-INF/tiles/layout/main_layout.jsp line 4: Sunitha> <%@ taglib uri="/WEB-INF/taglib/struts-tiles-el.tld" prefix="tiles" %> Sunitha> On looking at the source of ELUseAttributeTag.java, am finding that there is no setter for the classname attribute which has been defined in the struts-tiles-el.tld file. Sunitha> Have any of you seen this problem? Is this a known bug? Try testing tonight's nightly build with this. This should be resolved now. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP; SCWCD; SCBCD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tiles-EL?: can I find documentation somewhere? examples?
Thanks very much for that. Does anyone know where I can find some documentation/examples? "Carlos Sánchez" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Although I've never heard anything about tiles-el here it goes the > explanation of Struts-el > > Struts-EL is an extension of the Struts tag library that uses the expression > evaluation engine in the Jakarta Taglibs implementation of the JSP Standard > Tag Library to evaluate attribute values. This way you can use expressions > as you do in JSTL tags. > > > > -Mensaje original- > > De: PhilNoon [mailto:[EMAIL PROTECTED] > > Enviado el: miércoles, 08 de octubre de 2003 15:20 > > Para: [EMAIL PROTECTED] > > Asunto: Tiles-EL? > > > > > > Thanks for the reply, but I'm sorry I don't understand what > > you wrote! What is Tiles-EL? Where do I find it? How do I > > find out what it does? > > > > Thanks for your help. > > > > "Vic Cekvenich" <[EMAIL PROTECTED]> wrote in > > message news:[EMAIL PROTECTED] > > > Did you take at a nighly build Tiles-EL (that can do expresions)? .V > > > > > > PhilNoon wrote: > > > > In a JSP I can use the following syntax to grab a value > > from a bean: > > > > > > > > > > > > > > > > However, tag used in definitions doesn't seem to have any > > equivalent > > > > functionality. > > > > > > > > Can anyone help? > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Passing Objects to a Tiles Context, Tiles-EL
Hello, I have two questions. First, is it possible to pass an object from one tile to another (with tiles:insert and tiles:put)? So far I have only managed to pass strings, but it would really be useful to pass an object reference that the inserted tile could work on. Second, is there a way to use Tiles with EL attributes instead of scriptlets? I heard this would be included with Struts1.2, is that correct? If so, the next obvious question is: Can somebody give an estimate of when 1.2 will be released? Or, failing that, how stable are the nightlies? Can I use them in a production system? Thanks Carl-Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles-EL?: can I find documentation somewhere? examples?
http://jakarta.apache.org/struts/userGuide/building_view.html#struts-el > -Mensaje original- > De: PhilNoon [mailto:[EMAIL PROTECTED] > Enviado el: miércoles, 08 de octubre de 2003 19:38 > Para: [EMAIL PROTECTED] > Asunto: Tiles-EL?: can I find documentation somewhere? examples? > > > Thanks very much for that. > > Does anyone know where I can find some documentation/examples? > > > "Carlos Sánchez" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Although I've never heard anything about tiles-el here it goes the > > explanation of Struts-el > > > > Struts-EL is an extension of the Struts tag library that uses the > expression > > evaluation engine in the Jakarta Taglibs implementation of the JSP > Standard > > Tag Library to evaluate attribute values. This way you can use > > expressions as you do in JSTL tags. > > > > > > > -Mensaje original- > > > De: PhilNoon [mailto:[EMAIL PROTECTED] > > > Enviado el: miércoles, 08 de octubre de 2003 15:20 > > > Para: [EMAIL PROTECTED] > > > Asunto: Tiles-EL? > > > > > > > > > Thanks for the reply, but I'm sorry I don't understand what you > > > wrote! What is Tiles-EL? Where do I find it? How do I > find out what > > > it does? > > > > > > Thanks for your help. > > > > > > "Vic Cekvenich" <[EMAIL PROTECTED]> wrote in message > > > news:[EMAIL PROTECTED] > > > > Did you take at a nighly build Tiles-EL (that can do > expresions)? > > > > .V > > > > > > > > PhilNoon wrote: > > > > > In a JSP I can use the following syntax to grab a value > > > from a bean: > > > > > > > > > > > > > > > > > > > > However, tag used in definitions doesn't seem > to have any > > > equivalent > > > > > functionality. > > > > > > > > > > Can anyone help? > > > > > > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tiles-EL?: can I find documentation somewhere? examples?
I think if you learn JSTL first, Struts EL (and tile-EL) would be easy. There are books, but EG JSP/JSR docs are great Go to Jakarta taglib standard tags, and download the PDF. Once you do a few C tags, Struts EL should be easier. hth, .V PhilNoon wrote: Thanks very much for that. Does anyone know where I can find some documentation/examples? "Carlos Sánchez" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Although I've never heard anything about tiles-el here it goes the explanation of Struts-el Struts-EL is an extension of the Struts tag library that uses the expression evaluation engine in the Jakarta Taglibs implementation of the JSP Standard Tag Library to evaluate attribute values. This way you can use expressions as you do in JSTL tags. -Mensaje original- De: PhilNoon [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 08 de octubre de 2003 15:20 Para: [EMAIL PROTECTED] Asunto: Tiles-EL? Thanks for the reply, but I'm sorry I don't understand what you wrote! What is Tiles-EL? Where do I find it? How do I find out what it does? Thanks for your help. "Vic Cekvenich" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Did you take at a nighly build Tiles-EL (that can do expresions)? .V PhilNoon wrote: In a JSP I can use the following syntax to grab a value from a bean: However, tag used in definitions doesn't seem to have any equivalent functionality. Can anyone help? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tiles-EL?: can I find documentation somewhere? examples?
Thank you "Carlos Sánchez" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > http://jakarta.apache.org/struts/userGuide/building_view.html#struts-el > > > > -Mensaje original- > > De: PhilNoon [mailto:[EMAIL PROTECTED] > > Enviado el: miércoles, 08 de octubre de 2003 19:38 > > Para: [EMAIL PROTECTED] > > Asunto: Tiles-EL?: can I find documentation somewhere? examples? > > > > > > Thanks very much for that. > > > > Does anyone know where I can find some documentation/examples? > > > > > > "Carlos Sánchez" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > Although I've never heard anything about tiles-el here it goes the > > > explanation of Struts-el > > > > > > Struts-EL is an extension of the Struts tag library that uses the > > expression > > > evaluation engine in the Jakarta Taglibs implementation of the JSP > > Standard > > > Tag Library to evaluate attribute values. This way you can use > > > expressions as you do in JSTL tags. > > > > > > > > > > -Mensaje original- > > > > De: PhilNoon [mailto:[EMAIL PROTECTED] > > > > Enviado el: miércoles, 08 de octubre de 2003 15:20 > > > > Para: [EMAIL PROTECTED] > > > > Asunto: Tiles-EL? > > > > > > > > > > > > Thanks for the reply, but I'm sorry I don't understand what you > > > > wrote! What is Tiles-EL? Where do I find it? How do I > > find out what > > > > it does? > > > > > > > > Thanks for your help. > > > > > > > > "Vic Cekvenich" <[EMAIL PROTECTED]> wrote in message > > > > news:[EMAIL PROTECTED] > > > > > Did you take at a nighly build Tiles-EL (that can do > > expresions)? > > > > > .V > > > > > > > > > > PhilNoon wrote: > > > > > > In a JSP I can use the following syntax to grab a value > > > > from a bean: > > > > > > > > > > > > > > > > > > > > > > > > However, tag used in definitions doesn't seem > > to have any > > > > equivalent > > > > > > functionality. > > > > > > > > > > > > Can anyone help? > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tiles-EL?: can I find documentation somewhere? examples?
Many thanks for your help "Vic Cekvenich" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I think if you learn JSTL first, Struts EL (and tile-EL) would be easy. > There are books, but EG JSP/JSR docs are great > > Go to Jakarta taglib standard tags, and download the PDF. Once you do a > few C tags, Struts EL should be easier. > > hth, > .V > > PhilNoon wrote: > > > Thanks very much for that. > > > > Does anyone know where I can find some documentation/examples? > > > > > > "Carlos Sánchez" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > >>Although I've never heard anything about tiles-el here it goes the > >>explanation of Struts-el > >> > >>Struts-EL is an extension of the Struts tag library that uses the > > > > expression > > > >>evaluation engine in the Jakarta Taglibs implementation of the JSP > > > > Standard > > > >>Tag Library to evaluate attribute values. This way you can use expressions > >>as you do in JSTL tags. > >> > >> > >> > >>>-Mensaje original----- > >>>De: PhilNoon [mailto:[EMAIL PROTECTED] > >>>Enviado el: miércoles, 08 de octubre de 2003 15:20 > >>>Para: [EMAIL PROTECTED] > >>>Asunto: Tiles-EL? > >>> > >>> > >>>Thanks for the reply, but I'm sorry I don't understand what > >>>you wrote! What is Tiles-EL? Where do I find it? How do I > >>>find out what it does? > >>> > >>>Thanks for your help. > >>> > >>>"Vic Cekvenich" <[EMAIL PROTECTED]> wrote in > >>>message news:[EMAIL PROTECTED] > >>> > >>>>Did you take at a nighly build Tiles-EL (that can do expresions)? .V > >>>> > >>>>PhilNoon wrote: > >>>> > >>>>>In a JSP I can use the following syntax to grab a value > >>> > >>>from a bean: > >>> > >>>>> > >>>>> > >>>>>However, tag used in definitions doesn't seem to have any > >>> > >>>equivalent > >>> > >>>>>functionality. > >>>>> > >>>>>Can anyone help? > >>> > >>> > >>> > >>> > >>>- > >>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Passing Objects to a Tiles Context, Tiles-EL
Quoting Carl-Eric Menzel <[EMAIL PROTECTED]>: > are the nightlies? Can I use them in a production system? Depends on where you work... :-) -daniel Daniel A. Torrey daniel at datorrey dot net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]