<%@ taglib prefix="efw" uri="efw" %>
<body>
...
<efw:Part path="part.jsp" param1="####" param2="####" /> //or efw:part , efw:PART
...
</body>
Name | Required | Default | Description |
---|---|---|---|
path | Yes | A relative page path to the application url. | |
{any} | No | "" | Any value you want to send to. |
You can get the params in the part jsp by request.getAttribute like the next.
<%=request.getAttribute("param1")%> //this coding can work well.
<%=request.getAttribute("param2")%>
<efw:attr key="param1"/> //or use this coding.
<efw:attr key="param2"/>
If you want send dynamic value to a part attr, you can do it like this.
<%
String param1="hello";
%>
<efw:part path="part.jsp" param1="<%=param1%>"/>