cancel
Showing results for 
Search instead for 
Did you mean: 

Taglib uri

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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