org.wicketstuff.jquery.jgrowl
Class JGrowlFeedbackMessage

java.lang.Object
  extended by org.wicketstuff.jquery.jgrowl.JGrowlFeedbackMessage
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable

public class JGrowlFeedbackMessage
extends Object
implements org.apache.wicket.IClusterable

A feedback message that will be shown as JGrowl message (http://www.stanlemon.net/projects/jgrowl.html)

Author:
martin-g
See Also:
Serialized Form

Constructor Summary
JGrowlFeedbackMessage(org.apache.wicket.feedback.FeedbackMessage feedbackMessage)
           
 
Method Summary
protected  Options newDebugOptions()
           
protected  Options newErrorOptions()
           
protected  Options newFatalOptions()
           
protected  Options newInfoOptions()
           
protected  Options newWarningOptions()
           
 String toJavaScript()
          Constructs the JGrowl invocation E.g.: '$.jGrowl("A message", {'option1' : 'value1', 'option2' : 'value2' })'
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGrowlFeedbackMessage

public JGrowlFeedbackMessage(org.apache.wicket.feedback.FeedbackMessage feedbackMessage)
Method Detail

newFatalOptions

protected Options newFatalOptions()

newDebugOptions

protected Options newDebugOptions()

newWarningOptions

protected Options newWarningOptions()

newInfoOptions

protected Options newInfoOptions()

newErrorOptions

protected Options newErrorOptions()

toJavaScript

public String toJavaScript()
Constructs the JGrowl invocation E.g.: '$.jGrowl("A message", {'option1' : 'value1', 'option2' : 'value2' })'

Returns:
the jGrowl JavaScript


Copyright © 2012. All Rights Reserved.