First of all, many thanks to nunb and Leslie for the fast response.

On 26 nov, 12:40, "Leslie P. Polzer" <[email protected]> wrote:
> Hi Rafael,
>
> On Nov 25, 10:20 pm, Rafael <[email protected]> wrote:
>
> One way to do this is to have a base view where the field is enabled
> and a child view where it is not.
>
> Then specialize the appropriate methods for your grid
> (dataedit-create-new-item-widget and friends) to choose the correct
> view.
>
Perfect, both of you have said the same response so it must be true :)
I'll try that.
This is the link (http://paste.lisp.org/+1YBI) for the widget code.

> > 2. I have created a new store for managing the virtual mail user and
> > alias database. But I did not found an example about where I should
> > call commit-transaction. I need that for commiting changes to the mail
> > services (postfix, saslauthd, courier-authd), maybe on-delete-items-
> > completed and on-add-item-completed?
>
> Could you post your store somewhere?
>
http://paste.lisp.org/+1YBK

> The standard way used to commit changes is persist-object which gets
> called after every successful form submit, so your store will have to
> specialize it properly.
>
I've done that and it runs fine, but it would be better if I could
group many mailbox deletions because notifying the underlying services
takes a bit of time.

Many thanks again.

--

You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en.


Reply via email to