using XTags and i18n tags (was Re: xtags questions)

2001-06-25 Thread James Strachan
Hi Elisa > I used: > select="count(//item[title=$Criteria])"/> > The total is <%= total %> > --- > However, "The total is 1.0" is displayed. I did not expect a > decimal display for a count value. Is this something that can be > changed in xtags? Unfortunately thats how doubles come out by de

RE: xtags questions

2001-06-25 Thread William C. Robertson
Elisa, could you have cast your total variable into an integer? ie: The total is <%= (int)total %> -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Elisa Green Sent: Monday, June 25, 2001 8:31 AM To: [EMAIL PROTECTED] Subject: Re: xtags questions I used

log taglib - setting location of log

2001-06-25 Thread Davidson, John
Hi there There's probably a very simple and obvious answer to this, so I apologise in advance... I've downloaded the log taglib and I'd like to change where I save the logging info to (at present it's {TOMCAT_HOME}/bin/example.log How the heck do I do it?? It's driving me mad! Thanks for your

Re: xtags questions

2001-06-25 Thread Elisa Green
I used: The total is <%= total %> --- However, "The total is 1.0" is displayed. I did not expect a decimal display for a count value. Is this something that can be changed in xtags? To work around this, I went back to the forEach loop. <% totalcount++; %> It's not as pret

Re: TagLib Class Resolution Problem (TomCat 3.2.1)

2001-06-25 Thread James Strachan
Try putting your SpecialConnectionTag class in a well defined package and specifying it in your TLD and the problem might go away. James - Original Message - From: "Philip Weaver" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 22, 2001 9:33 AM Subject: TagLib Class Resolut