xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

How to save a button with popup as "Custom Component"

I ended up developing a lot of code behind a button on a page (this is basically a drop down menu which is a popup). The menu has further popup for one of the buttons (already managed to get that working). The button, and the associated functionality, is working all well.

When I tried to save this button (which drops down a menu) as custom component, I can't find any such link when this button is in the header. When I drag the button down from the header the "Save as custom component" appears. When I save it as custom component, no functionality is saved into the custom component.

I am heartbroken, I can't replicate the complex functionality on each page individually. I really want this drop down menu saved as custom component so that I can drop it on several other pages. ....any help? :(

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to save a button with popup as "Custom Component"

Hello,

Thank you for feedback. Let us test this more.

As a workaround create this custom component on the page (not header) and use where you need.

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

How to save a button with popup as "Custom Component"

Alena, that is also an issue as I reported above. Even the creation of custom component on page does not work because the attached functionality does not get saved with custom component.

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

How to save a button with popup as "Custom Component"

Further problems:

#1. Any button with a pop-up, when saved as a custom component does not save the popup along. The custom component thus saved does not work.

#2. There is no way to manually add a popup to a custom saved button.

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

How to save a button with popup as "Custom Component"

Folks, anyone?

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

How to save a button with popup as "Custom Component"

Alena, that also does not work. Please read my first post and the following ones.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to save a button with popup as "Custom Component"

Hello Xman,

Sorry for the radio silence here, we are working on your issue and will get back to you with the update.

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

How to save a button with popup as "Custom Component"

hi xman,

I am a little new to appery but can that page be saved as a template?

And use that page template for every other page you create / add. I am not very sure whether it'll work the way you want but you can perhaps try that out while Appery support works out other ways of getting it to work :-)

I think your code will get replicated too, but just remember to add the "Work Area" component before you will be able to use that template for new page creation - I have added a screenshot of how the "Work Area" component looks like - as it is a little elusive - It will appear only when you select the template page. And once you add the work area component to the template, you are ready to use that page template as a starting / initial template for your new pages. When you add a new page with this page templage, do remember to break the component apart before you can see the events and stuff

Cheers,
M&M Image

xman
Posts: 0
Joined: Sun Jul 06, 2014 7:05 pm

How to save a button with popup as "Custom Component"

Hi M&M,

That does not work when you already have tons of pages and are adding functionality in question later.

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

How to save a button with popup as "Custom Component"

true xman. I dun really have much idea about the workings of your app. How about something like this - add a grid to the header...and move the button into the grid (1 row 1 col something?) ...and then try to save it as a custom component...any chances that would work?

Return to “Issues”