RE: choose question

2004-05-20 Thread Morrow, Steve D.
c:set var=checkDate value= / c:forEach var=row items=${result.rows} fmt:parseDate value=${row.date} var=parsedDate pattern=-MM-dd/ tr td align=left c:if test=${checkDate != parseDate} fmt:formatDate value=${parsedDate} pattern=E'., 'MMM d/

RE: choose question

2004-05-20 Thread Morrow, Steve D.
CORRECTED TYPO: c:set var=checkDate value= / c:forEach var=row items=${result.rows} fmt:parseDate value=${row.date} var=parsedDate pattern=-MM-dd/ tr td align=left c:if test=${checkDate != parsedDate} fmt:formatDate value=${parsedDate} pattern=E'., 'MMM

RE: outputting html as html

2004-05-18 Thread Morrow, Steve D.
If you're using the c:out tag, set the escapeXml attribute to false. Example: c:out value=${myBean.html} escapeXml=false / -Original Message- From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 12:35 PM To: '[EMAIL PROTECTED]' Subject: outputting html as

RE: whitespace inside c:choose but outside c:when inserted in to output

2004-05-03 Thread Morrow, Steve D.
I would have expected the space. Do the different versions behave differently with respect to this? -Original Message- From: Andreas Schildbach [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 10:22 AM To: [EMAIL PROTECTED] Subject: whitespace inside c:choose but outside c:when

RE: whitespace inside c:choose but outside c:when inserted in to output

2004-05-03 Thread Morrow, Steve D.
] Sent: Monday, May 03, 2004 10:58 AM To: [EMAIL PROTECTED] Subject: Re: whitespace inside c:choose but outside c:when inserted in to output Morrow, Steve D. wrote: I would have expected the space. I thought there is no sense in putting any text between c:choose and c:when. When

RE: Help: How to generate unescaped HTML output

2004-03-29 Thread Morrow, Steve D.
c:out value=${newsItem.news}/ escapeXml=false -Original Message- From: Frank Burns [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 10:39 AM To: [EMAIL PROTECTED] Subject: Help: How to generate unescaped HTML output Hi, Can someone help please. I have an urgent problem

RE: Help: How to generate unescaped HTML output

2004-03-29 Thread Morrow, Steve D.
Sorry - misplaced cut'n'paste... :o) c:out value=${newsItem.news} escapeXml=false/ -Original Message- From: Morrow, Steve D. [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 10:41 AM To: 'Tag Libraries Users List' Subject: RE: Help: How to generate unescaped HTML output

RE: how to use methods with parameters

2004-02-05 Thread Morrow, Steve D.
There a several different ways to calculate days, based on the definition of day; e.g. should 23:59 - 00:01 count as a day? Nevertheless, once you decide on those rules, you can write your own custom tag (I don't believe JSTL has such a function). my:days start=%= startDate % end=%= endDate % /

RE: Loop Tags

2004-01-15 Thread Morrow, Steve D.
The standard tag library offers that functionality. Make sure the c.tld is in your web-inf directory... !-- as an example, with locations as a jav.util.Collection of Location objects with getters... -- select name=location option value=Select a Station ID/option c:forEach var=location

RE: fmt+struts headaches.

2003-11-20 Thread Morrow, Steve D.
If you put the standard.jar and jstl.jar files in your /WEB-INF/lib directory of your webapp, and the corresponding TLD files in /WEB-INF, you can use %@ taglib prefix=c uri=/WEB-INF/c.tld%, for example. No connectivity problems... :o) -Original Message- From: Caoilte O'Connor

RE: fmt+struts headaches.

2003-11-20 Thread Morrow, Steve D.
On Thursday 20 November 2003 14:35, Morrow, Steve D. wrote: If you put the standard.jar and jstl.jar files in your /WEB-INF/lib directory of your webapp, and the corresponding TLD files in /WEB-INF, you can use %@ taglib prefix=c uri=/WEB-INF/c.tld%, for example. No connectivity

RE: embedding sql:query

2003-11-10 Thread Morrow, Steve D.
SQL tags are great for doing quick-n-dirty test stuff, but data access in a production environment is probably best left out of the View layer (i.e., the *.jsp) of a Model-View-Controller setup. Send the request to a servlet, have the servlet call a data access method to populate a data bean, and

RE: embedding sql:query

2003-11-10 Thread Morrow, Steve D.
P.S. Actions are helper classes in the Struts framework, generally used to extend controller (servlet) functionality. -Original Message- From: Morrow, Steve D. [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 9:33 AM To: 'Tag Libraries Users List' Subject: RE: embedding

RE: embedding sql:query

2003-11-10 Thread Morrow, Steve D.
It looks like there's no closing /td tag after your input tags. That may be causing some of the HTML rendering problems... At what point does the HTML *stop*? Peter Choe

RE: Jstl i18n not working

2003-11-10 Thread Morrow, Steve D.
Assuming then, that the ApplicationResources.properties file is not in a *.jar, you may try making sure that the file is in the /WEB-INF/classes/org.j2e_translate directory with the settings you currently have... -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent:

RE: Jstl i18n not working

2003-11-10 Thread Morrow, Steve D.
Typo: directory = /WEB-INF/classes/org/j2e_translate -Original Message- From: Morrow, Steve D. [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 11:22 AM To: 'Tag Libraries Users List' Subject: RE: Jstl i18n not working Assuming

RE: Jstl i18n not working

2003-11-10 Thread Morrow, Steve D.
Try the full classpath for the ApplicationResources.properties file at the top of your JSP... fmt:bundle basename=org.j2e_translate.ApplicationResources / Then, you can use fmt:message key=j2emain.title /... Good luck! :o) -Original Message- From: Yansheng Lin [mailto:[EMAIL

RE: Jstl i18n not working

2003-11-10 Thread Morrow, Steve D.
Quite different - in a test environment with integrated TC (IDEA, for example), it's often quicker *and* easier just to restart. At least, that's been my experience... :o) -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 11:56 AM To:

RE: c:out unable to find value

2003-11-04 Thread Morrow, Steve D.
Morrow, Steve D. To: 'Tag

c:out unable to find value

2003-11-03 Thread Morrow, Steve D.
I have a session-scoped bean structured (in part) as follows: public class Customer { public Integer id; public String name; public Integer getId() { return id; } public String getName() { return name; } } In the JSP, c:out value=${customer.name} /

RE: c:out unable to find value

2003-11-03 Thread Morrow, Steve D.
No love. I double- (triple-) checked that the jars and tlds were from the same family and got the same results. This isn't a Struts app - I'm only using the taglibs. The environment is WSDC, with a WASE5 test server (Servlet 2.3, JSP 1.2). I'm open to other suggestions... :o) I actually ran into

RE: c:out unable to find value

2003-11-03 Thread Morrow, Steve D.
++) { System.out.println(props[i].getName()); } Quoting Morrow, Steve D. [EMAIL PROTECTED]: I have a session-scoped bean structured (in part) as follows: public class Customer { public Integer id; public String name; public Integer getId() { return id

RE: c:out unable to find value

2003-11-03 Thread Morrow, Steve D.
()); } Quoting Morrow, Steve D. [EMAIL PROTECTED]: I have a session-scoped bean structured (in part) as follows: public class Customer { public Integer id; public String name; public Integer getId() { return id; } public String getName

RE: c:out unable to find value

2003-11-03 Thread Morrow, Steve D.
and blow away the app's work area (complied JSP files, etc), then restart. Yup, shotgunning at this point... Quoting Morrow, Steve D. [EMAIL PROTECTED]: Oh yeah... %= customer.getId() % works, of course. -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent

RE: c:out unable to find value

2003-11-03 Thread Morrow, Steve D.
: jsp:getProperty name=customer property=id/ Gives: Id: 42 Name: Foo Bar Id: 42 Morrow, Steve D. wrote: jsp:getProperty name=customer property=id/ ...gives me... Cannot find a method to read property 'id' in a bean of type 'ebus.common.Customer' ...mind you