|
PageMixer demonstration with Struts | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jp.ne.dti.lares.foozy.pagemixer.mixer.Filter | +--jp.ne.dti.lares.foozy.pagemixer.mixer.FilterPipeline | +--pagemixer.filter.RegistrationFormFilter
Filter for "RegistrationForm
" of struts-mailreader.
This filter consists of below filters
RegistrationFormFilter.ActionAttr
RegistrationFormFilter.UsernameAttr
RegistrationFormFilter.FullNameAttr
RegistrationFormFilter.FromAddressAttr
RegistrationFormFilter.ReplyToAddressAttr
RegistrationFormFilter.UsernameText
RegistrationFormFilter.AddParams
for "Create"
RegistrationFormFilter.TrimCreate
RegistrationFormFilter.TrimEdit
See main(java.lang.String[])
to use as stand-alone application.
Below HTML files are good to examine filter behavior
according to properties of RegistrationForm
.
value
attributes for
"action"/"username"/"fullName"/"fromAddress"/"replyToAddress"
properties,
(2)text for
"username"
property,
(3)appeds "username"
property to href
attribute of link to
"create" function, and
(4)trims part of HTML depending on
"action"
property.
Inner Class Summary | |
static class |
RegistrationFormFilter.ActionAttr
Filter to inset " action " filed value
of "RegistrationForm ". |
static class |
RegistrationFormFilter.AddParams
Filter to append query string to " href " attribute. |
static class |
RegistrationFormFilter.Factory
Factory for " CommonFilter ". |
static class |
RegistrationFormFilter.FromAddressAttr
Filter to inset " fromAddress " filed value
of "RegistrationForm ". |
static class |
RegistrationFormFilter.FullNameAttr
Filter to inset " fullName " filed value
of "RegistrationForm ". |
static class |
RegistrationFormFilter.ReplyToAddressAttr
Filter to inset " replyToAddress " filed value
of "RegistrationForm ". |
static class |
RegistrationFormFilter.TrimCreate
Filter to trim part of token sequence by " action " filed value of "RegistrationForm ". |
static class |
RegistrationFormFilter.TrimEdit
Filter to trim part of token sequence by " action " filed value of "RegistrationForm ". |
static class |
RegistrationFormFilter.UsernameAttr
Filter to inset " username " filed value
of "RegistrationForm ". |
static class |
RegistrationFormFilter.UsernameText
Filter to inset " username " filed value
of "RegistrationForm ". |
Inner classes inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.Filter |
jp.ne.dti.lares.foozy.pagemixer.mixer.Filter.Factory |
Fields inherited from interface common.RegistrationFormConstants |
CLASS_ACTION_CREATE, CLASS_ACTION_EDIT, CLASS_SUBSCRIPTION, CLASS_USERNAME, KEY_FORM, NAME_ACTION, NAME_FROM_ADDRESS, NAME_FULL_NAME, NAME_REGISTRATION_FORM, NAME_REPLY_TO_ADDRESS, NAME_USERNAME |
Fields inherited from interface common.CommonConstants |
CLASS_STRUTS_ACTION |
Constructor Summary | |
RegistrationFormFilter()
Create filter for " RegistrationForm " of struts-mailreader. |
Method Summary | |
static void |
main(java.lang.String[] args)
Invoke as stand-alone application. |
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 |
public RegistrationFormFilter()
RegistrationForm
" of struts-mailreader.Method Detail |
public static void main(java.lang.String[] args)
Usage of this class is shown below.
pagemixer.filter.RegistrationFormFilter {Template.html} {ServletName} {web.xml} {struts-config.xml} [{prefix} {struts-config.xml} ....] - {prefix} {action} [[{name}[={value}]] ....]
Please see description of pagemixer.filter about class path requirement to execute this class.
|
PageMixer demonstration with Struts | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |