Skip to Content
avatar image
Former Member

Taglib uri

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 19, 2008 at 09:47 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 20, 2008 at 07:40 AM

    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

    Add comment
    10|10000 characters needed characters exceeded