Re: taglibs help

2005-07-06 Thread Wendy Smoak
-- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: combining tags

2005-07-06 Thread Wendy Smoak
-loops are 'multibox' not 'checkbox'. But I don't use indexed properties, so YMMV. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: combining tags

2005-07-06 Thread Wendy Smoak
the ability to use expressions within the Struts tags, as well as the JSTL-awareness so that indexed properties will work within an enclosing c:forEach loop. http://struts.apache.org/faqs/struts-el.html -- Wendy Smoak - To unsubscribe

Re: Tag lib error

2005-07-04 Thread Wendy Smoak
does not accept any expressions and currency It works fine for me, and prints: $125,000.00 I think you might be using the wrong tld... I'm using: %@ taglib uri=http://java.sun.com/jstl/core; prefix=c % -- Wendy Smoak

Formatting a phone number with JSTL?

2005-06-16 Thread Wendy Smoak
is legal to put in a 'pattern'? (And further, how expensive is it? I can do the String manipulation when I populate the bean if that makes more sense.) Thanks, Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: alternative of bean-el:write

2005-04-08 Thread Wendy Smoak
with Struts-EL instead of the 'classic' Struts tags. bean:write is replaced by JSTL's c:out And you can use c:forEach instead of logic:iterate (unless you need its support for indexed properties.) -- Wendy Smoak - To unsubscribe, e

403-Forbidden problem on mirror

2005-01-17 Thread Wendy Smoak
error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.40 Server at mirrors.combose.com Port 80 -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Update: tag expression error

2004-11-12 Thread Wendy Smoak
.) I have no idea why it works one place and not the other, but I've experienced something similar with code working fine on my Windows development PC and refusing to cooperate on my HP-UX web server. -- Wendy Smoak

RE: taglib: tags embedded in output

2004-09-03 Thread Wendy Smoak
=Choose One/ /html-el:select Then if 'some_option' is an attribute sitting in some scope, it will be substituted when the tag is evaluated. If you explain more about the problem you're trying to solve, someone will probably have another suggestion. -- Wendy Smoak

RE: What is the method of direct acces to an array element?

2004-06-25 Thread Wendy Smoak
. Try this: c:forEach items=${firstArray} var=myItem varStatus=status c:out value=${myItem}/ c:out value=${secondArray[status.index]}/ c:out value=${thirdArray[status.index]}/ /c:forEach -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: What is the method of direct acces to an array element?

2004-06-24 Thread Wendy Smoak
'. Or not, play around with it and see what works! -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Using JSTL for the first time.

2004-02-19 Thread Wendy Smoak
to problems. Once you fix the directory name, Tomcat should be able to find the tld inside the .jar file. You do not need to put the tld's in your webapp or list them in web.xml with Tomcat 4.1. If you don't provide a web.xml file, Tomcat will use the one in $TOMCAT_HOME/conf. -- Wendy Smoak

Help with choose, less than zero or not

2004-02-19 Thread Wendy Smoak
}: An exception occured trying to convert String 0.00 to type java.lang.Long Maybe that's the wrong way to go about it. All I really want is to either display td class=text or td class=redtext depending on the amount. Is there a better way to do that? Thanks, -- Wendy Smoak Application

RE: Using JSTL for the first time.

2004-02-19 Thread Wendy Smoak
/lib and running with a single copy in your webapp's directory. Some libraries cannot be shared, I don't know whether this is one of them. Having two copies can confuse the classloader and sometimes shows up as 'not found' errors. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information

RE: Help with choose, less than zero or not

2004-02-19 Thread Wendy Smoak
AccountView object? Is there a way to 'cast' them into doubles in JSTL? Otherwise my next inclination is to add a getMarketValueAsDouble method. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Help with choose, less than zero or not

2004-02-19 Thread Wendy Smoak
From: Wendy Smoak It turns out that I really need this: c:when test=${accountView.marketValue accountView.historicGiftValue} They're both Strings. No wonder it thinks that 76201.31 101000.94! Never mind... I tricked it, with help from Kris and A.3.5.1 which says that if there is a String

RE: Struts html:text value initialized using JSTL

2004-02-13 Thread Wendy Smoak
on the page fails validation, and the user has changed this value, it's going to revert back to the value in 'ventureObject.startDate' when the form is re-displayed. You might want to set the form property to your default value in the Action, prior to forwarding to the JSP. -- Wendy Smoak Application

Constructing key to an object in session scope

2003-12-11 Thread Wendy Smoak
about a Double instead of a Long. I tried flipping the order so it's 'accounts2002' but I got the same error. I bet this is very simple and I'm just not awake yet... -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Constructing key to an object in session scope

2003-12-11 Thread Wendy Smoak
it should look for the object. Thanks! -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Constructing key to an object in session scope

2003-12-11 Thread Wendy Smoak
From: Kris Schneider [mailto:[EMAIL PROTECTED] Another approach would be to maintain a map of maps (keyed by year) instead of multiple free standing maps. Something like: Clever! Job security in a single line: c:forEach items=${accountMap[accountForm.map['year']]} var=account -- Wendy

RE: out not working properly?

2003-06-18 Thread Wendy Smoak
/jstl/core; prefix=c % At the top of the page? -- Wendy Smoak Applications Systems Analyst, Sr. Public Affairs, Information Resources Management Arizona State University, Tempe AZ

RE: Unable to load class

2003-04-12 Thread Wendy Smoak
is by their unique uri's: %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % %@ taglib prefix=sql uri=http://java.sun.com/jsp/jstl/sql; % -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: why the jstl didn't work :(

2003-04-01 Thread Wendy Smoak
so in the web.xml's taglib's uri is http://java/jsp/jstl/...? and in the jsp files also like that? I have *no* taglibs defined in web.xml. The JSP's have: %@ taglib uri=http://java.sun.com/jstl/core; prefix=c % And JSTL works fine. HTH... -- Wendy Smoak

JSTL okay with get method, but no set method?

2003-03-14 Thread Wendy Smoak
me now if I'm doing something that's going to cause problems later! Thanks, -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: [JSTL] Help hiding/showing sections on JSP (w/ cookie?)

2002-12-20 Thread Wendy Smoak
your help even though it isn't strictly on topic. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

[JSTL] Help hiding/showing sections on JSP (w/ cookie?)

2002-12-19 Thread Wendy Smoak
a specific position of it??) The setting of the cookie is done in a Struts Action, so I've got Struts (and Struts-EL) tags available if one of those would be easier to use. Bear with me, it's my first cookie. :) If you have a suggestion for a different way to do this, I'm all ears. -- Wendy Smoak

RE: [JSTL] Help hiding/showing sections on JSP (w/ cookie?)

2002-12-19 Thread Wendy Smoak
what I came here to ask, really. I don't think reading the cookie with JSTL is the best solution necesarily, I just wondered if it was possible. Thanks! -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: [JSTL] Help hiding/showing sections on JSP (w/ cookie?)

2002-12-19 Thread Wendy Smoak
anything of the sort before, either 0010001000 or YYYNNNYYNYNY came to mind. (And an evil coworker suggested turning the first into a decimal number before setting the cookie.) -- Wendy Smoak

[standard] nested forEach tags?

2002-11-23 Thread Wendy Smoak
Can you nest c:forEach tags? I can't find an example of it, and it's not working for me. c:forEach items=${itemList} var=item hr c:out value=${item.id}/. c:out value=${item.text}/br c:forEach items=${item.options} var=option / c:out value=${option.text}/

RE: [standard] nested forEach tags?

2002-11-23 Thread Wendy Smoak
Shawn wrote: It looks right to me. Are you sure you're using our Standard Taglib implementation? This could be a bug with other partial implementations. I think I am... I have the standard.jar, jstl.jar, and c.tld from jakarta-taglibs - standard-1.0.2 directory in the appropriate places

RE: [standard] nested forEach tags?

2002-11-23 Thread Wendy Smoak
When I use that code I posted... I actually get the second/c:forEach tag in the html output. Strange! Never mind... I still can't see it, but there must have been a typo. I deleted the nested c:forEach tag and re-typed it... and it works fine. Thank you for the quick answer, and on a

Help with EL

2002-10-10 Thread Wendy Smoak
(), and the String return value of that is what I need to be the value of my radio button tag. HELP! I've just today moved to Tomcat 4.1.12, only recently gotten a tentative handle on Struts, and now am trying to throw JSTL into the mix. It's not going well. -- Wendy Smoak http://sourceforge.net

RE: JSTL in Action shipping from Amazon

2002-08-28 Thread Wendy Smoak
Joshua Bloch's _Effective_Java_) I tend to just rent them from O'Reilly online. I'm sure yours is a timeless classic, of course, but I still like to preview the whole thing online before I fill up my bookshelf. :) -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA

RE: Using taglib with Tomcat4.0

2002-08-12 Thread Wendy Smoak
to fix it. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Using taglib with Tomcat4.0

2002-08-12 Thread Wendy Smoak
up! -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management