- 
        1. a4j:commandLink doesn't work properly inside a4j:repeatjavaxchange Mar 31, 2011 9:18 AM (in response to manakor)Hi Nikita, Just debug and confirm your backing bean methods those used to populate iteration data and other are working fine . Any such issue may cause such issue. Anyway commandlink will supprt oncomplete. If still issue persists, please post your code. Rgds, Sreejith.PS 
- 
        2. Re: a4j:commandLink doesn't work properly inside a4j:repeatlfryc Mar 31, 2011 9:19 AM (in response to manakor)a4j:commandLink has @oncomplete event attribute - can you check if you are using RF 4.0.0.Final? I have tried on following sample it works for me: <a4j:repeat id="a4jRepeat" iterationStatusVar="status" value="#{a4jRepeatBean.dataList}" var="item"> <li> <h:inputText value="#{item.text}" /> <a4j:commandLink id="link" value="Link2" render="@form" execute="@form"> <f:setPropertyActionListener target="#{a4jRepeatBean.selectedDataItem}" value="#{item}" /> </a4j:commandLink> <h:outputText id="statusIndex" value="index=#{status.index}, "/> </li> </a4j:repeat>
- 
        3. a4j:commandLink doesn't work properly inside a4j:repeatmanakor Mar 31, 2011 10:16 AM (in response to manakor)This is what I have: <h:form> <a4j:outputPanel id="myPanel"> <a4j:repeat var="result" value="#{searchResults.documents}"> <a4j:commandLink render="myPanel" oncomplete="alert('Works!');" value="Result title"> <f:setPropertyActionListener target="#{layout.changeViews['modalpanel'].value} </a4j:commandLink> </a4j:repeat> </a4j:outputPanel> </h:form> And this code doesn't reach my alert at all! 
- 
        4. a4j:commandLink doesn't work properly inside a4j:repeatnbelaevski Mar 31, 2011 11:16 AM (in response to manakor)Nikita, What is the scope of 'searchResults' bean? 
- 
        5. a4j:commandLink doesn't work properly inside a4j:repeatmanakor Apr 1, 2011 2:31 AM (in response to nbelaevski)Nick, the scope of 'searchResults' bean: <managed-bean-scope>request</managed-bean-scope> 
- 
        6. a4j:commandLink doesn't work properly inside a4j:repeatnbelaevski Apr 1, 2011 4:05 AM (in response to manakor)Try changing it to 'session'. 
- 
        7. Re: a4j:commandLink doesn't work properly inside a4j:repeatmanakor Apr 1, 2011 5:26 AM (in response to nbelaevski)After I changed a scope to 'session' <a4j:commandLink> works fine with all it's event attributes. But than I need to empty (eq 0) the 'searchResults' bean every time I am performing an action to update it. Because it's not just updated once for a whole session. It's updated everytime I generate a new portion of results! As I heard, there's another scope 'conversation', if I am not wrong. Maybe it's better to use this instead of creating an action to empty (eq 0) the 'searchResults' bean every time? 
- 
        8. a4j:commandLink doesn't work properly inside a4j:repeatnbelaevski Apr 1, 2011 6:51 AM (in response to manakor)Yup, you can use 'conversation' 
- 
        9. Re: a4j:commandLink doesn't work properly inside a4j:repeatmanakor Apr 7, 2011 4:44 AM (in response to nbelaevski)Tryied to use 'conversation' scope for 'searchResults' bean, however it seems there are no such a type of scope. Found that just 2 new types came up with a lastest version of JSF 2: view and custom. However, seems conversation scope doesn't exist at all. Nick, do you know, don't you? 
- 
        10. Re: a4j:commandLink doesn't work properly inside a4j:repeatlfryc Apr 7, 2011 4:53 AM (in response to manakor)Conversation scope is included in CDI specification which is part of Java EE 6 spec. You will need to use Java EE 6 compatible container (either JBoss AS 6 or Glassfish v3) or configure one of CDI implementations (Weld, CODI) to run in your container. 
 
     
     
    