Package org.apache.wicket.markup.html.panel

Examples of org.apache.wicket.markup.html.panel.FeedbackPanel.info()


                                newDescription = null;
                            }

                            registry.updatePortletApplication(app);
                            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveOK", this, null, new Object [] { paNodeBean.getApplicationName() } );
                            feed.info(resModel.getString());
                        }
                        catch (RegistryException e)
                        {
                            logger.error("Failed to update portlet application.", e);
                            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveFailure", this, null, new Object [] { paNodeBean.getApplicationName(), e.getMessage() } );
View Full Code Here


                        }
                        catch (RegistryException e)
                        {
                            logger.error("Failed to update portlet application.", e);
                            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveFailure", this, null, new Object [] { paNodeBean.getApplicationName(), e.getMessage() } );
                            feed.info(resModel.getString());
                        }
                    }
                };
            }
View Full Code Here

                            }
                        }
                       
                        registry.updatePortletApplication(app);
                        StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveOK", this, null, new Object [] { paNodeBean.getApplicationName() } );
                        feed.info(resModel.getString());
                    }
                }
                catch (RegistryException e)
                {
                    logger.error("Failed to update portlet application.", e);
View Full Code Here

                }
                catch (RegistryException e)
                {
                    logger.error("Failed to update portlet application.", e);
                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveFailure", this, null, new Object [] { paNodeBean.getApplicationName(), e.getMessage() } );
                    feed.info(resModel.getString());
                }
            }
        });

    }
View Full Code Here

       
        try
        {
            registry.updatePortletApplication(app);
            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveOK", this, null, new Object [] { paNodeBean.getApplicationName() } );
            feed.info(resModel.getString());
        }
        catch (RegistryException e)
        {
            logger.error("Failed to update portlet application.", e);
            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveFailure", this, null, new Object [] { paNodeBean.getApplicationName(), e.getMessage() } );
View Full Code Here

        }
        catch (RegistryException e)
        {
            logger.error("Failed to update portlet application.", e);
            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveFailure", this, null, new Object [] { paNodeBean.getApplicationName(), e.getMessage() } );
            feed.info(resModel.getString());
        }
    }

    @Override
    public Iterator<IModel<UserAttribute>> getItemModels()
View Full Code Here

                        newLocale = null;
                    }
                   
                    locator.getPortletRegistry().updatePortletApplication(app);
                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveOK", this, null, new Object [] { paNodeBean.getApplicationName() } );
                    feed.info(resModel.getString());
                }
                catch (RegistryException e)
                {
                    logger.error("Failed to update portlet application", e);
                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveFailure", this, null, new Object [] { paNodeBean.getApplicationName(), e.getMessage() } );
View Full Code Here

                }
                catch (RegistryException e)
                {
                    logger.error("Failed to update portlet application", e);
                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveFailure", this, null, new Object [] { paNodeBean.getApplicationName(), e.getMessage() } );
                    feed.info(resModel.getString());
                }
            }
        };
    }
View Full Code Here

                        FileOutputStream fos = new FileOutputStream(tempFile);
                        drain(warStream, fos);
                        fos.close();
                       
                        UploadPortletApp.this.dm.deploy(tempFile);
                        feedback.info("Deployed 1 portlet application to server: " + upload.getClientFileName());
                        app.getServiceLocator().getAuditActivity().logAdminRegistryActivity(
                                app.getUserPrincipalName(), app.getIPAddress(), AuditActivity.REGISTRY_DEPLOY, ApplicationsListHome.PORTLET_REGISTRY_MANAGER);                                                   
                    }
                    catch (Exception e)
                    {
View Full Code Here

                                throw new Exception(getString("pam.details.action.status.appServerNotConfigured"));
                            }
                            else
                            {
                                StringResourceModel resModel = new StringResourceModel("pam.details.action.status.startOK", this, null, new Object [] { pab.getPath() } );
                                feed.info(resModel.getString());
                                auditActivity.logAdminRegistryActivity(
                                                                       ((AbstractAdminWebApplication) getApplication()).getUserPrincipalName(),
                                                                       ((AbstractAdminWebApplication) getApplication()).getIPAddress(),
                                                                       AuditActivity.REGISTRY_START,
                                                                       PORTLET_REGISTRY_MANAGER
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.