You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by kiuma <ki...@usa.net> on 2002/10/15 11:02:37 UTC
Help with form variables
Hi all,
I'm trying to do the following thing:
<c:if test="${principalId != null}">
<td><bean-el:message key="label.login"/></td>
<td>
<c:out value="${principalId}"/>
<html-el:hidden property="principalId"/>
</td>
</c:if>
<c:if test="${principalId == null}">
<td><bean-el:message key="label.login"/></td>
<td width='100%'>
<html-el:text property="principalId" size="35" maxlength="255"/>
</td>
</c:if>
the problem is that I want to take control over principalId form var,
but mine seems not to be the right solution.
How can I make ?
Thx,
kiuma
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>