struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Mandel <Mark.Man...@hds.com>
Subject using expressions in htm:form action (el library)
Date Wed, 21 Apr 2004 02:38:48 GMT
Hey all - 

Using the Struts expression library (struts-html-el.tld) and trying to get
my form action to be dynamically populated - 

Can anyone see where I have gone wrong?

--
<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>

<html:xhtml/>
<tiles:importAttribute name="formAction"/>


<html:form method="post" action="${pageScope.formAction}">
...
</html:form>
--

I've tried it with and without the 'pageScope' however all I ever get back
is:

--
Cannot retrieve definition for form bean null'
--

Which means, it's not setting the page scope variable? But why not?

[Tears Hair Out]

Any help would be appreciated!

Cheers,

Mark


Web Application Developer 
Hitachi Data Systems Corporation 

HITACHI 
Inspire the Next 
4/441 St Kilda Rd Melbourne 3004 
Email: mark.mandel@hds.com 
Desk: +61 3 9281 9215 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message