Hi everyone,
I’m playing with glamour, and I’m trying to construct a list that can be edited e.g. you can add items, edit them and remove and for adding and editing you have a custom popup written again in glamour. So first question is how can I dead with basic actions? Is the GLMActionListPresentation way to go, or I should look on the other things. Another question is how do you open a modal window with glamour and how do you get the result from it. I’ll be very thankful for any reply. Cheers. Uko _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi,
GLMActionListPresentation is currently the only mechanism to have a separate list of actions as buttons. However, usually when working with lists we add actions directly in the toolbar of the presentation. There is no default way of opening a pop-up. However, it shouldn't be so difficult to have a special action that opens a pop-up. We are actually adding one now because we need it for something :) Cheers, Andrei On Tue, Mar 24, 2015 at 12:00 PM, Yuriy Tymchuk <[hidden email]> wrote: Hi everyone, _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Thanks for your answer. Cheers. Uko
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Yes. You should populate a port of the presentation that you modify, have a transmission to a port of the other presentation, and then when the port is populated execute an action. Look at #populate:icon:on:entitled:with: for populating ports, and #onChangeOfPort:act: for reacting to port changes. Cheers, Andrei On Tue, Mar 24, 2015 at 4:40 PM, Yuriy Tymchuk <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
I will take a look, thank you very much! Uko
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |