Hi ?????? > I'm a soft engineer in china. My company is very interested in icinga > and we are using icinga to monitor local network of our company. We want > to add configuration in the portal of icinga-web. > *What we do is add 'action' to module 'Cronk' in icinga-web. the process > is like this:* > *#./agavi action-wizard* > *#choose module name: Cronks* > *#action name: HostConfig* > *#view names: Input, Success, Edit, Error.* > *.....* > ** > *Ho*ever, we encounter a big question about linking from *Input-view to > Success-view*: we prepared Input-view and Success-view well, when we > filled Input-view, we pressed "Save" button and the expected result is > add contents in Input-view to database and change view to > Success-view, but the result is wrong. > > How should we do if we want to change Input-view to Success-view when > push "Save" button(dont care data process)?Really need your help and > very urgent!
Can you explain your actions a little bis more? Do you want to create a new Cronk or a stand-alone module? Is is generic CGI post thing or using ext js json actions? We recommend to create your own cronks into your own module to seperate from system code and activate in icinga.xml. To decide which view you want to display is controlled in the action, just return the name of the corresponding view. Fill up your tables is made is the action. You can simply decide if all database things end up okay and display your success view after that. I think that's the common agavi way. Kind regards, Marius. -- Marius Hein Senior Application Developer NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 N??rnberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 GF: Julian Hein | AG N??rnberg HRB18461 http://www.netways.de | [email protected] ** NETWAYS Open Source Monitoring Conference 2011 | N??rnberg, 29. und 30. November 2011 | http://www.netways.de/osmc **
------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey
_______________________________________________ icinga-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/icinga-devel
