[Cosmo-dev] Cosmo WebUI Service Layer
Bobby Rullo
br at osafoundation.org
Tue Mar 6 13:15:52 PST 2007
Yeah, something like that is what I'd like to see.
On Mar 6, 2007, at 12:57 PM, Matthew Eernisse wrote:
> Bobby Rullo wrote:
>> I was thinking something more in the line of having a hook in the
>> service layer for a callback for what to do for this specific
>> exception (user not logged in or something). I'd rather not have
>> to have the UI code handle this every time it makes a service
>> call, instead it just registers at app startup this callback which
>> pops a dialog to log the user in again and if successful tries
>> again....
>
> This actually dovetails nicely with the way the AuthBox widget works.
>
> It has an authAction property that you use to set up an action to
> take if the user successfully authenticates. We would have to have
> the UI code remember what the user was trying to do when the
> timeout error occurred, and then package that up and pass it to the
> AuthBox.
>
>
> _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev
More information about the cosmo-dev
mailing list