Heh. So here is where all this is coming from. I have a custom
RemoteObject class that dispatches DynamicEvents via Swiz:
<swizrpc:RemoteObject
id="stockService"
source="swizEventResponder.StockService"
destination="ColdFusion"
channelSet="{myAMFChannelSet}">
<swizrpc:method name="getQuotes"
resultEvent="{AppController.QUOTE_RESULT_EVENT}"
faultEvent="{AppController.FAULT_EVENT}" />
</swizrpc:RemoteObject>
If a fault occurs when a method is called that does not have a
faultEvent defined at the Operation or RemoteObject level I would like
to dispatch a generic SWIZ_FAULT_EVENT. I have a static constant
defined in my RemoteObject class, but if I try to resolve the
expression ${stockService.SWIZ_FAULT_EVENT} I get an AbstractOperation
back, because that is how RemoteObject is set up. For now I've created
a separate EventConstants class to hold the SWIZ_FAULT_EVENT value,
but I'd really like that value to live in the RemoteObject if
possible.
--Nathan