Package org.jboss.seam.international.status.builder

Examples of org.jboss.seam.international.status.builder.BundleKey


        return userLocale.get();
    }
   
    public void setUserLocale(Locale locale) {       
        localeEvent.fire(locale);
        messages.info(new BundleKey("resources", "message.localechange"), locale.getDisplayName(locale));
    }
View Full Code Here


    }

    private boolean verifyUsernameIsAvailable() {
        User existing = em.find(User.class, newUser.getUsername());
        if (existing != null) {
            messages.warn(new BundleKey("messages", "account_usernameTaken"))
                    .defaults("The username '{0}' is already taken. Please choose another username.")
                    .targets(usernameInput.getClientId()).params(newUser.getUsername());
            return false;
        }
View Full Code Here

        }
        return "";
    }

    public String deleteAll() {
      messages.info(new BundleKey("shortly", "linksDeleted"));
        em.createQuery("delete from TinyLink").executeUpdate();
        return "pretty:";
    }
View Full Code Here

TOP

Related Classes of org.jboss.seam.international.status.builder.BundleKey

Copyright © 2018 www.massapicom. 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.