PageMixer API - 3.1

jp.ne.dti.lares.foozy.pagemixer.struts
Class StdTailFilterSet

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
        |
        +--jp.ne.dti.lares.foozy.pagemixer.mixer.FilterPipeline
              |
              +--jp.ne.dti.lares.foozy.pagemixer.struts.StdTailFilterSet
All Implemented Interfaces:
Consumer

public class StdTailFilterSet
extends FilterPipeline

Set of filters for PageMixer/Struts co-operation.

This is standard(or "ordinaly") set of filters shown below for PageMixer/Struts co-operation. This filter set should be placed at as tail as possible of your filter chain, because this filter set modifies tokens(or their attribute values).

class purpose comment
TransactionInsetFilter inset Struts "transaction token" as hidden "input" tag after "form" tag. (as same as ActionInsetFilter.A)
MessagesInsetFilter inset Struts "ActionMessages" for default action message, which is stored into Servlet request attribute identified by Globals.MESSAGE_KEY of Struts. &qupt;messages block", "iteration block" and "message block" are identified by "class" attribute values "Struts-messages", "Struts-message-iterate" and "Struts-error".
MessagesInsetFilter inset Struts "ActionMessages" for default error message, which is stored into Servlet request attribute identified by Globals.ERROR_KEY of Struts. &qupt;messages block", "iteration block" and "message block" are identified by "class" attribute values "Struts-errors", "Struts-error-iterate" and "Struts-error".
ExceptionInsetFilter inset message from exception which is stored into Servlet request attribute identified by Globals.EXCEPTION_KEY of Struts. &qupt;exception block" and "message block" are identified by "class" attribute values "Struts-exception" and "Struts-exception-message".
ActionInsetFilter.A inset URI for specified Struts "Action" and re-write URL for session ID insetting on "a" tag. you should specify "nonaction" or "external" attribute in "a" tags on which you does not want to apply this filter, because this tries to do on all "a" tags in HTML page.
ActionInsetFilter.IMG inset URI for specified Struts "Action" and re-write URL for session ID insetting on "img" tag. (as same as ActionInsetFilter.A)
ActionInsetFilter.FORM inset URI for specified Struts "Action" and re-write URL for session ID insetting on "form" tag. (as same as ActionInsetFilter.A)
ActionInsetFilter.LINK inset URI for specified Struts "Action" and re-write URL for session ID insetting on "link" tag. (as same as ActionInsetFilter.A)
StrutsSymbolTrimFilter trim PageMixer/Struts co-operation specific attributes from token.

Since:
PageMixer 3.1
See Also:
StdHeadFilterSet

Inner classes inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
Filter.Factory
 
Constructor Summary
StdTailFilterSet()
          Constructor.
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.FilterPipeline
add, add, add, addFactories, addFilters, consume, flush, push, push, push, pushFactories, pushFilters
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
addCleanup, clear, connectTo, getConsumer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdTailFilterSet

public StdTailFilterSet()
Constructor.

PageMixer API - 3.1