>You don't need to be an admin, you just need to be signed in.

OK, done.

Meanwhile I've noticed another problem (or maybe a feature?) - if in the
Constants class I add a member of type int, long,... (any elementary type) then
I have an error when trying to access the application:

2009-05-12 23:32:07.439:org.apache.jasper.compiler.Compiler:WARN:  Error
Compiling file: /.../target/work/jsp/org/apache/jsp/common/header_jsp.java

I presume that this is due to the following line at the end of common/header.jsp
file:

<appfuse:constants scope="request"/

Shouldn't that be stressed somewhere in the documentation? Or shouldn't a simple
test be added in webapp.taglib.ConstantsTag (and probably in ConstantsTei too):

for (Field field : fields) {
   if (null != field.getType().getPackage()) {
        pageContext.setAttribute(field.getName(), field.get(this), toScope);
   }
}

Marian


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to