All my annotation-like.jsp (annotationajaxform.jsp, annotationedit.jsp,
annotationview.jsp) are included in datasetform.jsp, so in the browser the
URL is datasetform.html.

It happens as following:
the datasetform.jsp includes a datasetedit.jsp. In this one i include the
annotationajaxform.jsp. At this point the controller make all its stuff
(like set the commandName). 

The thing is that my annotationajaxform.jsp is:

<%@ include file="/common/taglibs.jsp"%>

<c:choose>
        <c:when test="${editAnnotPage != null}">
                <%@ include file="annotationedit.jsp" %>
        </c:when>
        <c:otherwise>
                <%@ include file="annotationview.jsp" %>
        </c:otherwise>
</c:choose>


So for example it includes the annotationedit.jsp. And in this jsp if i try
to make a form with commandName="annotation" it doesnt work.

And it works if i put the form in the annotationajaxform.jsp. But i dont
want it, i want to have a form only during edit mode.

Is that clear?

Thanks to help me.
-- 
View this message in context: 
http://n4.nabble.com/Problem-of-binding-between-controller-and-jsp-Neither-BindingResult-nor-plain-target-object-tp1749141p1749413.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
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