Date value now

2003-02-28 Thread David Goodenough
In an early version of JSTL (one prior to proper release) I seem to recall that leaving the value out of a fmt:formatDate tag defaulted to using the value of now as the time/date to format. This seems to have vanished from the released version. Firstly why the change, and secondly what is the

EL case sensitivity

2003-02-28 Thread John Thorhauer
When using JSTL and the Expression Language with a bean, how does the api handle upper/lower case. For example, I have an class with a getPONumber() method. Now if i want call that in the Expression Language how is it properly done: ${myobj.ponumber} ${myobj.pONumber} ${myobj.PONumber} I am

Nexted tags in custom tag

2003-02-28 Thread Sloan Seaman
I have a custom tag that I need to set a value in so that it can do its thing. How do I pull something like this off? Example: request:existsParameter name=campaignIdValue core:set property=campaignd value=request:parameter name=campaignIdValue// /request:existsParameter !-- custom

RE: mail help

2003-02-28 Thread Jerome Jacobsen
I've never used that tag, but I just looked at the documentation. What you are doing looks OK to me as long as you have an SMTP server on the same machine from which you are running your JSP. If the SMTP server is not on the same machine you must supply the server attribute to the mt:mail tag.

Re: mail help

2003-02-28 Thread Dave Newton
On Fri, 2003-02-28 at 14:05, Darcee Thomason wrote: Could someone please tell me why this does not work? Doubtful from what little you've given us. Are you running a mailserver? Did you check the mailserver logs? Did you check the servlet container logs to see if there are any messages there?

Re: mail help

2003-02-28 Thread Darcee Thomason
Yes there is a mail server. The code works when I replace the variables with static info. I do not receive any error, but I don't receive an email either. -D At 02:19 PM 2/28/2003 -0500, you wrote: On Fri, 2003-02-28 at 14:05, Darcee Thomason wrote: Could someone please tell me why this does

Re: mail help

2003-02-28 Thread Dave Newton
The code works when I replace the variables with static info. Oopos, my bad, didn't even see that. See http://jakarta.apache.org/taglibs/doc/mailer-doc/mailer-1.1/index.html#reference and notice that none of those attributes take rtexprs. That'd be my guess. Also, I'm not sure if you meant

Which was is better

2003-02-28 Thread Sloan Seaman
In my jsp code I have been using custom tags to list certian things. I use custom tags because the tags do JDO calls and but the objects in static objects (yadda yadda yadda).. anyway.. here is how I have been doing it: display:colorList colors=#CCFFCC, ##66CCFF campaign:listByUser

Which is better

2003-02-28 Thread Sloan Seaman
Sorry about that... acciedntly sent the email before I was done. Anyway. I was thinking of doing: html:select property=promotionTypes html:optionsCollection property=promotionType/ /html:select and having the action that displayes the page populate the bean so this works. Thing

RE: mail help

2003-02-28 Thread Jerome Jacobsen
What a pain. Darcee if you're running in a JSP 2.0 container (e.g. Tomcat 5.0) then I think you should be able to do this: mt:mail to='${param[to]}' from='${param[from]}' subject='${param[subject]}' mt:message${param[body]}/mt:message mt:send/ /mt:mail I haven't used a JSP 2.0

Server Error: Illegal use of when-style tag without choose as itsdirect parent

2003-02-28 Thread Vernon Wu
I get this error when I run my application on Tomcat 4.1.18 (it is fine on TC4.0) Two places in the JSP file using the tag as the followings: c:choose c:when test=${empty prov.photoPaths} IMG SRC=c:url value=/images/no_photo.gif / NAME=No Photo Available ALIGN=BOTTOM

Re: Server Error: Illegal use of when-style tag without choose asits direct parent

2003-02-28 Thread Vernon Wu
Please ignore this one. Right after I click the send button I recoginze another JSP file is used as the sidebar of the page. There is a problem there. 28/02/2003 4:52:04 PM, Vernon Wu [EMAIL PROTECTED] wrote: I get this error when I run my application on Tomcat 4.1.18 (it is fine on TC4.0)

Re: EL case sensitivity

2003-02-28 Thread David M. Karr
John == John Thorhauer [EMAIL PROTECTED] writes: John When using JSTL and the Expression Language with a bean, how does the John api handle upper/lower case. For example, I have an class with a John getPONumber() method. Now if i want call that in the Expression John Language