I developed a new custom action tag for ExpressoFramework
I got a request time attribute but it does not seem to work.
Has any body got example of the code that uses this feature
in `TagExtraInfo' subclass.
<dbexpresso:useController id="profileController" scope="session"
className="com.db.gdd3.emis.controller.UserProfileController"
state="promptNewProfile" />
~~~~~~~~~~~~ My Request Time Expression Fails Here ~~~~~~~~~~~~~
<dbexpresso:setCtrlParam name="profileController"
property="nextPage"
value="<app:contextPath/>/emis/user-profile-success.jsp" />
~~~~~~~~~~~~ My Request Time Expression Fails Here ~~~~~~~~~~~~~
where ``<app:contextPath>'' is equal to ``out.print( request.getContextPath() )''
My TagExtraInfo type class looks like this below.
What do I do to get the request time expression evaluated ?
public class UseControllerExtraInfo extends TagExtraInfo {
/**
* Return information on the scripting variables defined by
* the <code>UseControllerTag</code>
*/
public VariableInfo[] getVariableInfo( TagData data) {
return new VariableInfo[]
{
new VariableInfo(
data.getAttributeString("id"),
data.getAttributeString("className"),
true,
VariableInfo.AT_BEGIN)
};
}
}
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorised copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets