Different form actions depending on button - forms

I have a scroll menu and three different buttons on the page. If one button is clicked, then the form launches a file passing the value selected from the menu. If the 2nd button, and so on for the 3rd, to launch a 2nd or 3rd page. I've tried several theories with Java and have come up empty.

Related

How to rerender the accordion layout after inserting new element from external window

a following scenario:
1. A window with some tabs.
2. In one tab there is accordion layout and the button "Add".
3. After selecting the button "Add" a new window with a a form appears.
4. The user fills the form and select the button "Save".
5. The window with the form disappears, system adds a new record in the database with data from the form.
6. The tab re-renders the accordion layout showing old elements and the new one.
The problem is that the point 6 doesn't work. The all elements are collapsed and clicking on the title bar of any element doesn't expand the accordion. Additionally the title bars of accordions are shorter than at the first rendering.
Any help?
Regards,
Jacek

Ionic 2 Changing between tab pages

I am trying to change between two tab pages that have different tabs. Basically what I want is to have a two tab page at the bottom when the app is first opened, but when the user logs in, then change to a four page tab system. I am able to switch between pages, but the tabs stay. setRoot() doesn't work with changing the tabs at the bottom to the new tabs page and neither does pop() or push(). Is there a way to switch between the tabs pages to where they change from a two tab system to a four tab system after a button is clicked?

Ionic either doesn't show back button or page doesn't load at all

I am trying to create a new page from an existing page with a back button. I have recreated the issue here in a plunkr. In the trip analytics option When I click the first card i.e. Enter Home address. I want the todayDetail .html page to come up with a back button. I have already tried two approaches
First approach The ng-click approach. In which I give $state.go(statename) to give that page. But then I wouldn't get a back button as the navigation stack is changed.
Second approach - If I keep the navigation stack i.e. keep the state name as initial.trips.today.todayDetail. The page doesn't load at all.
What is the issue? How should I go about it?

Working with windows in Gtk2-Perl

I am working on a Gtk2-Perl project, where I have to create a GUI. Now I have to do one thing, that whenever the user selects 'Single' Radio button, or the 'Multiple' Radio button, either a seperate screen should come up, or the content of the same window should change.
Ex: when user selects Single: He should be having 4 buttons, But when he selects Multiple: he should be having 10 buttons, and some more widgets.
Can someone help me in creating a pop up window, which will contain respective widgets, on selection of appropriate radio button. Or any help regarding, callbacks where we can add buttons and widgets.
You could have a look at these tutorials for a starting point.
http://gtk2-perl.sourceforge.net/doc/gtk2-perl-tut/
http://soliton.ae.gatech.edu/people/jcraig/classes/ae6382/perl/gtkperl-tutorial/html/index.html

Coda Slider Tab Navigation

I am using Coda-Slider for my website and I want to know if there is a way to change the content of each tab. For example, the user navigates onto tab2 where I placed a link to redirect the user to another page. Is there a way NOT to navigate away from the page nor the tab but instead load the link inside the tab? I was thinking it would look something like a modal box that would stay inside the tab instead of popping up.
see 19. Coda-Slider Sliding Tabs or you might want to try 35. JQuery IDTabs if you want the effect to be non-intrusive