1 Reply Latest reply on May 23, 2007 12:09 PM by Nicolas Bregenzer

    process entity from GET request

    Nicolas Bregenzer Newbie

      hello,

      I display Information about an entity with a GET request by using a stateless bean and page parameter in the pages.xml.

      on this page which displays a single item i want to execute a conversational bean in which i would like to access the item:

      <h:form>
      <h:inputHidden value="#{item.id}"/>
      <h:commandButton type="submit" action="#{bean.addItem}"/>
      </h:form>
      


      doesn't seam to work since as soon as i add the inputHidden Parameter the addItem won't get executed.

      the item is somehow loaded into:

      @In
      Item item;
      

      because if omit this fragment a exception is thrown regarding the missing input.

      it works perfectly fine if i use a different entity. it only breaks as soon as i try to access the entity of the previous GET request

      i'm not sure where to continue
      thx for any help