Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SM OR - MultipleCellSelection invokes ajax request after grid is being rendered. #138

Open
DimaSol opened this issue Aug 18, 2015 · 1 comment

Comments

@DimaSol
Copy link

DimaSol commented Aug 18, 2015

No description provided.

@YurinM
Copy link
Contributor

YurinM commented Sep 24, 2015

Solution would be: use O$.ajax.request in onchange attribute.
Like:

 <o:multipleRowSelection rowDatas="#{BookList.list}"
                              required="true"
                              onchange="O$.ajax.request(this, event, {render: 'form:inputText form:changeColor', listener:'BookList.action'});"
                              style="background: #a4aec5; color: white;"/>

where listener property equals action attribute.
and action listener:

public void action(org.openfaces.event.AjaxActionEvent event){
        ....
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants