Another IDE to consider :
Oracle JDeveloper is an excellent product and is platform independent. The 10g beta is
a bit buggy but has some very nice new features, it will be great when it goes final.
The JDeveloper 9.03 RC version is rock solid and pretty complete for jsp+java+uml
development.
What version are you using?
Is it possible that the tld indicates that runtime expressions are not allowed?
Marc.
Arora, Avinash wrote:
Hi,
I am trying to use the mailer1.1 taglibs to send email. If I hardcode
the values of to and from field, the email can be send. But when I use a
java class
Hm, I seem to be on an XSLT kick lately, but here's a test that worked with
JSTL's x:transform tag:
%@ page contentType=text/plain %
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
%@ taglib prefix=x uri=http://java.sun.com/jstl/xml; %
c:set var=xml
root
summary
a
I am displaying the values in a TreeMap using forEach tag.
However, I only want to do this if the map is not empty.
I also need to display the count of entries in the map at
the top of the page.
In TreeMap, size/size() is not a Bean Property (no?) so I tried
in-line subclassing to expose the
Maps are treated differently than regular JavaBeans so that you can't access
bean properties. For example, every object has a bean property called class,
but you won't get any output if you try ${map.class}. It's even more fun to try
and get at a map's empty property ;-). If all you're concerned
Very interesting, so wrapping would work, but you can't
just expose a Bean property.
I've switched to c-rt for now,
Thanks!
On Fri, 2004-03-26 at 10:35, Kris Schneider wrote:
Maps are treated differently than regular JavaBeans so that you can't access
bean properties. For example, every
Right, because the wrapper would be a JavaBean, not a Map. The gory details
behind the . operator can be found in section A.3.4 Operators [] and . of
the JSTL 1.0 Spec.
Quoting Roy Benjamin [EMAIL PROTECTED]:
Very interesting, so wrapping would work, but you can't
just expose a Bean property.
Roy, if you are using JSP 2.0 (e.g. with Tomcat 5) and JSTL 1.1 you can
do the following:
[EMAIL PROTECTED] isELIgnored=false%
%@ taglib uri=http://java.sun.com/jsp/jstl/functions; prefix=fn %
Map size is ${fn:length(TableRows)}
Roy Benjamin wrote:
Very interesting, so wrapping would work, but
Dylan,
Instead of imbedding the second xpath expression inside the other, try
doing an x:set for the sourceID right at the beginning of the first
forEach (eachNewsArticle), then just refer to the variable in the
subsequent forEach's select attribute.
If this doesn't help, I'm sure Kris will be
Dylan, you could try using x:set to expose the sourceID as a variable
that then referenced in the inner x:forEach like the following:
x:forEach select=$news//eachNewsArticle
x:set select=sourceID var=source/
tr
td
x:out select=articleDate /
/td
x:forEach
Hi,
I am using mailer1.1. yes the documentation indicates that run time
expression is not allowed. So is there any solution or I always have to
hardcode the email address in to and from field.
Avinash Arora
-Original Message-
From: Marc Guillemot [mailto:[EMAIL PROTECTED]
Sent:
On Fri, 26 Mar 2004, Arora, Avinash wrote:
Hi,
I am using mailer1.1. yes the documentation indicates that run time
expression is not allowed. So is there any solution or I always have to
hardcode the email address in to and from field.
Instead of specifying the addresses as attributes of
12 matches
Mail list logo