Re: Recursive Tag

2005-08-30 Thread Felipe Leme
Rahul is right, Standard shuold stick to the JSTL implementation. But you could add this new tag to the Unstandard taglib, which is on the sandbox. -- Felipe Rahul P Akolkar wrote: Standard (currently part of Jakarta Taglibs) implements the specification. If the relevant folks are

RE: [String] Chomp, prechomp: Behavior changed? Documentation?

2005-02-28 Thread Felipe Leme
Hi Eric, (and sorry for the delay :-( On Tue, 2004-12-28 at 11:36 +0100, [EMAIL PROTECTED] wrote: Ok, I submitted the bug 32857, but I don't know how to make a patch, sorry... The process is described in the following page: http://jakarta.apache.org/site/source.html#Patches I can fix it

Re: Creating a custom Iterate Tag

2005-01-18 Thread Felipe Leme
On Tue, 2005-01-18 at 13:08, Marius Botha wrote: I need some guidance with creating a custom iterate tag (literally like the standard IterateTag, but where I can control what happens). I tried to find good examples or tutorials on how to do this, but couldn't find anything good so please

Re: one class implementing many tags

2004-12-01 Thread Felipe Leme
Another option would be passing the level as an argument. Something like this: html:h level=1 msg=xxx/ -- Felipe On Mon, 2004-11-29 at 21:22, Rahul P Akolkar wrote: I'm not sure why you want just one class, it seems you can just have a Utils/Helper class that the 6 tag impl classes rely on

Re: feature request and patch

2004-11-10 Thread Felipe Leme
On Wed, 2004-11-10 at 17:26, Helen Chen wrote: I am new in this mail list. Welcome :-) Could anyone kindly tell me how to send feature request and patch to datagrid? Should I use this email address? No, don't use this address: open an issue at bugzilla and it will be automatically sent to

Re: problem with fmt:formatDate

2004-10-14 Thread Felipe Leme
Flavio, You're free to add suggest such improvements for the next JSTL specs at: https://jstl-spec-public.dev.java.net/ -- Felipe On Thu, 2004-10-14 at 10:04, Flavio Tordini wrote: posting. Ok, it's 100% spec compliant... let's hope the spec will be changed in the future. It would also

Re: JSTL 1.1: diffs between c and c-1_0

2004-10-05 Thread Felipe Leme
On Tue, 2004-10-05 at 20:03, Dirk Manske (Mailing list) wrote: I upgraded to JSTL 1.1 because we are now using Tomcat 5. At first I tried the c.tld taglib. But this did not work. For example the result of c:out value=${aVariable} / for aVariable set to 100 was simply ${aVariable} instead of

Re: Simple select question

2004-10-04 Thread Felipe Leme
On Mon, 2004-10-04 at 15:40, Justin F. Knotzke wrote: Could someone please write out an example of what the select tag would look like so that the selected item is the item that is equal to the foo property? I didn't quite understand your question, but you can access the request object

Re: POP3 tag?

2004-09-28 Thread Felipe Leme
Helios, I think it's not up to a taglib to judge how it should be used. As you mentioned, sql and xml are useful for small apps, and so would be a POP3 taglib. For instance, you could write a simple page that queries the POP3 server and shows a summary of your messages, without downloading them.

Re: DataGrid problem ???

2004-09-18 Thread Felipe Leme
Hi Eric, That's a question for Nestor, the DataGrid author. He usually answers these questions very quickly, but I think he is facing some email issues, as a private message that I sent to him bounced (with the 'mailbox unavailable' message). So, let's wait a couple of days and see what

[ANN] New taglibs on Jakarta Taglibs Sandbox

2004-09-16 Thread Felipe Leme
/nightly/projects/datagrid/ http://jakarta.apache.org/builds/jakarta-taglibs-sandbox/nightly/projects/mailer2/ http://jakarta.apache.org/builds/jakarta-taglibs-sandbox/nightly/projects/rdc/ Cheers, Felipe Leme (on behalf of the Jakarta Taglibs team

Re: String concatenation

2004-08-24 Thread Felipe Leme
BTW, trying to concatenate 2 strings using a + is a common mistake - I think it would worth some sort of FAQ/note on the specification about how to correctly do it. On Mon, 2004-08-23 at 14:58, Keith wrote: c:set var=name value=${firstname} ${lastname} / There's no JSTL concatenation

Re: maven repository

2004-07-29 Thread Felipe Leme
On Thu, 2004-07-29 at 10:30, [EMAIL PROTECTED] wrote: Yes, but, you should do all your work to setup the directory structure in a staging area like your home directory before placing anything into these Done: http://apache.org/~felipeal/maven_repo/ directories. Have someone else whose

Re: maven repository

2004-07-27 Thread Felipe Leme
Hi Mark, I'd like to upload all taglibs to the repository, but I have some questions: On Sat, 2004-02-28 at 12:12, Mark R. Diggory wrote: 1.) create a project directory for taglibs that looks like /www/www.apache.org/dist/java-repository/jakarta-taglibs/jars/standard-version.jar

RE: Where is the Input tag library?

2004-06-04 Thread Felipe Leme
Martin, I think - but am not sure - that some taglibs never had an official release. Felipe PS: by speaking of releases, do you know what's going on with the nightly builds (last one was on May 29th, even though Gump is not complaining they are broken) On Fri, 2004-06-04 at 19:23, Martin

Re: calling a method in c:if tag

2004-05-27 Thread Felipe Leme
On Thu, 2004-05-27 at 20:04, Barnett, Brian W. wrote: I have a List object as a request scoped variable and I want to call a method on it as the test of a c:if statement. Is this a no no? No, this is a no yes :-): no, you can't do it on JSTL 1.0, but yes, you can on JSTL 1.1, using EL

RE: passing JSTL to custom tag attribute

2004-05-20 Thread Felipe Leme
Derek, I think he meant Tomcat 5 implements EL (and not JSTL) natively. Felipe On Thu, 2004-05-20 at 19:04, Derek Mahar wrote: What do you mean when you say that Tomcat 5 implements JSTL natively? From my experience, Tomcat 5 does not ship with JSTL. You must download and install JSTL

[ANN] String Taglib 1.1.0 has been released

2004-05-18 Thread Felipe Leme
Project's pages: Overall: http://jakarta.apache.org/taglibs/ String Taglib: http://jakarta.apache.org/taglibs/doc/string-doc/intro.html Cheers, Felipe Leme (on behalf of The Jakarta Taglibs Team) - To unsubscribe, e-mail

Re: maven repository

2004-04-21 Thread Felipe Leme
Mark/Pierre, Just now I started to use Maven in a project, and I think it's a very good product. So, at long term, I suggest that we add Maven support on our tags - it would make it much easier to handle the dependencies and we could take advantage of our existing xdocs documents. Meanwhile, I

Re: input taglib - defaulting checkboxes to checked when using ?var=value in URL

2004-03-11 Thread Felipe Leme
Hi Charles, On Thu, 2004-03-11 at 13:18, Charles Nealey wrote: Is this a known bug or is there just no way to get this to work due to the way checkboxes are submitted (nothing sent if nothing is checked)? Is there a way to get around this? Any ideas??? I worked around it to do what I want to

Re: Tag libraries for Web UI components(Ananth)

2004-03-08 Thread Felipe Leme
On Mon, 2004-03-08 at 06:17, Ananth R wrote: I want to know whther there are any tag libraries to render the User interface. Try this one: http://struts.application-servers.com/ Disclaimer: I haven't used it yet, so I'm not sure if that's what you're looking for. Felipe

Re: dbTag Error

2004-02-26 Thread Felipe Leme
Hi Derek, On Thu, 2004-02-26 at 14:13, Derek Haidle wrote: You are using the B1 version, I'm using Current. You mean jakarta-taglibs-dbtags-current.tar.gz, from the web site? That's just a link to B1, which is the latest version anyway. Could that be the problem? I'm going to download the

Re: taglib standard 1.0 in Tomcat

2004-02-26 Thread Felipe Leme
On Thu, 2004-02-26 at 20:32, George Hester wrote: I put this in my web.xml: taglib taglib-urihttp://java.sun.com/jstl/core/taglib-uri taglib-location/WEB-INF/taglib-location /taglib As someone already suggested, you just need to set this mapping in a JSP 1.0 or 1.1 container.

Re: bug in jstl 1.1 c:set?

2004-02-25 Thread Felipe Leme
Aadi, Which version of Tomcat 5 are you running it? I just ran the code below on Tomcat 5.0.16 (and JSTL 1.1.0) and it worked fine: %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % % request.setAttribute( pqParams, new java.util.HashMap(3) ); % c:set target=${requestScope.pqParams}

Re: Difference between c.tld and c-rt.tld

2004-02-04 Thread Felipe Leme
On Monday 11 August 2003 12:23 pm, Narayan, Anand ANarayan-at-e-gatematrix.com |jakarta| wrote: I was under the impression that if we used th normal tags we could not use Java scriptlet code within the page. Is that correct? Or can we mix the two even when using the normal Not exactly. If you

Re: Announcing standard-1.1.0 and standard-1.0.5

2004-01-30 Thread Felipe Leme
Fredrik, I temporarily fixed some of these files (as the official notes are automatically generated by the nightly build). Anyway, thanks for warning us about the issue. Felipe On Fri, 2004-01-30 at 20:53, Fredrik Westermarck wrote: The URLs above doesn't mention the new releases yet... The

Re: SQL / Date query

2004-01-18 Thread Felipe Leme
Hi Jack, Looks like you forgot to user parentesis in the first CURDATE. Your WHERE statement should be: WHERE date BETWEEN CURDATE() and CURDATE() + INTERVAL 6 DAY Regards, Felipe On Sunday 18 January 2004 22:48, Jack Lauman wrote: I'm trying to create a JSP page the will display rows of a

Re: Serialising javax.servlet.jsp.jstl.sql.ResultImpl

2003-12-16 Thread Felipe Leme
Kris, There was already a bug opened for this issue (can't find which one while bugzilla is down) and it was marked as RESOLVE LATER because the problem is in the JSTL specification, not at Jakarta's implementation itself. As JSTL 1.1 specification has reached its final status, this bug can't

Re: using scripting variable in JSTL standard 1.0 EL

2003-12-15 Thread Felipe Leme
Martin, The problem, I think, is that he wants to do some calculation with the request value. Antony, If the calculation is simple, you can access the request parameters as Martin mentioned, do the calculation using EL, assign it to another variable and then use that variable with c:out.

Re: HTTP Headers

2003-12-15 Thread Felipe Leme
Nic, You can't do it with JSTL (you can get the header values, but not set them), but you can with the Response Taglib: http://jakarta.apache.org/taglibs/doc/response-doc/response-1.0/index.html Felipe Nic Werner wrote: Is there a way to send HTTP headers w/JSTL? I want to send a header to

Re: HTTP Headers

2003-12-15 Thread Felipe Leme
Chen, Tim wrote: Response Headers != Request Headers. Sorry, my bad. What I meant is that you cat get the request headers with JSTL, but would need the Response taglib to set the response headers. Not sure if that's the issue the original poster had in mind though... Request Headers can be

Re: c:out and default - question on code.

2003-12-08 Thread Felipe Leme
Antony, default is a reserved word. You can have the setDefault() and getDefault() methods, but hot the default variable. Instead, you should use _default, theDefault, ddefault, or something like that (notice that as you are encapsulating this variable through the getters and setters, its real

Re: How to work with a custom and a JSTL

2003-11-23 Thread Felipe Leme
On Sunday 23 November 2003 02:59 pm, Vernon Smith wrote: attribute src? When I try this way, I get an error as: According to TLD, tag mm:imagesizer must be empty, but is not When you declares a tag in the TLD, there is a sub-element of the tag element called body-content, where you define if

Re: Tags creating Tags

2003-10-26 Thread Felipe Leme
Lukas, I think you can accomplish what you're looking for using JSP 2.0 and tag files. If I'm correct (I haven't used them yet, only read about), you can create tag files that uses other custom tags. Felipe On Monday 27 October 2003 12:07 am, Lukas Bradley wrote: I'm surprised a method

Re: Tags creating Tags

2003-10-26 Thread Felipe Leme
On Monday 27 October 2003 12:46 am, Lukas Bradley wrote: Yep. That's exactly what I'm looking for. Now Tomcat 5 just needs to be released, because I'm stuck with JSP 1.2 for now. *sniff* You're lucky - some of the projects I work on are stuck on JSP 1.1 or even JSP 1.0/JServ :-(

Re: Simple question, taglibs on eclipse-specific

2003-10-21 Thread Felipe Leme
Hi Manos, There is another eclipse similar to lomboz, called MyEclipse IDE, Enterprise Workbench (www.myeclipseide.org). Felipe On Tuesday 21 October 2003 12:12 pm, Manos Papantoniou wrote: So apparently this is a bug of the editor or the Lomboz plugin (since AFAIK this plugin gives the

Re: fmt:formatDate problems jstl 1.0.3

2003-09-03 Thread Felipe Leme
On Wednesday 03 September 2003 06:14 am, Tony Grant tony-at-tgds.net |jakarta| wrote: Now I have located the root of my problem. My query is returning a string and not a date... If the query is returning a string, you could convert it to a date first - using parseNumber - and then format it

Re: writing a custom tag that can use EL

2003-09-03 Thread Felipe Leme
On Wednesday 03 September 2003 06:39 am, Adam Hardy wrote: it will interpret the EL specified. I assume there must be some classes in some jar somewhere, something I need to implement or extend? Yes, something like that. Take a look in this past message:

Re: writing a custom tag that can use EL

2003-09-03 Thread Felipe Leme
On Wednesday 03 September 2003 11:00 am, Adam Hardy wrote: From the LoopTag I could obtain the LoopTagStatus object via the getLoopStatus() method. Yes, that would solve your problem too. It would even be a more elegant solution for the problem. It seems that implementing EL will be a

Re: writing a custom tag that can use EL

2003-09-03 Thread Felipe Leme
Pierre, Now that you mention it, is there any plans to officially include it on J2EE1.4? I think JSTL is not in the current J2EE 1.4 specification, even though its implementation is included on j2sdkee1.4. Felipe On Wednesday 03 September 2003 01:36 pm, Pierre Delisle wrote: JSTL is not

Re: writing a custom tag that can use EL

2003-09-03 Thread Felipe Leme
On Wednesday 03 September 2003 02:44 pm, Chen, Gin wrote: Why should JSTL be included in JSEE1.4? Maybe I'm misunderstanding here but I think of JSTL as this set of taglibs that I use. It's a set of taglibs. But as the name implies, it's the standard taglibs. So I think it would make sense to

Re: writing a custom tag that can use EL

2003-09-03 Thread Felipe Leme
Eric, Although this is obviously a valid point, waiting for JSP 2.0 is not really a good solution for the present. Especially if you are someone who I thinks you misunderstood my posts. I didn't say we should wait for JSP 2.0 to use EL; I just said it will be much easier to develop tags when

Re: problems with install

2003-08-22 Thread Felipe Leme
Hi, That's because you are using a JSP 1.1 container (and JSTL requires JSP 1.2). If I don't declare the taglibs in my web.xml file, I get: Fatal error: http://java.sun.com/jstl/core: Failed to find taglib for an absolue URI 'http://java.sun.com/jstl/core'. JSP 1.1 containers doesn't

Re: API for expression language evaluation

2003-08-20 Thread Felipe Leme
On Wednesday 20 August 2003 06:19 am, Johann Uhrmann wrote: is there an API for expression language evaluation? Yes, there is. But it's part of Jakarta Standard, not JSTL itself. ${bean.property} Should be evaluated to the property value of the bean. Take a look on this article, it

Re: Editor

2003-08-14 Thread Felipe Leme
Hi, Interesting, I just wrote a small article on how the main IDEs in the market handle JSTL and taglibs in general: JDeveloper - has full support (i.e, syntax highlighting and code completion) for taglibs. Current version (9.0.3) doesn't include JSTL in its pallette (it's necessary to

Re: XML Selects and bean style properties.

2003-08-14 Thread Felipe Leme
Hi, Have you tried $USER:full_name? (not sure if it works, as I never tried, but the specification suggests : could be used for that) Felipe On Monday 11 August 2003 03:34 pm, Kris Schneider kris-at-dotech.com |jakarta| wrote: So, something like this doesn't work? x:out

Re: remoteUser

2003-08-12 Thread Felipe Leme
PageContext is not a JSTL-only object, it's part of the Servlet API and as such, it's documented there: http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/jsp/PageContext.html Felipe On Tuesday 12 August 2003 09:48 am, p-at-zdzior pazdzior-at-interia.pl |jakarta| wrote: by the way

Re: XML help

2003-07-31 Thread Felipe Leme
Yes, it does, thanks. And sorry for not searching the archives before (mailing to the list is my last resource, but I forgot the archives: only looked at the specification and bugzilla :) Felipe On Thursday 31 July 2003 01:00 am, matsuhashi-at-quick.co.jp |jakarta| wrote: Does this help?

XML help

2003-07-30 Thread Felipe Leme
/x:forEach OUTPUT --- Name (noDTD): Felipe Leme Name (DTD): Name (DTD2): FELIPE LEME Proof that the document was parsed: element: element: felipe leme element: element: felipe leme element: element: element: felipe leme element: element: element:felipe element: element:leme element

Re: Formatting timestamps retrieved in a sql result set

2003-07-30 Thread Felipe Leme
On Monday 28 July 2003 02:26 pm, Narayan, Anand ANarayan-at-e-gatematrix.com |jakarta| wrote: After executing a query I want to format any date and time values using a custom pattern before displaying them. How would I accomplish this? You could use the fmt:formatDate tag, using the pattern

Re: Help with catch tag

2003-07-27 Thread Felipe Leme
On Sunday 27 July 2003 01:11 pm, Mike Steigerwald Steiger-at-UMich.edu |jakarta| wrote: I guess I need a code review. Can anyone see what might be wrong with the snippet below? It does not seem to catch an exception generated when the Ok, I'll try... c:if test=${exception != null} Sorry.

Re: x:transform using xsl:include

2003-07-27 Thread Felipe Leme
Hi Aaron, I had exactly the same problem you had, and the solution I found was to use a full URI for the xsl (i.e, with the http:// poiting to your web server). In my case, I used the following jsp code: %@ taglib prefix=c uri=http://java.sun.com/jstl/core; % %@ taglib prefix=x

Re: One loop for two arrays

2003-07-22 Thread Felipe Leme
On Tuesday 22 July 2003 12:44 pm, Vincent Peytavin wrote: c:forEach var=nom items=${liste1} varStatus=i // Something which puts in 'surname' the value of 'list2[i]' /c:forEach I think the something could be something like:: c:set var=surname value=${list2[i]}/ Is that what you want?