Topic
  • No replies
vishal24
vishal24
1 Post

Pinned topic Relating to custom jsp

‏2009-11-04T03:21:52Z |
Hi,
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="com.ibm.workplace.wcm.app.ui.portlet.widget.CustomItemBean" %>
<portletAPI:init />
<%
CustomItemBean customItem =
(CustomItemBean) request.getAttribute("CustomItemBean");
out.println("after getting the CustomItemBean object:"+customItem);
%>
<%
//customItem.setSubmitFunctionName("mysubmit");
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.!!!!