When is it suitable to use PrimeFaces DialogFramework over declarative <p:dialog/>? -
i looking concrete use cases (except displaying facesmessages) suitable or better use primefaces dialogframework instead of declarative <p:dialog/> in general , in terms of general coding standards (such kiss), maintainability, responsiveness etc.?
so far, <p:dialog/> served needs , cannot think of concrete example prefer use dialogframework api on declarative approach. personally, find way more simpler (shorter code, can directly see in xhtml dialog opened pf('somedialog').show();) , lot more maintainable (no mix-up of xhtml or html , java code, keeping responsibilities clean) use declarative approach. feel free correct me if findings turn out nonsense.
Comments
Post a Comment