This content has been marked as final.
Show 4 replies
-
1. Re: Problem with el parameter in dataTaqble
g00se24 Jun 27, 2007 8:21 AM (in response to amitev)Don't know where your direct problem is, but I use;
<h:dataTable id="clearingchannelsSelectable" value="#{searchuser.selected.clearingChannelTypes}" var="item" > <rich:column> <a4j:commandLink value="Delete" action="#{clearingchannels.delete(item)}" reRender="clearingchannelsSelectable"/> </rich:column> </h:dataTable>
and a generic method:pubic void select(Object object) { setSelected(object); }
Cause I use inheritance for seam component I couldn't post a easy to understand example.
Could it be that the @In destroys the selected obejct?@In(required=false) @Out
Try to remove it.
private Project project; -
2. Re: Problem with el parameter in dataTaqble
amitev Jun 27, 2007 11:15 AM (in response to amitev)I've removed it but still doesn't work. Other suggestions?
-
3. Re: Problem with el parameter in dataTaqble
dajevtic Jun 27, 2007 11:23 AM (in response to amitev)Could it be that you are not in the same conversation?
Meaning: After the page is displayed, your bean is probably destroyed (also your projects).
You should begin the conversation in your Factory, not in your select method.
For the select method use @Begin(join=true), for your factory use @Begin annotation.
Hope it helps. -
4. Re: Problem with el parameter in dataTaqble
amitev Jun 27, 2007 12:08 PM (in response to amitev)That was exactly the problem. Thank you for the help!