net.sf.tacos.ajax.components
Class FormMessages

java.lang.Object
  extended by net.sf.tacos.ajax.components.FormMessages

public class FormMessages
extends Object

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
FormMessages()
           
 
Method Summary
static String encodingTypeContention(org.apache.tapestry.IComponent form, String establishedEncodingType, String newEncodingType)
          Encoding type invalid
static String fieldAlreadyPrerendered(org.apache.tapestry.IComponent field)
          Field rendered twice?
static String formIdMismatch(org.apache.tapestry.IComponent form, int mismatchIndex, String expectedId, String actualId, org.apache.tapestry.IComponent component)
          Id not what expected
static String formTooFewIds(org.apache.tapestry.IComponent form, int remainingCount, String nextExpectedId)
          Not the correct amount of components submitted
static String formTooManyIds(org.apache.tapestry.IComponent form, int actualCount, org.apache.tapestry.IComponent component)
          Too many comp id error
static String linkSubmitMayNotNest(org.apache.tapestry.IComponent inner, org.apache.tapestry.IComponent outer)
          Link can't be nested
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormMessages

public FormMessages()
Method Detail

formTooManyIds

public static String formTooManyIds(org.apache.tapestry.IComponent form,
                                    int actualCount,
                                    org.apache.tapestry.IComponent component)
Too many comp id error

Parameters:
form -
actualCount -
component -
Returns:

formIdMismatch

public static String formIdMismatch(org.apache.tapestry.IComponent form,
                                    int mismatchIndex,
                                    String expectedId,
                                    String actualId,
                                    org.apache.tapestry.IComponent component)
Id not what expected

Parameters:
form -
mismatchIndex -
expectedId -
actualId -
component -
Returns:

formTooFewIds

public static String formTooFewIds(org.apache.tapestry.IComponent form,
                                   int remainingCount,
                                   String nextExpectedId)
Not the correct amount of components submitted

Parameters:
form -
remainingCount -
nextExpectedId -
Returns:

encodingTypeContention

public static String encodingTypeContention(org.apache.tapestry.IComponent form,
                                            String establishedEncodingType,
                                            String newEncodingType)
Encoding type invalid

Parameters:
form -
establishedEncodingType -
newEncodingType -
Returns:

fieldAlreadyPrerendered

public static String fieldAlreadyPrerendered(org.apache.tapestry.IComponent field)
Field rendered twice?

Parameters:
field -
Returns:

linkSubmitMayNotNest

public static String linkSubmitMayNotNest(org.apache.tapestry.IComponent inner,
                                          org.apache.tapestry.IComponent outer)
Link can't be nested

Parameters:
inner -
outer -
Returns: