1
1

Hi, what's the difference between method start and event start in userdialogue, and when we should use one of them instead of the other in perspective of performance ?

Thank you

asked 22.11.2016 at 16:07

ameer's gravatar image

ameer
26235
accept rate: 0%


In most cases you only use StartEvents to handle UI events. A start event intends do execute simple dialog logic and may returns Ajax content to update the site. StartEvents are the preferred way to implement dialog logic and are simpler to maintain (no interface definition required).

But there are some JSF components where you only have an interface to use a StartMethod. Like the p:ajax widget. See the demonstration the HtmlDialogDemos project that comes with the Designer (under applications/samples). alt text

For more information see the various JSF documentations in the net. A StartEvent can be registered as actionListener while a StartMethod is a normal action. http://stackoverflow.com/questions/3909267/differences-between-action-and-actionlistener

link

answered 23.11.2016 at 10:49

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
8.5k21851
accept rate: 69%

edited 23.11.2016 at 10:49

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×54

Asked: 22.11.2016 at 16:07

Seen: 752 times

Last updated: 23.11.2016 at 10:49