Sure, I can expand on this. 'formName' is a variable in
the request which points to an object (in this case a
DynaActionForm object from Struts). So even though it
seems that the <c:set> tag is unnecessary I'm slightly
confused on how to expose it to the EL without it
treating it as a literal String such as "formName".
What I really need is the 'formName' variable to
translate to 'kmoCreateSimpleForm' so that when I use
it in the EL it will execute as
${kmoCreateSimpleForm.map.whatever}


On Wed, 10 Sep 2003 12:44:19 -0400, Serge Knystautas
wrote:

> 
> [EMAIL PROTECTED] wrote:
> > I'm hoping there is a way to do this but I haven't
> > figured it out yet...
> > 
> > I have a DynaActionForm but the form name is a
> variable
> > since the user could be coming from two different
> > sections and I'm trying to utilize one page to
handle
> > either request...
> > 
> > So I have a <c:set> tag that defines the formName
like
> > so...
> > 
> > <c:set var="formName" value="${formName}"/>
> 
> Can you expand on this?  The example provided does
> exactly nothing... 
> you assign the variable formName what's in variable
> formName.  In Java, 
> you just wrote...
> 
> formName = formName;
> 
> > but when I try to use this in my conditional
> > statements, EL is treating formName as a string and
> not
> > a form....
> 
> This predicates on how you setup formName.
> 
> -- 
> Serge Knystautas
> President
> Lokitech >> software . strategy . design >>
> http://www.lokitech.com
> p. 301.656.5501
> e. [EMAIL PROTECTED]
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to