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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047750#4047750

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047750
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to