info.magnolia.module.shop.paragraphs
Class CountrySelectionParagraphModel<RD extends info.magnolia.rendering.template.RenderableDefinition>

java.lang.Object
  extended by info.magnolia.rendering.model.RenderingModelImpl<RD>
      extended by info.magnolia.module.form.templates.components.FormFieldModel<RD>
          extended by info.magnolia.module.shop.paragraphs.CountrySelectionParagraphModel<RD>
Type Parameters:
RD - RenderableDefinition
All Implemented Interfaces:
info.magnolia.rendering.model.RenderingModel<RD>

public class CountrySelectionParagraphModel<RD extends info.magnolia.rendering.template.RenderableDefinition>
extends info.magnolia.module.form.templates.components.FormFieldModel<RD>

Form element to select the a country from a list of countries taken from the shop configuration.

Author:
Will Scheidegger

Field Summary
 
Fields inherited from class info.magnolia.module.form.templates.components.FormFieldModel
functions
 
Fields inherited from class info.magnolia.rendering.model.RenderingModelImpl
content, contentMap, definition, parentModel
 
Fields inherited from interface info.magnolia.rendering.model.RenderingModel
SKIP_RENDERING
 
Constructor Summary
CountrySelectionParagraphModel(javax.jcr.Node content, RD definition, info.magnolia.rendering.model.RenderingModel<?> parent, info.magnolia.templating.functions.TemplatingFunctions functions)
           
 
Method Summary
 Collection<info.magnolia.cms.core.Content> getCountries()
           
 
Methods inherited from class info.magnolia.module.form.templates.components.FormFieldModel
execute, getRequiredSymbol, getRightText, getStyle, getValue, handleStyle, handleValue, isValid
 
Methods inherited from class info.magnolia.rendering.model.RenderingModelImpl
getContent, getDef, getDefinition, getNode, getParent, getRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountrySelectionParagraphModel

public CountrySelectionParagraphModel(javax.jcr.Node content,
                                      RD definition,
                                      info.magnolia.rendering.model.RenderingModel<?> parent,
                                      info.magnolia.templating.functions.TemplatingFunctions functions)
Method Detail

getCountries

public Collection<info.magnolia.cms.core.Content> getCountries()


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.