Class LenientResourceModel

java.lang.Object
org.apache.wicket.model.AbstractReadOnlyModel<String>
org.apache.wicket.model.ResourceModel
com.inductiveautomation.ignition.gateway.web.models.LenientResourceModel
All Implemented Interfaces:
Serializable, org.apache.wicket.model.IComponentAssignedModel<String>, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<String>, org.apache.wicket.util.io.IClusterable

public class LenientResourceModel extends org.apache.wicket.model.ResourceModel
A Basic subclass of ResourceModel (for localization of string resources) that always provides a default string.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Uses a default value of:
    LenientResourceModel(String resourceKey, String defaultValue)
     
  • Method Summary

    Methods inherited from class org.apache.wicket.model.ResourceModel

    getObject, wrapOnAssignment

    Methods inherited from class org.apache.wicket.model.AbstractReadOnlyModel

    detach, setObject, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.wicket.model.IDetachable

    detach

    Methods inherited from interface org.apache.wicket.model.IModel

    setObject
  • Field Details

  • Constructor Details

    • LenientResourceModel

      public LenientResourceModel(String resourceKey)
      Uses a default value of:

       "¿" + resourceKey + "?"
       
    • LenientResourceModel

      public LenientResourceModel(String resourceKey, String defaultValue)