3 Replies Latest reply: Apr 11, 2012 12:11 PM by Shay Shmeltzer-Oracle RSS

    pass a value managed bean to the jspx page

      Hi All,

      I'm working on adf 11g.I'm using Jdevelper version.I'm want to pass the value from managed bean to jspx page.I have one attribute MessagePayloadId.I have need to get that corresponding attribute value of selected row and i want to pass it to jspx page.I implemented the code like this for getting the MessagePayloadId of current row.
      public class PassValueToJsp {

      public BindingContainer getBindings() {
      return BindingContext.getCurrent().getCurrentBindingsEntry();

      public String PassValue() {
      BindingContainer bindings = getBindings();
      DCBindingContainer DCB = (DCBindingContainer)bindings;
      DCIteratorBinding DCI =
      ViewObject voTableData = DCI.getViewObject();
      Row r = voTableData.getCurrentRow();
      Object MSGID = r.getAttribute("MessagePayloadId");
      return null;

      How can i pass this value to jspx page.Please helpme or if possible please give me a simple example code for this.I'm very new to adf.

      Thanks in advance!