RE: Help Dojo TagLibs

2010-07-19 Thread Martin Gainty
légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. From: fabio.eb...@dnasolution.com.br To: user@struts.apache.org Subject: Re: Help Dojo TagLibs Date: Mon, 19 Jul 2010

RE: Help Dojo TagLibs

2010-07-19 Thread Martin Gainty
: fabio.eb...@dnasolution.com.br To: user@struts.apache.org Subject: Re: Help Dojo TagLibs Date: Mon, 19 Jul 2010 09:44:51 -0300 what would this templateDir?? - Original Message - From: Martin Gainty mgai...@hotmail.com To: Struts Users Mailing List user@struts.apache.org Sent

Re: Help Dojo TagLibs

2010-07-16 Thread Johannes Geppert
in context: http://old.nabble.com/Help-Dojo-TagLibs-tp29172304p29181045.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e

Struts Taglibs

2009-06-26 Thread CRANFORD, CHRIS
In our Struts1 implementation, we leveraged various tag libraries such as: struts-logic struts-logic-el struts-html struts-html-el struts-bean struts-bean-el struts-nested When migrating to struts2, are any of these taglibs still available or have they been replaced with newer components

Re: Struts Taglibs

2009-06-26 Thread Dave Newton
CRANFORD, CHRIS wrote: In our Struts1 implementation, we leveraged various tag libraries such as: struts-logic struts-logic-el struts-html struts-html-el struts-bean struts-bean-el struts-nested When migrating to struts2, are any of these taglibs still available or have they been replaced

[ANN] Struts on Ajax: Retrofitting Struts with Ajax Taglibs presentation online

2007-12-24 Thread Ted Husted
Just in time for the holidays, TheServerSide has posted a recording of one of my Ajax Experience talks: Struts on Ajax: Retrofitting Struts with Ajax Taglibs presentation. * http://w.on24.com/r.htm?e=98875s=1k=1866520B3A2C334E7169D424A04B2F2D In this session, we stir some Ajax wizardry

struts1 taglibs and struts2

2007-09-19 Thread Adam Hardy
The old struts1 HTML taglibs have a 'titleKey' attribute, for putting an internationalised title on an HTML tag automatically. Others had a 'key' attribute. Is there any intention to put this kind of attribute onto the S2 tags? I know there are OGNL methods to do the same thing, but 'titleKey

Re: org.apache.jasper.JasperException: File C:/struts/taglibs/struts-bean.tld not found

2007-09-12 Thread sriharsha . chevuru
. Mehmood, Qaiser [EMAIL PROTECTED] 09/12/2007 09:24 AM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing List user@struts.apache.org cc Subject org.apache.jasper.JasperException: File C:/struts/taglibs/struts-bean.tld not found I am using Struts 1.1

RE: org.apache.jasper.JasperException: File C:/struts/taglibs/struts-bean.tld not found

2007-09-12 Thread Mehmood, Qaiser
: org.apache.jasper.JasperException: File C:/struts/taglibs/struts-bean.tld not found Try putting those tld's in your webapp's WEB-INF directory. And then make sure you have those listed them in you web.xml file. Not neccessarily in WEB-INF but just making sure they are there for sure. Should have something

RE: org.apache.jasper.JasperException: File C:/struts/taglibs/struts-bean.tld not found

2007-09-12 Thread Dave Newton
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 11:31 AM To: Struts Users Mailing List Subject: Re: org.apache.jasper.JasperException: File C:/struts/taglibs/struts-bean.tld not found Try putting those tld's in your webapp's WEB-INF directory

RE: org.apache.jasper.JasperException: File C:/struts/taglibs/struts-bean.tld not found

2007-09-12 Thread Mehmood, Qaiser
/taglibs/struts-bean.tld not found With: - The TLDs in your WEB-INF and - the same WEB-INF path in your JSP it didn't work?! d. --- Mehmood, Qaiser [EMAIL PROTECTED] wrote: Yes I tried them in WEB-INF also. Same problem... :) Thanks, Qaiser Mehmood Work (512) 248-4269 Cell (571) 438

RE: org.apache.jasper.JasperException: File C:/struts/taglibs/struts-bean.tld not found

2007-09-12 Thread Dave Newton
, 2007 11:53 AM To: Struts Users Mailing List Subject: RE: org.apache.jasper.JasperException: File C:/struts/taglibs/struts-bean.tld not found With: - The TLDs in your WEB-INF and - the same WEB-INF path in your JSP it didn't work?! d. --- Mehmood, Qaiser [EMAIL PROTECTED

Re: Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread Don Brown
PROTECTED] wrote: Yes, struts taglibs are the problem. But if I make the opposite, i.e. excluding the x:tags, the code works as well, so I assume that Struts stuff is properly configured... I don't know what to think... Ric --- MK Tan [EMAIL PROTECTED] ha scritto: look like struts

Re: Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread Riccardo Mollame
Yes, struts taglibs are the problem. But if I make the opposite, i.e. excluding the x:tags, the code works as well, so I assume that Struts stuff is properly configured... I don't know what to think... Ric --- MK Tan [EMAIL PROTECTED] ha scritto: look like struts taglibs cause the NPE

Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread Riccardo Mollame
Could any one explain why this piece of code works fine: %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core% %@ taglib prefix=x uri=http://java.sun.com/jsp/jstl/xml% %@ taglib prefix=s uri=/struts-tags% c:import url=/WEB-INF/classes/PageList.xml var=pagelist scope=application / x:parse

Re: Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread MK Tan
look like struts taglibs cause the NPE. unknown property name? On 9/7/07, Riccardo Mollame [EMAIL PROTECTED] wrote: Could any one explain why this piece of code works fine: %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core% %@ taglib prefix=x uri=http://java.sun.com/jsp/jstl/xml

[S1] EL vs. non-EL taglibs?

2007-07-27 Thread Dave Newton
Howdy, An inherited S1.2 app has many pages where both the EL and non-EL taglibs are used (non-JSP 2.0 container)... I don't really care for that (I've always just used one or the other) as IMO it just confuses things. Now I'm wondering if there's enough (or any?) of a performance hit for the EL

RE: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Dave Newton
headache created by using tags from both taglibs at the same time is probably worse than any small performance differences. That was my opinion, too--I just wanted the most minor of sanity checks :) Measuring would take time, and the DB performance (or lack thereof) far, *far* outweighs any

RE: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Karr, David
I find it hard to believe you're looking at a significant performance difference. That being said, I suggest you measure it if you're really concerned (measure in the container, not on the browser). Frankly, I would say that the maintenance headache created by using tags from both taglibs

RE: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Niranjan.Deshpande
Please remove me from the mailing list. From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Fri 7/27/2007 6:50 PM To: Struts Users Mailing List Subject: Re: [S1] EL vs. non-EL taglibs? --- Antonio Petrelli wrote: Anyway, the only reason to use Struts-EL and Tiles-EL is when you have a pre-JSP

[OT] Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Antonio Petrelli
and non-EL taglibs are used (non-JSP 2.0 container)... Yep. Mmm... It's time to use some lubricant in the gears of my brain :-) Sorry Dave Antonio

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Dave Newton
--- Antonio Petrelli wrote: Anyway, the only reason to use Struts-EL and Tiles-EL is when you have a pre-JSP 2.0 contaniner. Is this your case? --- Dave Newton [EMAIL PROTECTED] wrote: An inherited S1.2 app has many pages where both the EL and non-EL taglibs are used (non-JSP 2.0

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Dave Newton
--- Antonio Petrelli wrote: 2007/7/27, Dave Newton [EMAIL PROTECTED]: I am assuming that you meant JSTL tags (not EL tags). Nope, I meant the Struts (1.2) and Tiles 1 EL tags, just like I said :) d.

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Antonio Petrelli
2007/7/27, Dave Newton [EMAIL PROTECTED]: Now I'm wondering if there's enough (or any?) of a performance hit for the EL tags that it actually makes sense to only use an EL tag when you actually need it or if there's any other reason why I might *want* to use both on a page. Here I am

Re: [OT] Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Dave Newton
--- Antonio Petrelli wrote: Mmm... It's time to use some lubricant in the gears of my brain :-) It's Friday -- I was barely able to send an email at all. d. Be a better Globetrotter. Get better

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Dave Newton
--- Brian Trzupek [EMAIL PROTECTED] wrote: So when we have those tags in our app, and others Struts controls are on the page, we will use both. I'm asking why use both: the Struts-EL tags only add functionality; you can still use them as the old tags by not using an EL expression, no? Also,

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Antonio Petrelli
2007/7/27, Dave Newton [EMAIL PROTECTED]: --- Antonio Petrelli wrote: 2007/7/27, Dave Newton [EMAIL PROTECTED]: I am assuming that you meant JSTL tags (not EL tags). Nope, I meant the Struts (1.2) and Tiles 1 EL tags, just like I said :) A ok! Anyway, the only reason to use

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Brian Trzupek
Dave, As for a 'reason why I might *want* to use both on a page I found that some jsp taglibs that we have used, rely on pulling attr from EL tags. So when we have those tags in our app, and others Struts controls are on the page, we will use both. Also, in some cased we -need- to use

Re: [S2] Freemarker vs struts taglibs

2007-06-04 Thread Jeromy Evans
for your time :) Cheers Jordi Rubio Moreno -Mensaje original- De: Jeromy Evans [mailto:[EMAIL PROTECTED] Enviado el: lunes, 28 de mayo de 2007 14:37 Para: Struts Users Mailing List Asunto: Re: [S2] Freemarker vs struts taglibs Jordi Rubio Moreno wrote: Is JSP taglib too slow

RE: [S2] Freemarker vs struts taglibs

2007-05-28 Thread Jordi Rubio Moreno
with freemarker in 600ms). It's certain that there are a lot of JSP taglib documentation and S2 forums, but in a production site it's critical an excellent time response. I don't know if I'm doing anything wrong... I show you a little fragment of test code in JSP taglibs an Freemarker

RE: [S2] Freemarker vs struts taglibs

2007-05-28 Thread Jordi Rubio Moreno
: Struts Users Mailing List Asunto: RE: [S2] Freemarker vs struts taglibs Hi Jeromy, I apologize to respond this email so late. I've develop a little test portal (close in functionality to production portal), and I've notice that JSP taglib are slower that Freemarker equivalent page (I'm speaking

Re: [S2] Freemarker vs struts taglibs

2007-05-28 Thread Jeromy Evans
know if I'm doing anything wrong... I show you a little fragment of test code in JSP taglibs an Freemarker: * JSP taglibs ** s:iterator value=offers tr td s:url id=curUrl action

Re: [S2] Freemarker vs struts taglibs

2007-05-28 Thread Dave Newton
show you a little fragment of test code in JSP taglibs an Freemarker: * JSP taglibs ** s:iterator value=offers tr td s:url id=curUrl action=Redirect includeParams=none

RE: [S2] Freemarker vs struts taglibs

2007-05-28 Thread Jordi Rubio Moreno
List Asunto: Re: [S2] Freemarker vs struts taglibs Extract the Freemarker tag templates; Freemarker doesn't cache them when they're loaded from the classpath. http://struts.apache.org/2.x/docs/performance-tuning.html d. --- Jeromy Evans [EMAIL PROTECTED] wrote: Jordi Rubio Moreno wrote

RE: [S2] Freemarker vs struts taglibs

2007-05-21 Thread Jordi Rubio Moreno
Hi Musachy, Thanks a lot for the response :) Cheers! Jordi Rubio Moreno -Mensaje original- De: Musachy Barroso [mailto:[EMAIL PROTECTED] Enviado el: jueves, 17 de mayo de 2007 17:55 Para: Struts Users Mailing List Asunto: Re: [S2] Freemarker vs struts taglibs FreeMarker

Re: [S2] Freemarker vs struts taglibs

2007-05-18 Thread Caine Lai
a bit confused. I need to decide if I'll use Freemarker or Struts taglibs, and I don't know the differences between both. E.g. what's the difference between s:iterator and @s.iterator, s:url and @s.url, etc etc... I have seen all the tutorials and examples I have found working with taglibs

Re: [S2] Freemarker vs struts taglibs

2007-05-18 Thread Jeromy Evans
/17/07, Jordi Rubio Moreno [EMAIL PROTECTED] wrote: Hi, I'm a bit confused. I need to decide if I'll use Freemarker or Struts taglibs, and I don't know the differences between both. E.g. what's the difference between s:iterator and @s.iterator, s:url and @s.url, etc etc... I have seen all

[S2] Freemarker vs struts taglibs

2007-05-17 Thread Jordi Rubio Moreno
Hi, I'm a bit confused. I need to decide if I'll use Freemarker or Struts taglibs, and I don't know the differences between both. E.g. what's the difference between s:iterator and @s.iterator, s:url and @s.url, etc etc... I have seen all the tutorials and examples I have found working

Re: [S2] Freemarker vs struts taglibs

2007-05-17 Thread Musachy Barroso
/docs/freemarker.html musachy On 5/17/07, Jordi Rubio Moreno [EMAIL PROTECTED] wrote: Hi, I'm a bit confused. I need to decide if I'll use Freemarker or Struts taglibs, and I don't know the differences between both. E.g. what's the difference between s:iterator and @s.iterator, s:url and @s.url

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-23 Thread Crawford, Preston
This is really strange. So it works if I reference the taglibs as defined in the web.xml (i.e. define /bean in the web.xml and then declare the taglib in the JSP referring to that uri). So now this works... %@ taglib uri=/bean prefix=bean % But this doesn't work... %@ taglib uri=http

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-23 Thread Crawford, Preston
-bean.tld/taglib-location /taglib Preston -Original Message- From: Crawford, Preston [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 10:33 AM To: 'Struts Users Mailing List' Subject: RE: [S1] The proper way to define taglibs in a jsp file This is really strange. So

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-20 Thread Dave Newton
--- Crawford, Preston wrote: I did. It's expecting the one you listed. I just get a Not Found error if I go there. Why are you trying to go there? It's not a URL. You're saying your server/IDE is trying to hit that address? Something is set up funny if it is. d.

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-20 Thread Crawford, Preston
: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 2:01 AM To: Struts Users Mailing List Subject: RE: [S1] The proper way to define taglibs in a jsp file --- Crawford, Preston wrote: I did. It's expecting the one you listed. I just get a Not Found error if I go there. Why

[S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
So I'm helping my company clean up some JSP files, things like that and I'm seeing declarations like this. %@ taglib uri=/bean prefix=bean % %@ taglib uri=/html prefix=html % Now I know there is a way to do these same declarations (we're on struts 1.2.9) without actually having to install the

Re: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Paul Benedict
On 4/19/07, Crawford, Preston [EMAIL PROTECTED] wrote: So I'm helping my company clean up some JSP files, things like that and I'm seeing declarations like this. %@ taglib uri=/bean prefix=bean % %@ taglib uri=/html prefix=html % The ability to automatically find TLD files is a feature of

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
. Preston -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Benedict Sent: Thursday, April 19, 2007 3:20 PM To: Struts Users Mailing List Subject: Re: [S1] The proper way to define taglibs in a jsp file On 4/19/07, Crawford, Preston [EMAIL PROTECTED

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
: [S1] The proper way to define taglibs in a jsp file Yeah, actually I was the guy (way back when) who helped define those TLDs in the web.xml. Now I'm back on contract and want to clean up my work. I would like to just refer to the dtd in the URI and forgo having the TLDs located in the build

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Dave Newton
--- Crawford, Preston wrote: Yeah, actually I was the guy (way back when) who helped define those TLDs in the web.xml. Now I'm back on contract and want to clean up my work. That'll teach ya' ;) I would like to just refer to the dtd in the URI and forgo having the TLDs located in the

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Dave Newton
--- Crawford, Preston wrote: Oh, I just remembered something. There might be overhead/risk to jsps hitting the dtd on the Internet vs. the local tld, no? I'm not sure that that's what the URI really does; they *look* like URLs but I think they're just look-up values to find the corresponding

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
a definitive answer. I'm trying to make it cleaner this time. Preston -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 3:44 PM To: Struts Users Mailing List Subject: RE: [S1] The proper way to define taglibs in a jsp file --- Crawford, Preston

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
One last question. Do I use strut-el.jar or struts.jar? Preston CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
Nevermind, I think the answer is both if I remember correctly. Preston CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
Users Mailing List' Subject: RE: [S1] The proper way to define taglibs in a jsp file Nevermind, I think the answer is both if I remember correctly. Preston CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain

Re: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Niall Pemberton
to find a reference on this to get a definitive answer. I'm trying to make it cleaner this time. Preston -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 3:44 PM To: Struts Users Mailing List Subject: RE: [S1] The proper way to define taglibs

Re: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Niall Pemberton
, April 19, 2007 4:26 PM To: 'Struts Users Mailing List' Subject: RE: [S1] The proper way to define taglibs in a jsp file Nevermind, I think the answer is both if I remember correctly. Preston CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
, then. Including jstl.jar as it would be natively part of the container. I'll have to try that out. Preston -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 4:41 PM To: Struts Users Mailing List Subject: Re: [S1] The proper way to define taglibs

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
Wow. Except this URI can't be found. Umm Hmmm.. Preston -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 3:42 PM To: Struts Users Mailing List Subject: RE: [S1] The proper way to define taglibs in a jsp file --- Crawford, Preston wrote

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Dave Newton
--- Crawford, Preston wrote: Wow. Except this URI can't be found. Umm Hmmm.. You can check what URI it's expecting by looking in the TLD file(s). d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
I did. It's expecting the one you listed. I just get a Not Found error if I go there. I tried declaring it inside the web.xml instead (newly converted to 2.4) and that doesn't work either. Preston CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Karr, David
. Use that. -Original Message- From: Crawford, Preston [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 3:10 PM To: user@struts.apache.org Subject: [S1] The proper way to define taglibs in a jsp file So I'm helping my company clean up some JSP files, things like

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Karr, David
, Preston [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 3:34 PM To: 'Struts Users Mailing List' Subject: RE: [S1] The proper way to define taglibs in a jsp file Oh, I just remembered something. There might be overhead/risk to jsps hitting the dtd on the Internet vs. the local tld

Resource bundles and Struts taglibs

2006-08-23 Thread O'Shea, Sean
Hi all, I'm using struts 1.2.9 and I'm having some trouble with resource bundles. My JSP looks like this: %@ include file=../taglibs.jsp % logic:messagesPresent h3 class=redbean:message key=errors.header bundle=otherBundle//h3 bean:message key=errors.subheader bundle=otherBundle

Re: Resource bundles and Struts taglibs

2006-08-23 Thread Niall Pemberton
On 8/23/06, O'Shea, Sean Sean.O'[EMAIL PROTECTED] wrote: Hi all, I'm using struts 1.2.9 and I'm having some trouble with resource bundles. My JSP looks like this: %@ include file=../taglibs.jsp % logic:messagesPresent h3 class=redbean:message key=errors.header bundle=otherBundle//h3

RE: Resource bundles and Struts taglibs

2006-08-23 Thread O'Shea, Sean
Hi Niall, Thanks again for your help - your suggestion worked. Sean -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 11:03 AM To: Struts Users Mailing List Subject: Re: Resource bundles and Struts taglibs On 8/23/06, O'Shea, Sean

i18n algorithm and taglibs

2006-08-03 Thread Adam Hardy
I am writing a taglib at the moment to do some complex display logic and I need to get at the message resources. Please correct me if I am wrong but it seems that under some circumstances there can be different Locales (or sub-locales) available from different places in the servlet container

Tiles: Why need to declare taglibs in each sub-jsp?

2006-07-10 Thread Mississippi John Hurt
I have a MainTemplate.jsp with header, body, footer in it. Weird thing is it seems that even though I put taglib declaration in my header.jsp, as in ... %@ taglib uri=http://jakarta.apache.org/struts/tags-html; prefix=html % I still also have to put taglibs declaration in the subBody.jsp

Re: Tiles: Why need to declare taglibs in each sub-jsp?

2006-07-10 Thread Yanroy
to work this one out... I hope my workaround helps, or at least spurs someone else to tell both of us a better way to solve this. If I misunderstood your problem, I apologize. I don't mean to mislead. -- View this message in context: http://www.nabble.com/Tiles%3A-Why-need-to-declare-taglibs

Re: Tiles: Why need to declare taglibs in each sub-jsp?

2006-07-10 Thread Greg Reddin
still also have to put taglibs declaration in the subBody.jsp or else my struts tags like html and bean don't work! Why is this? Is this correct? If I have to do this in all my sub.jsp's then why even use Tiles? I want to put all my taglibs declaration once, at the header, and not in every

OT: Graphing Taglibs

2005-12-03 Thread Martin Ravell
Hi All, Just casting about for taglibs to produce graphs in a Struts, JSP app that I'm about to start prototyping. Google turned up a couple and Cewolf looks like a likely candidate. Has anyone got experiences to share about this or any other taglib set for producing nice graphs and charts

Re: JSP 2.0 and taglibs (was Custom tags referencing struts tags)

2005-11-19 Thread Laurie Harper
Rahul Akolkar wrote: Yes, that was more of a post-33064 comment. Getting the the Struts tags to be 2.0-ready is something I'd be interested in too. Given the origin of those tags way before 2.0, backward compatibility issues will take precedence. I wonder if there's a better way. Yeah,

Re: JSP 2.0 and taglibs (was Custom tags referencing struts tags)

2005-11-19 Thread Craig McClanahan
On 11/19/05, Laurie Harper [EMAIL PROTECTED] wrote: Rahul Akolkar wrote: Yes, that was more of a post-33064 comment. Getting the the Struts tags to be 2.0-ready is something I'd be interested in too. Given the origin of those tags way before 2.0, backward compatibility issues will take

Re: JSP 2.0 and taglibs (was Custom tags referencing struts tags)

2005-11-19 Thread Rahul Akolkar
, is quite a laudable goal. Craig On 11/19/05, Laurie Harper [EMAIL PROTECTED] wrote: snip/ I'm not sure that a rewrite delivers enough benefit to justify having two parallel implementations to maintain -- especially since these taglibs don't get a lot of maintenance anyway... On the other

Re: Has anybody experienced this weirdness with taglibs?

2005-11-18 Thread Aladin Alaily
Hi Alex, I've finally discovered why the jsessionid appended to the html:rewrites, links, and images was breaking my app. As it turns out, the apache-tomcat connectors were configured to handle anything going to /WEB-INF, *.do, *.jsp. Unfortunately, jsessionid is handled properly only via

Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Aladin Alaily
Hi, I am using html:img and html:link tags but when they are evaluated a jsessionid is appended: Image Example: -- html:img page=/images/x.gif height=10 width=1 / GIVES img src=/images/x.gif;jsessionid=1F69046A7709D30FD9AC36FC6E8A4336 height=10 width=1 Link Example:

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread ALEX HYDE
That's normal. What's wrong with that? --- Aladin Alaily [EMAIL PROTECTED] wrote: Hi, I am using html:img and html:link tags but when they are evaluated a jsessionid is appended: Image Example: -- html:img page=/images/x.gif height=10 width=1 / GIVES img

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Aladin Alaily
That's not normal... If you add the semi-colon and the jsessionid to an image src, then the image is not going to resolve properly. That's the behaviour that I'm noticing - with the jsessionid, the links images don't resolve. Aladin That's normal. What's wrong with that? --- Aladin

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread ALEX HYDE
It works for me. I would guess that this is pretty standard HTTP to be honest. It should resolve the images by stripping off any unnecessary SID info' etc, if you don't use it for security checking for example. I thought that the requests for images are exactly the same as a request for any

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Aladin Alaily
Hmmm... that's interesting. It looks as though I have no control on whether or not the SID is appended. The first time my page is loaded, the SID is appended and the images links don't resolve. If I reload the page, the SID are removed and everything resolves. I am using Tomcat 5.5.12 and the

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread ALEX HYDE
Aladin, I'm no expert so I can't tell exactly what's wrong from what you're saying. Have u ripped out those url's to the images (with and without SID) and just tried them in a browser direct? Make sure it can find them and see if it serves them up in both cases. If it can't find them with a SID

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Ed Griebel
Your web server is appending the SID to the images (and would to other links to the same webapp in the page) to track sessions, and is a common technique used by webservers to support sessions when browser clients don't support cookies. I'm a little fuzzy on how exactly this works because it Just

RE: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Garner, Shawn
Of Aladin Alaily Sent: Thursday, November 17, 2005 9:03 AM To: Struts Users Mailing List Subject: Re: Has anybody experienced this weirdness with taglibs? Hmmm... that's interesting. It looks as though I have no control on whether or not the SID is appended. The first time my page is loaded, the SID

RE: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Aladin Alaily
this weirdness with taglibs? Hmmm... that's interesting. It looks as though I have no control on whether or not the SID is appended. The first time my page is loaded, the SID is appended and the images links don't resolve. If I reload the page, the SID are removed and everything resolves. I am

Taglibs

2005-11-11 Thread Marcio Ghiraldelli
Good resume of avaible open-source taglibs. Perfectly for a Struts, now what situation. :) http://java-source.net/open-source/jsp-tag-libraries

Can someone explain to me what is in http://jakarta.apache.org/taglibs/

2005-11-01 Thread bsimonin
Are these tag libs seperate from what comes with Struts 1.2.7? For example I am interested in using Struts to build a data grid application but I found a datagrid library at: http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc/intro.html Are datagrid capabilities not included in Struts

Re: Can someone explain to me what is in http://jakarta.apache.org/taglibs/

2005-11-01 Thread James Mitchell
They are not part of Struts, but based on what I see here: http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc/index.html ...then it should work fine with Struts. -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. http

Re: Can someone explain to me what is in http://jakarta.apache.org/taglibs/

2005-11-01 Thread Rahul Akolkar
On 11/1/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Are these tag libs seperate from what comes with Struts 1.2.7? For example I am interested in using Struts to build a data grid application but I found a datagrid library at: http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc

Re: Problems with custom taglibs

2005-10-27 Thread Eric Plante
Well, I do have a jstl.jar in the lib of my project already. From: Laurie Harper [EMAIL PROTECTED] Yes, you need to add the implementation jars to your application classpath. Which version you need to install will depend on your servlet container. This might help you sort out which one

Re: Problems with custom taglibs

2005-10-27 Thread Wendy Smoak
From: Eric Plante [EMAIL PROTECTED] Well, I do have a jstl.jar in the lib of my project already. Do you also have standard.jar? (Both are in contrib/struts-el/lib of the Struts 1.2.7 distribution.) -- Wendy - To

Re: Problems with custom taglibs

2005-10-27 Thread Eric Plante
I have the one that comes with Exadel studio 3.0 (or eclipse3.1). it is named jstl.jar but I don'T know which version I have. All standard taglibs(bean, html and logic) works fine and core tags are recognized but the variables are seens as common strings and my personnal taglibs don't compile

Re: Problems with custom taglibs

2005-10-27 Thread Wendy Smoak
From: Eric Plante [EMAIL PROTECTED] I have the one that comes with Exadel studio 3.0 (or eclipse3.1). it is named jstl.jar but I don'T know which version I have. Unzip/unjar it (jar -xvf fileame.jar) or open it with WinZip and look in the META-INF directory for the manifest.mf file. It

Re: Problems with custom taglibs

2005-10-26 Thread Laurie Harper
Yes, you need to add the implementation jars to your application classpath. Which version you need to install will depend on your servlet container. L. Eric Plante wrote: Is there more to add than %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % in my jsp page? Eric Sounds

Re: Problems with custom taglibs

2005-10-26 Thread Eric Plante
Can it explain why custom taglibs I made don'T work too? Thanks Yes, you need to add the implementation jars to your application classpath. Which version you need to install will depend on your servlet container. L. Eric Plante wrote: Is there more to add than %@ taglib uri=http

Re: Problems with custom taglibs

2005-10-26 Thread Rahul Akolkar
snip/ Eric Plante wrote: Is there more to add than %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % in my jsp page? Eric snap/ Eric - Since the URI you're using belongs to JSTL 1.1, cross-check that you are: 1) using a Servlet 2.4 container 2) using a Servlet 2.4 web

Re: Problems with custom taglibs

2005-10-25 Thread Eric Plante
Hi, Wendy, I tried: c:forEach items=${PandoraForm.motTreeMap} var=mot c:out value=${mot.key} / /c:forEach That's a test to output every key in the Map which contain 10 items. the tags are recognized but what's output is ${mot.key} once litteraly, the strings aren't recognized as data. I

Re: Problems with custom taglibs

2005-10-25 Thread Laurie Harper
Sounds like you didn't add JSTL to your application (that's why the JSTL expression isn't being evaluated). L. Eric Plante wrote: Hi, Wendy, I tried: c:forEach items=${PandoraForm.motTreeMap} var=mot c:out value=${mot.key} / /c:forEach That's a test to output every key in the Map

Re: Problems with custom taglibs

2005-10-25 Thread Eric Plante
Is there more to add than %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % in my jsp page? Eric Sounds like you didn't add JSTL to your application (that's why the JSTL expression isn't being evaluated). L. Eric Plante wrote: Hi, Wendy, I tried: c:forEach

Problems with custom taglibs

2005-10-23 Thread Eric Plante
Hi, After reading about how to make taglibs, I can't fathom how I can make what I want to do even afer consulting some tutorials. I have a logic:iterate on a Map. let say that the object name obj is taken out of the Map. I use obj inside the logic:iterate to get the key and value of each obj

Re: Problems with custom taglibs

2005-10-23 Thread Wendy Smoak
From: Eric Plante [EMAIL PROTECTED] I have a logic:iterate on a Map. let say that the object name obj is taken out of the Map. I use obj inside the logic:iterate to get the key and value of each obj without a problem. Now, what I need to do is to use the obj's key on another Map in the form

Re: Problems with custom taglibs

2005-10-23 Thread Eric Plante
I don't know what this c: tag is for but I'd rather make it work with bean, html, logic and this custom tag of mine. It's not just a matter of making it work, it's also a matter of learning how to make a taglib and also because the whole page is made of those taglibs. I simplified it to keep

Re: Problems with custom taglibs

2005-10-23 Thread Eric Plante
I don't know what this c: tag is for but I'd rather make it work with bean, I just saw that c was the name of your taglib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   >