Re: Getting integer portion of ceiling of a double number using fmt tags

2009-02-12 Thread Rashmi
I've submitted a feature request to jstl-spec-public to add roundingMode attribute to fmt:formatNumber and fmt:parseNaumber . -Rashmi - To unsubscribe, e-mail: taglibs-user-unsubscr...@jakarta.apache.org For additional commands,

Getting integer portion of ceiling of a double number using fmt tags

2009-02-12 Thread Rashmi
Hello all, I'm trying to get the integer portion of the ceiling of a number using JSTL 1.2 fmt tags on Tomcat 6.x, JavaSE 6.x. So, if my number is 1.2 , the result expected is 2 (no fractions) or if my number is 1.6 the result wanted is 2 In JavaSE 6 this can be accomplished with NumberF

Re: Using JNDI tags and accessing LDAP with Security Principal and Authentication

2007-11-14 Thread Kris Schneider
On 11/14/07, Hashir, Mehedi <[EMAIL PROTECTED]> wrote: > Hi Folks , > Using JNDI Tags and accessing LDAP directory. > How do I supply the Security, prinicpal and credential attributes , > needed to complete this call successfully. ? > Is there something else I need t

RE: Using JNDI tags and accessing LDAP with Security Principal and Authentication

2007-11-14 Thread Hashir, Mehedi
Kris , That worked, Thanks Mehedi -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 2:33 PM To: Tag Libraries Users List Subject: Re: Using JNDI tags and accessing LDAP with Security Principal and Authentication On 11/14/07, Hashir

Using JNDI tags and accessing LDAP with Security Principal and Authentication

2007-11-14 Thread Hashir, Mehedi
Hi Folks , Using JNDI Tags and accessing LDAP directory. How do I supply the Security, prinicpal and credential attributes , needed to complete this call successfully. ? Is there something else I need to configure ? Is this possible with the current version of JNDI tags ? This is the code

Re: taglibs build error on OS X using DarwinPorts

2007-10-19 Thread pine88
someone on this list might be able to >> provide me quick help. >> >> Compiling tomcat5 on Mac OS 10.4.11, Intel Mackbook >> Pro using Darwin(Mac)Ports, I am getting the following >> error: Any ideas? >> >> ( All the tomcat dependencies including servlet23-api >

Re: taglibs build error on OS X using DarwinPorts

2007-10-19 Thread Kris Schneider
far. Just hoping someone on this list might be able to > provide me quick help. > > Compiling tomcat5 on Mac OS 10.4.11, Intel Mackbook > Pro using Darwin(Mac)Ports, I am getting the following > error: Any ideas? > > ( All the tomcat dependencies including servlet23-api &

taglibs build error on OS X using DarwinPorts

2007-10-19 Thread Don Oh
Hi, I'm new to this list... googling didn't help me so far. Just hoping someone on this list might be able to provide me quick help. Compiling tomcat5 on Mac OS 10.4.11, Intel Mackbook Pro using Darwin(Mac)Ports, I am getting the following error: Any ideas? ( All the tomcat de

Using RDC's in a stand-alone Java application

2006-11-21 Thread Charles Godfrey
Quick question, I'm building a stand-alone Java application that will output some VXML pages. Is there any way for me to use RDC to help with this? Is there a Java API for RDCs? Thanks, Charles

Re: Using RDC's in a stand-alone Java application

2006-11-21 Thread Rahul Akolkar
On 11/20/06, Charles Godfrey <[EMAIL PROTECTED]> wrote: Quick question, I'm building a stand-alone Java application that will output some VXML pages. Is there any way for me to use RDC to help with this? Is there a Java API for RDCs? One of the primary assumptions for the RDC taglib is that a

Re: Using RDC's in a stand-alone Java application

2006-11-21 Thread Rahul Akolkar
On 11/21/06, Charles Godfrey <[EMAIL PROTECTED]> wrote: Thanks Rahul, In the question I posed earlier, I was referring to a stand-alone Java application that had no communication to the browser. Lets just assume that I want to create some vxml pages on the local drive. OK. From your respo

Re: Using RDC's in a stand-alone Java application

2006-11-21 Thread Charles Godfrey
Thanks Rahul, In the question I posed earlier, I was referring to a stand-alone Java application that had no communication to the browser. Lets just assume that I want to create some vxml pages on the local drive. From your response it sounds like it might be easier to just write some classes my

Re: Using Java variables in Xtags select

2006-09-29 Thread Rashmi Rubdi
It's good to know that you got your code working. However, using JSTL tags as mentioned in the previous post is a good programming practice. It might become evident that it is much cleaner to use than JSP scriptlets as your JSP code grows lager. All the best. --- Ashish Srivastava &l

Re: Using Java variables in Xtags select

2006-09-29 Thread Ashish Srivastava
Thanks Rashmi. I also got it working by creating a String object for the select and then using it instead. - Original Message From: Rashmi Rubdi <[EMAIL PROTECTED]> To: Tag Libraries Users List Sent: Thursday, September 28, 2006 5:24:39 PM Subject: Re: Using Java variables in

Re: Using Java variables in Xtags select

2006-09-28 Thread Rashmi Rubdi
--- Ashish Srivastava <[EMAIL PROTECTED]> wrote: > Hi, > I am using xtags library in a JSP and am having > trouble using Java variables while selecting XML > nodes. The XML to be parsed is: > > > > > > > > ... &

Using Java variables in Xtags select

2006-09-28 Thread Ashish Srivastava
Hi, I am using xtags library in a JSP and am having trouble using Java variables while selecting XML nodes. The XML to be parsed is: ... ... Where child_id is a Java variable defined in the JSP. The above code throws an exception complaining about '

Re: Is there a way to turn-off character escaping when using c:set ?

2006-08-03 Thread Rashmi Rubdi
This worked! Thank you. Kris Schneider <[EMAIL PROTECTED]> wrote: is doing the escaping by default. Try: __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: Is there a way to turn-off character escaping when using c:set ?

2006-08-03 Thread Kris Schneider
is doing the escaping by default. Try: Rashmi Rubdi wrote: I'm processing an XML file and trying to get the value stored in the ProductURL attribute of a node. I'm doing this: When I output the value of @ProductURL , with just x:out, I get this: http://www.something.com?q

Is there a way to turn-off character escaping when using c:set ?

2006-08-03 Thread Rashmi Rubdi
I'm processing an XML file and trying to get the value stored in the ProductURL attribute of a node. I'm doing this: When I output the value of @ProductURL , with just x:out, I get this: http://www.something.com?qs1=some_value&qs2=another_value (Notice how the ampersand is not es

Re: Need help in sending mail using UTF-8

2006-06-15 Thread Ram
mate in my case(s). And I do a lot of Asian encoding, being a squeeker of Japanese. Good luck. At 09:20 AM 6/14/2006, you wrote: Hi, I m trying to send a mail with chinese characters using Apache Mailer. So, I need to set the charset as UTF-8. In my JSP, I m setting the header as name="cont

Re: Need help in sending mail using UTF-8

2006-06-15 Thread William Ross
wrote: Hi, I m trying to send a mail with chinese characters using Apache Mailer. So, I need to set the charset as UTF-8. In my JSP, I m setting the header as name="content-type" value="text/html;charset=UTF-8" />. This is inside tag and before tag. But when the mail i

Need help in sending mail using UTF-8

2006-06-14 Thread Ram
Hi, I m trying to send a mail with chinese characters using Apache Mailer. So, I need to set the charset as UTF-8. In my JSP, I m setting the header as name="content-type" value="text/html;charset=UTF-8" />. This is inside tag and before tag. But when the mail is sen

Re: SOAP Requests using the IO taglib

2006-01-04 Thread Hassan Schroeder
Brian Battersby wrote: > I need to get the data back in XML format so I can parse out the individual > elements. For some reason, I was expecting the above response. Now I > didn't write the Web Service. Do you think that the Web Service is not > sending back the proper SOAP response? It *is*

RE: SOAP Requests using the IO taglib

2006-01-04 Thread Brian Battersby
esponse. Now I didn't write the Web Service. Do you think that the Web Service is not sending back the proper SOAP response? Thank you, Brian Battersby -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 7:26 PM To: Tag Libraries Users

Re: SOAP Requests using the IO taglib

2006-01-04 Thread Hassan Schroeder
Brian Battersby wrote: > I am currently able to get the correct data back from our Web Service ... > However, the data is just displayed in the HTML page as a raw string. I > would like to store the data in a parameter in the right structure. The > structure of the data should be as follows: If

SOAP Requests using the IO taglib

2006-01-04 Thread Brian Battersby
I am currently able to get the correct data back from our Web Service using the following taglib data: http://216.143.130.38:1080/rnksoapservice.asmx"; SOAPAction="http://216.143.130.38/GetSubjectStatusList";> http://schemas.xmlsoap.org/soap/env

Re: Problems using Taglibs 1.1: c:out

2005-10-08 Thread Michael Winkler
Hi together, isELIgnored="false" works fine in jsp-pages. Now another problem/question occurred: Is it possible to use jstl within a xsl-stylesheet? I transform and write my xml-file with the tag and pass parameters (e. g. the selected language) with the tag. How can I include <%@

RE: Problems using Taglibs 1.1: c:out

2005-09-09 Thread Karr, David
I believe you'll need to make your web.xml use the Servlet 2.4 schema. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, September 09, 2005 3:22 AM > To: taglibs-user@jakarta.apache.org > Subject: Problems using Taglibs 1

RE: [opencms] Problems using Taglibs 1.1: c:out

2005-09-09 Thread Jorge González
Don't use simple ' into the jstl tags, because they are used to mark a string literal Use " instead - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems using Taglibs 1.1: c:out

2005-09-09 Thread ::SammyRulez::
add isELIgnored="false" to your "<%@ page" tag -- ::SammyRulez:: http://sammyprojectz.blogspot.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problems using Taglibs 1.1: c:out

2005-09-09 Thread michael . winkler
Hi, i'm new to jstl: i downloaded jakarta-taglibs-standard-1.1.2 and copied jstl.jar and standard.jar in the web-inf directory of my web-application (i'm using tomcat 5.0.19). i tried the following code-example: <%@ taglib uri="http://java.sun.com/jsp/jstl/core";

Using the authentication in the jakarta-image-taglib

2005-08-24 Thread Jorge González
Hi list: I'm using the jakarta-image-taglib to generate thumbnails from my cms contents, which are protected by a BASIC Authentication method. How can i buld a jsp page to include the image taglib and set the username/password required to fetch the files ? Looking at the sources, i see

Re: how do you Show data from sql query result using datagrid taglib

2005-08-04 Thread Ferindo Middleton Jr
AND class_id LIKE ? AND bureau_id LIKE ? AND firstname LIKE ? ... ... Why do I get this error message. It appears that items="${result.rows}" is not providing the kind of data the tag is expecting... Ferindo Néstor Boscán wrote: Hi Ferindo It depends on what you are

Re: What is the benifit of using SimpleTagSupport on Classics tag

2005-08-04 Thread Rahul Akolkar
On 8/4/05, suman mukherjee <[EMAIL PROTECTED]> wrote: > Hi all, > I am new in JSP2.0. can any one tell me in brief what > are the benifit of using simple tag rather than > classic tag ? I'd start with the 2.0 Javadocs. For your question, I'd start here [ http://ja

Re: how to get value of bean using logic iterator

2005-08-04 Thread Rahul Akolkar
ani" <[EMAIL PROTECTED]> > To: > Sent: Thursday, August 04, 2005 12:28 PM > Subject: how to get value of bean using logic iterator > > > Hi all, > I am facing problem in to iterate a bean inside > two arrayList. please send some example ho

What is the benifit of using SimpleTagSupport on Classics tag

2005-08-04 Thread suman mukherjee
Hi all, I am new in JSP2.0. can any one tell me in brief what are the benifit of using simple tag rather than classic tag ? __ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html

Re: how to get value of bean using logic iterator

2005-08-04 Thread Anuradha
Perhaps if you send a mail to [EMAIL PROTECTED] you will receive adequate response. - Original Message - From: "Shailendramani" <[EMAIL PROTECTED]> To: Sent: Thursday, August 04, 2005 12:28 PM Subject: how to get value of bean using logic iterator Hi all,

how to get value of bean using logic iterator

2005-08-03 Thread Shailendramani
Hi all, I am facing problem in to iterate a bean inside two arrayList. please send some example how to achive this. Thanks in advance Shailendra Mani

Re: how do you Show data from sql query result using datagrid taglib

2005-08-03 Thread Ferindo Middleton Jr
AND class_id LIKE ? AND bureau_id LIKE ? AND firstname LIKE ? ... ... Why do I get this error message. It appears that items="${result.rows}" is not proving the kind of data the tag is expecting... Ferindo Néstor Boscán wrote: Hi Ferindo It depends on what you are

RE: how do you Show data from sql query result using datagrid taglib

2005-08-02 Thread Néstor Boscán
Hi Ferindo It depends on what you are using to query the database. For example if you're using the sql:query tag from the JSTL library you just set the query result in the "items" attribute like this: items="${result.rows}". If you're using JDBC directly you ne

how do you Show data from sql query result using datagrid taglib

2005-08-02 Thread Ferindo Middleton Jr
database query/result records. I've been doing this the manual way using simple tables and looping through query results to regular html tables fields to populate the results of my sql queries for my application... using datagrid seems like a cleaner tool... Also, this taglib seems to be jus

Showing data from sql query using datgrid taglib - HOW?

2005-07-30 Thread Ferindo Middleton Jr
database query/result records. I've been doing this the manual way using simple tables and looping through query results to regular html tables fields to populate the results of my sql queries for my application... using datagrid seems like a cleaner tool... Also, this taglib seems to be jus

Re: Using JSTL 1.1.2 with Tomcat 5.5 & J2SE 5.0

2005-06-06 Thread Rahul P Akolkar
On 6/6/05, Dino Klein <[EMAIL PROTECTED]> wrote: > I think I'll file a bug report, since my knowledge about TLVs is zero. TLVs perform validation that is beyond TLDs, common example is validation of the type can only be a child of etc. I was itching for a better explanation of this issue, so I

Re: Using JSTL 1.1.2 with Tomcat 5.5 & J2SE 5.0

2005-06-06 Thread Dino Klein
I think I'll file a bug report, since my knowledge about TLVs is zero. In case it might interest anybody - I gave the pages a try on Tomcat 5.0.28 with 1.4.2 (on MacOS X), with the same results; I did this to make sure that it wasn't some sort of an incompatibility issue with J2SE 5.0. Rahul

Re: Using JSTL 1.1.2 with Tomcat 5.5 & J2SE 5.0

2005-06-06 Thread Rahul P Akolkar
Dino Klein" <[EMAIL PROTECTED]> wrote on 06/06/2005 03:44:38 PM: > I did some primitive debugging, and all I could find out is that if I use > xmlns:fn="http://java.sun.com/jsp/jstl/functions";, then I have no > problems; I checked the TLDs, and I noticed that it does not include a > validator

Re: [OT] Using JSTL 1.1.2 with Tomcat 5.5 & J2SE 5.0

2005-06-06 Thread Dino Klein
This is not a JSTL issue, marked OT. In XML views of JSPs, the included file is expanded in place. And jasper2 isn't happy because there are more than one jsp:root elements in the XML view of main.jspx. In your case, I don't see any need for either of the two jsp:root elements (unless you simplifi

Re: [OT] Using JSTL 1.1.2 with Tomcat 5.5 & J2SE 5.0

2005-06-06 Thread Rahul P Akolkar
"Dino Klein" <[EMAIL PROTECTED]> wrote on 06/06/2005 09:16:07 AM: > I have two jspx files (pasted below), where one includes the other. > When I remove the xmlns:c declaration/importation - it works; similarly, > when I do not include the other file, it also works fine. > (1) main.jspx > =

Re: Using JSTL 1.1.2 with Tomcat 5.5 & J2SE 5.0

2005-06-06 Thread Dino Klein
I have two jspx files (pasted below), where one includes the other. When I remove the xmlns:c declaration/importation - it works; similarly, when I do not include the other file, it also works fine. Thanks. (1) main.jspx == http://java.sun.com/JSP/Page"; version="2.0"> http://ja

Re: Using JSTL 1.1.2 with Tomcat 5.5 & J2SE 5.0

2005-06-05 Thread Rahul P Akolkar
"Dino Klein" <[EMAIL PROTECTED]> wrote on 06/05/2005 10:43:13 PM: > org.apache.jasper.JasperException: Validation error messages from > TagLibraryValidator for cnull: org.xml.sax.SAXParseException: > Attribute "jsp" bound to namespace "http://www.w3.org/2000/xmlns/"; was > already specified for

Using JSTL 1.1.2 with Tomcat 5.5 & J2SE 5.0

2005-06-05 Thread Dino Klein
Hi, I'm having issues getting JSTL 1.1.2 working on Tomcat 5.5 & J2SE 5.0; namely I am getting the following exception: org.apache.jasper.JasperException: Validation error messages from TagLibraryValidator for cnull: org.xml.sax.SAXParseException: Attribute "jsp" bound to namespace "http://

Grid style layout using Datagrid taglib...

2005-04-18 Thread Siva Yenneti
Hi, Has anyone used the DataGrid taglib to create a table of results in a grid layout format but not in a simple tabular format. I am searching for images in a table and I am looking for a search results style in a grid layout. Please check this to see grid layout (click search in the page for re

Re: Using JSTL with java.io.Reader

2004-11-17 Thread Paul Michael Ung
I actually wanted to do it without having to write any additional java code and just using the existing taglibs, but if that's not possible, your idea does sound really good. Maybe that might be the way to go. Thanks for the help! - Original Message - From: Kris Schneider &l

Re: Using JSTL with java.io.Reader

2004-11-17 Thread Kris Schneider
oting Paul Michael Ung <[EMAIL PROTECTED]>: > Hi, > > I'm trying to use JSTL to open a file on the server and process it line > by line. So to read in the file, I'm using the tag with the > varReader attribute, which returns a java.io.Reader instead of a > St

Using JSTL with java.io.Reader

2004-11-16 Thread Paul Michael Ung
Hi, I'm trying to use JSTL to open a file on the server and process it line by line. So to read in the file, I'm using the tag with the varReader attribute, which returns a java.io.Reader instead of a String. But I can't seem to find a way to use the varReader with either

Re: Multiple updates using sql tag

2004-10-28 Thread Peter Kehl
Dylan, you must process user request, ie retrieve the list of chosen/all rows and then update each in SQL. That has is not specific to sql:update, but to your pageflow, forms, their fields and how you process them on server side. Although taglibs are nice, it might be worth having a look at Mod

Multiple updates using sql tag

2004-10-27 Thread Dylan MacDonald
Hi - I have a form that collects updates for multiple rows (i.e. a comments field for each row). When the user clicks "submit", how do I write the sql:update code on the updates.jsp page to extract the array or hashmap of data and use it to update the corresponding rows in the database? Tha

Re: fmt:message not using correct locale

2004-10-16 Thread Kumar V Kadiyala
ttings and the string displayed were German. This has to be a JSTL loading issue, correct? Kumar Please respond to "Tag Libraries Users List" <[EMAIL PROTECTED]> To: Tag Libraries Users List <[EMAIL PROTECTED]> cc: Subject: Re: fmt:message not using corre

Re: fmt:message not using correct locale

2004-10-16 Thread Martin Cooper
ibraries Users List" > <[EMAIL PROTECTED]> > To: Tag Libraries Users List <[EMAIL PROTECTED]> > cc: > Subject:Re: fmt:message not using correct locale > > > > > JSTL and Struts use different mechanisms to load their resource > bundles, and

Re: fmt:message not using correct locale

2004-10-16 Thread Kumar V Kadiyala
stand how jstl can pick up the correct resources when I don't use struts. Kumar Please respond to "Tag Libraries Users List" <[EMAIL PROTECTED]> To: Tag Libraries Users List <[EMAIL PROTECTED]> cc: Subject: Re: fmt:message not using correct locale

Re: fmt:message not using correct locale

2004-10-15 Thread Martin Cooper
is specified in struts-config.xml as follows: > > I currently have the base file PSDText.properties and a German version > PSDText.properties_de. > > If I have the language setting in my browser to de, I see the German > strings. However if I set the languages to en-us followed by German, I > st

fmt:message not using correct locale

2004-10-15 Thread Kumar V Kadiyala
I see the German strings. However if I set the languages to en-us followed by German, I still see the German strings. It seems like fmt:message is using the wrong locale. Just out of curiosity I replaced fmt:message to bean:message and I see the right localized strings. I have to use fmt:mess

[INPUT] I need some clarification with using the select tag

2004-09-17 Thread Adrian Beech
Hi folks, I'm trying to get my head around using the select tag... Basically to start with I need to produce a drop down that has three options. In HTML (as we all know!) it looks like this: Yes No I've been able to get the following to work: <% opt.put("&quo

Re: Using a localized pattern with fmt:formatNumber

2004-09-14 Thread Bill Siggelkow
Helios -- you're pretty much right. My reason is basically academic; let me exlain -- The Struts bean:write tag applies the pattern as a localized pattern if the pattern is retrieved using the formatKey attribute. I was basically trying to find out if there was a way to emulate this beh

Re: Using a localized pattern with fmt:formatNumber

2004-09-14 Thread Helios Alonso
Maybe you have to explain why you need to localize your pattern. I mean, can't you use a non-localized pattern even if you have one for each locale? At 16:50 13/09/2004 -0400, you wrote: Is it possible to apply a localized pattern when using the fmt:formatNumber tag? In other words, I

Re: Using a localized pattern with fmt:formatNumber

2004-09-13 Thread Big Chiz
i thought it would just be something like But i can be wrong... always... :) On Mon, 13 Sep 2004 16:50:37 -0400, Bill Siggelkow <[EMAIL PROTECTED]> wrote: > Is it possible to apply a localized pattern when using the > fmt:formatNumber tag? > > In other words, I would lik

Using a localized pattern with fmt:formatNumber

2004-09-13 Thread Bill Siggelkow
Is it possible to apply a localized pattern when using the fmt:formatNumber tag? In other words, I would like the following to work correctly if my locale is some European locale like Russian: Say,I have a Double with a value of "12345.34" This does not apply the pattern as a

Re: using Node variables with JSTL XML tags

2004-09-09 Thread Justyna Horwat
t;." to the expression. I'm not sure if it's possible to construct something similar with the "select" attribute of JSTL's x tags... Quoting "Johnson, Chris" <[EMAIL PROTECTED]>: I see. I ran across a similar problem with JDOM Xpath, although they solve

Re: using Node variables with JSTL XML tags

2004-09-09 Thread Flavio Tordini
the "select" attribute of JSTL's x tags... Quoting "Johnson, Chris" <[EMAIL PROTECTED]>: I see. I ran across a similar problem with JDOM Xpath, although they solved it in a newer version, but totally screwed up the API and some other stuff, so it killed the fix for me.

Re: using Node variables with JSTL XML tags

2004-09-09 Thread Kris Schneider
h results in: > > > > nodes: > > name="child" > > nodes: > > nodes: > > name="child" > > > > Notice that for the XPath evaluation to work with "node", I had to prepend > "." > > to the expressi

Re: using Node variables with JSTL XML tags

2004-09-09 Thread Flavio Tordini
gh they solved it in a newer version, but totally screwed up the API and some other stuff, so it killed the fix for me. I had performance problems with the xml jstl tags (forEach), so I've since moved on to using xslt. They're clearly not in a big hurry to fix these (what we would consider

RE: using Node variables with JSTL XML tags

2004-09-08 Thread Kris Schneider
TED]>: > I see. I ran across a similar problem with JDOM Xpath, although they > solved it in a newer version, but totally screwed up the API and some > other stuff, so it killed the fix for me. > > I had performance problems with the xml jstl tags (forEach), so I've >

RE: using Node variables with JSTL XML tags

2004-09-08 Thread Johnson, Chris
I see. I ran across a similar problem with JDOM Xpath, although they solved it in a newer version, but totally screwed up the API and some other stuff, so it killed the fix for me. I had performance problems with the xml jstl tags (forEach), so I've since moved on to using xslt. They'

Re: using Node variables with JSTL XML tags

2004-09-08 Thread Flavio Tordini
eems that what 1.1 is doing is more correct. How do you expect jstl to find your sub node without telling it how to get there? That's how it works in directories on a computer (unix or pc). The only way that I know of to go to a subnode without providing the full path is by using the // operator,

RE: using Node variables with JSTL XML tags

2004-09-08 Thread Johnson, Chris
It seems that what 1.1 is doing is more correct. How do you expect jstl to find your sub node without telling it how to get there? That's how it works in directories on a computer (unix or pc). The only way that I know of to go to a subnode without providing the full path is by usin

Re: using Node variables with JSTL XML tags

2004-09-08 Thread Flavio Tordini
hi all, In the list archive, I found that the same question has been asked in June e never answered: http://www.mail-archive.com/[EMAIL PROTECTED]/msg07315.html should I post to the dev mailing list? should I report a bug? please someone answer! flavio Flavio Tordini wrote: hi all, I'm experiment

Re: using Node variables with JSTL XML tags

2004-09-08 Thread Flavio Tordini
hi helios, Unfortunately it does not work. it gives the following error: Illegal argument evaluating XPath expression "/*": java.lang.IllegalArgumentException: Node must be non-null for getDTMHandleFromNode Clearly the JSTL implementation is trying to use "[EMAIL PROTECTED]" as the variable nam

Re: using Node variables with JSTL XML tags

2004-09-08 Thread Helios Alonso
Hmm... I don't know too much about xtags but try: [EMAIL PROTECTED] (without the bar) :-) Hope it helps. At 10:36 08/09/2004 +0200, you wrote: hi all, I'm experimenting with the JSTL XML tags. I have a org.w3c.dom.Node variable and I'm trying to use the JSTL with it. Something like: The odd thin

using Node variables with JSTL XML tags

2004-09-08 Thread Flavio Tordini
hi all, I'm experimenting with the JSTL XML tags. I have a org.w3c.dom.Node variable and I'm trying to use the JSTL with it. Something like: The odd thing is that the XPath expression is evaluated relative the document root, not to the specified node. The following works: I cannot find an exp

Re: Using Config.set(session, Config.FMT_LOCALE, locale);

2004-08-13 Thread Kris Schneider
ou want to look at some more code... Quoting Bill Siggelkow <[EMAIL PROTECTED]>: > Yes, that's essentially what I was doing ... interestingly enough, I > solved the problem by updating to taglibs-standard 1.1.1. Before I was > using the jstl.jar and standard.jar included in Str

Re: Using Config.set(session, Config.FMT_LOCALE, locale);

2004-08-13 Thread Bill Siggelkow
Yes, that's essentially what I was doing ... interestingly enough, I solved the problem by updating to taglibs-standard 1.1.1. Before I was using the jstl.jar and standard.jar included in Struts 1.2.1. Kris Schneider wrote: Strange, because the following seems to work: we

Re: Using Config.set(session, Config.FMT_LOCALE, locale);

2004-08-13 Thread Kris Schneider
Strange, because the following seems to work: web.xml: javax.servlet.jsp.jstl.fmt.localizationContext Messages WEB-INF/classes/Messages.properties: msg=Messages WEB-INF/classes/Messages_ru.properties: ---

Using Config.set(session, Config.FMT_LOCALE, locale);

2004-08-12 Thread Bill Siggelkow
I have created a Struts action similar to one suggested by Kris Schneider to change the current locale for both Struts and JSTL. In the action after creating a locale based on user input I make the following two calls: // reset the Struts locale session.setAttribute(Globals.LOCA

AW: Using JSTL, newbie question: context

2004-07-07 Thread Rinnert, Wolfgang
- ... Try using: ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using struts-nested tags

2004-07-07 Thread Paride Perazzolo
> I would recommend asking Struts questions on the Struts mailing lists, > since there are likely many more people there who will understand the > issue you are trying to resolve, and be able to help you solve it. ok, thanks -- Paride Perazzolo [EMAIL PROTECTED]

Re: Using struts-nested tags

2004-07-06 Thread Martin Cooper
lection-typed property of a session scope bean, visualize it to the user, let the user modifying it and finally submitting the changes the struts way (using a form-bean as trait d'union between my jsp and the controller) and update the bean in session. I'm looking for a elegant procedure to

Re: Using JSTL, newbie question: context

2004-07-06 Thread Kris Schneider
"applicationScope" instead of "servletContext"... Quoting Helios Alonso <[EMAIL PROTECTED]>: > Try using: > > > > So it gets addressesDB bean from the servletContext and query for the > addresses property (it is, calls getAddresses()). If

Re: Using JSTL, newbie question: context

2004-07-06 Thread Helios Alonso
Try using: So it gets addressesDB bean from the servletContext and query for the addresses property (it is, calls getAddresses()). If getAddresses reloads the array, it works. http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html#wp71043 (framed page from http://java.sun.com/j2ee/1.4

Re: Using JSTL, newbie question: context

2004-07-06 Thread Kris Schneider
Without spending too much time reading the article and looking at its code, I think you should be able to replace the scriptlet code in Home.jsp with: <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> .. ">Delete or ">Delete

Re: [despammed] Re: Using struts-nested tags

2004-07-06 Thread Paride Perazzolo
er access session beans in my jsp, but being aware of the 1-1 relationship between the page form and the one which I defined in the struts-config.xml So I'm going to update the form beans (using objects like containers and navigators in session) in the related actions before passing control

Re: Using struts-nested tags

2004-07-06 Thread Paride Perazzolo
resultant page> what I'm trying to realize is accessing a Collection-typed property of a session scope bean, visualize it to the user, let the user modifying it and finally submitting the changes the struts way (using a form-bean as trait d'union between my jsp and the controll

Using JSTL, newbie question: context

2004-07-06 Thread Rinnert, Wolfgang
Hi, as a training step, I want to convert the sample application by Paul Wood, http://www.onjava.com/pub/a/onjava/2003/01/08/tomcat4.html so that JSTL is used in place of the scriptlet code inserted in the JSP of this webapp. I have changed "ContextListener.java" to call AddressesDB.getAddresses

Re: Using struts-nested tags

2004-07-05 Thread Steve Lewis
DynaValidatorActionForm 3) Not of this discussion makes sense without more of struts config and the resultant page At 08:46 AM 7/5/2004, you wrote: Hi folks, I'm new to the list, so forgive me if I'm not respecting Netiquette or asking off-topics. I'm trying to render pieces of

Using struts-nested tags

2004-07-05 Thread Paride Perazzolo
Hi folks, I'm new to the list, so forgive me if I'm not respecting Netiquette or asking off-topics. I'm trying to render pieces of html using the following syntax: from struts-config.xml the definition of the form follows: into the jsp I wrote (MyBeanContainer

Re: Undeterministic Reflection Exception, Using EL, JSTL, and Torque Objects

2004-06-24 Thread Georg Filios
t group. I have a unpleasent error, for which I havent found a solution on several days research. Here is my Scenario: I do have a bug i.e. an Exception which occurs ocassionally but not always. Using Tomcat 5.0.24 and Servlet 2.4 I try to display a User-Object with the The User-Object was g

Re: Undeterministic Reflection Exception, Using EL, JSTL, and Torque Objects

2004-06-24 Thread Martin Cooper
ionally but not always. Using Tomcat 5.0.24 and Servlet 2.4 I try to display a User-Object with the The User-Object was generated with Torque, has different getters and setters. The setters in my User-Object class are Torque generated. I have listed these setters below. Only 3 of them have different par

Undeterministic Reflection Exception, Using EL, JSTL, and Torque Objects

2004-06-24 Thread Georg Filios
Hi, I do hope that I am here in the right group. I have a unpleasent error, for which I havent found a solution on several days research. Here is my Scenario: I do have a bug i.e. an Exception which occurs ocassionally but not always. Using Tomcat 5.0.24 and Servlet 2.4 I try to display a

Re: Re: Using JSTL import with a URL in a bean

2004-06-22 Thread Kris Schneider
uot; uri="http://java.sun.com/jstl/sql"; %> <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml"; %> Quoting Stuart Schmukler <[EMAIL PROTECTED]>: > I am using Tomcat 4.1.29, so now I am questioning what standard.jar I am > using.

Re: Re: Using JSTL import with a URL in a bean

2004-06-22 Thread Stuart Schmukler
I am using Tomcat 4.1.29, so now I am questioning what standard.jar I am using. Will Standard 1.1.0 work in Tomcat 4.1.29? Stuart On Tue, 22 Jun 2004, Kris Schneider ([EMAIL PROTECTED]) wrote: > The "url" attribute is dynamic, so you can definitely use an expression to se

Re: Using JSTL import with a URL in a bean

2004-06-22 Thread Kris Schneider
The "url" attribute is dynamic, so you can definitely use an expression to set its value. Standard 1.1.0 implements JSTL 1.1 which requires a JSP 2.0 container (like Tomcat 5). Whicht appserver are you using? If it supports JSP 2.0, is your app using a Servlet 2.4 web.xml? Quot

Using JSTL import with a URL in a bean

2004-06-22 Thread Stuart Schmukler
this a bug? Or do I need to use a different version of the JSTL jar? (I am using standard.jar labeled jakarta-taglibs-standard-1.1.0 .) Thank-you, Stuart Schmukler - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

  1   2   3   4   5   6   >