Skip to content

upgrade to 14 and Listeners #2619

Answered by macit-emre
macit-emre asked this question in Q&A
Discussion options

You must be logged in to vote

here i am again. I have city and district selectboxes. By default district selectbox is empty. My misunderstanding is - as there is no example of how to use Listeners but a simple subtract sample - i thought that layouts method inside Listener wouldn't work anymore. I currently understand this.
But i see now that, layout method works but a different way. It works as a Layout in normal request like bedfore, but it works from a "Repository based class" when request comes from async. Thus i need to change my Listener's layout that expects Model for logic operations to repository based arrays.

in Listener.php build method there is : $this->query = $repository;

I now fully understand the Liste…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@macit-emre
Comment options

@tabuna
Comment options

@macit-emre
Comment options

@macit-emre
Comment options

Answer selected by macit-emre
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nuha087
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants