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 but

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

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
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Sunday, October 23, 2005 12:05 PM Subject: Re: Problems with custom

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]

Re: Problems with custom taglibs

2005-10-23 Thread Eric Plante
I tried with the c:out tag within the iterate:iterate tag and it simply print out the string, same thing if I just write the variable itself. is the c:foreach the only way to do it? I'd rather not make a drstic change to my site and I want to practice doing my own tag too. From: Eric Plante

Re: Problems with custom taglibs

2005-10-23 Thread Wendy Smoak
From: Eric Plante [EMAIL PROTECTED] I tried with the c:out tag within the iterate:iterate tag and it simply print out the string, same thing if I just write the variable itself. is the c:foreach the only way to do it? I'd rather not make a drstic change to my site and I want to practice

Re: Problems with custom taglibs

2005-10-23 Thread Eric Plante
5.5.9 - Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Sunday, October 23, 2005 3:05 PM Subject: Re: Problems with custom taglibs From: Eric Plante [EMAIL PROTECTED] I tried with the c:out tag within

Re: Problems with custom taglibs

2005-10-23 Thread Martin Gainty
@struts.apache.org Sent: Sunday, October 23, 2005 3:26 PM Subject: Re: Problems with custom taglibs I find those core tags to look too much like a disguised version of % % tag which I prefer to avoid if I could. I'd rather want to know what's wrong with the custom tag I designed. I want to learn how