I
Ian
I have been trying to get both the DispatchAction and
LookupDispatchActions working (...by extending those classes, not
using them directly).
Unfortunately, they only seem to work when the execute method does not
exist. If the execute method does exist, it will always default to
that method - and never use my 'custom' methods.
The reason I ask this is because I really don't like the thought of
using only eg: search.do?action=simple and search.do?action=advanced.
I would prefer to use search.do (which defaults to simple using the
standard execute method) along with both of the above examples.
Is this the expected behavour? Am I doing something wrong?
LookupDispatchActions working (...by extending those classes, not
using them directly).
Unfortunately, they only seem to work when the execute method does not
exist. If the execute method does exist, it will always default to
that method - and never use my 'custom' methods.
The reason I ask this is because I really don't like the thought of
using only eg: search.do?action=simple and search.do?action=advanced.
I would prefer to use search.do (which defaults to simple using the
standard execute method) along with both of the above examples.
Is this the expected behavour? Am I doing something wrong?