[Opensource] Expresso Tags
Peter A. J. Pilgrim
peterp at xenonsoft.demon.co.uk
Wed Nov 27 16:52:36 PST 2002
nalves at equifax.com.br wrote:
> This is a newbie question, maybe not related to expresso itself (maybe it's
> related to struts): where can I find documentation about those tags
> expresso uses to generate the application presentation? The tags I'm
> talking about are those like
>
> <logic:iterate>
> <bean:write>
> <html:html>
>
> and so on. Basically, I would like to know which tags exist and what they
> do, so I can use them more rationally.
The custom tags you see are Struts 1.0.2 tags
http://jakarta.sun.com/struts/
Expresso has two version of these tags. There are subtle differences
1) Pure 1.0.2 Struts tags
2) Expresso enhanced Struts tags which know about controller elements,
input, outputs, and blocks.
To use either one you specify the TAG LIB DESCRIPTOR (TLD) and
the NAMESPACE in a JSP
e.g
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="purehtml" %>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="purebean" %>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="purelogic" %>
<%@ taglib uri="/WEB-INF/tld/expresso-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/expresso-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tld/expresso-logic.tld" prefix="logic" %>
--
Peter Pilgrim
ServerSide Java Specialist
My on-line resume and for interview videos about myself, J2EE
Open Source, Struts and Expresso.
||
\\===> `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''
More information about the Opensource
mailing list