on 08-19-2008 11:50 AM
Hi All,
I am using a taglib in my jsp page as shown below.
<%@ taglib uri="/isa" prefix="isa" %>
some tags in this taglib like <isa:contentType/> ,<isa:stylesheets/> are working fine. but tags like <isa:iterate> </isa:iterate> where i need to write some code in between them are not working. Even if I dont write any code in between them they are not working. Is there anything that needs to be added in order to work my tags.
Thanks in advance.
Anasuya
Hi,
Following is a sample usage may be of use for you...
<isa:iterate id="item" name="<%= B2cConstants.RK_BASKET_ITEM_LIST %>" type="com.sap.isa.businessobject.item.ItemSalesDoc">
<isa:message id="errortext" name="item" type="<%=Message.ERROR%>">
<%
addMessage(Message.ERROR, errortext);
%>
</isa:message>
<isa:message id="errortext" name="item" type="<%=Message.WARNING%>">
<%
addMessage(Message.WARNING, errortext);
%>
</isa:message>
</isa:iterate>
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I wonder why do you expect to have "iterate" tag in the isa taglib?!
This is not something that must be in place by default. The tags that are implemented in the tag library are exposed in the taglib configuration file with some aliases, like you gave the example with "contentType" and "stylesheets".
If you need some tag that is doing a specific things, then you should implement it and declare it at the taglib config file.
Kind regards,
Tsvetomir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.