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
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 yuriy.tymchuk@me.com wrote:
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
Thanks for your answer.
I somehow made my way for a simple list updating. But I am puzzled a bit with global updates. What should I do if I want another pane to be updated when the list is updated? Should I use ports somehow?
Cheers. Uko
On 24 Mar 2015, at 16:20, Andrei Chis chisvasileandrei@gmail.com wrote:
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 <yuriy.tymchuk@me.com mailto:yuriy.tymchuk@me.com> wrote: 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 Moose-dev@iam.unibe.ch 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 yuriy.tymchuk@me.com wrote:
Thanks for your answer.
I somehow made my way for a simple list updating. But I am puzzled a bit with global updates. What should I do if I want another pane to be updated when the list is updated? Should I use ports somehow?
Cheers. Uko
On 24 Mar 2015, at 16:20, Andrei Chis chisvasileandrei@gmail.com wrote:
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 yuriy.tymchuk@me.com wrote:
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 Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
On 24 Mar 2015, at 21:42, Andrei Chis chisvasileandrei@gmail.com wrote:
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.
I will take a look, thank you very much!
Uko
Cheers, Andrei
On Tue, Mar 24, 2015 at 4:40 PM, Yuriy Tymchuk <yuriy.tymchuk@me.com mailto:yuriy.tymchuk@me.com> wrote: Thanks for your answer.
I somehow made my way for a simple list updating. But I am puzzled a bit with global updates. What should I do if I want another pane to be updated when the list is updated? Should I use ports somehow?
Cheers. Uko
On 24 Mar 2015, at 16:20, Andrei Chis <chisvasileandrei@gmail.com mailto:chisvasileandrei@gmail.com> wrote:
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 <yuriy.tymchuk@me.com mailto:yuriy.tymchuk@me.com> wrote: 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 Moose-dev@iam.unibe.ch mailto:Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch mailto:Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev