• No replies
1 Post

Pinned topic Relating to custom jsp

‏2009-11-04T03:21:52Z |
I am trying to fetch and manipulate the value of an element with the help of custome jsp. But I am unable to fetch the value of that element.
I am using the following code:

<%@ taglib uri="/WEB-INF/tld/portlet.tld" prefix="portletAPI" %>
<%@ page import="" %>
<portletAPI:init />
CustomItemBean customItem =
(CustomItemBean) request.getAttribute("CustomItemBean");
out.println("after getting the CustomItemBean object:"+customItem);
String fvalue = (String)customItem.getFieldValue();
out.println("after getting the fvalue "+ fvalue );
out.println("name of the field= "+ customItem.getFieldName());

Can anybody pls help me out of this.!!!!