|
From: =?iso-8859-1?Q?<jp....@ti...> - 2003-08-13 10:18:53
|
Hi Juergen,=0D=0A=0D=0AI have an issue with the new tags. This worked bef=
ore yesterday's changes. It's about the "bind" tag. In case of subelement=
s, it doesn't more search in the objects tree and searches for the "dotte=
d" property instead. In the below example the command contains a "person"=
property which has a "name" property. The log tell me that the property =
"person.name" doesn't exist. But even if it is null at this point of the =
application, the "name" of "person" still exists.=0D=0A=0D=0ARegards,=0D=0A=
Jean-Pierre=0D=0A=0D=0AThe jsp involved is=0D=0A=0D=0A<%@ include file=3D=
"/WEB-INF/vues/jsp/commun/includes.jsp" %>=0D=0A<p>=0D=0A <spring:bind p=
ath=3D"command.person.name">=0D=0A <span class=3D"error"><c:out value=3D=
"${status.errorMessage}"/></span>=0D=0A <p class=3D"label"><fmt:message k=
ey=3D"champ.nom"/></p>=0D=0A <input type=3D"text" size=3D"32" maxlength=3D=
"63" name=3D"person.name" value=3D"<c:out value=3D"${status.value}"/>">=0D=
=0A </spring:bind>=0D=0A</p>=0D=0A=0D=0AFYI, I use precompiled JSPs. Her=
e is a snippet of the log:=0D=0A=0D=0Ajavax.servlet.ServletException: No =
property [person.name] in class [class org.sis.sirene.command.CallingoutC=
ommand]=0D=0A at org.apache.jasper.runtime.PageContextImpl.handlePageExce=
ption(PageContextImpl.java:533)=0D=0A at jsp.WEB_0002dINF.vues.jsp.applis=
.sirene.interp.saisie.champs.personne.nom_jsp._jspService(Unknown Source)=
=0D=0A at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:=
137)=0D=0A at javax.servlet.http.HttpServlet.service(HttpServlet.java:853=
)=0D=0A at org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat=
ionDispatcher.java:684)=0D=0A at org.apache.catalina.core.ApplicationDisp=
atcher.doInclude(ApplicationDispatcher.java:575)=0D=0A at org.apache.cata=
lina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)=0D=
=0A at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibr=
ary.java:822)=0D=0A at jsp.WEB_0002dINF.vues.jsp.applis.sirene.interp.sai=
sie.personne_jsp._jspService(Unknown Source)=0D=0A at org.apache.jasper.r=
untime.HttpJspBase.service(HttpJspBase.java:137)=0D=0A at javax.servlet.h=
ttp.HttpServlet.service(HttpServlet.java:853)=0D=0A at org.apache.catalin=
a.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)=0D=0A=
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD=
ispatcher.java:575)=0D=0A at org.apache.catalina.core.ApplicationDispatch=
er.include(ApplicationDispatcher.java:498)=0D=0A at org.apache.taglibs.st=
andard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:314=
)=0D=0A at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEn=
dTag(ImportSupport.java:179)=0D=0A at jsp.WEB_0002dINF.vues.jsp.applis.si=
rene.modele_jsp._jspService(Unknown Source)=0D=0A at org.apache.jasper.ru=
ntime.HttpJspBase.service(HttpJspBase.java:137)=0D=0A at javax.servlet.ht=
tp.HttpServlet.service(HttpServlet.java:853)=0D=0A at org.apache.catalina=
.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)=0D=0A =
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDi=
spatcher.java:432)=0D=0A at org.apache.catalina.core.ApplicationDispatche=
r.forward(ApplicationDispatcher.java:356)=0D=0A at com.interface21.web.se=
rvlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceV=
iew.java:88)=0D=0A at com.interface21.web.servlet.view.AbstractView.rende=
r(AbstractView.java:197)=0D=0A at com.interface21.web.servlet.DispatcherS=
ervlet.render(DispatcherServlet.java:503)=0D=0A at com.interface21.web.se=
rvlet.DispatcherServlet.doService(DispatcherServlet.java:392)=0D=0A at co=
m.interface21.web.servlet.FrameworkServlet.serviceWrapper(FrameworkServle=
t.java:237)=0D=0A at com.interface21.web.servlet.FrameworkServlet.doPost(=
FrameworkServlet.java:225)=0D=0A at javax.servlet.http.HttpServlet.servic=
e(HttpServlet.java:760)=0D=0A at javax.servlet.http.HttpServlet.service(H=
ttpServlet.java:853)=0D=0A ...=0D=0A=0A=0A********** L'ADSL A 20 EUR/MOIS=
**********=0ATiscali propose l'ADSL le moins cher du march=E9 : 20 EUR/mo=
is et le modem ADSL offert ! =0APour profiter de cette offre exceptionnel=
le, cliquez ici : http://register.tiscali.fr/adsl/=0AOffre soumise =E0 co=
nditions.=0A
|