diff --git a/AddingResourceToHTMLHead.md b/AddingResourceToHTMLHead.md new file mode 100644 index 00000000..7754a403 --- /dev/null +++ b/AddingResourceToHTMLHead.md @@ -0,0 +1,19 @@ +# Introduction # + +This page will provide a brief overview of how to insert resources such as JS files within the head of the HTML page. + +# Details # + +There currently exists a java file to insert JS content to the head of HTML page : + * `JsfFlexResource` + +_It is assumed that the resource file is within the correct resource directory within the **src** hierarchy._ + +So in order to add the resource to the head of the HTML file, one simply gets the instance of `JsfFlexResource` {since they are abstract classes} and invoke the addResource method providing the class where the resource is nested under and the resource name. + +Following is an example from `AbstractMXMLUIApplication` : +``` + JsfFlexResource jsfFlexResource = JsfFlexResource.getInstance(); + jsfFlexResource.addResource(getClass(), JSF_FLEX_COMMUNICATOR_CORE_JS); + jsfFlexResource.addResource(getClass(), JSF_FLEX_COMMUNICATOR_LOGGER_JS); +``` \ No newline at end of file diff --git a/AdditionalComponents.md b/AdditionalComponents.md new file mode 100644 index 00000000..a39855c7 --- /dev/null +++ b/AdditionalComponents.md @@ -0,0 +1,14 @@ +# Introduction # + +This page will provide a quick overview of the `jf:flexAdditionalComponent` tag. Note that in the future intention is to allow user to bind data if the missing component allows data preservation. + +# Details # + * Below is the content for an extremely complicated component `[sarcasm here of course]` +``` + + + + +``` + * And the result +> > ![http://jsf-flex.googlecode.com/svn/wiki/additionalComponentSample.jpg](http://jsf-flex.googlecode.com/svn/wiki/additionalComponentSample.jpg) \ No newline at end of file diff --git a/AsyncPropDataUpdateListener.md b/AsyncPropDataUpdateListener.md new file mode 100644 index 00000000..4f8a1e46 --- /dev/null +++ b/AsyncPropDataUpdateListener.md @@ -0,0 +1,42 @@ +# Introduction # + +This page provides a quick overview of the projects's `jf:flexAsynchronousPropertyUpdateEventListener`, note that `jf:flexAsynchronousDataUpdateEventListener` component is very similar so it will not be described within a Wiki page, component which allows listening to an event for a Flex component and retrieving the value for the component and returning data which will be set for the Flex component. + +# Details # + * Initial view of the `jf:flexNumericStepper` component which will be listened to and `jf:flexTextArea` component which will be used to set the value returned from the server side. +> > ![http://jsf-flex.googlecode.com/svn/wiki/initialAsynchronousPropertyUpdateView.jpg](http://jsf-flex.googlecode.com/svn/wiki/initialAsynchronousPropertyUpdateView.jpg) + * After - + 1. a change has been made to the `jf:flexNumericStepper` component which triggered an asynchronous call to be made to the server side. + 1. A value is returned from the server side with the sent data and `jf:flexTextArea` component is updated with the value. +> > ![http://jsf-flex.googlecode.com/svn/wiki/afterAsynchronousPropertyUpdateView.jpg](http://jsf-flex.googlecode.com/svn/wiki/afterAsynchronousPropertyUpdateView.jpg) + * The method for the `ManagedBean`that listens to the event for the `jf:flexNumericStepper` component and returns appropriate value for the `jf:flexTextArea` component +``` + public Object asyncPropertyUpdateListener(AsynchronousPropertyUpdateEvent event){ + /* + * Two possible values can be returned for the MethodExpression of flexAsynchronousPropertyUpdateEventListener + * AsynchronousPropertyUpdateEventBean + * An Object representing the value to update the target component to + * + */ + + return "Async Property Update: " + event.getCurrSourceValue(); + } +``` + * The XHTML content for the example: +``` + + + + + + + + + + + + + +``` \ No newline at end of file diff --git a/ComponentTagsBondableFieldsInfo.md b/ComponentTagsBondableFieldsInfo.md new file mode 100644 index 00000000..7994a62e --- /dev/null +++ b/ComponentTagsBondableFieldsInfo.md @@ -0,0 +1,77 @@ +# Introduction # + +This page will contain brief overview regarding bondable fields of JSF Flex components Tags which have reference in **preserving the value/state during `postBack`**. Please check out mxmlOverallExample.xhtml and mxmlOverallExample.jsp pages for comprehensive viewing of these and additional data bounded components. + +# Details # + + * `Accordion` + 1. selectedIndex _Integer_ : contains info regarding which container has been selected. + + * `CheckBox` + 1. selected _Boolean_ : contains the boolean of whether user has selected the checkbox or not. + + * `ColorPicker` + 1. selectedColor _String_ : contains the color chosen for the colorPicker + + * `ComboBox` + 1. text _String_ : contains the comboxBox's text that the user has selected + 1. selectedIndex _Integer_ : contains the comboxBox that the user has selected {in order to preserve the correct selection, this field must be mapped within the managed beans}. + + * `DataGrid` + 1. bindingBeanList _List_ : List of beans for asynchronous retrieval and update of data. The bean should have corresponding get + set methods for each `DataGridColumn's` dataField attributes and the data should implement the _Comparable_ interface for sorting. + + * `DateChooser` + 1. selectedDate _Calendar_ : the selected date of the component. + + * `DateField` + 1. text _String_ : contains the date selected by the user. + + * `HorizontalList` + 1. selectedIndex _Integer_ : contains the list element that the user has selected. + + * `HSlider` + 1. value _String_ : contains the slider's value. + + * `List` + 1. selectedIndex _Integer_ : contains the list element that the user has selected. + + * `NumericStepper` + 1. value _String_ : contains the value of the numericStepper + + * `ObjectListEntries ` + 1. bindingBeanList _List_ : List of beans to be used for `ObjectElement + ObjectProperty` childrens, with the field of `ObjectProperty's` property being fetched via reflection. + + * `ProgressBar` + 1. value _String_ : the progressBar value. **Note that this field will not be set upon loading of the app, since it's read-only.** + + * `RadioButton` + 1. selectedValue _String_ : contains the value selected within the same groupName radioButtons. + 1. selected _Boolean_ : contains the boolean flag of whether the current radioButton has been selected or not {in order to preserve the correct selection, this field must be mapped within the managed beans}. + + * `RichTextEditor` + 1. text _String_ : contains the text inputed by the user. + 1. htmlText _String_ : contains the htmlText {in rich text format specified through xml tags} inputed by the user. Have to set `textBinding` field to `htmlText`. + + * `TabNavigator` + 1. selectedIndex _Integer_ : contains info regarding which container has been selected. + + * `TextArea` + 1. text _String_ : contains the text inputed by the user. + + * `TextInput` + 1. text _String_ : contains the text inputed by the user. + + * `TileList` + 1. selectedIndex _Integer_ : contains the list element that the user has selected. + + * `Tree` + 1. selectedIndex _Integer_ : contains the top Tree element that the user has selected. + + * `ViewStack` + 1. selectedIndex _Integer_ : contains the top Tree element that the user has selected. + + * `VSlider` + 1. value _String_ : contains the slider's value. + + * `XMLListEntries` + 1. bindingBeanList _List_ : List of beans to be used for `XMLElement + XMLAttribute` childrens, which will fetch the fields via reflection. {note that these values will be static meaning the values during debugMode will be the values during productionMode even if the beans change}. \ No newline at end of file diff --git a/EclipseJBossQuickStart.md b/EclipseJBossQuickStart.md new file mode 100644 index 00000000..2cf878a8 --- /dev/null +++ b/EclipseJBossQuickStart.md @@ -0,0 +1,102 @@ +# Introduction # + +This page contains brief overview in importing the project into Eclipse 3.4.0 for JBoss 4.2. + + +# Details # + +## Importing the generated WAR artifact ## + 1. Follow the usual path of importing a WAR file. +> > ![http://jsf-flex.googlecode.com/svn/wiki/importWarEclipseJBoss42.jpg](http://jsf-flex.googlecode.com/svn/wiki/importWarEclipseJBoss42.jpg) + 1. Then delete JSF API + IMPL Jar within `WebContent/WEB-INF/lib` directory +> > ![http://jsf-flex.googlecode.com/svn/wiki/deleteJsfApiImplJars.jpg](http://jsf-flex.googlecode.com/svn/wiki/deleteJsfApiImplJars.jpg) + +## Importing the Jar artifacts for a Dynamic Web Project ## + 1. First create the Dynamic Web Project with the default Configuration for JBoss 4.2 {technically can set it to JSF 1.2 here, but will go with this path}. +> > ![http://jsf-flex.googlecode.com/svn/wiki/createNewDynamicWebProjectEclipseJBoss42.jpg](http://jsf-flex.googlecode.com/svn/wiki/createNewDynamicWebProjectEclipseJBoss42.jpg) + 1. Then configure the project with JSF 1.2 impl + * Select the project and right click. + * Select the Properties option. + * Select Project Facets and click on `JavaServer` Faces with version 1.2. + * Click on Further configuration required. + * Select the default **Server Supplied JSF Implementation** + * If one wishes to use a different JSF impl than the one provided from the Server `{i.e. MyFaces`}, provide the impl Jars within the WEB-INF/lib directory and add the following within the web.xml : +``` + + org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL + true + +``` +> > > Then JBoss will use the implementation within the classpath of the project rather than from its default/provided impl. + + * Add additional URL Mapping Patterns for `FacesServlet` with `/jsfFlexHttpServiceRequestListener/* and *.jsf`. + +> > ![http://jsf-flex.googlecode.com/svn/wiki/projectFacetsEclipseJBoss42.jpg](http://jsf-flex.googlecode.com/svn/wiki/projectFacetsEclipseJBoss42.jpg) +> > ![http://jsf-flex.googlecode.com/svn/wiki/settingJsf12BasePropertiesEclipseJBoss42.jpg](http://jsf-flex.googlecode.com/svn/wiki/settingJsf12BasePropertiesEclipseJBoss42.jpg) + 1. Then modify web.xml by adding the following content : +``` + + + For JSF Flex Flash To JavaScript Log Level, possible values are (Log, Debug, Info, + Warn, Error) If the field is not provided, it will make a decision based on + com.googlecode.jsfFlex.MODE with production being Error and non-production being Log + + com.googlecode.jsfFlex.FlashToJavaScriptLogLevel + Info + + + + + For JSF Flex build mode, possible values are (debugMode, + simplySwfMode, productionMode [default]) + + com.googlecode.jsfFlex.MODE + debugMode + + + + jsfFlexResourceFilter + com.googlecode.jsfFlex.filter.JsfFlexResourceFilter + + + + + jsfFlexResourceFilter + *.jsf + + + + + jsfFlexResourceFilter + /jsfFlexResourceRequest/* + + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + + + Faces Servlet + *.jsf + + + + Faces Servlet + /jsfFlexHttpServiceRequestListener/* + +``` +> > Note the need to have two servlet-mapping for the different url-patterns. This is different in comparison to `TomCat 6.0 QuickStart`. + 1. Copy the contents from "C:\jsfFlex\jsf-flex\examples\target\jsf-flex-examples\WEB-INF\lib" minus the jsf api + jsf impl to the project's WEB-INF\lib directory. +> > ![http://jsf-flex.googlecode.com/svn/wiki/copyJarsToWebInfDirEclipseJBoss42.jpg](http://jsf-flex.googlecode.com/svn/wiki/copyJarsToWebInfDirEclipseJBoss42.jpg) + 1. Then you are done. Have fun! + +If you wish to use Facelet for JSF Flex components, please refer to the following Wiki page in modifying web.xml and faces-config.xml files : [FaceletQuickStart](FaceletQuickStart.md). Note that Facelet support is being started from 0.7 version onwards, so it may have some quirks within this version. \ No newline at end of file diff --git a/EclipseJBossQuickStart6.md b/EclipseJBossQuickStart6.md new file mode 100644 index 00000000..95118b2c --- /dev/null +++ b/EclipseJBossQuickStart6.md @@ -0,0 +1,158 @@ +# Introduction # + +This page contains brief overview in importing the project into Eclipse 3.6.x for JBoss 6.0. + + +# Details # + +## Importing the generated WAR artifact ## +Follow the usual path of importing a WAR file. +![http://jsf-flex.googlecode.com/svn/wiki/importWarEclipseJBoss60.jpg](http://jsf-flex.googlecode.com/svn/wiki/importWarEclipseJBoss60.jpg) + +## Importing the Jar artifacts for a Dynamic Web Project ## +# First create the Dynamic Web Project with the default Configuration for JBoss 6.0 +> ![http://jsf-flex.googlecode.com/svn/wiki/createNewDynamicWebProjectEclipseJBoss60.jpg](http://jsf-flex.googlecode.com/svn/wiki/createNewDynamicWebProjectEclipseJBoss60.jpg) + 1. Then configure the project with JSF 2.0 impl + * Select the project and right click. + * Select the Properties option. + * Select Project Facets and click on `JavaServer` Faces with version 2.0. + * Click on Further configuration required. + * Select the default **Server Supplied JSF Implementation** + * If one wishes to use a different JSF impl than the one provided from the Server `[i.e. MyFaces]`, provide the impl Jars within the WEB-INF/lib directory and add the following within the web.xml : +``` + + org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL + true + +``` +> > > Then JBoss will use the implementation within the classpath of the project rather than from its default/provided impl. + * Add additional URL Mapping Patterns for `FacesServlet with /jsfFlexHttpServiceRequestListener/* and *.jsf.` +> > > ![http://jsf-flex.googlecode.com/svn/wiki/projectFacetsEclipseJBoss60.jpg](http://jsf-flex.googlecode.com/svn/wiki/projectFacetsEclipseJBoss60.jpg) +> > > ![http://jsf-flex.googlecode.com/svn/wiki/settingJsf12BasePropertiesEclipseJBoss42.jpg](http://jsf-flex.googlecode.com/svn/wiki/settingJsf12BasePropertiesEclipseJBoss42.jpg) + 1. Then modify web.xml by adding the following content : +``` + + + javax.faces.FACELETS_VIEW_MAPPINGS + *.xhtml + + + + + + facelets.DEVELOPMENT + true + + + + org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL + true + + + + Comma separated list of URIs of (additional) faces config files. (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2, 10.3.2 Attention: You may not put /WEB-INF/faces-config.xml in here. + + javax.faces.CONFIG_FILES + /WEB-INF/examples-config.xml + + + + State saving method: "client" or "server" (= default) + See JSF Specification 2.5.3 + javax.faces.STATE_SAVING_METHOD + server + + + + + + + + + The relative web context path for the locale resources, if being used for multilingual application + + com.googlecode.jsfFlex.LocaleWebContextRelativePath + locale + + + + + The default locale + + com.googlecode.jsfFlex.DefaultLocale + en_US + + + + + For JSF Flex Flash To JavaScript Log Level, possible values are (Log, Debug, Info, Warn, Error). If the field is not provided, it will make a decision based on com.googlecode.jsfFlex.MODE with production being Error and non-production being Log. Specifically it is only allowed for Firebug unless the user uses Firebug Lite or has Dojo with debug set to true. + + com.googlecode.jsfFlex.FlashToJavaScriptLogLevel + Debug + + + + For JSF Flex build mode, possible values are (debugMode, productionMode [default]) + + com.googlecode.jsfFlex.MODE + debugMode + + + + + + jsfFlexResourceFilter + com.googlecode.jsfFlex.filter.JsfFlexResourceFilter + + + + + jsfFlexResourceFilter + *.jsf + + + + + jsfFlexResourceFilter + /jsfFlexResourceRequest/* + + + + + jsfFlexResourceFilter + /faces/* + +``` + 1. Copy the contents from "C:\jsfFlex\jsf-flex\examples\target\jsf-flex-examples\WEB-INF\lib" to the project's WEB-INF\lib directory. + +> > ![http://jsf-flex.googlecode.com/svn/wiki/copyJarsToWebInfDirEclipseJBoss60.jpg](http://jsf-flex.googlecode.com/svn/wiki/copyJarsToWebInfDirEclipseJBoss60.jpg) + 1. Then you are done. Have fun! \ No newline at end of file diff --git a/EclipseQuickStart.md b/EclipseQuickStart.md new file mode 100644 index 00000000..be628c77 --- /dev/null +++ b/EclipseQuickStart.md @@ -0,0 +1,13 @@ +# Introduction # + +Brief overview in importing the project to Eclipse IDE. + + +# Details # + + * Eclipse 3.4.x for artifacts prior to rewrite **0.5a**: + * [TomCat6.0](EclipseTomCatQuickStart.md) : this page contains info regarding importing the example WAR and adding the generated Jar artifacts to a new Dynamic Web Project. + * [JBoss4.2](EclipseJBossQuickStart.md) : this page contains info regarding importing the example WAR and adding the generated Jar artifacts to a new Dynamic Web Project. + * Eclipse 3.6.x for artifacts after the rewrite **0.5a**: + * [TomCat7.0](EclipseTomCatQuickStart7.md) : this page contains info regarding importing the example WAR and adding the generated Jar artifacts to a new Dynamic Web Project. + * [JBoss6.0](EclipseJBossQuickStart6.md) : this page contains info regarding importing the example WAR and adding the generated Jar artifacts to a new Dynamic Web Project. \ No newline at end of file diff --git a/EclipseTomCatQuickStart.md b/EclipseTomCatQuickStart.md new file mode 100644 index 00000000..73cc768f --- /dev/null +++ b/EclipseTomCatQuickStart.md @@ -0,0 +1,69 @@ +# Introduction # + +This page contains brief overview in importing the project into Eclipse 3.4.0 for Tomcat 6.0 + +# Details # + +## Importing the generated WAR artifact ## +Follow the usual path of importing a WAR file. + +![http://jsf-flex.googlecode.com/svn/wiki/importWarEclipseTomCat60.jpg](http://jsf-flex.googlecode.com/svn/wiki/importWarEclipseTomCat60.jpg) + +## Importing the Jar artifacts for a Dynamic Web Project ## + 1. First create the Dynamic Web Project with the default Configuration for Tomcat 6.0 {technically can set it to JSF 1.2 here, but will go with this path}. +> > ![http://jsf-flex.googlecode.com/svn/wiki/createNewDynamicWebProjectEclipseTomCat60.jpg](http://jsf-flex.googlecode.com/svn/wiki/createNewDynamicWebProjectEclipseTomCat60.jpg) + 1. Then configure the project with JSF 1.2 impl + * Select the project and right click. + * Select the Properties option. + * Select Project Facets and click on `JavaServer` Faces with version 1.2. + * Click on Further configuration required. + * Select the JSF Libraries {can choose the Mojarra 1.2 or `MyFaces` 1.2 impl}, for the example chose the Mojarra 1.2 impl as it is Sun's impl. For simplicity, took the jsf-api + jsf-impl from the "C:\jsfFlex\jsf-flex\examples\target\jsf-flex-examples\WEB-INF\lib" directory. + * Add additional URL Mapping Patterns for `FacesServlet` with `/jsfFlexHttpServiceRequestListener/* and *.jsf`. +> > > ![http://jsf-flex.googlecode.com/svn/wiki/projectFacetsEclipseTomCat60.jpg](http://jsf-flex.googlecode.com/svn/wiki/projectFacetsEclipseTomCat60.jpg) +> > > ![http://jsf-flex.googlecode.com/svn/wiki/settingJsf12BasePropertiesEclipseTomCat60.jpg](http://jsf-flex.googlecode.com/svn/wiki/settingJsf12BasePropertiesEclipseTomCat60.jpg) + 1. Then modify web.xml by adding the following content : +``` + + + For JSF Flex Flash To JavaScript Log Level, possible values are (Log, Debug, Info, + Warn, Error) If the field is not provided, it will make a decision based on + com.googlecode.jsfFlex.MODE with production being Error and non-production being Log + + com.googlecode.jsfFlex.FlashToJavaScriptLogLevel + Info + + + + + For JSF Flex build mode, possible values are (debugMode, simplySwfMode, productionMode + [default]) + + com.googlecode.jsfFlex.MODE + debugMode + + + + jsfFlexResourceFilter + com.googlecode.jsfFlex.filter.JsfFlexResourceFilter + + + + + jsfFlexResourceFilter + *.jsf + + + + + jsfFlexResourceFilter + /jsfFlexResourceRequest/* + +``` + 1. Copy the contents from "C:\jsfFlex\jsf-flex\examples\target\jsf-flex-examples\WEB-INF\lib" minus the jsf api + jsf impl to the project's WEB-INF\lib directory. + +> > ![http://jsf-flex.googlecode.com/svn/wiki/copyJarsToWebInfDirEclipseTomCat60.jpg](http://jsf-flex.googlecode.com/svn/wiki/copyJarsToWebInfDirEclipseTomCat60.jpg) + 1. Then you are done. Have fun! + +If you wish to use Facelet for JSF Flex components, please refer to the following Wiki page in modifying web.xml and faces-config.xml files : [FaceletQuickStart](FaceletQuickStart.md). Note that Facelet support is being started from 0.7 version onwards, so it may have some quirks within this version. \ No newline at end of file diff --git a/EclipseTomCatQuickStart7.md b/EclipseTomCatQuickStart7.md new file mode 100644 index 00000000..462bb12d --- /dev/null +++ b/EclipseTomCatQuickStart7.md @@ -0,0 +1,149 @@ +# Introduction # + +This page contains brief overview in importing the project into Eclipse 3.6.x for Tomcat 7.0 + + +# Details # +Follow the usual path of importing a WAR file. + +![http://jsf-flex.googlecode.com/svn/wiki/importWarEclipseTomCat70.jpg](http://jsf-flex.googlecode.com/svn/wiki/importWarEclipseTomCat70.jpg) + +## Importing the Jar artifacts for a Dynamic Web Project ## + 1. First create the Dynamic Web Project with the default Configuration for Tomcat 7.0. +> > ![http://jsf-flex.googlecode.com/svn/wiki/createNewDynamicWebProjectEclipseTomCat70.jpg](http://jsf-flex.googlecode.com/svn/wiki/createNewDynamicWebProjectEclipseTomCat70.jpg) + 1. Then configure the project with JSF 2.0 impl + * Select the project and right click. + * Select the Properties option. + * Select Project Facets and click on `JavaServer Faces` with version 2.0. + * Click on Further configuration required. + * Select the JSF Libraries `[can choose the Mojarra 2.0 or MyFaces 2.0 impl]`, for the example chose the `MyFaces` 2.0 impl. For simplicity, took the artifacts from the WAR download. + * Add additional URL Mapping Patterns for `FacesServlet with /jsfFlexHttpServiceRequestListener/* and *.jsf`. +> > > ![http://jsf-flex.googlecode.com/svn/wiki/projectFacetsEclipseTomCat70.jpg](http://jsf-flex.googlecode.com/svn/wiki/projectFacetsEclipseTomCat70.jpg) +> > > ![http://jsf-flex.googlecode.com/svn/wiki/settingJsf12BasePropertiesEclipseTomCat70.jpg](http://jsf-flex.googlecode.com/svn/wiki/settingJsf12BasePropertiesEclipseTomCat70.jpg) + 1. Then modify web.xml by adding the following content : +``` + + + javax.faces.FACELETS_VIEW_MAPPINGS + *.xhtml + + + + + + facelets.DEVELOPMENT + true + + + + org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL + true + + + + Comma separated list of URIs of (additional) faces config files. (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2, 10.3.2 Attention: You may not put /WEB-INF/faces-config.xml in here. + + javax.faces.CONFIG_FILES + /WEB-INF/examples-config.xml + + + + State saving method: "client" or "server" (= default) + See JSF Specification 2.5.3 + javax.faces.STATE_SAVING_METHOD + server + + + + + + + + + The relative web context path for the locale resources, if being used for multilingual application + + com.googlecode.jsfFlex.LocaleWebContextRelativePath + locale + + + + + The default locale + + com.googlecode.jsfFlex.DefaultLocale + en_US + + + + + For JSF Flex Flash To JavaScript Log Level, possible values are (Log, Debug, Info, Warn, Error). If the field is not provided, it will make a decision based on com.googlecode.jsfFlex.MODE with production being Error and non-production being Log. Specifically it is only allowed for Firebug unless the user uses Firebug Lite or has Dojo with debug set to true. + + com.googlecode.jsfFlex.FlashToJavaScriptLogLevel + Debug + + + + For JSF Flex build mode, possible values are (debugMode, productionMode [default]) + + com.googlecode.jsfFlex.MODE + debugMode + + + + + + jsfFlexResourceFilter + com.googlecode.jsfFlex.filter.JsfFlexResourceFilter + + + + + jsfFlexResourceFilter + *.jsf + + + + + jsfFlexResourceFilter + /jsfFlexResourceRequest/* + + + + + jsfFlexResourceFilter + /faces/* + +``` + 1. Copy the contents from "C:\jsfFlex\jsf-flex\examples\target\jsf-flex-examples\WEB-INF\lib" minus the JSF impl to the project's WEB-INF\lib directory. + +> > ![http://jsf-flex.googlecode.com/svn/wiki/copyJarsToWebInfDirEclipseTomCat70.jpg](http://jsf-flex.googlecode.com/svn/wiki/copyJarsToWebInfDirEclipseTomCat70.jpg) + 1. Then you are done. Have fun! \ No newline at end of file diff --git a/FaceletQuickStart.md b/FaceletQuickStart.md new file mode 100644 index 00000000..f0e08d7b --- /dev/null +++ b/FaceletQuickStart.md @@ -0,0 +1,132 @@ +# Introduction # + +This page contains a brief overview in changing web.xml and faces-config.xml files to use Facelet for JSF Flex components. It is assumed that one already has a JSF project that has JSP as its default view handler and that one is using standard .xhtml files as Facelet extension. + +# Details # + + 1. First modify web.xml file to include .xhtml extension as Facelet's view mapping : +``` + + facelets.VIEW_MAPPINGS + *.xhtml + +``` + 1. Then one needs to have a mapping so that `FacesServlet` and `JsfFlexResourceFilter` handles the requests of .xhtml files, so add the following within web.xml : +``` + + jsfFlexResourceFilter + /faces/* + + + + Faces Servlet + /faces/* + +``` + 1. Finally modify faces-config.xml file to include Facelet View Handler : +``` + + + en + + com.sun.facelets.FaceletViewHandler + +``` + +That is it and here are examples for referring to .jsp with the default JSP view handler and .xhtml with the Facelet view handler : +|View Handler|Sample URL| +|:-----------|:---------| +|JSP |`http://localhost:8081/jsf-flex-examples/mxmlIndex.jsf`| +|Facelet using XHTML|`http://localhost:8081/jsf-flex-examples/faces/mxmlIndex.xhtml`| + +For ease, here is the content for the complete web.xml file : +``` + + + + + facelets.VIEW_MAPPINGS + *.xhtml + + + + Comma separated list of URIs of (additional) faces config files. + (e.g. /WEB-INF/my-config.xml) + See JSF 1.0 PRD2, 10.3.2 + Attention: You may not put /WEB-INF/faces-config.xml in here. + + javax.faces.CONFIG_FILES + /WEB-INF/examples-config.xml + + + State saving method: "client" or "server" (= default) + See JSF Specification 2.5.3 + javax.faces.STATE_SAVING_METHOD + server + + + + + For JSF Flex Flash To JavaScript Log Level, possible values are (Log, Debug, Info, Warn, Error) If the field is not provided, it will make a decision based on com.googlecode.jsfFlex.MODE with production being Error and non-production being Log + + com.googlecode.jsfFlex.FlashToJavaScriptLogLevel + Info + + + + For JSF Flex build mode, possible values are (debugMode, simplySwfMode, productionMode [default]) + + com.googlecode.jsfFlex.MODE + debugMode + + + + jsfFlexResourceFilter + com.googlecode.jsfFlex.filter.JsfFlexResourceFilter + + + + + jsfFlexResourceFilter + *.jsf + + + + + jsfFlexResourceFilter + /jsfFlexResourceRequest/* + + + + + jsfFlexResourceFilter + /faces/* + + + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + + + + Faces Servlet + *.jsf + + + + + Faces Servlet + /jsfFlexHttpServiceRequestListener/* + + + + + Faces Servlet + /faces/* + + + +``` \ No newline at end of file diff --git a/InterestingComponents.md b/InterestingComponents.md new file mode 100644 index 00000000..ef68317d --- /dev/null +++ b/InterestingComponents.md @@ -0,0 +1,12 @@ +#Main page of interesting components of the project. + +# Introduction # + +This page provides couple of interesting components for the project. + + +# Details # + + * [DataGrid with server side augmented features](RemoteDataGrid.md) + * [Server side listener to components' property and data updates](AsyncPropDataUpdateListener.md) + * [to allow user to create any possible missing Flex components that are not included within the project](AdditionalComponents.md) \ No newline at end of file diff --git a/JSFFlexActionScriptAttributesEclipsePlugin.md b/JSFFlexActionScriptAttributesEclipsePlugin.md new file mode 100644 index 00000000..e22a1e6d --- /dev/null +++ b/JSFFlexActionScriptAttributesEclipsePlugin.md @@ -0,0 +1,17 @@ +# Introduction # + +Brief overview of the `ActionScript` Attributes Eclipse Plugin. + + +# Details # + + 1. First thing to do is download the plugin from the Downloads link and place it within the Eclipse's plugins directory `[i.e. C:\Program Files\eclipse\helios\plugins]`. + 1. Then launch the Eclipse Plugin with `"C:\Program Files\eclipse\helios\eclipse.exe" -clean` to clean out the plugin cache. + 1. Then allow the plugin to fetch the content from internet by checking the check box +> > ![http://jsf-flex.googlecode.com/svn/wiki/JsfFlexASAttrPluginPreference.jpg](http://jsf-flex.googlecode.com/svn/wiki/JsfFlexASAttrPluginPreference.jpg) + 1. Afterwards one should be able to see the following within the Main Menu when one has opened up the .xhtml file: +> > ![http://jsf-flex.googlecode.com/svn/wiki/JsfFlexASAttrPluginShowMenu.jpg](http://jsf-flex.googlecode.com/svn/wiki/JsfFlexASAttrPluginShowMenu.jpg) + 1. Then select a valid Flex component JSF Flex tag node and request the content to be fetched: +> > http://jsf-flex.googlecode.com/svn/wiki/JsfFlexASAttrPluginClassViewMenu.JPG + 1. Then one should be able to see the results after it has fetched all the content and parsed the content into its data objects: +![http://jsf-flex.googlecode.com/svn/wiki/JsfFlexASAttrPluginClassViewResult.jpg](http://jsf-flex.googlecode.com/svn/wiki/JsfFlexASAttrPluginClassViewResult.jpg) \ No newline at end of file diff --git a/JSFFlexBuildSystemInfo.md b/JSFFlexBuildSystemInfo.md new file mode 100644 index 00000000..389b5e0f --- /dev/null +++ b/JSFFlexBuildSystemInfo.md @@ -0,0 +1,18 @@ +# Introduction # + +This page provides a quick overview regarding the project's build system. + +# Details # + +## Methods of triggering different artifacts/dependencies for the project ## + * **mvn install** will provide default artifacts with: + * `_CommonTaskRunner` sdkStandardCommonTaskRunnerImpl + * `_FileManipulatorTaskRunner` velocityFileManipulatorTaskRunnerImpl + * `_FlexTaskRunner` antFlexTaskRunnerImpl +> > and will utilize JSF 2.0 with `MyFaces` implementation. + * **mvn install** `-Djsf=mojarra` will provide the examples artifact with Mojarra 2.0 implementation. + * **mvn install** `-DtimestampAppend=true` will append timestamp to examples artifact for uploading to the Downloads. + +**Hopefully below is deprecated** + +Providing a quick note here for mvn deploy. Since the latest work for Mojarra is held within Dev Java Net, during development this repository will be added to pom.xml. However, when one is deploying the code for a tag, one must remove the inserted Dev Java Net repository, since only the public/standard repository is recognized for the deploy action. This means that hopefully the JSF 2.0 API + IMPL of Mojarra will be deployed to the public/standard repository in the future or there will be tweaking of Maven to allow additional repository within pom.xml for deploy. \ No newline at end of file diff --git a/JSFFlexComponentInfo.md b/JSFFlexComponentInfo.md new file mode 100644 index 00000000..c6e9763a --- /dev/null +++ b/JSFFlexComponentInfo.md @@ -0,0 +1,22 @@ +# Introduction # + +Brief overview regarding JSF Flex components for JSF Flex project. + +# Details # + +## Components ## +JSF Flex project contains concrete JSF component for each Flex component. + +Each of the JSF component that needs to preserve the value will have the following syntax of values checked during the decode process + +`_ {i.e. for List _selectedIndex}. For certain components there will be a set of ids sent to the decode process {i.e. RadioButton component has two values checked during the JSF decode process { _selectedValue and _selected }.` + +Exception to the above case is to components that require large amounts of data ` {i.e. DataGrid component} ` and for these components data will be synchronized to the managed beans using asynchronous calls through Actionscript. + +JSF Flex project utilizes the myfaces build plugIn which automatically creates : + * the concrete class for each abstract class of JSF component + * the tag class for each JSF component + * the tld file + * the facesconfig.xml for the configuration + +In order to view how to create such components, please refer to the current components within jsf-flex project. \ No newline at end of file diff --git a/JSFFlexDesign.md b/JSFFlexDesign.md new file mode 100644 index 00000000..70c5e3d6 --- /dev/null +++ b/JSFFlexDesign.md @@ -0,0 +1,19 @@ +# Introduction # + +Navigational page for JSF Flex design + +# Details # + +## Page Listings ## + * [QuickStart](QuickStart.md) page contains info regarding importing the project to various IDE. + * [JSFFlexProcess](JSFFlexProcess.md) page contains info regarding the process of JSF Flex project. + * [JSFFlexMavenProjects](JSFFlexMavenProjects.md) page contains info regarding the maven projects of JSF Flex project. + * [JSFFlexBuildSystemInfo](JSFFlexBuildSystemInfo.md) page contains info regarding the project's build system. + * [ComponentTagsBondableFieldsInfo](ComponentTagsBondableFieldsInfo.md) page contains info regarding the bondable fields of JSF Flex project's component tags. + * [RDDL document](http://jsf-flex.googlecode.com/svn/wiki/jsf-flex.xhtml). Technically the url should be changed to reflect the location of this file {rather than http://jsf-flex.googlecode.com}. + +The project itself has been componentized tremendously in order to provide : + * flexibility in choosing the implementation preferred {i.e. if the institution using this component library only allows ANT implementation, one should choose `antFlexTaskRunnerImpl` as the project for implementing `_FlexTaskRunner` interface} + + +The choice of implementation is driven through arguments when executing the mvn build. \ No newline at end of file diff --git a/JSFFlexMavenProjects.md b/JSFFlexMavenProjects.md new file mode 100644 index 00000000..8fdcbad1 --- /dev/null +++ b/JSFFlexMavenProjects.md @@ -0,0 +1,63 @@ +# Introduction # + +This page will contain brief info regarding the maven projects of JSF Flex. + + +# Details # + + +## jsf-flex-build-plugIn ## +A plug-in project that : + * utilizes qdox open source project to inspect the `JavaDocs` in order to generate replaceMapping XML for jsf-flex/renderKit14 project `[`**deprecated**`]`. + * generates componentValueMapper.xml for jsf-flex-shared/core project by inspecting the `JavaDocs` or annotations for renderKit14 **deprecated** project or renderKit15 project respectively. + * generates jsfFlexMainSwcConfigurationFile.xml by inspecting `@ISwcActionScriptFile` annotation + + +## jsf-flex/core ## +Contains code pertinent to JSF components. Since the project uses myfaces plug-in, tld, faces\_config.xml, tagClass, and etcetera are created during build time. + + +## jsf-flex/core-mojarra-impl **deprecated** ## +Contains following list of classes specific to Mojarra impl as MXML\_BASIC renderkit needs to wrap HTML\_BASIC renderKit `[in order to allow mixing of MXML + HTML components`], but there exists a difference in how Mojarra + `MyFaces` impl adds HTML\_BASIC renderkit to the factory : + * MXMLRenderKitFactoryImplWrapper.java + * MXMLRenderKitImpl.java + * MXMLRenderKitImplWrapper.java + * MXMLResponseStatemanagerImpl.java + * MXMLResponseWriterImpl.java + + +## jsf-flex/core-myFaces-impl **deprecated** ## +Contains following list of classes specific to `MyFaces` impl as MXML\_BASIC renderkit needs to wrap HTML\_BASIC renderKit `[in order to allow mixing of MXML + HTML components]`, but there exists a difference in how Mojarra + `[MyFaces]` impl adds HTML\_BASIC renderkit to the factory : + * MXMLRenderKitFactoryImplWrapper.java + * MXMLRenderKitImpl.java + * MXMLRenderKitImplWrapper.java + * MXMLResponseStatemanagerImpl.java + * MXMLResponseWriterImpl.java + + +## jsf-flex/examples ## +A WAR project containing sample jsf pages for the project. + +## jsf-flex-shared ## +A project containing shared resource for other projects. Will also contain system Actionscript files. + +## runnerImpl/commonTaskRunnerImpl ## +Contains projects that implement the `_CommonTaskRunner` interface used by jsf-flex-shared/core `[i.e. sdkStandardCommonTaskRunnerImpl project]`. There exists a task to unzip the Flex SDK to user's environment. One thing to note, `StubStandardCommonTaskRunnerImpl` should be only used when one does not wish to go through the painful process of unzipping the `flexSDK`, though it has been partitioned into smaller files it still takes a bit of time. + +## runnerImpl/fileManipulatorTaskRunnerImpl ## +Contains projects that extends the `_FileManipulatorTaskRunner` abstract class used by jsf-flex-shared/core `[i.e. velocityFileManipulatorTaskRunnerImpl project]`. There exist various tasks for file manipulations `[i.e. creation of preMxml and etcetera]`. + +## runnerImpl/flexTaskRunnerImpl ## +Contains projects that implement the `_FlexTaskRunner` interface used by jsf-flex-shared/core `[i.e. antFlexTaskRunnerImpl project]`. There exist various tasks for the project `[i.e. createSwf and etcetera]`. + +## jsf-flex/renderKit14 JRE < 1.5 **deprecated** ## +For renderKit14, during the build time documentation for java files will be inspected by the JSF Flex plug-in and will generate replaceMapping XML files that will be parsed to check which fields to inspect and how to fetch these fields from the JSF component `[by attribute map or by method invocation]. Contains an implementation of _AnnotationDocletParser interface used by jsf-flex-shared/core for fetching the fields from the JSF component, AnnotationDocletParser14Impl]` + +## jsf-flex/renderKit15 JRE > 1.4 ## +Since these components are suppose to be used for JRE >= 1.5, the attributes will be fetched during runtime through Java annotation and will not require JSF Flex plug-in during build time. Contains an implementation of `_AnnotationDocletParser` interface used by jsf-flex-shared/core for fetching the fields from the JSF component, `AnnotationDocletParser15Impl`. + +## jsf-flex/annotations JRE > 1.4 ## +This maven project contains the annotations from other maven projects, such as from jsf-flex/renderKit15 maven project. + +## jsf-flex-eclipse-plugIn ## +This project contains sub projects with reference to Eclipse plugin for the project. \ No newline at end of file diff --git a/JSFFlexProcess.md b/JSFFlexProcess.md new file mode 100644 index 00000000..318014eb --- /dev/null +++ b/JSFFlexProcess.md @@ -0,0 +1,26 @@ +# Introduction # + +Brief overview of JSF Flex Process + + +# Details # + 1. Set the renderKitId to FLEX\_BASIC for the view. + 1. All Flex components must be nested within `` tag as it is the top component and this tag must be nested within `` tag. + 1. Template files `[a.k.a. preMxml files]` will be created by implementation of `_FileManipulatorTaskRunner` java file with default being `VelocityFileManipulatorTaskRunnerImpl`. These templates known as preMxml file will be created per component. Attributes will be added to these preMxml files by inspecting nested `` tags for the component tag. + 1. Necessary source files will be created to their respective directory, such as + * SWC file containing the system's code + * SWF library from generated SWC file + * XML file{s} that is/are needed by the SWC. + * Extraction of Flex SDK + * Invocation of copyLocale + 1. After all the component's preMxml within `` have been created, MXML file and SWF file will be created by implementation of interface `_FlexTaskRunner`, default is `AntFlexTaskRunnerImpl`. One additional thing to note is that mxmlPackageName attribute for `` tag will be used to name the MXML file and the application SWF file. + 1. Also `` will create JSON objects which will be rendered onto the page for initial values of the Flex components. The reason for this is because `` has various modes : + * debugMode : meaning preMxml, MXML, and SWF files would be created in each run as well as JSON objects. + * productionEnv : meaning SWF file already exists, so nothing to do here but create JSON objects `[this is the default value to ensure that users do not run the components in either of the two other modes in an environment that is higher than dev]`. One thing to note is that all directories of `Webcontent/swf/*` should be copied to their corresponding directory within the Workspace during the move to higher env `[since the system uses servContext.getRealPath("") as the root directory of preMxml, MXML, and SWF directory and]` + * Tomcat on default for example flushes it out to their cache directory under metadata `[i.e. C:\OpenSource\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jsf-flex-examples]` + * JBoss on default for example flushes it out to their temp directory `[i.e. C:\Program Files\jboss-4.2.3.GA\server\default\tmp\deploy\tmp46689jsf-flex-examples.war]` +> > For large data components such as `DataGrid`, information will be passed from server, `JsfFlexHttpServicePhaseListener.java`, to client, `JsfFlexHttpService.as`. + 1. Uses Javascript during the onLoad time to connect all the Form's onsubmit event with pageUnload function. Also each Flex/Flash app will communicate back to the page when it has finished setting up on its side `[such as setting callBack methods and etcetera]`, JSON will be passed to the apps to set the initial values. So the values will be decoded `[for example htmlText allows XML tags and etcetera, so on the Java side there will be encoding and decoding on the Flex/Flash side]` and set to the component's values. + 1. During the form's onsubmit action, pageUnload will return false and make a call to Flex/Flash app to return the component's values to the page. When returned, nodes will be appended to the form that was in the process of submission and will submit the page. On the Flex/Flash side, there will be an Actionscript which will use E4X, love it, to look up within an XML file the property/attributes that the component must return as JSON objects to the page, so that the page can create the elements with their attributes as child nodes of the form element. + +One note regarding preMxml files. In order to keep everything simple and debugging easy, a simple method was chosen to create the preMxml files for each component. Namely the file with `__.pre_mxml` will be created per component within directory named `Webcontent/preMxml//`. So for instance, FlexUIApplication will have Major Num and Minor Num set to 0 and the first child of FlexUIApplication will have {1,0} set with it's sibling set to {1,1} and etcetera. \ No newline at end of file diff --git a/JSFFlexRendererInfo.md b/JSFFlexRendererInfo.md new file mode 100644 index 00000000..0d01c2d2 --- /dev/null +++ b/JSFFlexRendererInfo.md @@ -0,0 +1,35 @@ +# Introduction # + +Brief overview of JSF Flex Renderers + +# Details # + +## Overview ## +There are two maven projects for JSF Flex Renderers, namely renderKit14 and renderKit15, so to provide capability for JRE < 1.5 and JRE >= 1.5 {will let readers figure out which one is what =)}. The decision of which maven project gets linked with the examples project will be determined by the arguments passed during build time, but more on that later. + +## UIComponent field inspection ## + +### renderKit14 - deprecated from release-1.0.1b+ ### +For renderKit14, during the build time Javadocs will be inspected by the JSF Flex Plug-in to generate replaceMapping XML files that will be parsed during runtime to check which fields to inspect and how to fetch these fields from the sub-classes of UIComponent {by attribute map or by method invocation}. + +### renderKit15 ### +Since these components are suppose to be used for JRE >= 1.5, the attributes will be fetched during runtime through annotation and will not require JSF Flex Plug-in during build time. + +### Etcetera ### +In order to have a single entry point for retrieving these info for jsf-flex-shared-core project, each will implement `_AnnotationDocletParser` interface provided from the jsf-flex-shared-core project {i.e. renderKit14 will have +`AnnotationDocletParser14Impl` and renderKit15 will have `AnnotationDocletParser15Impl` }. Then during build time, the correct parameters will be set for the jsf-flex-shared-core's factory and will instantiate the correct implementation during runtime. + + +## Main points for JSF Flex Renderers ## +Main thing to note in terms of design for the renderers are the following : + * Classes which are not concrete, meaning `MXML.+TemplateRenderer` will mainly have a method called mapFields which is simply to inspect either the replaceMapping XML or annotation {depending on the JRE version} to retrieve the values from the sub-class of UIComponent during the JSF Flex's encodeBegin lifecycle. + * Concrete classes have a method createPreMxml which is to create the preMxml file with the responsibility of creating these files lie with implementations of `_FileManipulatorTaskRunner` interface {default being `VelocityFileManipulatorTaskRunnerImpl` }. The implementation choice for this interface and two other interfaces `_CommonTaskRunner` and `_FlexTaskRunner` are determined during the maven build process. + * `MXMLComponentBaseRenderer` class during the encodeEnd will write the body content of the component {i.e. MXMLScript} as long as the correct content is pushed to the attribute map. For an example, view the `MXMLUIScriptTag` within the jsf-flex project where the body content is pushed to the component's attribute map as MXMLConstants.TAG\_BODY\_CONTENT\_ATTR. + * MXMLApplicationRenderer is a special class that has an added responsibility during its encodeEnd to + * merge the preMxml files into a MXML file + * create SWC file for the system's library + * extract the SWF file from SWC for the shared resource of all application SWF files + * flush necessary resources {i.e. componentValueMapper.xml} for the system's library to the correct directory + * extract the flexSDK to the correct directory + * create the application's SWF file {for multilingual application will create a SWF file for each locale}. + * will invoke copyLocale if the application is multilingual **for release-1.0.1b+** \ No newline at end of file diff --git a/JSFFlexTldContent.md b/JSFFlexTldContent.md new file mode 100644 index 00000000..81654792 --- /dev/null +++ b/JSFFlexTldContent.md @@ -0,0 +1,9 @@ +# Introduction # + +This page, as requested, will contain links to tld content for jsf-flex artifacts. + + +# Details # + + * [JSF Flex 0.5 Alpha](http://jsf-flex.googlecode.com/svn/wiki/jsf-flex-taglib-0.5a.xml) + * [JSF Flex 1.0 Beta](http://jsf-flex.googlecode.com/svn/wiki/jsf-flex-tld-content-1.0b.xml) **deprecated** \ No newline at end of file diff --git a/JsfFlexASAttrPluginClassViewMenu.JPG b/JsfFlexASAttrPluginClassViewMenu.JPG new file mode 100644 index 00000000..2ac52c9b Binary files /dev/null and b/JsfFlexASAttrPluginClassViewMenu.JPG differ diff --git a/JsfFlexASAttrPluginClassViewResult.jpg b/JsfFlexASAttrPluginClassViewResult.jpg new file mode 100644 index 00000000..a281e09f Binary files /dev/null and b/JsfFlexASAttrPluginClassViewResult.jpg differ diff --git a/JsfFlexASAttrPluginPreference.jpg b/JsfFlexASAttrPluginPreference.jpg new file mode 100644 index 00000000..2ec7b6e9 Binary files /dev/null and b/JsfFlexASAttrPluginPreference.jpg differ diff --git a/JsfFlexASAttrPluginShowMenu.jpg b/JsfFlexASAttrPluginShowMenu.jpg new file mode 100644 index 00000000..0ad35740 Binary files /dev/null and b/JsfFlexASAttrPluginShowMenu.jpg differ diff --git a/JsfFlexMavenRepo.md b/JsfFlexMavenRepo.md new file mode 100644 index 00000000..552cf2d2 --- /dev/null +++ b/JsfFlexMavenRepo.md @@ -0,0 +1,93 @@ +# Introduction # + +This page will provide a brief overview in referencing JSF Flex project's repository into a maven build system. + +# Details # + +## Insertion of JSF Flex Repository ## +First one needs to add JSF Flex project's repository into Maven's pom.xml. Here is the release repo : + +``` + + + jsf-flex-repository + JSF Flex Repository + http://jsf-flex.googlecode.com/svn/repository/release/ + + +``` + +## Needed JSF Flex artifacts ## +Next one needs to insert the needed artifacts within Maven's pom.xml : + +``` + + + + + com.googlecode.jsf-flex.jsf-flex-project + jsf-flex + ${jsf.flex.version} + runtime + + + + com.googlecode.jsf-flex.jsf-flex-project + jsf-flex-project-renderKit14 + ${jsf.flex.version} + runtime + + + + + + com.googlecode.jsf-flex.runner-impl-project.common-runner-project + + sdk-standard-common-impl + ${jsf.flex.version} + runtime + + + + com.googlecode.jsf-flex.runner-impl-project.file-manipulator-runner-project + + velocity-file-manipulator-impl + ${jsf.flex.version} + runtime + + + + com.googlecode.jsf-flex.runner-impl-project.flex-runner-project + + ant-flex-impl + ${jsf.flex.version} + runtime + + + + + com.googlecode.jsf-flex.jsf-flex-project + jsf-flex-myFaces-impl + ${jsf.flex.version} + runtime + + + + + com.googlecode.jsf-flex.jsf-flex-project + jsf-flex-mojarra-impl + ${jsf.flex.version} + runtime + + + + + + 1.0b + + +``` + +Note that one needs one dependency of either **jsf-flex-myFaces-impl** artifact or **jsf-flex-mojarra-impl** artifact. The reason is to provide capability in using other renderKits such as HTML\_BASIC when user is using MXML\_BASIC, but there exists a difference in `MyFaces` + Mojarra implementation. If I remember correctly, the latter implementation adds the HTML\_BASIC renderkit within the constructor, so must extend the class {there are other methods, but chose this option}. + +That is it!!! \ No newline at end of file diff --git a/LocaleQuickStart.md b/LocaleQuickStart.md new file mode 100644 index 00000000..82ec171c --- /dev/null +++ b/LocaleQuickStart.md @@ -0,0 +1,41 @@ +# Introduction # + +This page contains a brief overview in making JSF Flex application multilingual. Note at the current time Flex does not provide runtime access of Locale messages, meaning whenever there exists change within the .properties file one has to recreate the associated SWF files by changing **com.googlecode.jsfFlex.MODE** field to **debugMode** within web.xml + +# Details # + +Locale support for Flex is similar to Java, so the main point of this Wiki page will be to point out the specifics for JSF Flex application. + + 1. First, one would need to add fields within web.xml file : +``` + + + The relative web context path for the locale resources, if being used for + multilingual application + + com.googlecode.jsfFlex.LocaleWebContextRelativePath + locale + + + + + The default locale + + com.googlecode.jsfFlex.DefaultLocale + en_US + + +``` +> > The fields are rather self explanatory, but for clarity + * the first field represents the relative directory to `WebContent/` that will contain {Locale}.properties file. Here is the screen shot of example War's directory structure : +> > > ![http://jsf-flex.googlecode.com/svn/wiki/localeDirectoryStructure.jpg](http://jsf-flex.googlecode.com/svn/wiki/localeDirectoryStructure.jpg) + * the second field represents the default locale to be used if the requested locale by the user is not found {i.e. if the application supports english + spanish and the user's browser setting is for german, it will default to english}. + 1. Then one will add the property files to their respective directory and run the application under debugMode to create each locale's respective SWF file. Following is an example for `LocaleExample.properties` : +``` + +``` + +That is it. When ran under debugMode, respective SWF files will be created under its respective directory and depending on the user's browser setting the correct Locale SWF file will be fetched : + * en\_US : mxmlOverallExample-en\_US.swf + * es\_ES : mxmlOverallExample-es\_ES.swf + * ko\_KR : mxmlOverallExample-ko\_KR.swf \ No newline at end of file diff --git a/M2_Repo_ClasspathVariable.jpg b/M2_Repo_ClasspathVariable.jpg new file mode 100644 index 00000000..070de006 Binary files /dev/null and b/M2_Repo_ClasspathVariable.jpg differ diff --git a/ProjectBuild.md b/ProjectBuild.md new file mode 100644 index 00000000..b757c13f --- /dev/null +++ b/ProjectBuild.md @@ -0,0 +1,36 @@ +# Introduction # + +This page will contain a brief overview of building the JSF Flex code and importing the projects into an Eclipse IDE. + +# Details # + +## Checking out/Extracting the resources from repository ## + 1. Check out/extract the resources from https://jsf-flex.googlecode.com/svn/trunk/ or http://jsf-flex.googlecode.com/svn/trunk/ to a folder within the local system `[i.e. C:\jsfFlexProject]` + +## Importing the project into Eclipse IDE ## + 1. Run **mvn install** within the resource directory `[i.e. C:\jsfFlexProject]` + 1. Then in the folder where the resources were checked out from, simply run the following command to enable importing of the projects into an Eclipse IDE + * mvn -D wtpversion= eclipse:eclipse + +This should be enough to import the projects into Eclipse IDE. + + * Create a new workspace : + * File => Import => Existing Projects into Workspace + * Select the folder where the resources were checked out to `[i.e. C:\jsfFlexProject]` + * Finally add the "M2\_REPO" Classpath variable within the workspace by entering the following : + * Window => Preferences => Java => Build Path => Classpath Variables + * M2\_REPO as variable and value as the maven2 repository `[for me it was "C:/Documents and Settings/Administrator/.m2/repository"]` + +> ![http://jsf-flex.googlecode.com/svn/wiki/importProjects.jpg](http://jsf-flex.googlecode.com/svn/wiki/importProjects.jpg) + +> ![http://jsf-flex.googlecode.com/svn/wiki/M2_Repo_ClasspathVariable.jpg](http://jsf-flex.googlecode.com/svn/wiki/M2_Repo_ClasspathVariable.jpg) + +## Testing the example pages ## +Simply import the generated War file into the workspace. + +## Building after code modification ## +Whenever modification of the code is done and one wishes to create the Jar + War of the projects, simply run **mvn clean** then **mvn install** within the directory where the resources are checked out at `[i.e. C:\jsfFlexProject]`. Technically you should be able to run **mvn clean install**, but creating of the component, tags, and etcetera takes a bit of memory using the myfaces build plugIn, so it is best to run it as a separate transaction. Currently the build system is set to have max memory at 1024, but if needed in the future will modify it `[though technically the desire is NOT to]`. Additional info regarding building with different implementation can be found within the following wiki page [JSFFlexBuildSystemInfo](JSFFlexBuildSystemInfo.md). + +## Directories of important artifacts ## + 1. Jar file of respective projects `[C:\jsfFlexProject\{project}\core\target]` + 1. War file of an example `[C:\jsfFlexProject\jsfFlex\examples\target]` \ No newline at end of file diff --git a/ProjectHome.md b/ProjectHome.md new file mode 100644 index 00000000..18a2ed17 --- /dev/null +++ b/ProjectHome.md @@ -0,0 +1,67 @@ +**Abstract** + +**For ref, due to HTML5's ever growing presence I personally don't see much future with Flex."** + +JSF Flex's main goals are : + * Provide users capability in creating standard Flex components as JSF components `[`note dynamic charts and some other components are not part of standard Flex SDK`]`. By doing so users can be ignorant to Flash and Actionscript as the project will create the necessary content to bind the client side to the server side. For example in order to create a `s:TextInput` component `[`note that there exists an attribute nameSpaceOverride in case one wishes to use the other namespace, namely mx for now`]` all one would need to do is utilize the jf:flexTextInput tag and bind text attribute to a server managed bean. Then the project will create the necessary MXML, SWC, SWF files and etcetera and link the values of the components back to the managed beans using JSON+Javascript and Actionscript. Also since renderKitId FLEX\_BASIC's renderKit wraps other renderKits, one would be able to use other renderers from other renderKits within the same view `[`i.e. HTML\_BASIC`]`. + * Support Locale for the Flex components using the familiar Locale directory/properties of web applications. For example, by providing: + * the following value to a JSF Flex tag's proper attribute `"@Resource(bundle='LocaleExample', key='greeting')"` + * usual Locale directory setup for web applications + * a config within web.xml dictating the relative path of the Locale directory to `WebContent` +> > the project will pull the content from the .properties file, utilize it for Flex SDK's copylocale command, and will create corresponding SWF files `[`one for each Locale`]`. Then it will use the proper SWF file based on the Locale of each request. + * Augment certain Flex components to allow proper usage with web applications. Following is a wiki page that provides a brief overview of some of the interesting augmented components [InterestingComponents](InterestingComponents.md). For example, `DataGrid` component was augmented: + * Allowing users to fetch data from the server side in small partitions with standard JEE data binding. + * Allowing drag + drop from one Grid to an another when the Grid was remote. + * Allowing filtering of the server's grid content by + * first filtering until the requested partition size of the data has been returned to the client + * then partitioning the remaining data set into smaller chunks with each chunk being spanned off in its own thread for filtering + * finally having them joined at the end + * Allow integration of events from the client side to the server. For example jf:flexAsynchronousPropertyUpdateEventListener tag allows user to listen to certain events `[`i.e. change`]` and when the event is dispatched an asynchronous call would be made to the server side which will receive the changed value and return a value which will be utilized to update the Flex component. + * Provide tools for better usage of the framework. For example there does exist an Eclipse plugin where if enabled will allow user to fetch the attribute listing of a corresponding Flex component to the selected JSF FLex's tag. [JSFFlexActionScriptAttributesEclipsePlugin](JSFFlexActionScriptAttributesEclipsePlugin.md) + * And etcetera + +There exists couple of configurations that one can enable for the application and they have been listed within the example WAR's web.xml. + +Following is a Wiki page containing info of **JSF Flex project's Maven repo** which has been created on April 18th, 2009 : [JsfFlexMavenRepo](JsfFlexMavenRepo.md). + +The project aim is to support the following JSF implementations: + * `MyFaces` + * 1.2 + * 2.0 + * `Mojarra` + * 1.2 + * 2.0 + +**Quick Start** + +Following Wiki page contains info in importing the example WAR file and adding the project's Jar artifacts to a new Dynamic Web Project => [QuickStart](QuickStart.md). + +Since following information is so critical, it is being duplicated within the home page. When one is finished tweaking of creating the components/tags, one **MUST** change the com.googlecode.jsfFlex.MODE field within web.xml to productionMode to avoid the cost of creating preMxml, MXML, SWF, and etceteras. Also one should copy all the system generated directories under `Webcontent/swf/*` to their corresponding directory within the Workspace during the move to higher env `[since the system uses servContext.getRealPath("") as the root directory of preMxml, MXML, and SWF directory and]` + * Tomcat on default for example flushes it out to their cache directory under metadata `[i.e. C:\OpenSource\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jsf-flex-examples]` + * JBoss on default for example flushes it out to their temp directory `[i.e. C:\Program Files\jboss-4.2.3.GA\server\default\tmp\deploy\tmp46689jsf-flex-examples.war]` + +**Roadmap** + +Please refer to the following wiki page for information regarding what is planed for support within release 0.5 ALPHA => [RoadMap](RoadMap.md). + +There exists a screen shot of an example at the bottom of this page `[will provide a better screen shot later]` following is the URL for the current SNAPSHOT download `[note that I wished not to deploy the artifacts every single time there exists an update to the SNAPSHOT, so used buildnumber-maven-plugin to append the timestamp]` => http://localhost:8080/jsf-flex-examples-0.5a-SNAPSHOT-1316484923203/faces/flexIndex.xhtml + +**Testing Performed** + +Brief testing has been performed using Sun's JVM as JAVA\_HOME : + +| **Operating System** | **Browser Tested** | **Servlet Container/Application Server Tested**| +|:---------------------|:-----------------------------------|:-----------------------------------------------| +| Windows XP | Firefox 2.0 , IE 6.0, Opera 9.25 | `TomCat 6.0,7.0; JBoss 4.2,6.0` | +| Linux, Ubuntu 11.04 | FF 8.0 | `TomCat 7.0;` | +| Mac TODO | TODO | TODO | + +**Rationale** + +With the Web 2.0 technology flourishing within the web world, this would be a great opportunity in creating a project and bridging technologies such as Adobe Flex with JSF. + +Specifically the project will provide : + 1. Easy creation of standard Flex applications while preserving the ease of databinding to legacy systems through JSF + 1. An alternative to purchasing Flexbuilder when creating simple Flex applications + +![http://jsf-flex.googlecode.com/svn/wiki/overallExample.jpg](http://jsf-flex.googlecode.com/svn/wiki/overallExample.jpg) \ No newline at end of file diff --git a/QuickStart.md b/QuickStart.md new file mode 100644 index 00000000..957a80b7 --- /dev/null +++ b/QuickStart.md @@ -0,0 +1,17 @@ +# Introduction # + +Brief overview in importing the project to respective IDE. + +Beginning in the month of January the project will provide downloads, but till then for creating the artifacts from the latest source code, please refer to following wiki pages : + * [ProjectBuild](ProjectBuild.md) - Page contains info in checking out latest source code from svn {please refer only to section Checking out/Extracting the resources from repository} + * [JSFFlexBuildSystemInfo](JSFFlexBuildSystemInfo.md) - Page contains info in generating the artifacts {mvn commands} + + +# Details # + + * [EclipseQuickStart](EclipseQuickStart.md) - Page contains brief overview for Eclipse IDE. + +# Critical NOTE # +Following information is extremely **CRITICAL**. When one is finished tweaking of creating the components/tags, one **MUST** change the **com.googlecode.jsfFlex.MODE** field within web.xml to productionMode to avoid the cost of creating preMxml, Mxml, Swf, Swc, and etceteras. Also one should copy all the system generated directories under `Webcontent/swf/*` to their corresponding directory within the Workspace during the move to higher env {since the system uses servContext.getRealPath("") as the root directory of preMxml, MXML, and SWF directory and} + * Tomcat on default for example flushes it out to their cache directory under metadata i.e. `C:\OpenSource\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jsf-flex-examples` + * JBoss on default for example flushes it out to their temp directory i.e. `C:\Program Files\jboss-4.2.3.GA\server\default\tmp\deploy\tmp46689jsf-flex-examples.war` \ No newline at end of file diff --git a/RemoteDataGrid.md b/RemoteDataGrid.md new file mode 100644 index 00000000..45078d3f --- /dev/null +++ b/RemoteDataGrid.md @@ -0,0 +1,89 @@ +# Introduction # + +This page provides a quick overview of the Flex's `DataGrid` component which has been augmented to support server side binding for large data size. + +# Details # + +## Remote Grid Filtering ## + * Initial view of the Remote `DataGrid` with the usage of `TextInput` component for the filtering. +> > ![http://jsf-flex.googlecode.com/svn/wiki/initialRemoteGridFilterView.jpg](http://jsf-flex.googlecode.com/svn/wiki/initialRemoteGridFilterView.jpg) + * Filtering of the `DataGrid` with the value of 1 `[filtering currently is done by usage of listener, but in a similar manner to updates, request for filtering will be done by setInterval for better performance]`. +> > ![http://jsf-flex.googlecode.com/svn/wiki/firstRemoteGridFilterView.jpg](http://jsf-flex.googlecode.com/svn/wiki/firstRemoteGridFilterView.jpg) + * After several number of filtering for the `DataGrid`. +> > ![http://jsf-flex.googlecode.com/svn/wiki/severalRemoteGridFilterView.jpg](http://jsf-flex.googlecode.com/svn/wiki/severalRemoteGridFilterView.jpg) + * Update to a row within the `DataGrid` to show synchronization on the server side. +> > ![http://jsf-flex.googlecode.com/svn/wiki/fieldUpdateToRemoteGridFilterView.jpg](http://jsf-flex.googlecode.com/svn/wiki/fieldUpdateToRemoteGridFilterView.jpg) + * Clearing of the filtering to its original state, so to move the cache out and to get the new data from the server side. +> > ![http://jsf-flex.googlecode.com/svn/wiki/clearingOfRemoteGridFilterView.jpg](http://jsf-flex.googlecode.com/svn/wiki/clearingOfRemoteGridFilterView.jpg) + * Check to see that the update has been requested to the server side prior to clearing of the cache `[update requests will be made as batch at a time interval with a check or if a trigger for data or other action is requested prior to the interval check, the action will wait until the update transaction has been completed]`. +> > ![http://jsf-flex.googlecode.com/svn/wiki/checkToSeeModificationPreservedOfRemoteGridView.jpg](http://jsf-flex.googlecode.com/svn/wiki/checkToSeeModificationPreservedOfRemoteGridView.jpg) + * XHTML content for the filtering Remote Grid code. Note that `TextInput` component is not the only component that the `DataGrid` can be filtered by, technically any component which can have the values bound to the server side component should be able to be used. +``` + + + + + + + + + + + + + + + + +``` + + +## Remote Grid Drag Drop ## + * Initial view of the two Remote `DataGrid` components. +> > ![http://jsf-flex.googlecode.com/svn/wiki/initialRemoteGridDragDropView.jpg](http://jsf-flex.googlecode.com/svn/wiki/initialRemoteGridDragDropView.jpg) + * Initiation of the drag + drop of rows from one Remote `DataGrid` component to an another Remote `DataGrid` component. +> > ![http://jsf-flex.googlecode.com/svn/wiki/dragDropInitRemoteGridDragDropView.jpg](http://jsf-flex.googlecode.com/svn/wiki/dragDropInitRemoteGridDragDropView.jpg) + * After the drag + drop of rows has been completed from one Remote `DataGrid` component to an another Remote `DataGrid` component `[note that the rows were removed from the source component due to dragMoveEnabled attribute being set to true]`. +> > ![http://jsf-flex.googlecode.com/svn/wiki/dragDropEndRemoteGridDragDropView.jpg](http://jsf-flex.googlecode.com/svn/wiki/dragDropEndRemoteGridDragDropView.jpg) + * Reverse sorting the `DataGrid` component to clear the cache. +> > ![http://jsf-flex.googlecode.com/svn/wiki/reverseSortRemoteGridDragDropView.jpg](http://jsf-flex.googlecode.com/svn/wiki/reverseSortRemoteGridDragDropView.jpg) + * Original sorting to show the synchronization with the server side. +> > ![http://jsf-flex.googlecode.com/svn/wiki/originalSortRemoteGridDragDropView.jpg](http://jsf-flex.googlecode.com/svn/wiki/originalSortRemoteGridDragDropView.jpg) + * XHTML content for the drag drop Remote Grid code. One interesting attribute `[others are mostly standard Flex attributes]` is `bindingBeanClassName` which must be defined if the target `DataGrid` Remote component can start with empty content for the component will utilize the first entry within `bindingBeanList` if it is not empty or use the `bindingBeanClassName` attribute if it is empty to instantiate the class. +``` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +``` \ No newline at end of file diff --git a/RoadMap.md b/RoadMap.md new file mode 100644 index 00000000..b59a3540 --- /dev/null +++ b/RoadMap.md @@ -0,0 +1,75 @@ +## Work to be done ## + +--- + +JSF Flex goal is to provide users capability in creating standard Flex components as JSF components. In order to provide quality product for the users, the project must support : + * various operating systems + * Windows + * Linux + * Mac + * various browsers + * Firefox + * IE + * Opera + * Safari + * various servlet container/application servers + * `TomCat` + * `JBoss` + + +## Milestones ## + +--- + +### Release 0.5 ALPHA ### + +**NOTE There was a rewrite and that's why this is the LATEST release, time is only thing that can't go back right <8^)? Most of the features have been preserved, but the biggest change was removal of inclusion of attributes within the tags; however that has been compensated with the provided Eclipse plugin which will help in observing the attributes + detail of the selected tag's Flex component.** + +#### Release Date #### +TBD + +#### Planned #### + * Support of JSF 2.0 + * Support of latest, stable Flex version `[i.e. 4.0]`. For dual components `[can have namespace of mxml or spark]` priority will be given to spark, but users will be able to use an alternative namespace by providing a field to the nameSpaceOverride attribute of the tag. + * Capability of using `MethodExpression` for additional components. + * Asynchronous data update event listener for listening to a specific event of a source Flex component, so that when it is triggered target Flex component's value is updated with the value returned from an asynchronous call that is bound by `MethodExpression` on the server side. + * Additional functionality for componenets such as `DataGrid` component where there will be further interweaving of JSF/Java + Actionscript content. + * Removal of unnecessary core-mojarra-impl + core-myFaces-impl Jar files + * Attributes for XHTML will need to be provided as sub-tag of the tag. Meaning other than fields which are project specific or data bound to the component, attributes should be provided as a sub-tag of the component `[Can consider it to be attribute node of the node element`] + * Eclipse plugin that will fetch and render the attributes for the Flex component of the currently selected tag `[to compensate for the attribute removal in the previous modification]` + +### Release 1.0.1 BETA ### + +#### Release Date #### +December 10, 2009 + +#### Accomplished #### + * Change from usage of Qdox Javadoc to Annotation + * Code written in JDK 5.0 + * Support of Flex version 3.4 `[i.e. DateChooser]` component and locale support according to the change needed of copyLocale execution for Flex version 3.x} + * Capability to submit the form data using mxmlButton or mxmlLinkButton tags + * Tweaking of performance `[usage of Executors in some of the tasks to possibly assist in creation of multiple SWF + locale; however swc + swf creation is dependent upon Flex SDK]` + * Capability in creating components outside of JSF Flex by providing the component name + attributes as tag attributes + * **One thing to note is the size of the download artifacts. Since Flex SDK now comes packaged with Air tools to allow creation of Air applications for Flex components, the size of flexSDK has been increased rather largely `[that's the reason the first hit to any .xhtml or .jsf page will take a bit of time, but afterward the time should be relatively similar when hitting additional pages to create SWF, SWC, and etcetera within debugMode. please note that when one is done, one should change the configuration to productionMode to see it's actual performance]`. There exists two reasons of why Air library hasn't been ripped out of flexSDK that is downloaded with the Jars : + * First is for safety, meaning it is better to leave them in then to find out later that one needs certain Jars that has been removed + * Second is a possible investigation of creation of Air. Strong emphasis on possible.** +### Release 1.0 BETA ### + +#### Release Date #### +Approximate target date is April 15, 2009 + +#### Accomplished #### +Currently the project supports most of the Flex standard components as well as functionalities that have been added on for JSF application `[i.e. DataGrid components can have their data bounded to managedBeans, so that large information will be partitioned into batches and the pieces of the information being fetched asynchronously through Actionscript]`. Brief testing has been done on Windows XP operating system with the following list of browsers : + * Firefox 2.0, 3.6 + * IE 6.0, 7.0 + * Opera 9.25 +on application server `TomCat 6.0 and JBoss 4.2.` +This release supports Flex 2. + +#### TODO #### + * Complete testing on remaining OS, browsers, and application servers must be performed, so to support every type of user. +| **Operating System** | **Browser Tested** | **Application Server Tested**| +|:---------------------|:-----------------------------------|:-----------------------------| +| Windows XP | Firefox 2.0, 3.6, IE 6.0, 7.0; Opera 9.25 | `TomCat 6.0, 7.0; JBoss 4.2, 6.0` | +| Linux | TODO | TODO | +| Mac | TODO | TODO | \ No newline at end of file diff --git a/additionalComponentSample.jpg b/additionalComponentSample.jpg new file mode 100644 index 00000000..e8a8efa3 Binary files /dev/null and b/additionalComponentSample.jpg differ diff --git a/jsf-flex/examples/src/main/webapp/images/afterAsynchronousPropertyUpdateView.jpg b/afterAsynchronousPropertyUpdateView.jpg similarity index 100% rename from jsf-flex/examples/src/main/webapp/images/afterAsynchronousPropertyUpdateView.jpg rename to afterAsynchronousPropertyUpdateView.jpg diff --git a/jsf-flex/examples/src/main/webapp/images/checkToSeeModificationPreservedOfRemoteGridView.jpg b/checkToSeeModificationPreservedOfRemoteGridView.jpg similarity index 100% rename from jsf-flex/examples/src/main/webapp/images/checkToSeeModificationPreservedOfRemoteGridView.jpg rename to checkToSeeModificationPreservedOfRemoteGridView.jpg diff --git a/clearingOfRemoteGridFilterView.jpg b/clearingOfRemoteGridFilterView.jpg new file mode 100644 index 00000000..1c665bf7 Binary files /dev/null and b/clearingOfRemoteGridFilterView.jpg differ diff --git a/componentValueMapper.xml b/componentValueMapper.xml new file mode 100644 index 00000000..02cf0fb2 --- /dev/null +++ b/componentValueMapper.xml @@ -0,0 +1,661 @@ + + + + +spark.components::CheckBox + + +input + + +type +hidden + + +value +selected + + +name +id + + + + + + +spark.components::HSlider + + +input + + +type +hidden + + +value +value + + +name +id + + + + + + +mx.containers::TabNavigator + + +input + + +type +hidden + + +value +selectedIndex + + +name +id + + + + + + +spark.components::TextInput + + +input + + +type +hidden + + +value +text + + +name +id + + + + +input + + +type +hidden + + +value +htmlText + + +name +id + + + + + + +mx.controls::TileList + + +input + + +type +hidden + + +value +selectedIndex + + +name +id + + + + + + +spark.components::Spinner + + +input + + +type +hidden + + +value +value + + +name +id + + + + + + +spark.components::ToggleButton + + +input + + +type +hidden + + +value +selected + + +name +id + + + + + + +mx.controls::ProgressBar + + +input + + +type +hidden + + +value +value + + +name +id + + + + + + +mx.containers::Accordion + + +input + + +type +hidden + + +value +selectedIndex + + +name +id + + + + + + +mx.controls::ColorPicker + + +input + + +type +hidden + + +value +selectedColor + + +name +id + + + + + + +spark.components::TabBar + + +input + + +type +hidden + + +value +selectedIndex + + +name +id + + + + + + +spark.components::RadioButton + + +input + + +type +hidden + + +value + +group +selectedValue + + + +name +groupName + + + + +input + + +type +hidden + + +value +selected + + +name +id + + + + + + +spark.components::ComboBox + + +input + + +type +hidden + + +value +text + + +name +id + + + + +input + + +type +hidden + + +value +selectedIndex + + +name +id + + + + + + +spark.components::RichEditableText + + +input + + +type +hidden + + +value +text + + +name +id + + + + + + +mx.controls::DateField + + +input + + +type +hidden + + +value +text + + +name +id + + + + +input + + +type +hidden + + +value +selectedDate + + +name +id + + + + + + +spark.components::VSlider + + +input + + +type +hidden + + +value +value + + +name +id + + + + + + +mx.controls::Tree + + +input + + +type +hidden + + +value +selectedIndex + + +name +id + + + + + + +spark.components::List + + +input + + +type +hidden + + +value +selectedIndex + + +name +id + + + + + + +spark.components::DropDownList + + +input + + +type +hidden + + +value +selectedIndex + + +name +id + + + + + + +mx.containers::ViewStack + + +input + + +type +hidden + + +value +selectedIndex + + +name +id + + + + + + +mx.controls::HorizontalList + + +input + + +type +hidden + + +value +selectedIndex + + +name +id + + + + + + +spark.components::NumericStepper + + +input + + +type +hidden + + +value +value + + +name +id + + + + + + +mx.controls::RichTextEditor + + +input + + +type +hidden + + +value +text + + +name +id + + + + +input + + +type +hidden + + +value +htmlText + + +name +id + + + + + + +mx.controls::DateChooser + + +input + + +type +hidden + + +value +selectedDate + + +name +id + + + + + + +spark.components::TextArea + + +input + + +type +hidden + + +value +text + + +name +id + + + + +input + + +type +hidden + + +value +htmlText + + +name +id + + + + + + \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/META-INF/componentValueMapper.xsd b/componentValueMapper.xsd similarity index 86% rename from jsf-flex-shared/core/src/main/resources/META-INF/componentValueMapper.xsd rename to componentValueMapper.xsd index bae54c04..12263b68 100644 --- a/jsf-flex-shared/core/src/main/resources/META-INF/componentValueMapper.xsd +++ b/componentValueMapper.xsd @@ -19,13 +19,7 @@ - - - - - - - + @@ -69,7 +63,6 @@ - diff --git a/jsf-flex-shared/core/src/main/resources/META-INF/componentValueMapper.xsl b/componentValueMapper.xsl similarity index 100% rename from jsf-flex-shared/core/src/main/resources/META-INF/componentValueMapper.xsl rename to componentValueMapper.xsl diff --git a/copyJarsToWebInfDirEclipseJBoss42.jpg b/copyJarsToWebInfDirEclipseJBoss42.jpg new file mode 100644 index 00000000..f25c2c85 Binary files /dev/null and b/copyJarsToWebInfDirEclipseJBoss42.jpg differ diff --git a/copyJarsToWebInfDirEclipseJBoss60.jpg b/copyJarsToWebInfDirEclipseJBoss60.jpg new file mode 100644 index 00000000..f9cc3ff0 Binary files /dev/null and b/copyJarsToWebInfDirEclipseJBoss60.jpg differ diff --git a/copyJarsToWebInfDirEclipseTomCat60.jpg b/copyJarsToWebInfDirEclipseTomCat60.jpg new file mode 100644 index 00000000..f25c2c85 Binary files /dev/null and b/copyJarsToWebInfDirEclipseTomCat60.jpg differ diff --git a/copyJarsToWebInfDirEclipseTomCat70.jpg b/copyJarsToWebInfDirEclipseTomCat70.jpg new file mode 100644 index 00000000..9805509a Binary files /dev/null and b/copyJarsToWebInfDirEclipseTomCat70.jpg differ diff --git a/createNewDynamicWebProjectEclipseJBoss42.jpg b/createNewDynamicWebProjectEclipseJBoss42.jpg new file mode 100644 index 00000000..f28a5f39 Binary files /dev/null and b/createNewDynamicWebProjectEclipseJBoss42.jpg differ diff --git a/createNewDynamicWebProjectEclipseJBoss60.jpg b/createNewDynamicWebProjectEclipseJBoss60.jpg new file mode 100644 index 00000000..11790a0c Binary files /dev/null and b/createNewDynamicWebProjectEclipseJBoss60.jpg differ diff --git a/createNewDynamicWebProjectEclipseTomCat60.jpg b/createNewDynamicWebProjectEclipseTomCat60.jpg new file mode 100644 index 00000000..0ddf7d5e Binary files /dev/null and b/createNewDynamicWebProjectEclipseTomCat60.jpg differ diff --git a/createNewDynamicWebProjectEclipseTomCat70.jpg b/createNewDynamicWebProjectEclipseTomCat70.jpg new file mode 100644 index 00000000..f2479915 Binary files /dev/null and b/createNewDynamicWebProjectEclipseTomCat70.jpg differ diff --git a/deleteJsfApiImplJars.jpg b/deleteJsfApiImplJars.jpg new file mode 100644 index 00000000..b6f25d81 Binary files /dev/null and b/deleteJsfApiImplJars.jpg differ diff --git a/jsf-flex/examples/src/main/webapp/images/dragDropEndRemoteGridDragDropView.jpg b/dragDropEndRemoteGridDragDropView.jpg similarity index 100% rename from jsf-flex/examples/src/main/webapp/images/dragDropEndRemoteGridDragDropView.jpg rename to dragDropEndRemoteGridDragDropView.jpg diff --git a/dragDropInitRemoteGridDragDropView.jpg b/dragDropInitRemoteGridDragDropView.jpg new file mode 100644 index 00000000..8c91b92a Binary files /dev/null and b/dragDropInitRemoteGridDragDropView.jpg differ diff --git a/fieldUpdateToRemoteGridFilterView.jpg b/fieldUpdateToRemoteGridFilterView.jpg new file mode 100644 index 00000000..44b78502 Binary files /dev/null and b/fieldUpdateToRemoteGridFilterView.jpg differ diff --git a/firstRemoteGridFilterView.jpg b/firstRemoteGridFilterView.jpg new file mode 100644 index 00000000..eda98509 Binary files /dev/null and b/firstRemoteGridFilterView.jpg differ diff --git a/importProjects.jpg b/importProjects.jpg new file mode 100644 index 00000000..44396934 Binary files /dev/null and b/importProjects.jpg differ diff --git a/importWarEclipseJBoss42.jpg b/importWarEclipseJBoss42.jpg new file mode 100644 index 00000000..65edd9de Binary files /dev/null and b/importWarEclipseJBoss42.jpg differ diff --git a/importWarEclipseJBoss60.jpg b/importWarEclipseJBoss60.jpg new file mode 100644 index 00000000..bb5374d0 Binary files /dev/null and b/importWarEclipseJBoss60.jpg differ diff --git a/importWarEclipseTomCat60.jpg b/importWarEclipseTomCat60.jpg new file mode 100644 index 00000000..96a46877 Binary files /dev/null and b/importWarEclipseTomCat60.jpg differ diff --git a/importWarEclipseTomCat70.jpg b/importWarEclipseTomCat70.jpg new file mode 100644 index 00000000..446630c0 Binary files /dev/null and b/importWarEclipseTomCat70.jpg differ diff --git a/indexHTML5.jpg b/indexHTML5.jpg new file mode 100644 index 00000000..6f00028d Binary files /dev/null and b/indexHTML5.jpg differ diff --git a/initialAsynchronousPropertyUpdateView.jpg b/initialAsynchronousPropertyUpdateView.jpg new file mode 100644 index 00000000..18cddff1 Binary files /dev/null and b/initialAsynchronousPropertyUpdateView.jpg differ diff --git a/initialRemoteGridDragDropView.jpg b/initialRemoteGridDragDropView.jpg new file mode 100644 index 00000000..66acc8fa Binary files /dev/null and b/initialRemoteGridDragDropView.jpg differ diff --git a/initialRemoteGridFilterView.jpg b/initialRemoteGridFilterView.jpg new file mode 100644 index 00000000..2d8d7794 Binary files /dev/null and b/initialRemoteGridFilterView.jpg differ diff --git a/jsf-flex-build-plugIn/jsf-flex-plugIn/pom.xml b/jsf-flex-build-plugIn/jsf-flex-plugIn/pom.xml deleted file mode 100644 index 3600ec80..00000000 --- a/jsf-flex-build-plugIn/jsf-flex-plugIn/pom.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - com.googlecode.jsf-flex.jsf-flex-build-plugIn-project - jsf-flex-build-plugIn-main - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.jsf-flex-build-plugIn-project - jsf-flex-build-plugIn-plugin - maven-plugin - JSF-Flex Build Plugin Project - JSF Flex Build Plugin Project that contains mojos to create XML for mapping Flex fields to JSF Java components for renderKit14 project and to create componentValueMapper.xml for ComponentValueMapper.as file - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-build-plugIn/jsf-flex-plugIn - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-build-plugIn/jsf-flex-plugIn - - - - - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex-annotations - - - - org.apache.maven - maven-plugin-api - 2.0 - - - - org.apache.maven - maven-project - 2.0 - - - - org.apache.maven.plugins - maven-dependency-plugin - 2.0 - - - - ant - ant - 1.5.3-1 - - - - ant - ant-optional - 1.5.3-1 - - - - com.thoughtworks.qdox - qdox - 1.9.1 - - - - velocity - velocity - 1.5 - - - - - \ No newline at end of file diff --git a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/inspector/AbstractJsfFlexInspectorBase.java b/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/inspector/AbstractJsfFlexInspectorBase.java deleted file mode 100644 index 5e7133fc..00000000 --- a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/inspector/AbstractJsfFlexInspectorBase.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlexPlugIn.inspector; - -import java.util.LinkedList; -import java.util.List; -import java.util.Map; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractJsfFlexInspectorBase { - - private final String _dirPath; - private final List _jsfFlexInspectListeners; - - public AbstractJsfFlexInspectorBase(){ - super(); - _dirPath = null; - } - - public AbstractJsfFlexInspectorBase(String dirPath){ - super(); - _dirPath = dirPath; - } - - { - _jsfFlexInspectListeners = new LinkedList(); - } - - protected String getDirPath(){ - return _dirPath; - } - - public synchronized void addInspectListener(IJsfFlexInspectListener callBack){ - _jsfFlexInspectListeners.add(callBack); - } - - protected synchronized void inspectFileFinished(List> inspectedList, String inspectedFileName, String inspectedPackage){ - for(IJsfFlexInspectListener inspectedCallBack : _jsfFlexInspectListeners){ - inspectedCallBack.inspectFileFinished(inspectedList, inspectedFileName, inspectedPackage); - } - } - - protected synchronized void inspectionCompleted(){ - for(IJsfFlexInspectListener inspectedCallBack : _jsfFlexInspectListeners){ - inspectedCallBack.inspectionCompleted(); - } - } - - public abstract void inspectFiles(); - -} diff --git a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/inspector/IJsfFlexInspectListener.java b/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/inspector/IJsfFlexInspectListener.java deleted file mode 100644 index fe9e16b4..00000000 --- a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/inspector/IJsfFlexInspectListener.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlexPlugIn.inspector; - -import java.util.List; -import java.util.Map; - -/** - * @author Ji Hoon Kim - */ -public interface IJsfFlexInspectListener { - - void inspectFileFinished(List> inspectedList, String sourceInspected, String packageName); - - void inspectionCompleted(); - -} diff --git a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/inspector/qdox/JsfFlexQdoxInspector.java b/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/inspector/qdox/JsfFlexQdoxInspector.java deleted file mode 100644 index 71aad803..00000000 --- a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/inspector/qdox/JsfFlexQdoxInspector.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlexPlugIn.inspector.qdox; - -import java.io.File; -import java.util.LinkedHashMap; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; - -import com.googlecode.jsfFlexPlugIn.inspector.AbstractJsfFlexInspectorBase; -import com.thoughtworks.qdox.JavaDocBuilder; -import com.thoughtworks.qdox.model.DocletTag; -import com.thoughtworks.qdox.model.JavaClass; - -/** - * @author Ji Hoon Kim - */ -public final class JsfFlexQdoxInspector extends AbstractJsfFlexInspectorBase { - - private final String[] _patternList; - - public JsfFlexQdoxInspector(){ - super(); - _patternList = null; - } - - public JsfFlexQdoxInspector(String dirPath, String... patternList){ - super(dirPath); - _patternList = patternList; - } - - @Override - public synchronized void inspectFiles(){ - - JavaDocBuilder builder = new JavaDocBuilder(); - builder.addSourceTree(new File(getDirPath())); - JavaClass[] inspectableFiles = builder.getClasses(); - - for(JavaClass currClass : inspectableFiles){ - //TODO implement it better later, but since it's a plug-in does it have to be??? - List> inspectedList = new LinkedList>(); - - for(String _currPattern : _patternList){ - DocletTag[] inspectedDocletTag = currClass.getTagsByName(_currPattern); - - for(DocletTag currDocletTag : inspectedDocletTag){ - Map inspectedMap = new LinkedHashMap(); - inspectedMap.putAll(currDocletTag.getNamedParameterMap()); - inspectedList.add(inspectedMap); - } - - } - - inspectFileFinished(inspectedList, currClass.getName(), currClass.getPackage().toString()); - } - - inspectionCompleted(); - - } - -} diff --git a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/mojo/CreateComponentValueMapperXMLMojo.java b/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/mojo/CreateComponentValueMapperXMLMojo.java deleted file mode 100644 index 2278a50c..00000000 --- a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/mojo/CreateComponentValueMapperXMLMojo.java +++ /dev/null @@ -1,505 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlexPlugIn.mojo; - -import java.io.File; -import java.io.FileWriter; -import java.io.IOException; -import java.util.Arrays; -import java.util.HashMap; -import java.util.HashSet; -import java.util.LinkedHashMap; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; -import java.util.Properties; -import java.util.Set; - -import org.apache.maven.plugin.AbstractMojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.project.MavenProject; - -import com.googlecode.jsfFlexPlugIn.inspector.IJsfFlexInspectListener; -import com.googlecode.jsfFlexPlugIn.inspector.AbstractJsfFlexInspectorBase; -import com.googlecode.jsfFlexPlugIn.parser.IJsfFlexParserListener; -import com.googlecode.jsfFlexPlugIn.parser.velocity.JsfFlexVelocityParser; -import com.googlecode.jsfFlexPlugIn.utils.tasks.ReplaceText; -import com.thoughtworks.qdox.JavaDocBuilder; -import com.thoughtworks.qdox.model.Annotation; -import com.thoughtworks.qdox.model.JavaClass; -import com.thoughtworks.qdox.model.annotation.AnnotationValue; - -import static com.googlecode.jsfFlexPlugIn.utils.JsfFlexBuildPluginConstant.*; -import static com.googlecode.jsfFlexPlugIn.utils.JsfFlexBuildPluginUtil.*; - -/** - * @goal createComponentValueMapperXML - * @phase generate-resources - * @author Ji Hoon Kim - */ -public final class CreateComponentValueMapperXMLMojo extends AbstractMojo - implements IJsfFlexInspectListener, IJsfFlexParserListener { - - private static final String COMPONENT_PACKAGES_KEY = "componentPackages"; - private static final String COMPONENT_NAME_KEY = "componentName"; - - private static final String HTML_TYPE_KEY = "htmlType"; - private static final String TYPE_ATTRIBUTE_VALUE_KEY = "typeAttributeValue"; - - private static final String VALUE_ATTRIBUTE_VALUE_KEY = "valueAttributeValue"; - private static final String VALUE_DYNAMIC_KEY = "valueDynamic"; - private static final String VALUE_NESTED_KEY = "valueNested"; - private static final String VALUE_RECURSE_KEY = "recurse"; - private static final String VALUE_NESTED_VALUES_KEY = "valueNestedValues"; - - private static final String NAME_ATTRIBUTE_VALUE_KEY = "nameAttributeValue"; - private static final String NAME_DYNAMIC_KEY = "nameDynamic"; - private static final String NAME_APPEND_KEY = "nameAppend"; - - /** - * @parameter expression="${project}" - */ - private MavenProject _project; - - /** - * @parameter expression="${basedir}/target/classes/com/googlecode/jsfFlex/shared/swfSourceFiles" - */ - private File _toCreateComponentValueMapperXMLPath; - - /** - * @parameter expression="src/main/resources/META-INF" - */ - private File _templateSourceDirectory; - - private final Set _classInfoSet; - - private AbstractJsfFlexInspectorBase _jsfFlexInspector; - private JsfFlexVelocityParser _jsfFlexVelocityParser; - - public CreateComponentValueMapperXMLMojo() { - super(); - _classInfoSet = new HashSet(); - } - - - public void execute() throws MojoExecutionException, MojoFailureException { - - final String JSF_FLEX_PROJECT = "jsf-flex"; - final String JSF_FLEX_SHARED_PROJECT = "jsf-flex-shared"; - - final String CORE_PROJECT_NAME = "core"; - final String RENDERKIT_15_PROJECT_NAME = "renderKit15"; - - String currDirPath = String.class.cast( _project.getCompileSourceRoots().get(0) ); - currDirPath = currDirPath.replace(JSF_FLEX_SHARED_PROJECT, JSF_FLEX_PROJECT); - currDirPath = currDirPath.replace(CORE_PROJECT_NAME, RENDERKIT_15_PROJECT_NAME); - - Properties velocityParserProperties = new Properties(); - velocityParserProperties.put(FILE_RESOURCE_LOADER_PATH_KEY, _templateSourceDirectory.getPath()); - - _jsfFlexVelocityParser = new JsfFlexVelocityParser(velocityParserProperties); - _jsfFlexVelocityParser.init(); - _jsfFlexVelocityParser.addParserListener(this); - - _jsfFlexInspector = new AbstractJsfFlexInspectorBase(currDirPath){ - - private static final String JSF_FLEX_ATTRIBUTE_PROPERTIES_ANNOTATION_NAME = "com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties"; - private static final String COMPONENT_NODE_ATTRIBUTES_KEY = "componentNodeAttributes"; - - private static final String IS_VALUE_DYNAMIC_ATTRIBUTE_KEY = "isValueDynamic"; - private static final String IS_VALUE_NESTED_ATTRIBUTE_KEY = "isValueNested"; - private static final String IS_VALUE_RECURSE_ATTRIBUTE_KEY = "isValueRecurse"; - private static final String IS_NAME_DYNAMIC_ATTRIBUTE_KEY = "isNameDynamic"; - - public void inspectFiles(){ - /* - * In order to keep in synch with the QDox parsing, following is the - * format to be inserted into the LinkedList> : - * (1) Map containing COMPONENT_PACKAGE_KEY - * COMPONENT_NAME_KEY - * - * (2) Map containing HTML_TYPE_KEY - * TYPE_ATTRIBUTE_VALUE_KEY - * - * VALUE_ATTRIBUTE_VALUE_KEY - * VALUE_DYNAMIC_KEY - * VALUE_NESTED_KEY - * VALUE_NESTED_VALUES_KEY - * - * NAME_ATTRIBUTE_VALUE_KEY - * NAME_DYNAMIC_KEY - * NAME_APPEND_KEY - * - */ - JavaDocBuilder builder = new JavaDocBuilder(); - builder.addSourceTree(new File(getDirPath())); - JavaClass[] inspectableFiles = builder.getClasses(); - - for(JavaClass currClass : inspectableFiles){ - Annotation[] qdoxAnnotations = currClass.getAnnotations(); - - if(qdoxAnnotations == null){ - continue; - } - - for(Annotation currAnnotation : qdoxAnnotations){ - if(currAnnotation.getType().getValue().equals(JSF_FLEX_ATTRIBUTE_PROPERTIES_ANNOTATION_NAME)){ - List> inspectedList = new LinkedList>(); - Map inspectedMap = new LinkedHashMap(); - - Annotation jsfFlexAttributeListAnnotation = currAnnotation; - AnnotationValue componentPackage = jsfFlexAttributeListAnnotation.getProperty(COMPONENT_PACKAGES_KEY); - AnnotationValue componentName = jsfFlexAttributeListAnnotation.getProperty(COMPONENT_NAME_KEY); - - if(componentPackage == null || componentName == null){ - continue; - } - - inspectedMap.put(COMPONENT_PACKAGES_KEY, componentPackage.getParameterValue() ); - inspectedMap.put(COMPONENT_NAME_KEY, removeQuotes( componentName.getParameterValue().toString() )); - - inspectedList.add(inspectedMap); - //have added Map info containing CLASS_* info - AnnotationValue componentNodeAttributes = jsfFlexAttributeListAnnotation.getProperty(COMPONENT_NODE_ATTRIBUTES_KEY); - - @SuppressWarnings("unchecked") - List flexComponentNodeAttributes = (List) componentNodeAttributes.getParameterValue(); - - for(Annotation currFlexComponentNodeAttribute : flexComponentNodeAttributes){ - Map componentNodeAttributeMap = new LinkedHashMap(); - - componentNodeAttributeMap.put(HTML_TYPE_KEY, removeQuotes( currFlexComponentNodeAttribute.getProperty(HTML_TYPE_KEY).getParameterValue().toString() )); - componentNodeAttributeMap.put(TYPE_ATTRIBUTE_VALUE_KEY, removeQuotes( currFlexComponentNodeAttribute.getProperty(TYPE_ATTRIBUTE_VALUE_KEY).getParameterValue().toString() )); - - AnnotationValue valueAttributeValue = currFlexComponentNodeAttribute.getProperty(VALUE_ATTRIBUTE_VALUE_KEY); - if(valueAttributeValue != null){ - componentNodeAttributeMap.put(VALUE_ATTRIBUTE_VALUE_KEY, removeQuotes( valueAttributeValue.getParameterValue().toString() )); - } - - componentNodeAttributeMap.put(VALUE_DYNAMIC_KEY, removeQuotes( currFlexComponentNodeAttribute.getProperty(IS_VALUE_DYNAMIC_ATTRIBUTE_KEY).getParameterValue().toString() )); - componentNodeAttributeMap.put(VALUE_NESTED_KEY, removeQuotes( currFlexComponentNodeAttribute.getProperty(IS_VALUE_NESTED_ATTRIBUTE_KEY).getParameterValue().toString() )); - - AnnotationValue isRecurse = currFlexComponentNodeAttribute.getProperty(IS_VALUE_RECURSE_ATTRIBUTE_KEY); - String recurseValue = "false"; - if(isRecurse != null){ - recurseValue = removeQuotes( isRecurse.getParameterValue().toString() ); - } - componentNodeAttributeMap.put(VALUE_RECURSE_KEY, recurseValue); - - String builtString; - boolean isValueNested = Boolean.valueOf(removeQuotes( currFlexComponentNodeAttribute.getProperty(IS_VALUE_NESTED_ATTRIBUTE_KEY).getParameterValue().toString() )); - if(isValueNested){ - StringBuilder toBuildString = new StringBuilder(); - - @SuppressWarnings("unchecked") - List valueNestedValues = (List) currFlexComponentNodeAttribute.getProperty(VALUE_NESTED_VALUES_KEY).getParameterValue(); - for(String buildInto : valueNestedValues){ - toBuildString.append(removeQuotes( buildInto )); - toBuildString.append("_"); - } - - toBuildString.deleteCharAt(toBuildString.length()-1); - builtString = toBuildString.toString(); - }else{ - builtString = ""; - } - - componentNodeAttributeMap.put(VALUE_NESTED_VALUES_KEY, builtString); - - componentNodeAttributeMap.put(NAME_ATTRIBUTE_VALUE_KEY, removeQuotes( currFlexComponentNodeAttribute.getProperty(NAME_ATTRIBUTE_VALUE_KEY).getParameterValue().toString() )); - componentNodeAttributeMap.put(NAME_DYNAMIC_KEY, removeQuotes( currFlexComponentNodeAttribute.getProperty(IS_NAME_DYNAMIC_ATTRIBUTE_KEY).getParameterValue().toString() )); - componentNodeAttributeMap.put(NAME_APPEND_KEY, removeQuotes( currFlexComponentNodeAttribute.getProperty(NAME_APPEND_KEY).getParameterValue().toString() )); - - inspectedList.add(componentNodeAttributeMap); - - } - - inspectFileFinished(inspectedList, currClass.getName(), currClass.getPackage().toString()); - } - } - - } - - inspectionCompleted(); - } - }; - - _jsfFlexInspector.addInspectListener(this); - - _jsfFlexInspector.inspectFiles(); - - } - - public void inspectFileFinished(List> inspectedList, String sourceInspected, String packageName) { - - ClassInfo currClassInfo = null; - - for(Map inspected : inspectedList){ - - if(inspected != null && inspected.size() > 0){ - - if(currClassInfo == null){ - @SuppressWarnings("unchecked") - List classPackage = new LinkedList(List.class.cast( inspected.get(COMPONENT_PACKAGES_KEY) )); - String className = String.class.cast( inspected.get(COMPONENT_NAME_KEY) ); - - List fullClassNames = new LinkedList(); - for(String currPackage : classPackage){ - fullClassNames.add(removeQuotes(currPackage) + "::" + className); - } - currClassInfo = new ClassInfo(fullClassNames); - - _classInfoSet.add(currClassInfo); - continue; - } - //created the ClassInfo instance and now created the NodeInfo to add - - Object htmlType = inspected.get(HTML_TYPE_KEY); - Object typeAttributeValue = inspected.get(TYPE_ATTRIBUTE_VALUE_KEY); - - Object valueAttributeValue = inspected.get(VALUE_ATTRIBUTE_VALUE_KEY); - Boolean isValueDynamic = inspected.get(VALUE_DYNAMIC_KEY) != null && inspected.get(VALUE_DYNAMIC_KEY).equals("true"); - Boolean isValueNested = inspected.get(VALUE_NESTED_KEY) != null && inspected.get(VALUE_NESTED_KEY).equals("true"); - Boolean isValueRecurse = inspected.get(VALUE_RECURSE_KEY) != null && inspected.get(VALUE_RECURSE_KEY).equals("true"); - Object valueNestedValues = inspected.get(VALUE_NESTED_VALUES_KEY); - List valueNestedList; - if(valueNestedValues != null){ - valueNestedList = Arrays.asList( (String.class.cast( valueNestedValues )).split("_") ); - }else{ - valueNestedList = new LinkedList(); - } - - Object nameAttributeValue = inspected.get(NAME_ATTRIBUTE_VALUE_KEY); - Boolean isNameDynamic = inspected.get(NAME_DYNAMIC_KEY) != null && inspected.get(NAME_DYNAMIC_KEY).equals("true"); - Object nameAppend = inspected.get(NAME_APPEND_KEY); - - currClassInfo.addNodeInfo(new NodeInfo(returnEmptyStringForNull(htmlType), returnEmptyStringForNull(typeAttributeValue), isValueNested, - isValueDynamic, isValueRecurse, returnEmptyStringForNull(valueAttributeValue), valueNestedList, isNameDynamic, - returnEmptyStringForNull(nameAppend), returnEmptyStringForNull(nameAttributeValue))); - - } - - } - - } - - public void inspectionCompleted() { - - final String JSF_FLEX_CLASS_SET_ATTRIBUTE = "classSet"; - final String JSF_FLEX_COMPONENT_VALUE_MAPPER_TEMPLATE = "jsf-flex-componentValueMapperXML.vm"; - final String TO_CREATE_COMPONENT_VALUE_MAPPER_XML_FILE_NAME = "componentValueMapper.xml"; - - String toCreateComponentValueMapperXMLPath = _toCreateComponentValueMapperXMLPath.getPath(); - - try{ - checkForDirectoryExistenceOrCreate(toCreateComponentValueMapperXMLPath); - toCreateComponentValueMapperXMLPath += File.separatorChar + TO_CREATE_COMPONENT_VALUE_MAPPER_XML_FILE_NAME; - FileWriter writer = new FileWriter(new File(toCreateComponentValueMapperXMLPath)); - Map contextInfoMap = new HashMap(); - - contextInfoMap.put(JSF_FLEX_CLASS_SET_ATTRIBUTE, _classInfoSet); - _jsfFlexVelocityParser.mergeCollectionToTemplate(JSF_FLEX_COMPONENT_VALUE_MAPPER_TEMPLATE, contextInfoMap, - writer, toCreateComponentValueMapperXMLPath); - - }catch(IOException ioException){ - - } - - } - - public void mergeCollectionToTemplateFinished(String fileMerged) { - - ReplaceText removeEmptySpace = new ReplaceText(fileMerged); - removeEmptySpace.replaceRegExp(true); - removeEmptySpace.regMatch(ReplaceText.CLEAN_REG_EXP_MATCH); - removeEmptySpace.regReplace(ReplaceText.CLEAN_REG_EXP_REPLACE_WITH); - - removeEmptySpace.performTask(); - - } - - public static final class ClassInfo { - - private final List _fullClassNames; - private final List _nodeList; - - private ClassInfo(){ - super(); - _fullClassNames = null; - _nodeList = null; - } - - private ClassInfo(List fullClassNames) { - super(); - _fullClassNames = fullClassNames; - _nodeList = new LinkedList(); - } - - public void addNodeInfo(NodeInfo _nodeInfo){ - _nodeList.add(_nodeInfo); - } - - public List getFullClassNames() { - return _fullClassNames; - } - public List getNodeList() { - return _nodeList; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof ClassInfo)){ - return false; - } - - ClassInfo classInfoInstance = ClassInfo.class.cast( instance ); - return _fullClassNames.equals(classInfoInstance._fullClassNames); - } - - @Override - public int hashCode() { - return _fullClassNames.hashCode(); - } - - } - - public static final class NodeInfo { - - private final String _htmlType; - private final String _typeAttributeValue; - - private final Boolean _valueNested; - private final Boolean _valueDynamic; - private final Boolean _valueRecurse; - private final String _valueAttributeValue; - private final List _nestedList; - - private final Boolean _nameDynamic; - private final String _nameAppend; - private final String _nameAttributeValue; - - private final int HASH_CODE; - - private NodeInfo() { - super(); - _htmlType = null; - _typeAttributeValue = null; - - _valueNested = Boolean.FALSE; - _valueDynamic = Boolean.FALSE; - _valueRecurse = Boolean.FALSE; - _valueAttributeValue = null; - _nestedList = null; - - _nameDynamic = Boolean.FALSE; - _nameAppend = null; - _nameAttributeValue = null; - - HASH_CODE = -1; - } - - private NodeInfo(String htmlType, String typeAttributeValue, Boolean valueNested, Boolean valueDynamic, - Boolean valueRecurse, String valueAttributeValue, List nestedList, Boolean nameDynamic, - String nameAppend, String nameAttributeValue) { - super(); - _htmlType = htmlType; - _typeAttributeValue = typeAttributeValue; - - _valueNested = valueNested; - _valueDynamic = valueDynamic; - _valueRecurse = valueRecurse; - _valueAttributeValue = valueAttributeValue; - _nestedList = nestedList; - - _nameDynamic = nameDynamic; - _nameAppend = nameAppend; - _nameAttributeValue = nameAttributeValue; - - int hashCodeVal = HASH_CODE_INIT_VALUE; - hashCodeVal = HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _htmlType.hashCode(); - hashCodeVal = HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _typeAttributeValue.hashCode(); - hashCodeVal = HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _valueNested.hashCode(); - hashCodeVal = HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _valueDynamic.hashCode(); - hashCodeVal = HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _valueRecurse.hashCode(); - hashCodeVal = HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _valueAttributeValue.hashCode(); - hashCodeVal = HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _nestedList.hashCode(); - hashCodeVal = HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _nameDynamic.hashCode(); - hashCodeVal = HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _nameAppend.hashCode(); - hashCodeVal = HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _nameAttributeValue.hashCode(); - HASH_CODE = hashCodeVal; - } - - public String getHtmlType() { - return _htmlType; - } - public String getNameAppend() { - return _nameAppend; - } - public String getNameAttributeValue() { - return _nameAttributeValue; - } - public Boolean isNameDynamic() { - return _nameDynamic; - } - public List getNestedList() { - /* - * since it's final it should be returned as a defensive copy, - * but it's a plug-in so return it - */ - return _nestedList; - } - public String getTypeAttributeValue() { - return _typeAttributeValue; - } - public String getValueAttributeValue() { - return _valueAttributeValue; - } - public Boolean isValueDynamic() { - return _valueDynamic; - } - public Boolean isValueNested() { - return _valueNested; - } - public Boolean isValueRecurse() { - return _valueRecurse; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof NodeInfo)){ - return false; - } - - NodeInfo nodeInfoInstance = NodeInfo.class.cast( instance ); - return _htmlType.equals(nodeInfoInstance._htmlType) && _typeAttributeValue.equals(nodeInfoInstance._typeAttributeValue) && - _valueNested.equals(nodeInfoInstance._valueNested) && _valueDynamic.equals(nodeInfoInstance._valueDynamic) && - _valueRecurse.equals(nodeInfoInstance._valueRecurse) && _valueAttributeValue.equals(nodeInfoInstance._valueAttributeValue) && - _nestedList.equals(nodeInfoInstance._nestedList) && _nameDynamic.equals(nodeInfoInstance._nameDynamic) && - _nameAppend.equals(nodeInfoInstance._nameAppend) && _nameAttributeValue.equals(nodeInfoInstance._nameAttributeValue); - } - - @Override - public int hashCode() { - return HASH_CODE; - } - - } - -} diff --git a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/mojo/CreateSwcConfigurationFile.java b/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/mojo/CreateSwcConfigurationFile.java deleted file mode 100644 index 8935459d..00000000 --- a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/mojo/CreateSwcConfigurationFile.java +++ /dev/null @@ -1,273 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlexPlugIn.mojo; - -import java.io.File; -import java.io.FileWriter; -import java.io.IOException; -import java.util.HashMap; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Map; -import java.util.Properties; -import java.util.Set; -import java.util.concurrent.CountDownLatch; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; -import java.util.concurrent.FutureTask; - -import org.apache.maven.plugin.AbstractMojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; -import org.apache.maven.project.MavenProject; - -import com.googlecode.jsfFlexPlugIn.inspector.IJsfFlexInspectListener; -import com.googlecode.jsfFlexPlugIn.inspector.AbstractJsfFlexInspectorBase; -import com.googlecode.jsfFlexPlugIn.parser.IJsfFlexParserListener; -import com.googlecode.jsfFlexPlugIn.parser.velocity.JsfFlexVelocityParser; -import com.googlecode.jsfFlexPlugIn.utils.tasks.ReplaceText; -import com.thoughtworks.qdox.JavaDocBuilder; -import com.thoughtworks.qdox.model.Annotation; -import com.thoughtworks.qdox.model.JavaClass; -import com.thoughtworks.qdox.model.annotation.AnnotationValue; - -import static com.googlecode.jsfFlexPlugIn.utils.JsfFlexBuildPluginConstant.*; -import static com.googlecode.jsfFlexPlugIn.utils.JsfFlexBuildPluginUtil.*; - -/** - * @goal createSwcConfigurationFile - * @phase generate-resources - * @author Ji Hoon Kim - */ -public final class CreateSwcConfigurationFile extends AbstractMojo - implements IJsfFlexInspectListener, IJsfFlexParserListener { - - /** - * @parameter expression="${project}" - */ - private MavenProject _project; - - /** - * @parameter expression="${basedir}/target/classes/com/googlecode/jsfFlex/shared/util" - */ - private File _toCreateFlexConstantsXMLPath; - - /** - * @parameter expression="src/main/resources/META-INF" - */ - private File _templateSourceDirectory; - - private final Set _swcActionScriptFileSet; - private final CountDownLatch _mergeCollectionTemplateLatch; - - private AbstractJsfFlexInspectorBase _jsfFlexInspector; - - public CreateSwcConfigurationFile() { - super(); - _swcActionScriptFileSet = new LinkedHashSet(); - _mergeCollectionTemplateLatch = new CountDownLatch(3); - } - - public void execute() throws MojoExecutionException, MojoFailureException { - if(_project.getParent() == null){ - return; - } - - String currDirPath = String.class.cast( _project.getCompileSourceRoots().get(0) ); - - _jsfFlexInspector = new AbstractJsfFlexInspectorBase(currDirPath){ - - private static final String SWC_ACTION_SCRIPT_FILES_ANNOTATION_NOT_FOUND = "com.googlecode.jsfFlex.shared.util.annotation.ISwcActionScriptFiles annotation could not be located"; - private static final String SWC_ACTION_SCRIPT_FILES_ANNOTATION_NAME = "com.googlecode.jsfFlex.shared.util.annotation.ISwcActionScriptFiles"; - - private static final String ACTION_SCRIPT_FILES_KEY = "actionScriptFiles"; - private static final String ACTION_SCRIPT_FILE_KEY = "actionScriptFile"; - - @Override - public void inspectFiles() { - JavaDocBuilder builder = new JavaDocBuilder(); - builder.addSourceTree(new File(getDirPath())); - JavaClass flexConstant = builder.getClassByName("com.googlecode.jsfFlex.shared.util.FlexConstants"); - - Annotation[] qdoxAnnotations = flexConstant.getAnnotations(); - Annotation swcActionScriptFilesAnnotation = null; - - if(qdoxAnnotations == null){ - throw new RuntimeException(SWC_ACTION_SCRIPT_FILES_ANNOTATION_NOT_FOUND); - } - - for(Annotation currAnnotation : qdoxAnnotations){ - if(currAnnotation.getType().getValue().equals(SWC_ACTION_SCRIPT_FILES_ANNOTATION_NAME)){ - swcActionScriptFilesAnnotation = currAnnotation; - break; - } - } - - if(swcActionScriptFilesAnnotation == null){ - throw new RuntimeException(SWC_ACTION_SCRIPT_FILES_ANNOTATION_NOT_FOUND); - } - - AnnotationValue actionScriptFiles = swcActionScriptFilesAnnotation.getProperty(ACTION_SCRIPT_FILES_KEY); - - @SuppressWarnings("unchecked") - List swcActionScriptFileList = (List) actionScriptFiles.getParameterValue(); - for(Annotation currActionScriptFile : swcActionScriptFileList){ - _swcActionScriptFileSet.add(new SwcActionScriptFile(removeQuotes( currActionScriptFile.getProperty(ACTION_SCRIPT_FILE_KEY).getParameterValue().toString() ))); - } - - inspectionCompleted(); - - } - - }; - - _jsfFlexInspector.addInspectListener(this); - - _jsfFlexInspector.inspectFiles(); - - } - - public void mergeCollectionToTemplateFinished(String fileMerged) { - ReplaceText removeEmptySpace = new ReplaceText(fileMerged); - removeEmptySpace.replaceRegExp(true); - removeEmptySpace.regMatch(ReplaceText.CLEAN_REG_EXP_MATCH); - removeEmptySpace.regReplace(ReplaceText.CLEAN_REG_EXP_REPLACE_WITH); - - removeEmptySpace.performTask(); - - _mergeCollectionTemplateLatch.countDown(); - } - - public void inspectFileFinished(List> inspectedList, String sourceInspected, String packageName) { - - } - - public void inspectionCompleted() { - - final String SWC_CONFIG_FILE_CLASS_DIRECTORY = "target" + File.separatorChar + "classes" + File.separatorChar + "com" + File.separatorChar - + "googlecode" + File.separatorChar + "jsfFlex" + File.separatorChar + "shared" + - File.separatorChar + "tasks" + File.separatorChar; - - final String ANT_FLEX_TASK_RUNNER_IMPL = File.separatorChar + "runnerImpl" + File.separatorChar + "flexTaskRunnerImpl" + File.separatorChar + - "antFlexTaskRunnerImpl" + File.separatorChar + SWC_CONFIG_FILE_CLASS_DIRECTORY; - - final String JYTHON_FLEX_TASK_RUNNER_IMPL = File.separatorChar + "runnerImpl" + File.separatorChar + "flexTaskRunnerImpl" + File.separatorChar + - "jythonFlexTaskRunnerImpl" + File.separatorChar + SWC_CONFIG_FILE_CLASS_DIRECTORY; - - final String FLEX_CONSTANTS_XML_TEMPLATE_FILE_NAME = "jsf-flex-flexConstants.vm"; - final String JSF_FLEX_MAIN_SWC_CONFIGURATION_FILE_XML_TEMPLATE_FILE_NAME = "jsf-flex-jsfFlexMainSwcConfigurationFile.vm"; - - final String FLEX_CONSTANTS_XML_FILE_NAME = "flexConstants.xml"; - final String JSF_FLEX_MAIN_SWC_CONFIGURATION_FILE_XML_FILE_NAME = "jsfFlexMainSwcConfigurationFile.xml"; - - MavenProject topProject = _project.getParent().getParent(); - String basePath = topProject.getBasedir().getAbsolutePath(); - String antFlexTaskRunnerSwcConfigFilePath = basePath + ANT_FLEX_TASK_RUNNER_IMPL; - String jythonFlexTaskRunnerSwcConfigFilePath = basePath + JYTHON_FLEX_TASK_RUNNER_IMPL; - String flexConstantFilePath = _toCreateFlexConstantsXMLPath.getPath(); - - ExecutorService mergeCollectionTemplatePool = Executors.newFixedThreadPool(3); - - try{ - - Properties velocityParserProperties = new Properties(); - velocityParserProperties.put(FILE_RESOURCE_LOADER_PATH_KEY, _templateSourceDirectory.getPath()); - - submitMergeContent(mergeCollectionTemplatePool, flexConstantFilePath, FLEX_CONSTANTS_XML_FILE_NAME, - velocityParserProperties, FLEX_CONSTANTS_XML_TEMPLATE_FILE_NAME); - submitMergeContent(mergeCollectionTemplatePool, antFlexTaskRunnerSwcConfigFilePath, JSF_FLEX_MAIN_SWC_CONFIGURATION_FILE_XML_FILE_NAME, - velocityParserProperties, JSF_FLEX_MAIN_SWC_CONFIGURATION_FILE_XML_TEMPLATE_FILE_NAME); - submitMergeContent(mergeCollectionTemplatePool, jythonFlexTaskRunnerSwcConfigFilePath, JSF_FLEX_MAIN_SWC_CONFIGURATION_FILE_XML_FILE_NAME, - velocityParserProperties, JSF_FLEX_MAIN_SWC_CONFIGURATION_FILE_XML_TEMPLATE_FILE_NAME); - try{ - _mergeCollectionTemplateLatch.await(); - }catch(InterruptedException interruptedExcept){ - Thread.currentThread().interrupt(); - } - }finally { - if(mergeCollectionTemplatePool != null){ - mergeCollectionTemplatePool.shutdownNow(); - } - } - - } - - private void submitMergeContent(ExecutorService mergeCollectionTemplatePool, String fileDirectory, String fileName, - final Properties velocityParserProperties, final String templateFileName) { - final String SWC_ACTION_SCRIPT_FILE_SET_ATTRIBUTE = "swcActionScriptFileSet"; - - checkForDirectoryExistenceOrCreate(fileDirectory); - final String filePath = fileDirectory + File.separatorChar + fileName; - mergeCollectionTemplatePool.submit(new FutureTask(new Runnable(){ - public void run() { - FileWriter writer = null; - try{ - writer = new FileWriter(new File(filePath)); - }catch(IOException ioException){ - throw new RuntimeException("Error while opening FileWriter for : " + filePath); - } - Map contextInfoMap = new HashMap(); - contextInfoMap.put(SWC_ACTION_SCRIPT_FILE_SET_ATTRIBUTE, _swcActionScriptFileSet); - - JsfFlexVelocityParser jsfFlexVelocityParser = new JsfFlexVelocityParser(velocityParserProperties); - jsfFlexVelocityParser.init(); - jsfFlexVelocityParser.addParserListener(CreateSwcConfigurationFile.this); - - jsfFlexVelocityParser.mergeCollectionToTemplate(templateFileName, contextInfoMap, - writer, filePath); - } - }, null)); - } - - public static final class SwcActionScriptFile { - - private static final String ACTIONSCRIPT_DIR_NAME = "com/googlecode/jsfFlex/shared/actionScript/"; - - private final String _actionScriptFile; - - private SwcActionScriptFile(String actionScriptFile){ - super(); - _actionScriptFile = actionScriptFile; - } - - public String getActionScriptFile() { - return _actionScriptFile; - } - public String getActionScriptFileForJarAccess() { - return ACTIONSCRIPT_DIR_NAME + _actionScriptFile.replace('.', '/') + AS_FILE_EXT; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof SwcActionScriptFile)){ - return false; - } - - SwcActionScriptFile swcActionScriptFileInstance = SwcActionScriptFile.class.cast( instance ); - return _actionScriptFile.equals( swcActionScriptFileInstance._actionScriptFile ); - } - - @Override - public int hashCode() { - return _actionScriptFile.hashCode(); - } - - } - -} diff --git a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/parser/IJsfFlexParserListener.java b/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/parser/IJsfFlexParserListener.java deleted file mode 100644 index 8a9b2065..00000000 --- a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/parser/IJsfFlexParserListener.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlexPlugIn.parser; - -/** - * @author Ji Hoon Kim - */ -public interface IJsfFlexParserListener { - - void mergeCollectionToTemplateFinished(String fileMerged); - -} diff --git a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/parser/velocity/JsfFlexVelocityParser.java b/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/parser/velocity/JsfFlexVelocityParser.java deleted file mode 100644 index c18362f7..00000000 --- a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/parser/velocity/JsfFlexVelocityParser.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlexPlugIn.parser.velocity; - -import java.io.IOException; -import java.io.Writer; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; -import java.util.Properties; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.app.VelocityEngine; - -import com.googlecode.jsfFlexPlugIn.parser.IJsfFlexParserListener; - -/** - * @author Ji Hoon Kim - */ -public class JsfFlexVelocityParser { - - private final static Log _log = LogFactory.getLog(JsfFlexVelocityParser.class); - - private final List _jsfFlexVelocityParserListeners; - private final VelocityEngine _velocityEngine; - private final VelocityContext _context; - private final Properties _initProperties; - - public JsfFlexVelocityParser(){ - super(); - _initProperties = null; - } - - public JsfFlexVelocityParser(Properties initProperties){ - super(); - _initProperties = initProperties; - } - - { - _velocityEngine = new VelocityEngine(); - _context = new VelocityContext(); - _jsfFlexVelocityParserListeners = new LinkedList(); - } - - public void init(){ - try{ - if(_initProperties != null){ - _velocityEngine.init(_initProperties); - }else{ - _velocityEngine.init(); - } - - }catch(Exception _exceptionWhileInitializing){ - throw new RuntimeException(_exceptionWhileInitializing); - } - - } - - public synchronized void mergeCollectionToTemplate(String template, Map contextInfo, Writer targetWriter, String fileMerged){ - - for(String currKey : contextInfo.keySet()){ - _context.put(currKey, contextInfo.get(currKey)); - } - - try{ - _velocityEngine.mergeTemplate(template, _context, targetWriter); - targetWriter.flush(); - - }catch(Exception exceptionWhileMerging){ - throw new RuntimeException(exceptionWhileMerging); - }finally{ - try{ - if(targetWriter != null){ - targetWriter.close(); - } - }catch(IOException closerException){ - _log.debug("Error in closing the writer within mergeCollectionToTemplate", closerException); - } - } - - mergeCollectionToTemplateFinished(fileMerged); - } - - public synchronized void addParserListener(IJsfFlexParserListener callBack){ - _jsfFlexVelocityParserListeners.add(callBack); - } - - private synchronized void mergeCollectionToTemplateFinished(String fileMerged){ - for(IJsfFlexParserListener mergeCollectionToTemplateCallBack : _jsfFlexVelocityParserListeners){ - mergeCollectionToTemplateCallBack.mergeCollectionToTemplateFinished(fileMerged); - } - } - -} diff --git a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/utils/JsfFlexBuildPluginConstant.java b/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/utils/JsfFlexBuildPluginConstant.java deleted file mode 100644 index 3bbeba4b..00000000 --- a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/utils/JsfFlexBuildPluginConstant.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlexPlugIn.utils; - -/** - * @author Ji Hoon Kim - */ -public final class JsfFlexBuildPluginConstant { - - private JsfFlexBuildPluginConstant() { - super(); - } - - public static final String AS_FILE_EXT = ".as"; - - public static final String FILE_RESOURCE_LOADER_PATH_KEY = "file.resource.loader.path"; - - public static final int HASH_CODE_INIT_VALUE = 3; - public static final int HASH_CODE_MULTIPLY_VALUE = 31; - -} diff --git a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/utils/JsfFlexBuildPluginUtil.java b/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/utils/JsfFlexBuildPluginUtil.java deleted file mode 100644 index 3f6f5d86..00000000 --- a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/utils/JsfFlexBuildPluginUtil.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlexPlugIn.utils; - -import java.io.File; - -/** - * @author Ji Hoon Kim - */ -public final class JsfFlexBuildPluginUtil { - - private JsfFlexBuildPluginUtil() { - super(); - } - - public static void checkForDirectoryExistenceOrCreate(String path) { - File directory = new File(path); - if(!directory.exists()){ - directory.mkdirs(); - } - } - - public static String removeQuotes(String content) { - return content == null ? "" : content.replaceAll("\"", ""); - } - - public static String returnEmptyStringForNull(Object checkForNull) { - return checkForNull == null ? "" : checkForNull.toString(); - } - -} diff --git a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/utils/tasks/AbstractAntBase.java b/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/utils/tasks/AbstractAntBase.java deleted file mode 100644 index 0ce896de..00000000 --- a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/utils/tasks/AbstractAntBase.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlexPlugIn.utils.tasks; - -import java.io.PrintStream; - -import org.apache.tools.ant.DefaultLogger; -import org.apache.tools.ant.Project; - -/** - * @author Ji Hoon Kim - */ -abstract class AbstractAntBase { - - Project _taskProject; - private DefaultLogger _consoleLogger; - - AbstractAntBase(){ - super(); - _taskProject = new Project(); - _consoleLogger = new DefaultLogger(); - _consoleLogger.setErrorPrintStream(System.err); - _consoleLogger.setOutputPrintStream(System.out); - _consoleLogger.setMessageOutputLevel(Project.MSG_INFO); - _taskProject.addBuildListener(_consoleLogger); - } - - void buildProject(String targetToExecute){ - _taskProject.fireBuildStarted(); - _taskProject.init(); - _taskProject.executeTarget(targetToExecute); - _taskProject.fireBuildFinished(null); - } - - void addBuildListener(DefaultLogger consoleLogger){ - _taskProject.removeBuildListener(_consoleLogger); - _consoleLogger = consoleLogger; - _taskProject.addBuildListener(_consoleLogger); - } - - void setErrorPrintstream(PrintStream errorStream){ - _consoleLogger.setErrorPrintStream(errorStream); - } - - void setOutputPrintStream(PrintStream outStream){ - _consoleLogger.setOutputPrintStream(outStream); - } - - void setMessageOutputLevel(int outLevel){ - _consoleLogger.setMessageOutputLevel(outLevel); - } - -} diff --git a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/utils/tasks/ReplaceText.java b/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/utils/tasks/ReplaceText.java deleted file mode 100644 index 3672f78f..00000000 --- a/jsf-flex-build-plugIn/jsf-flex-plugIn/src/main/java/com/googlecode/jsfFlexPlugIn/utils/tasks/ReplaceText.java +++ /dev/null @@ -1,234 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlexPlugIn.utils.tasks; - -import java.io.File; -import java.util.HashMap; -import java.util.Map; - -import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.Target; -import org.apache.tools.ant.taskdefs.Replace; -import org.apache.tools.ant.taskdefs.Replace.NestedString; -import org.apache.tools.ant.taskdefs.Replace.Replacefilter; -import org.apache.tools.ant.taskdefs.optional.ReplaceRegExp; - -/** - * @author Ji Hoon Kim - */ -public final class ReplaceText extends AbstractAntBase { - - //make the below reg exp better later - public static final String CLEAN_REG_EXP_MATCH = "\\s{2,}"; - public static final String CLEAN_REG_EXP_REPLACE_WITH = System.getProperty("line.separator"); - - private static final String REPLACE_MULTI_LINE_TARGET = "replace_multi_line"; - private static final String REPLACE_TEXT_TARGET = "replace_text"; - private static final String REPLACE_REG_EXP_TARGET = "replace_reg_exp"; - - private Target _replaceMultiLineTarget; - private Target _replaceTextTarget; - private Target _replaceRegExpTarget; - - private Replace _replaceMultiLineTask; - private Replace _replaceTextTask; - private ReplaceRegExp _replaceRegExpTask; - - private boolean _multiLineReplace; - private boolean _replaceText; - private boolean _replaceRegExp; - - private String _file; - private String _regMatch; - private String _regReplace; - private String _flags; - - private Map _replaceList; - - public ReplaceText(){ - super(); - } - - public ReplaceText(String file){ - _file = file; - } - - { - //ReplaceMultiLineTarget - _replaceMultiLineTarget = new Target(); - _replaceMultiLineTarget.setName(REPLACE_MULTI_LINE_TARGET); - _replaceMultiLineTarget.setProject(_taskProject); - _taskProject.addTarget(_replaceMultiLineTarget); - - _replaceMultiLineTask = new Replace(); - _replaceMultiLineTask.setOwningTarget(_replaceMultiLineTarget); - _replaceMultiLineTask.setProject(_taskProject); - - _replaceMultiLineTarget.addTask(_replaceMultiLineTask); - - //ReplaceTextTarget - _replaceTextTarget = new Target(); - _replaceTextTarget.setName(REPLACE_TEXT_TARGET); - _replaceTextTarget.setProject(_taskProject); - _taskProject.addTarget(_replaceTextTarget); - - _replaceTextTask = new Replace(); - _replaceTextTask.setOwningTarget(_replaceTextTarget); - _replaceTextTask.setProject(_taskProject); - - _replaceTextTarget.addTask(_replaceTextTask); - - //ReplaceRegExpTarget - _replaceRegExpTarget = new Target(); - _replaceRegExpTarget.setName(REPLACE_REG_EXP_TARGET); - _replaceRegExpTarget.setProject(_taskProject); - _taskProject.addTarget(_replaceRegExpTarget); - - _replaceRegExpTask = new ReplaceRegExp(); - _replaceRegExpTask.setOwningTarget(_replaceRegExpTarget); - _replaceRegExpTask.setProject(_taskProject); - - _replaceRegExpTarget.addTask(_replaceRegExpTask); - - _replaceList = new HashMap(); - _flags = "gis"; - _multiLineReplace = true; - } - - public void addTokenValue(String token, String value){ - _replaceList.put(token, value); - } - - public void performTask() { - - try { - - String targetToExecute = ""; - - if(_multiLineReplace){ - - _replaceMultiLineTask.setFile(new File(_file)); - - for(String tokenVal : _replaceList.keySet()){ - Replacefilter replaceFilt = _replaceMultiLineTask.createReplacefilter(); - replaceFilt.setToken(tokenVal); - replaceFilt.setValue(_replaceList.get(tokenVal)); - } - _replaceMultiLineTask.maybeConfigure(); - targetToExecute = REPLACE_MULTI_LINE_TARGET; - }else if(_replaceText){ - - _replaceTextTask.setFile(new File(_file)); - - for(String tokenVal : _replaceList.keySet()){ - NestedString nestedToken = _replaceTextTask.createReplaceToken(); - nestedToken.addText(tokenVal); - NestedString nestedValue = _replaceTextTask.createReplaceValue(); - nestedValue.addText(_replaceList.get(tokenVal)); - } - - _replaceTextTask.maybeConfigure(); - targetToExecute = REPLACE_TEXT_TARGET; - }else if(_replaceRegExp){ - - _replaceRegExpTask.setFile(new File(_file)); - _replaceRegExpTask.setMatch(_regMatch); - _replaceRegExpTask.setReplace(_regReplace); - _replaceRegExpTask.setFlags(_flags); - - _replaceRegExpTask.maybeConfigure(); - targetToExecute = REPLACE_REG_EXP_TARGET; - } - - buildProject(targetToExecute); - - } catch (BuildException buildException) { - _taskProject.fireBuildFinished(buildException); - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in ReplaceText's performTask with following fields \n"); - errorMessage.append(toString()); - throw new RuntimeException(errorMessage.toString(), buildException); - } - - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("multiLineReplace [ "); - content.append(_multiLineReplace); - content.append(" ] "); - content.append("replaceText [ "); - content.append(_replaceText); - content.append(" ] "); - content.append("replaceRegExp [ "); - content.append(_replaceRegExp); - content.append(" ] "); - content.append("file [ "); - content.append(_file); - content.append(" ] "); - content.append("regMatch [ "); - content.append(_regMatch); - content.append(" ] "); - content.append("regReplace [ "); - content.append(_regReplace); - content.append(" ] "); - content.append("flags [ "); - content.append(_flags); - content.append(" ] "); - content.append("replaceList ["); - for(String currVal : _replaceList.keySet()){ - content.append(" "); - content.append("key/value"); - content.append(currVal); - content.append("/"); - content.append(_replaceList.get(currVal)); - } - content.append(" ] "); - return content.toString(); - } - - public void file(String file) { - _file = file; - } - public void multiLineReplace(boolean multiLineReplace) { - _multiLineReplace = multiLineReplace; - _replaceText = false; - _replaceRegExp = false; - } - public void replaceRegExp(boolean replaceRegExp) { - _replaceRegExp = replaceRegExp; - _multiLineReplace = false; - _replaceText = false; - } - public void replaceText(boolean replaceText) { - _replaceText = replaceText; - _multiLineReplace = false; - _replaceRegExp = false; - } - public void flags(String flags) { - _flags = flags; - } - public void regMatch(String regMatch) { - _regMatch = regMatch; - } - public void regReplace(String regReplace) { - _regReplace = regReplace; - } - -} diff --git a/jsf-flex-build-plugIn/pom.xml b/jsf-flex-build-plugIn/pom.xml deleted file mode 100644 index 1b38dbd9..00000000 --- a/jsf-flex-build-plugIn/pom.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - com.googlecode.jsf-flex - jsf-flex-build-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.jsf-flex-build-plugIn-project - jsf-flex-build-plugIn-main - pom - JSF-Flex Builder Main Project - http://code.google.com/p/jsf-flex/ - JSF Flex Builder Main Project that contains mojos to create XML for mapping Flex fields to JSF Java components for renderKit14 project and to create componentValueMapper.xml for ComponentValueMapper.as file - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-build-plugIn - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-build-plugIn - - - - - - - ${basedir}/src/main/resources - - - - - - - maven-jar-plugin - 2.2 - - - - true - - - - - - - - - - - jsf-flex-plugIn - - - \ No newline at end of file diff --git a/jsf-flex-eclipse-plugIn/features/build.properties b/jsf-flex-eclipse-plugIn/features/build.properties deleted file mode 100644 index 82ab19c6..00000000 --- a/jsf-flex-eclipse-plugIn/features/build.properties +++ /dev/null @@ -1 +0,0 @@ -bin.includes = feature.xml diff --git a/jsf-flex-eclipse-plugIn/features/feature.xml b/jsf-flex-eclipse-plugIn/features/feature.xml deleted file mode 100644 index 643a28d3..00000000 --- a/jsf-flex-eclipse-plugIn/features/feature.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - Feature for Jsf Flex Base Plugin project. - - - - 1) The Apache Software License, Version 2.0 - 2) Mozilla Public License, Version 1.1 - 3) Jython License [optional] - - - - - - - - - - - diff --git a/jsf-flex-eclipse-plugIn/features/pom.xml b/jsf-flex-eclipse-plugIn/features/pom.xml deleted file mode 100644 index 8d4a3e66..00000000 --- a/jsf-flex-eclipse-plugIn/features/pom.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - com.googlecode.jsf-flex - jsf-flex-eclipse-plugIn - 0.5.0 - - - 4.0.0 - com.googlecode.jsf-flex.jsf-flex-eclipse-plugIn - com.googlecode.jsf-flex-eclipse-plugIn-base-plugIn-feature - eclipse-feature - JSF-Flex Eclipse Feature Project - This project contains Eclipse Features project for the JSF Flex project. - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn/features - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn/features - - - diff --git a/jsf-flex-eclipse-plugIn/fragments/nl1/META-INF/MANIFEST.MF b/jsf-flex-eclipse-plugIn/fragments/nl1/META-INF/MANIFEST.MF deleted file mode 100644 index 2bb080c9..00000000 --- a/jsf-flex-eclipse-plugIn/fragments/nl1/META-INF/MANIFEST.MF +++ /dev/null @@ -1,9 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: JSF-Flex Eclipse NL1 Features Project -Bundle-SymbolicName: com.googlecode.jsf-flex-eclipse-plugIn-base-plugIn.nl1;singleton:=true -Bundle-Version: 0.5.0 -Bundle-Vendor: Jsf Flex Eclipse Plugin -Fragment-Host: com.googlecode.jsf-flex-eclipse-plugIn-base-plugIn;bundle-version="0.5.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Bundle-ClassPath: . diff --git a/jsf-flex-eclipse-plugIn/fragments/nl1/OSGI-INF/l10n/bundle.properties b/jsf-flex-eclipse-plugIn/fragments/nl1/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 9e36d507..00000000 --- a/jsf-flex-eclipse-plugIn/fragments/nl1/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,17 +0,0 @@ -#Properties file for com.googlecode.jsfFlexEclipsePlugIn -jsf.flex.plugin.view.category.name=JsfFlex -jsf.flex.plugin.view.name=JsfFlexAttributesClass -jsf.flex.plugin.commands.category.description = Category for the Jsf Flex AS Attributes Class -jsf.flex.plugin.commands.category.name = Jsf Flex AS Attributes Class -jsf.flex.plugin.commands.showView.description = Shows the Jsf Flex AS Attributes Class View -jsf.flex.plugin.commands.showView.name = Shows the Jsf Flex AS Attributes Class View -jsf.flex.plugin.commands.add.description = Adds the selected resources to the Jsf Flex AS Attributes Class View -jsf.flex.plugin.commands.add.name = Add the content to Jsf Flex AS Attributes Class View -jsf.flex.plugin.commands.copy.description = Allows the copy command of JSF Flex AS Class Attributes -jsf.flex.plugin.commands.copy.name = Copies the content of JSF Flex AS Class Attribute -jsf.flex.plugin.menu.show.label = Jsf Flex AS Attributes Class -jsf.flex.plugin.menu.show.mnemonic = j -jsf.flex.plugin.menu.show.command.mnemonic = O -jsf.flex.plugin.menu.copy.label = Copy -jsf.flex.plugin.menu.add.label = Jsf Flex AS Attributes Class Add -jsf.flex.plugin.preferences.page.name = Jsf Flex AS Attributes Class \ No newline at end of file diff --git a/jsf-flex-eclipse-plugIn/fragments/nl1/build.properties b/jsf-flex-eclipse-plugIn/fragments/nl1/build.properties deleted file mode 100644 index d3215ca5..00000000 --- a/jsf-flex-eclipse-plugIn/fragments/nl1/build.properties +++ /dev/null @@ -1,7 +0,0 @@ -source.. = src/main/java/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - $n1$/,\ - OSGI-INF/ -source.$n1$/ = src/ diff --git a/jsf-flex-eclipse-plugIn/fragments/nl1/pom.xml b/jsf-flex-eclipse-plugIn/fragments/nl1/pom.xml deleted file mode 100644 index df7b7b8f..00000000 --- a/jsf-flex-eclipse-plugIn/fragments/nl1/pom.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - com.googlecode.jsf-flex.jsf-flex-eclipse-plugIn - fragments - 0.5.0 - - - 4.0.0 - com.googlecode.jsf-flex.jsf-flex-eclipse-plugIn - com.googlecode.jsf-flex-eclipse-plugIn-base-plugIn.nl1 - eclipse-plugin - - JSF-Flex Eclipse NL1 Features Project - This project will provide the i18n content for the JSF Flex base Eclipse project. - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn/nl1 - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn/nl1 - - - - - - - - maven-eclipse-plugin - - true - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-dependencies - process-sources - - copy-dependencies - - - ${basedir} - false - false - true - - - - - - - maven-clean-plugin - - - - ${basedir} - - *.jar - - false - - - - - - - - - - diff --git a/jsf-flex-eclipse-plugIn/fragments/nl1/src/main/resources/com/googlecode/jsfflexeclipseplugin/preferences/messages.properties b/jsf-flex-eclipse-plugIn/fragments/nl1/src/main/resources/com/googlecode/jsfflexeclipseplugin/preferences/messages.properties deleted file mode 100644 index 2f304c5c..00000000 --- a/jsf-flex-eclipse-plugIn/fragments/nl1/src/main/resources/com/googlecode/jsfflexeclipseplugin/preferences/messages.properties +++ /dev/null @@ -1,4 +0,0 @@ -ATTEMPT_FETCH_LATEST_AS_APIS=Attempt Fetch of Latest AS APIs -DESCRIPTION=Jsf Flex AS Attributes Class Preferences -LATEST_AS_APIS_URL=Latest AS APIs URL -LATEST_AS_APIS_URL_WARNING=Latest AS APIs URL is required when Attempt Fetch of Latest AS APIs is true diff --git a/jsf-flex-eclipse-plugIn/fragments/nl1/src/main/resources/com/googlecode/jsfflexeclipseplugin/views/messages.properties b/jsf-flex-eclipse-plugIn/fragments/nl1/src/main/resources/com/googlecode/jsfflexeclipseplugin/views/messages.properties deleted file mode 100644 index 49ba1def..00000000 --- a/jsf-flex-eclipse-plugIn/fragments/nl1/src/main/resources/com/googlecode/jsfflexeclipseplugin/views/messages.properties +++ /dev/null @@ -1,2 +0,0 @@ -DESCRIPTION=Description -FIELD=Field diff --git a/jsf-flex-eclipse-plugIn/fragments/pom.xml b/jsf-flex-eclipse-plugIn/fragments/pom.xml deleted file mode 100644 index a58ef252..00000000 --- a/jsf-flex-eclipse-plugIn/fragments/pom.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - com.googlecode.jsf-flex - jsf-flex-eclipse-plugIn - 0.5.0 - - - 4.0.0 - com.googlecode.jsf-flex.jsf-flex-eclipse-plugIn - fragments - pom - JSF-Flex Eclipse Fragments Project - This project contains Eclipse Fragment projects for the JSF Flex project [i.e. NLS and etcetera]. - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn/fragments - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn/fragments - - - - nl1 - - - diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/MANIFEST.MF b/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/MANIFEST.MF deleted file mode 100644 index 6f37ffd3..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/MANIFEST.MF +++ /dev/null @@ -1,20 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: JSF-Flex Eclipse Base Plugin Project -Bundle-SymbolicName: com.googlecode.jsf-flex-eclipse-plugIn-base-plugIn;singleton:=true -Bundle-Version: 0.5.0 -Bundle-Activator: com.googlecode.jsfflexeclipseplugin.JsfFlexActivator -Bundle-Vendor: Jsf Flex -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - org.eclipse.wst.sse.core;bundle-version="1.1.504", - org.eclipse.core.expressions;bundle-version="3.4.200", - org.eclipse.core.resources;bundle-version="3.6.1" -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Bundle-ActivationPolicy: lazy -Export-Package: com.googlecode.jsfflexeclipseplugin.views -Bundle-ClassPath: ., - ant-1.7.0.jar, - ant-launcher-1.7.0.jar, - jdom-1.1.jar, - META-INF/htmlcleaner-2.2.jar diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/about.html b/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/about.html deleted file mode 100644 index 15d59075..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/about.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - -Jsf Flex Attributes Class Eclipse Plugin - - - -This offering is powered by Eclipse technology and includes Eclipse plug-ins that can be installed and used with other Eclipse based offerings. - - \ No newline at end of file diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/about.ini b/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/about.ini deleted file mode 100644 index 634e6d7f..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/about.ini +++ /dev/null @@ -1,3 +0,0 @@ -aboutText=%about -featureImage=feature.gif -tipsAndTricksHref= \ No newline at end of file diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/about.mappings b/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/about.mappings deleted file mode 100644 index a99c59e9..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/about.mappings +++ /dev/null @@ -1,10 +0,0 @@ -about=Jsf Flex Attributes Class Eclipse Plugin\n\ -\n\ -Version: 0.5.0\n\ -Build id: {0}\n\ -\n\ -License: Apache License, Version 2.0\n\ -\n\ -This offering is powered by Eclipse technology and includes\n\ -Eclipse plug-ins that can be installed and used\n\ -with other Eclipse-based offerings. \ No newline at end of file diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/about.properties b/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/about.properties deleted file mode 100644 index e69de29b..00000000 diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/htmlcleaner-2.2.jar b/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/htmlcleaner-2.2.jar deleted file mode 100644 index cc922d06..00000000 Binary files a/jsf-flex-eclipse-plugIn/plugins/base-plugin/META-INF/htmlcleaner-2.2.jar and /dev/null differ diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/OSGI-INF/l10n/bundle.properties b/jsf-flex-eclipse-plugIn/plugins/base-plugin/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 9e36d507..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/OSGI-INF/l10n/bundle.properties +++ /dev/null @@ -1,17 +0,0 @@ -#Properties file for com.googlecode.jsfFlexEclipsePlugIn -jsf.flex.plugin.view.category.name=JsfFlex -jsf.flex.plugin.view.name=JsfFlexAttributesClass -jsf.flex.plugin.commands.category.description = Category for the Jsf Flex AS Attributes Class -jsf.flex.plugin.commands.category.name = Jsf Flex AS Attributes Class -jsf.flex.plugin.commands.showView.description = Shows the Jsf Flex AS Attributes Class View -jsf.flex.plugin.commands.showView.name = Shows the Jsf Flex AS Attributes Class View -jsf.flex.plugin.commands.add.description = Adds the selected resources to the Jsf Flex AS Attributes Class View -jsf.flex.plugin.commands.add.name = Add the content to Jsf Flex AS Attributes Class View -jsf.flex.plugin.commands.copy.description = Allows the copy command of JSF Flex AS Class Attributes -jsf.flex.plugin.commands.copy.name = Copies the content of JSF Flex AS Class Attribute -jsf.flex.plugin.menu.show.label = Jsf Flex AS Attributes Class -jsf.flex.plugin.menu.show.mnemonic = j -jsf.flex.plugin.menu.show.command.mnemonic = O -jsf.flex.plugin.menu.copy.label = Copy -jsf.flex.plugin.menu.add.label = Jsf Flex AS Attributes Class Add -jsf.flex.plugin.preferences.page.name = Jsf Flex AS Attributes Class \ No newline at end of file diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/build.properties b/jsf-flex-eclipse-plugIn/plugins/base-plugin/build.properties deleted file mode 100644 index 440e1c1d..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/build.properties +++ /dev/null @@ -1,8 +0,0 @@ -source.. = src/main/java/ -output.. = target/classes/ -bin.includes = plugin.xml,\ - META-INF/,\ - .,\ - icons/,\ - OSGI-INF/l10n/bundle.properties,\ - META-INF/htmlcleaner-2.2.jar diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/build.xml b/jsf-flex-eclipse-plugIn/plugins/base-plugin/build.xml deleted file mode 100644 index 9783d90f..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/build.xml +++ /dev/null @@ -1,323 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/icons/sample.gif b/jsf-flex-eclipse-plugIn/plugins/base-plugin/icons/sample.gif deleted file mode 100644 index 34fb3c9d..00000000 Binary files a/jsf-flex-eclipse-plugIn/plugins/base-plugin/icons/sample.gif and /dev/null differ diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/plugin.xml b/jsf-flex-eclipse-plugIn/plugins/base-plugin/plugin.xml deleted file mode 100644 index 754ae7ec..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/plugin.xml +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/pom.xml b/jsf-flex-eclipse-plugIn/plugins/base-plugin/pom.xml deleted file mode 100644 index be7c0a72..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/pom.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - com.googlecode.jsf-flex.jsf-flex-eclipse-plugIn - plugins - 0.5.0 - - - 4.0.0 - com.googlecode.jsf-flex.jsf-flex-eclipse-plugIn - com.googlecode.jsf-flex-eclipse-plugIn-base-plugIn - eclipse-plugin - - JSF-Flex Eclipse Base Plugin Project - This project will be the base Eclipse plugin for the JSF Flex project. - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn/base-plugin - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn/base-plugin - - - - - - - net.sourceforge.htmlcleaner - htmlcleaner - - - - - - - timestampAppend - - - timestampAppend - true - - - - ${project.artifactId}-${project.version}-${timestamp} - - - - - - - - - - org.codehaus.mojo - buildnumber-maven-plugin - ${buildnumber.plugin.version} - - {0,date,yyyy-MM-dd-HH-mm} - - timestamp - - - - - validate - - create - - - - - - - maven-eclipse-plugin - - true - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-dependencies - process-sources - - copy-dependencies - - - ${basedir} - false - false - true - - - - - - - maven-clean-plugin - - - - ${basedir} - - *.jar - - false - - - - - - - - - - diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/JsfFlexActivator.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/JsfFlexActivator.java deleted file mode 100644 index e295c289..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/JsfFlexActivator.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -import com.googlecode.jsfflexeclipseplugin.model.JsfFlexCacheManager; - -/** - * The activator class controls the plug-in life cycle - * - * @author Ji Hoon Kim - */ -public final class JsfFlexActivator extends AbstractUIPlugin { - - // The plug-in ID - public static final String PLUGIN_ID = "com.googlecode.jsf-flex-eclipse-plugIn-base-plugIn"; //$NON-NLS-1$ - - // The shared instance - private static JsfFlexActivator plugin; - - /** - * The constructor - */ - public JsfFlexActivator() { - super(); - - } - - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - } - - public void stop(BundleContext context) throws Exception { - plugin = null; - JsfFlexCacheManager.saveLastViewedJsfFlexASAttributeClass(); - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static JsfFlexActivator getDefault() { - return plugin; - } - - /** - * Returns an image descriptor for the image file at the given - * plug-in relative path - * - * @param path the path - * @return the image descriptor - */ - public static ImageDescriptor getImageDescriptor(String path) { - return imageDescriptorFromPlugin(PLUGIN_ID, path); - } -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/commands/handler/JsfFlexASAttributesClassHandlerUtil.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/commands/handler/JsfFlexASAttributesClassHandlerUtil.java deleted file mode 100644 index 542fb031..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/commands/handler/JsfFlexASAttributesClassHandlerUtil.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.commands.handler; - -import java.util.LinkedHashSet; -import java.util.Set; - -import org.eclipse.core.resources.IResource; -import org.eclipse.core.runtime.IAdaptable; - -import com.googlecode.jsfflexeclipseplugin.model.IJsfFlexASAttributesClass; - -/** - * @author Ji Hoon Kim - */ -public final class JsfFlexASAttributesClassHandlerUtil { - - private static final IResource[] RESOURCE_CAST = new IResource[0]; - - private JsfFlexASAttributesClassHandlerUtil() { - super(); - } - - public static IResource[] convertToResources(Object[] objects) { - - Set resources = new LinkedHashSet(objects.length); - for(Object currObject : objects) { - if(currObject instanceof IAdaptable) { - IAdaptable adaptable = IAdaptable.class.cast( currObject ); - IResource resource = IResource.class.cast( adaptable.getAdapter(IResource.class) ); - - if(resource != null) { - resources.add(resource); - } - } - } - - - return resources.toArray(RESOURCE_CAST); - } - - public static String convertToText(Object[] objects) { - - StringBuilder content = new StringBuilder(); - for(Object currObject : objects) { - if(currObject instanceof IJsfFlexASAttributesClass) { - - - - } - } - - return content.toString(); - } - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/commands/handler/JsfFlexAddASAttributesClassHandler.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/commands/handler/JsfFlexAddASAttributesClassHandler.java deleted file mode 100644 index 92dbe0cc..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/commands/handler/JsfFlexAddASAttributesClassHandler.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.commands.handler; - -import org.eclipse.core.commands.AbstractHandler; -import org.eclipse.core.commands.ExecutionEvent; -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.ui.handlers.HandlerUtil; -import org.w3c.dom.Node; - -import com.googlecode.jsfflexeclipseplugin.model.IJsfFlexASAttributesClass; -import com.googlecode.jsfflexeclipseplugin.model.JsfFlexCacheManager; -import com.googlecode.jsfflexeclipseplugin.processor.ParseActionScriptHTMLContent; -import com.googlecode.jsfflexeclipseplugin.util.JsfFlexEclipsePluginConstants; - -/** - * @author Ji Hoon Kim - */ -public class JsfFlexAddASAttributesClassHandler extends AbstractHandler { - - @Override - public Object execute(ExecutionEvent event) throws ExecutionException { - - ISelection selection = HandlerUtil.getCurrentSelection(event); - if(selection instanceof IStructuredSelection) { - IStructuredSelection structuredSelection = IStructuredSelection.class.cast( selection ); - Object element = structuredSelection.getFirstElement(); - if(element instanceof Node){ - Node node = Node.class.cast(element); - String nodeUrl = node.getNamespaceURI(); - if(nodeUrl != null && nodeUrl.trim().equals(JsfFlexEclipsePluginConstants.JSF_FLEX_URL_NAMESPACE)){ - String nodeName = node.getNodeName(); - int indexPoint = nodeName.indexOf(JsfFlexEclipsePluginConstants.JSF_FLEX_TAG_START_PREFIX); - if(indexPoint > -1){ - String flexCompName = nodeName.substring(nodeName.indexOf(JsfFlexEclipsePluginConstants.JSF_FLEX_TAG_START_PREFIX) + JsfFlexEclipsePluginConstants.JSF_FLEX_TAG_START_PREFIX.length()); - String nameSpaceOverride = null; - Node nameSpaceOverrideNode = node.getAttributes().getNamedItem(JsfFlexEclipsePluginConstants.NAME_SPACE_OVERRIDE_ATTR); - - if(nameSpaceOverrideNode != null){ - nameSpaceOverride = nameSpaceOverrideNode.getNodeValue(); - } - String packageClassName = ParseActionScriptHTMLContent.getPackageClassName(flexCompName, nameSpaceOverride); - if(packageClassName != null){ - JsfFlexCacheManager currInstance = JsfFlexCacheManager.getInstance(); - if(!currInstance.containsPackageClassName(packageClassName)){ - IJsfFlexASAttributesClass topJsfFlexASAttributesClass = JsfFlexCacheManager.getJsfFlexASAttributesClass(packageClassName, packageClassName, node); - ParseActionScriptHTMLContent parserActionScriptHTMLContent = new ParseActionScriptHTMLContent(topJsfFlexASAttributesClass); - parserActionScriptHTMLContent.schedule(); - } - } - } - - } - } - - } - - return null; - } - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/commands/handler/JsfFlexCopyASClassAttributeHandler.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/commands/handler/JsfFlexCopyASClassAttributeHandler.java deleted file mode 100644 index 97f8f73d..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/commands/handler/JsfFlexCopyASClassAttributeHandler.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.commands.handler; - -import org.eclipse.core.commands.AbstractHandler; -import org.eclipse.core.commands.ExecutionEvent; -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.swt.SWTError; -import org.eclipse.swt.dnd.Clipboard; -import org.eclipse.swt.dnd.RTFTransfer; -import org.eclipse.swt.dnd.TextTransfer; -import org.eclipse.swt.dnd.Transfer; -import org.eclipse.ui.handlers.HandlerUtil; - -/** - * @author Ji Hoon Kim - */ -public class JsfFlexCopyASClassAttributeHandler extends AbstractHandler { - - @Override - public Object execute(ExecutionEvent event) throws ExecutionException { - - Clipboard clipboard = new Clipboard(HandlerUtil.getActiveShell(event).getDisplay()); - try{ - ISelection selection = HandlerUtil.getCurrentSelection(event); - if(selection instanceof IStructuredSelection) { - Object[] objects = IStructuredSelection.class.cast(selection).toArray(); - try{ - clipboard.setContents(new Object[] { JsfFlexASAttributesClassHandlerUtil.convertToResources(objects), - JsfFlexASAttributesClassHandlerUtil.convertToText(objects) }, - new Transfer[] { Transfer.class.cast( RTFTransfer.getInstance() ), Transfer.class.cast( TextTransfer.getInstance() )}); - } catch(SWTError error){ - - } - } - - return null; - }finally { - clipboard.dispose(); - } - - } - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/commands/handler/JsfFlexShowViewASAttributesClassHandler.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/commands/handler/JsfFlexShowViewASAttributesClassHandler.java deleted file mode 100644 index 1f3cd5dd..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/commands/handler/JsfFlexShowViewASAttributesClassHandler.java +++ /dev/null @@ -1,58 +0,0 @@ -package com.googlecode.jsfflexeclipseplugin.commands.handler; -import org.eclipse.core.commands.AbstractHandler; -import org.eclipse.core.commands.ExecutionEvent; -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.ui.IWorkbenchPage; -import org.eclipse.ui.IWorkbenchWindow; -import org.eclipse.ui.PartInitException; -import org.eclipse.ui.handlers.HandlerUtil; - -import com.googlecode.jsfflexeclipseplugin.views.JsfFlexASAttributesClassView; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * @author Ji Hoon Kim - */ -public class JsfFlexShowViewASAttributesClassHandler extends AbstractHandler { - - @Override - public Object execute(ExecutionEvent event) throws ExecutionException { - - IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event); - if(window == null) { - return null; - } - - IWorkbenchPage page = window.getActivePage(); - if(page == null) { - return null; - } - - try{ - page.showView(JsfFlexASAttributesClassView.ID); - }catch(PartInitException e) { - - } - - return null; - } - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/AbstractJsfFlexASAttributesClassResource.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/AbstractJsfFlexASAttributesClassResource.java deleted file mode 100644 index a9cd48d2..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/AbstractJsfFlexASAttributesClassResource.java +++ /dev/null @@ -1,307 +0,0 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.model; - -import java.util.LinkedList; -import java.util.List; -import java.util.Random; - -import org.eclipse.core.resources.IResource; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.Path; -import org.eclipse.core.runtime.Platform; -import org.w3c.dom.Node; - -import com.googlecode.jsfflexeclipseplugin.util.JsfFlexEclipsePluginConstants; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractJsfFlexASAttributesClassResource - implements IJsfFlexASAttributesClass { - - private static final Random RANDOM_GENERATOR = new Random(); - - private final String _packageClassName; - private final List _childrenASClasses; - - private final List _propertyAttributes; - private final List _eventAttributes; - private final List _effectAttributes; - private final List _commonStyleAttributes; - private final List _sparkThemeStyleAttributes; - private final List _haloThemeStyleAttributes; - - private IResource _resource; - private Node _node; - - AbstractJsfFlexASAttributesClassResource(String packageClassName, String resourceInfo, Node node) { - super(); - - _packageClassName = packageClassName; - _childrenASClasses = new LinkedList(); - - _propertyAttributes = new LinkedList(); - _effectAttributes = new LinkedList(); - _eventAttributes = new LinkedList(); - _commonStyleAttributes = new LinkedList(); - _sparkThemeStyleAttributes = new LinkedList(); - _haloThemeStyleAttributes = new LinkedList(); - - _resource = ResourcesPlugin.getWorkspace().getRoot().findMember(new Path(resourceInfo)); - _node = node; - } - - /** - * Used for aggregating the properties, effects, events, and styles of IJsfFlexASAttributesClass and its - * children and returning a single instance of IJsfFlexASAttributesClass for the View - */ - AbstractJsfFlexASAttributesClassResource() { - super(); - - _packageClassName = null; - _childrenASClasses = null; - - _propertyAttributes = new LinkedList(); - _effectAttributes = new LinkedList(); - _eventAttributes = new LinkedList(); - _commonStyleAttributes = new LinkedList(); - _sparkThemeStyleAttributes = new LinkedList(); - _haloThemeStyleAttributes = new LinkedList(); - } - - /** - * Used for creating a child IJsfFlexASAttributesClass instance for the currently selected IDOMElement - * during the parsing of the content - * @param packageClassName - */ - AbstractJsfFlexASAttributesClassResource(String packageClassName) { - super(); - - _packageClassName = packageClassName; - - _childrenASClasses = new LinkedList(); - - _propertyAttributes = new LinkedList(); - _effectAttributes = new LinkedList(); - _eventAttributes = new LinkedList(); - _commonStyleAttributes = new LinkedList(); - _sparkThemeStyleAttributes = new LinkedList(); - _haloThemeStyleAttributes = new LinkedList(); - } - - public Node getNode() { - return _node; - } - - public String getPackageClassName() { - return _packageClassName; - } - - public void addChildrenASClass(IJsfFlexASAttributesClass childrenASClass) { - _childrenASClasses.add(childrenASClass); - } - - public void addPropertyAttribute(String name, String description) { - _propertyAttributes.add(new JsfFlexClassAttribute(name, description)); - } - public void addEventAttribute(String name, String description) { - _eventAttributes.add(new JsfFlexClassAttribute(name, description)); - } - public void addEffectAttribute(String name, String description) { - _effectAttributes.add(new JsfFlexClassAttribute(name, description)); - } - public void addCommonStyleAttribute(String name, String description) { - _commonStyleAttributes.add(new JsfFlexClassAttribute(name, description)); - } - public void addSparkThemeStyleAttribute(String name, String description) { - _sparkThemeStyleAttributes.add(new JsfFlexClassAttribute(name, description)); - } - public void addHaloThemeStyleAttribute(String name, String description) { - _haloThemeStyleAttributes.add(new JsfFlexClassAttribute(name, description)); - } - - public List getChildrenASClasses() { - return _childrenASClasses; - } - - public List getPropertyAttributes() { - return _propertyAttributes; - } - public List getEventAttributes() { - return _eventAttributes; - } - public List getEffectAttributes() { - return _effectAttributes; - } - public List getCommonStyleAttributes() { - return _commonStyleAttributes; - } - public List getSparkThemeStyleAttributes() { - return _sparkThemeStyleAttributes; - } - public List getHaloThemeStyleAttributes() { - return _haloThemeStyleAttributes; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof AbstractJsfFlexASAttributesClassResource)){ - return false; - } - - AbstractJsfFlexASAttributesClassResource currResource = AbstractJsfFlexASAttributesClassResource.class.cast( instance ); - - if(_node == null){ - return _packageClassName.equals(currResource._packageClassName); - } - return _node.equals(currResource._node); - //return _resource.equals(currResource._resource); - } - - @Override - public int hashCode() { - if(_node == null){ - return _packageClassName.hashCode(); - } - return _node.hashCode(); - //return _resource.hashCode(); - } - - public final class JsfFlexClassAttribute { - - private final String _name; - private final String _description; - private final int HASH_CODE; - - private JsfFlexClassAttribute(String name, String description) { - super(); - - _name = name; - _description = description; - - int hashCodeVal = JsfFlexEclipsePluginConstants.HASH_CODE_INIT_VALUE; - hashCodeVal = JsfFlexEclipsePluginConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _name.hashCode(); - hashCodeVal = JsfFlexEclipsePluginConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _description.hashCode(); - HASH_CODE = hashCodeVal; - } - - public String getName() { - return _name; - } - public String getDescription() { - return _description; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof JsfFlexClassAttribute)) { - return false; - } - - JsfFlexClassAttribute currAttribute = JsfFlexClassAttribute.class.cast( instance ); - return currAttribute._name.equals(_name); - } - - @Override - public int hashCode() { - return HASH_CODE; - } - - } - - @Override - public Object getAdapter(Class adapter) { - if(adapter.isInstance(_resource)) { - return _resource; - } - - return Platform.getAdapterManager().getAdapter(this, adapter); - } - - public void addChildrenProperties(IJsfFlexASAttributesClass child) { - - _effectAttributes.addAll(child.getEffectAttributes()); - _eventAttributes.addAll(child.getEventAttributes()); - _propertyAttributes.addAll(child.getPropertyAttributes()); - _commonStyleAttributes.addAll(child.getCommonStyleAttributes()); - _sparkThemeStyleAttributes.addAll(child.getSparkThemeStyleAttributes()); - _haloThemeStyleAttributes.addAll(child.getHaloThemeStyleAttributes()); - - } - - public static IJsfFlexASAttributesClass aggregateClassAttributes(IJsfFlexASAttributesClass topClass) { - - AbstractJsfFlexASAttributesClassResource.AggregatorJsfFlexASAttributesClassResource aggregator = - new AbstractJsfFlexASAttributesClassResource.AggregatorJsfFlexASAttributesClassResource(); - - aggregateClassAttributesHelper(aggregator, topClass); - - return aggregator; - } - - private static void aggregateClassAttributesHelper(IJsfFlexASAttributesClass aggregateClass, IJsfFlexASAttributesClass workingClass){ - - for(IJsfFlexASAttributesClass currChild : workingClass.getChildrenASClasses()) { - - aggregateClassAttributesHelper(aggregateClass, currChild); - aggregateClass.addChildrenProperties(currChild); - - } - - } - - /** - * Class for returning an instance of IJsfFlexASAttributesClass with the aggregated content - * - * @author JihoonKim - */ - private static class AggregatorJsfFlexASAttributesClassResource extends AbstractJsfFlexASAttributesClassResource { - - private int _randomNum; - - private AggregatorJsfFlexASAttributesClassResource(){ - super(); - - _randomNum = RANDOM_GENERATOR.nextInt(); - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof AggregatorJsfFlexASAttributesClassResource)){ - return false; - } - - AggregatorJsfFlexASAttributesClassResource currInstance = AggregatorJsfFlexASAttributesClassResource.class.cast( instance ); - return _randomNum == currInstance._randomNum; - } - - @Override - public int hashCode() { - return _randomNum; - } - - @Override - public Object getAdapter(Class adapter) { - return null; - } - - } - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/IJsfFlexASAttributesClass.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/IJsfFlexASAttributesClass.java deleted file mode 100644 index 5ab5c8c6..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/IJsfFlexASAttributesClass.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.model; - -import java.util.List; - -import org.eclipse.core.runtime.IAdaptable; -import org.w3c.dom.Node; - -import com.googlecode.jsfflexeclipseplugin.model.AbstractJsfFlexASAttributesClassResource.JsfFlexClassAttribute; - -/** - * @author Ji Hoon Kim - */ -public interface IJsfFlexASAttributesClass extends IAdaptable { - - Node getNode(); - - String getPackageClassName(); - - void addChildrenASClass(IJsfFlexASAttributesClass childrenASClass); - - void addPropertyAttribute(String name, String description); - - void addEventAttribute(String name, String description); - - void addEffectAttribute(String name, String description); - - void addCommonStyleAttribute(String name, String description); - - void addSparkThemeStyleAttribute(String name, String description); - - void addHaloThemeStyleAttribute(String name, String description); - - void addChildrenProperties(IJsfFlexASAttributesClass child); - - List getChildrenASClasses(); - - List getPropertyAttributes(); - - List getEventAttributes(); - - List getEffectAttributes(); - - List getCommonStyleAttributes(); - - List getSparkThemeStyleAttributes(); - - List getHaloThemeStyleAttributes(); - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/JsfFlexASAttributesClassResource.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/JsfFlexASAttributesClassResource.java deleted file mode 100644 index 4f6b3511..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/JsfFlexASAttributesClassResource.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.model; - -import org.w3c.dom.Node; - -/** - * @author Ji Hoon Kim - */ -final class JsfFlexASAttributesClassResource extends AbstractJsfFlexASAttributesClassResource { - - JsfFlexASAttributesClassResource(String packageClassName, String resourceInfo, Node node) { - super(packageClassName, resourceInfo, node); - - } - - JsfFlexASAttributesClassResource(String packageClassName){ - super(packageClassName); - - } -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/JsfFlexASAttributesInterfaceResource.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/JsfFlexASAttributesInterfaceResource.java deleted file mode 100644 index 363a7043..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/JsfFlexASAttributesInterfaceResource.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.model; - -import org.w3c.dom.Node; - -/** - * @author Ji Hoon Kim - */ -final class JsfFlexASAttributesInterfaceResource extends AbstractJsfFlexASAttributesClassResource { - - JsfFlexASAttributesInterfaceResource(String packageClassName, String resourceInfo, Node node){ - super(packageClassName, resourceInfo, node); - - } - - JsfFlexASAttributesInterfaceResource(String packageClassName){ - super(packageClassName); - - } - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/JsfFlexCacheManager.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/JsfFlexCacheManager.java deleted file mode 100644 index 7f324c67..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/model/JsfFlexCacheManager.java +++ /dev/null @@ -1,251 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.model; - -import java.io.File; -import java.io.FileNotFoundException; -import java.io.FileReader; -import java.io.FileWriter; -import java.io.IOException; -import java.util.HashMap; -import java.util.Map; -import java.util.WeakHashMap; - -import org.eclipse.core.runtime.IPath; -import org.eclipse.jface.preference.IPreferenceStore; -import org.eclipse.ui.IMemento; -import org.eclipse.ui.WorkbenchException; -import org.eclipse.ui.XMLMemento; -import org.w3c.dom.Node; - -import com.googlecode.jsfflexeclipseplugin.JsfFlexActivator; -import com.googlecode.jsfflexeclipseplugin.preferences.PreferenceConstants; -import com.googlecode.jsfflexeclipseplugin.processor.ParseActionScriptHTMLContent; - -/** - * - * @author Ji Hoon Kim - */ -public final class JsfFlexCacheManager { - - private static final String JSF_FLEX_AS_ATTRIBUTE_CLASS_STATE_FILE_NAME = "jsfFlexASAttributeClassState.xml"; - private static final String ROOT_TAG = "JsfFlexASAttributeClassStates"; - private static final String LAST_VIEWED_JSF_FLEX_AS_ATTRIBUTE_CLASS = "LastViewedJsfFlexASAttributeClass"; - - private static JsfFlexCacheManager _instance; - private static String lastViewedJsfFlexASAttributeClassPackageName; - - /* - * Will contain references to elements which are used - * frequently [i.e. Object class] - */ - private Map _persistentClassTypeCache; - private Map, IJsfFlexASAttributesClass> _weaklyBoundClassTypeCache; - - private static File _jsfFlexASAttributeClassStateFile; - - static { - IPath path = JsfFlexActivator.getDefault().getStateLocation().append(JSF_FLEX_AS_ATTRIBUTE_CLASS_STATE_FILE_NAME); - if(!path.isEmpty()){ - _jsfFlexASAttributeClassStateFile = path.toFile(); - } - } - - private class WeaklyBoundCacheKey { - - private final E _cacheKey; - private final int HASH_CODE; - - private WeaklyBoundCacheKey(E cacheKey){ - super(); - - _cacheKey = cacheKey; - HASH_CODE = _cacheKey.hashCode(); - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof WeaklyBoundCacheKey)){ - return false; - } - - WeaklyBoundCacheKey currInstance = WeaklyBoundCacheKey.class.cast( instance ); - return _cacheKey.equals(currInstance._cacheKey); - } - - @Override - public int hashCode() { - return HASH_CODE; - } - - } - - private JsfFlexCacheManager(){ - super(); - - _persistentClassTypeCache = new HashMap(); - _weaklyBoundClassTypeCache = new WeakHashMap, IJsfFlexASAttributesClass>(); - loadLastViewedJsfFlexASAttributeClass(); - } - - public boolean containsPackageClassName(String packageClassName) { - if(_persistentClassTypeCache.containsKey(packageClassName)){ - return true; - } - - WeaklyBoundCacheKey weakCacheTest = new WeaklyBoundCacheKey(packageClassName); - boolean inWeaklyBoundClassTypeCache = _weaklyBoundClassTypeCache.containsKey(weakCacheTest); - if(inWeaklyBoundClassTypeCache){ - IJsfFlexASAttributesClass classResource = _weaklyBoundClassTypeCache.remove(weakCacheTest); - _persistentClassTypeCache.put(packageClassName, classResource); - - return true; - }else{ - return false; - } - - } - - public void addJsfFlexASAttributesClassResource(IJsfFlexASAttributesClass classResource) { - - String packageClassName = classResource.getPackageClassName(); - if(_persistentClassTypeCache.containsKey(packageClassName)){ - return; - } - - WeaklyBoundCacheKey weakCacheTest = new WeaklyBoundCacheKey(packageClassName); - boolean inWeaklyBoundClassTypeCache = _weaklyBoundClassTypeCache.containsKey(weakCacheTest); - boolean isTopClass = classResource.getNode() != null; - - if(isTopClass){ - if(inWeaklyBoundClassTypeCache){ - //then will need to remove it from weak Map and push it to the persistent Map - _weaklyBoundClassTypeCache.remove(weakCacheTest); - } - - _persistentClassTypeCache.put(packageClassName, classResource); - }else{ - - _weaklyBoundClassTypeCache.put(weakCacheTest, classResource); - } - - } - - public static boolean attemptFetchOfLatestASAPIs() { - IPreferenceStore preferences = JsfFlexActivator.getDefault().getPreferenceStore(); - - return preferences.getBoolean(PreferenceConstants.ATTEMPT_FETCH_OF_LATEST_AS_APIS); - } - - public static String getLatestASAPIsURL() { - IPreferenceStore preferences = JsfFlexActivator.getDefault().getPreferenceStore(); - - return preferences.getString(PreferenceConstants.LATEST_AS_APIS_URL); - } - - public static IJsfFlexASAttributesClass getJsfFlexASAttributesClass(String packageClassName, String resourceInfo, Node node) { - return new JsfFlexASAttributesClassResource(packageClassName, resourceInfo, node); - } - - /** - * - * Will be used : - * 1) When fetching the last viewed Jsf Flex AS Attribute Class - * 2) When populating for the super class for the currently inspecting top class - * - * @param packageClassName - * @param classResource - * @return - */ - public static IJsfFlexASAttributesClass getDummyJsfFlexASAttributesClass(String packageClassName, boolean classResource) { - if(classResource) { - return new JsfFlexASAttributesClassResource(packageClassName); - }else{ - return new JsfFlexASAttributesInterfaceResource(packageClassName); - } - } - - public static synchronized JsfFlexCacheManager getInstance() { - - if(_instance == null){ - _instance = new JsfFlexCacheManager(); - } - - return _instance; - } - - public static synchronized void saveLastViewedJsfFlexASAttributeClass() { - if(lastViewedJsfFlexASAttributeClassPackageName == null) { - return; - } - - XMLMemento root = XMLMemento.createWriteRoot(ROOT_TAG); - root.putString(LAST_VIEWED_JSF_FLEX_AS_ATTRIBUTE_CLASS, lastViewedJsfFlexASAttributeClassPackageName); - - FileWriter writer = null; - try{ - writer = new FileWriter(_jsfFlexASAttributeClassStateFile); - root.save(writer); - }catch(IOException ioException) { - - }finally { - try{ - if(writer != null) { - writer.close(); - } - }catch(IOException ioException) { - - } - } - - } - - public static synchronized void loadLastViewedJsfFlexASAttributeClass() { - - if(_jsfFlexASAttributeClassStateFile != null && _jsfFlexASAttributeClassStateFile.exists()){ - FileReader reader = null; - try{ - reader = new FileReader(_jsfFlexASAttributeClassStateFile); - IMemento memento = XMLMemento.createReadRoot(reader); - IMemento rootNode = memento.getChild(ROOT_TAG); - - String storedLastViewedJsfFlexASAttributeClassPackageName = rootNode.getString(LAST_VIEWED_JSF_FLEX_AS_ATTRIBUTE_CLASS); - - IJsfFlexASAttributesClass topJsfFlexASAttributesClass = JsfFlexCacheManager.getDummyJsfFlexASAttributesClass(storedLastViewedJsfFlexASAttributeClassPackageName, true); - ParseActionScriptHTMLContent parserActionScriptHTMLContent = new ParseActionScriptHTMLContent(topJsfFlexASAttributesClass); - parserActionScriptHTMLContent.schedule(); - - }catch(FileNotFoundException fnfException) { - - }catch(WorkbenchException wbException) { - - }finally { - try{ - if(reader != null){ - reader.close(); - } - }catch(IOException ioException) { - - } - } - } - - } - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/JsfFlexASAttributesClassPreferencePage.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/JsfFlexASAttributesClassPreferencePage.java deleted file mode 100644 index 22112c7e..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/JsfFlexASAttributesClassPreferencePage.java +++ /dev/null @@ -1,93 +0,0 @@ -package com.googlecode.jsfflexeclipseplugin.preferences; - -import org.eclipse.jface.preference.*; -import org.eclipse.jface.util.PropertyChangeEvent; -import org.eclipse.ui.IWorkbenchPreferencePage; -import org.eclipse.ui.IWorkbench; -import com.googlecode.jsfflexeclipseplugin.JsfFlexActivator; -import com.googlecode.jsfflexeclipseplugin.processor.ParseActionScriptHTMLContent; - -/** - * This class represents a preference page that - * is contributed to the Preferences dialog. By - * subclassing FieldEditorPreferencePage, we - * can use the field support built into JFace that allows - * us to create a page that is small and knows how to - * save, restore and apply itself. - *

- * This page is used to modify preferences only. They - * are stored in the preference store that belongs to - * the main plug-in class. That way, preferences can - * be accessed directly via the preference store. - */ - -public final class JsfFlexASAttributesClassPreferencePage - extends FieldEditorPreferencePage - implements IWorkbenchPreferencePage { - - private BooleanFieldEditor _attemptFetchOfLatestASAPIs; - private StringFieldEditor _latestASAPIsURL; - - public JsfFlexASAttributesClassPreferencePage() { - super(GRID); - setPreferenceStore(JsfFlexActivator.getDefault().getPreferenceStore()); - setDescription(Messages.DESCRIPTION); - } - - /** - * Creates the field editors. Field editors are abstractions of - * the common GUI blocks needed to manipulate various types - * of preferences. Each field editor knows how to save and - * restore itself. - */ - public void createFieldEditors() { - - _attemptFetchOfLatestASAPIs = new BooleanFieldEditor(PreferenceConstants.ATTEMPT_FETCH_OF_LATEST_AS_APIS, Messages.ATTEMPT_FETCH_LATEST_AS_APIS, getFieldEditorParent()); - addField(_attemptFetchOfLatestASAPIs); - - _latestASAPIsURL = new StringFieldEditor(PreferenceConstants.LATEST_AS_APIS_URL, Messages.LATEST_AS_APIS_URL, getFieldEditorParent()); - _latestASAPIsURL.setErrorMessage(Messages.LATEST_AS_APIS_URL_WARNING); - addField(_latestASAPIsURL); - } - - public void init(IWorkbench workbench) { - } - - @Override - public void propertyChange(PropertyChangeEvent event) { - super.propertyChange(event); - - if(event.getSource() == _attemptFetchOfLatestASAPIs){ - checkState(); - } - - if(event.getSource() == _latestASAPIsURL){ - if(_latestASAPIsURL.isValid()){ - ParseActionScriptHTMLContent.latestUrlBasePathChanged(); - } - } - } - - @Override - protected void checkState() { - super.checkState(); - if(!isValid()){ - return; - } - - boolean valid = true; - if(_attemptFetchOfLatestASAPIs.getBooleanValue()){ - _latestASAPIsURL.setEnabled(true, getFieldEditorParent()); - if(_latestASAPIsURL.getStringValue().length() == 0){ - valid = false; - _latestASAPIsURL.showErrorMessage(); - } - }else{ - _latestASAPIsURL.setEnabled(false, getFieldEditorParent()); - - } - - setValid(valid); - } - -} \ No newline at end of file diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/Messages.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/Messages.java deleted file mode 100644 index 059a117b..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/Messages.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.preferences; - -import org.eclipse.osgi.util.NLS; - -/** - * @author Ji Hoon Kim - */ -public class Messages extends NLS { - private static final String BUNDLE_NAME = "com.googlecode.jsfflexeclipseplugin.preferences.messages"; //$NON-NLS-1$ - public static String ATTEMPT_FETCH_LATEST_AS_APIS; - public static String DESCRIPTION; - public static String LATEST_AS_APIS_URL; - public static String LATEST_AS_APIS_URL_WARNING; - static { - // initialize resource bundle - NLS.initializeMessages(BUNDLE_NAME, Messages.class); - } - - private Messages() { - } -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/PreferenceConstants.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/PreferenceConstants.java deleted file mode 100644 index b58317b8..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/PreferenceConstants.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.googlecode.jsfflexeclipseplugin.preferences; - -/** - * Constant definitions for plug-in preferences - */ -public final class PreferenceConstants { - - private PreferenceConstants() { - super(); - } - - public static final String ATTEMPT_FETCH_OF_LATEST_AS_APIS = "ATTEMPT_FETCH_OF_LATEST_AS_APIS"; - - public static final String LATEST_AS_APIS_URL = "LATEST_AS_APIS_URL"; - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/PreferenceInitializer.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/PreferenceInitializer.java deleted file mode 100644 index aea898eb..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/PreferenceInitializer.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.googlecode.jsfflexeclipseplugin.preferences; - -import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; -import org.eclipse.jface.preference.IPreferenceStore; - -import com.googlecode.jsfflexeclipseplugin.JsfFlexActivator; - -/** - * Class used to initialize default preference values. - */ -public final class PreferenceInitializer extends AbstractPreferenceInitializer { - - private static final String DEFAULT_LATEST_AS_APIS_URL = "http://help.adobe.com/en_US/FlashPlatform//reference/actionscript/3/class-summary.html"; - - public void initializeDefaultPreferences() { - IPreferenceStore store = JsfFlexActivator.getDefault().getPreferenceStore(); - store.setDefault(PreferenceConstants.ATTEMPT_FETCH_OF_LATEST_AS_APIS, false); - store.setDefault(PreferenceConstants.LATEST_AS_APIS_URL, DEFAULT_LATEST_AS_APIS_URL); - } - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/messages.properties b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/messages.properties deleted file mode 100644 index 2f304c5c..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/preferences/messages.properties +++ /dev/null @@ -1,4 +0,0 @@ -ATTEMPT_FETCH_LATEST_AS_APIS=Attempt Fetch of Latest AS APIs -DESCRIPTION=Jsf Flex AS Attributes Class Preferences -LATEST_AS_APIS_URL=Latest AS APIs URL -LATEST_AS_APIS_URL_WARNING=Latest AS APIs URL is required when Attempt Fetch of Latest AS APIs is true diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/processor/Messages.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/processor/Messages.java deleted file mode 100644 index 696daa41..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/processor/Messages.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.googlecode.jsfflexeclipseplugin.processor; - -import org.eclipse.osgi.util.NLS; - -public class Messages extends NLS { - private static final String BUNDLE_NAME = "com.googlecode.jsfflexeclipseplugin.processor.messages"; //$NON-NLS-1$ - public static String ACCESSING_THE_HTML_AT; - public static String ATTRIBUTES_OF_AS_CLASS; - public static String IO_EXCEPTION_WAS_THROWN; - public static String MALFORMED_URL_EXCEPTION_WAS_THROWN; - public static String PARSE_PACKAGE_HTML_CONTENT; - public static String PARSING; - public static String PARSING_OF_TOP_AS_CLASS; - public static String PARSING_THE_SUCCESSFULLY_RETRIEVED_HTML_CONTENT; - public static String STARTING_THE_AS_PARSING_PROCESS; - public static String STARTING_THE_PARSE_OF_AS_CLASS; - public static String STARTING_THE_PARSING_OF_PACKAGE_HTML_CONTENT; - public static String XPATHER_EXCEPTION_WAS_THROWN; - static { - // initialize resource bundle - NLS.initializeMessages(BUNDLE_NAME, Messages.class); - } - - private Messages() { - } -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/processor/ParseActionScriptHTMLContent.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/processor/ParseActionScriptHTMLContent.java deleted file mode 100644 index 8850380f..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/processor/ParseActionScriptHTMLContent.java +++ /dev/null @@ -1,529 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.processor; - -import java.io.BufferedReader; -import java.io.IOException; -import java.io.InputStreamReader; -import java.net.MalformedURLException; -import java.net.URISyntaxException; -import java.net.URL; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.concurrent.CountDownLatch; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.eclipse.core.runtime.jobs.Job; -import org.htmlcleaner.CleanerProperties; -import org.htmlcleaner.HtmlCleaner; -import org.htmlcleaner.TagNode; -import org.htmlcleaner.XPatherException; - -import com.googlecode.jsfflexeclipseplugin.JsfFlexActivator; -import com.googlecode.jsfflexeclipseplugin.model.IJsfFlexASAttributesClass; -import com.googlecode.jsfflexeclipseplugin.model.JsfFlexCacheManager; -import com.googlecode.jsfflexeclipseplugin.model.AbstractJsfFlexASAttributesClassResource.JsfFlexClassAttribute; -import com.googlecode.jsfflexeclipseplugin.util.JsfFlexEclipsePluginLogger; -import com.googlecode.jsfflexeclipseplugin.views.JsfFlexASAttributesClassView; - -/** - * @author Ji Hoon Kim - */ -public final class ParseActionScriptHTMLContent extends Job { - - /* - * Use Stax for fun? - */ - private static final String HREF_ATTRIBUTE = "href"; //$NON-NLS-1$ - private static final CleanerProperties HTML_CLEANER_PROPERTIES; - private static final int NUM_OF_PARSE_THREADS = 10; - private final ExecutorService _parseService = Executors.newFixedThreadPool(NUM_OF_PARSE_THREADS); - - static { - HTML_CLEANER_PROPERTIES = new CleanerProperties(); - HTML_CLEANER_PROPERTIES.setOmitComments(true); - HTML_CLEANER_PROPERTIES.setNamespacesAware(true); - } - - private IJsfFlexASAttributesClass _classResource; - private IProgressMonitor _progressMonitor; - - public ParseActionScriptHTMLContent(IJsfFlexASAttributesClass classResource) { - super(Messages.PARSING_OF_TOP_AS_CLASS + classResource.getPackageClassName()); - - _classResource = classResource; - } - - private String getSimpleClassName(IJsfFlexASAttributesClass classResource) { - String[] splitted = classResource.getPackageClassName().split("[.]"); //$NON-NLS-1$ - return splitted[splitted.length - 1]; - } - - @Override - protected IStatus run(IProgressMonitor progressMonitor) { - _progressMonitor = progressMonitor; - _progressMonitor.beginTask(Messages.STARTING_THE_AS_PARSING_PROCESS, IProgressMonitor.UNKNOWN); - try{ - String elementUrl = retrieveElementHref(); - if(elementUrl != null){ - URL asElementUrl = new URL(elementUrl); - parseASHTMLContent(asElementUrl, _classResource); - } - cleanUp(); - - JsfFlexASAttributesClassView.jsfFlexASAttributesClassSelectionChanged(_classResource); - done(Status.OK_STATUS); - - }catch(MalformedURLException malformedException){ - JsfFlexEclipsePluginLogger.logError(Messages.MALFORMED_URL_EXCEPTION_WAS_THROWN, malformedException); - return new Status(Status.ERROR, JsfFlexActivator.PLUGIN_ID, Messages.MALFORMED_URL_EXCEPTION_WAS_THROWN, malformedException); - }catch(IOException ioException){ - JsfFlexEclipsePluginLogger.logError(Messages.IO_EXCEPTION_WAS_THROWN, ioException); - return new Status(Status.ERROR, JsfFlexActivator.PLUGIN_ID, Messages.IO_EXCEPTION_WAS_THROWN, ioException); - }catch(XPatherException xpatherException){ - JsfFlexEclipsePluginLogger.logError(Messages.XPATHER_EXCEPTION_WAS_THROWN, xpatherException); - return new Status(Status.ERROR, JsfFlexActivator.PLUGIN_ID, Messages.XPATHER_EXCEPTION_WAS_THROWN, xpatherException); - } - - return Status.OK_STATUS; - } - - private static String _asLatestUrlBasePath; - private static TagNode _packageRootNode; - private static TagNode _summaryTableNode; - - private static final String SUMMARY_TABLE_XML_PATH = "//table[@class='summaryTable']"; //$NON-NLS-1$ - - private static synchronized TagNode getSummaryTableNode() throws MalformedURLException, IOException, XPatherException { - if(_summaryTableNode == null){ - TagNode rootContent = ParseActionScriptHTMLContent.getPackageRootNode(); - Object[] summaryTableResult = rootContent.evaluateXPath(SUMMARY_TABLE_XML_PATH); - - if(summaryTableResult != null && summaryTableResult.length == 1){ - _summaryTableNode = TagNode.class.cast( summaryTableResult[0] ); - } - } - - return _summaryTableNode; - } - - private static final String PACKAGE_CLASS_XML_PATH = "//td[@class='summaryTableCol']/a"; //$NON-NLS-1$ - - private enum FLEX_NAME_SPACE_PRIORITY_CHECK { - MXML("mx", 1), SPARK("s", 2); //$NON-NLS-1$ //$NON-NLS-2$ - - private int _classResultLengthCheck; - private String _nameSpace; - - FLEX_NAME_SPACE_PRIORITY_CHECK(String nameSpace, int classResultLengthCheck) { - _classResultLengthCheck = classResultLengthCheck; - _nameSpace = nameSpace; - } - - private boolean useCurrentPackageClassName(String packageClassNamePrefix, int classResultLength, String nameSpaceOverride) { - - if(nameSpaceOverride != null && nameSpaceOverride.equals(_nameSpace)){ - return true; - } - if(name().toLowerCase().equals(packageClassNamePrefix.toLowerCase()) && _classResultLengthCheck >= classResultLength){ - return true; - }else{ - return false; - } - } - - } - - public static String getPackageClassName(String simpleClassName, String nameSpaceOverride) { - String packageClassName = null; - - try{ - TagNode summaryTableNode = ParseActionScriptHTMLContent.getSummaryTableNode(); - String classPath = "//tr//td[@class='summaryTableSecondCol']/a[.='" + simpleClassName + "']"; //$NON-NLS-1$ //$NON-NLS-2$ - Object[] classResult = summaryTableNode.evaluateXPath(classPath); - - if(classResult != null && classResult.length > 0){ - - traverseClassPackageResult: { - for(Object currClassResult : classResult) { - TagNode currClassNode = TagNode.class.cast( currClassResult ); - TagNode currClassRowNode = currClassNode.getParent().getParent(); - Object[] packageResult = currClassRowNode.evaluateXPath(PACKAGE_CLASS_XML_PATH); - - if(packageResult != null && packageResult.length == 1){ - - TagNode packageNode = TagNode.class.cast( packageResult[0] ); - String currPackageClassName = packageNode.getText().toString(); - - String[] splitted = currPackageClassName.split("[.]"); //$NON-NLS-1$ - if(splitted != null && splitted.length > 0){ - - String nameSpacePrefix = splitted[0]; - for(FLEX_NAME_SPACE_PRIORITY_CHECK currFlexNSPriorityCheck : FLEX_NAME_SPACE_PRIORITY_CHECK.values()) { - if(currFlexNSPriorityCheck.useCurrentPackageClassName(nameSpacePrefix, classResult.length, nameSpaceOverride)){ - packageClassName = currPackageClassName + "." + simpleClassName; //$NON-NLS-1$ - break traverseClassPackageResult; - } - } - - } - - } - - } - } - } - - }catch(MalformedURLException malformedURLException){ - - }catch(IOException ioException){ - - }catch(XPatherException xPatherException){ - - } - - return packageClassName; - } - - public static synchronized void latestUrlBasePathChanged() { - //will be invoked when the user changes the value within the preference page - - _asLatestUrlBasePath = null; - _packageRootNode = null; - } - - private static synchronized TagNode getPackageRootNode() throws IOException, MalformedURLException { - if(_packageRootNode == null){ - Job parsePackageHTMLContentJob = new Job(Messages.PARSE_PACKAGE_HTML_CONTENT){ - - @Override - protected IStatus run(IProgressMonitor monitor) { - monitor.beginTask(Messages.STARTING_THE_PARSING_OF_PACKAGE_HTML_CONTENT, 2); - String latestASAPIsURL = JsfFlexCacheManager.getLatestASAPIsURL(); - BufferedReader asPackageUrlReader = null; - try{ - monitor.subTask(Messages.ACCESSING_THE_HTML_AT + latestASAPIsURL); - URL asAPIsUrl = new URL(latestASAPIsURL); - asPackageUrlReader = new BufferedReader(new InputStreamReader(asAPIsUrl.openStream())); - monitor.worked(1); - monitor.subTask(Messages.PARSING_THE_SUCCESSFULLY_RETRIEVED_HTML_CONTENT); - HtmlCleaner asPackageCleaner = new HtmlCleaner(HTML_CLEANER_PROPERTIES); - _packageRootNode = asPackageCleaner.clean(asPackageUrlReader); - monitor.worked(1); - monitor.done(); - }catch(MalformedURLException malformedException){ - return new Status(Status.ERROR, JsfFlexActivator.PLUGIN_ID, Messages.MALFORMED_URL_EXCEPTION_WAS_THROWN, malformedException); - }catch(IOException ioException){ - return new Status(Status.ERROR, JsfFlexActivator.PLUGIN_ID, Messages.IO_EXCEPTION_WAS_THROWN, ioException); - }finally{ - if(asPackageUrlReader != null){ - try{ - asPackageUrlReader.close(); - }catch(IOException ioException){ - - } - } - } - - return Status.OK_STATUS; - } - }; - - parsePackageHTMLContentJob.schedule(); - try{ - parsePackageHTMLContentJob.join(); - }catch(InterruptedException interruptedException){ - - } - } - - return _packageRootNode; - } - - private static synchronized String getASLatestUrlBasePath() { - if(_asLatestUrlBasePath == null){ - String latestASAPIsURL = JsfFlexCacheManager.getLatestASAPIsURL(); - int lastDirectoryIndex = latestASAPIsURL.lastIndexOf('/'); - _asLatestUrlBasePath = latestASAPIsURL.substring(0, lastDirectoryIndex + 1); - } - - return _asLatestUrlBasePath; - } - - private static final String SUMMARY_CLASS_PATH = "//div[@id='content']"; //$NON-NLS-1$ - - private String retrieveElementHref() throws IOException, XPatherException { - - String simpleClassName = getSimpleClassName(_classResource); - String packageClassPathUrl = _classResource.getPackageClassName().replace('.', '/') + ".html"; //$NON-NLS-1$ - - String elementUrl = null; - String anchorXPath = "//a[.='" + simpleClassName + "']"; //$NON-NLS-1$ //$NON-NLS-2$ - - TagNode rootContent = ParseActionScriptHTMLContent.getPackageRootNode(); - Object[] contentResult = rootContent.evaluateXPath(SUMMARY_CLASS_PATH); - if(contentResult.length == 1){ - TagNode nodeContent = TagNode.class.cast( contentResult[0] ); - Object[] pathContent = nodeContent.evaluateXPath(anchorXPath); - - if(pathContent != null){ - for(Object currPathContent : pathContent) { - TagNode anchorNode = TagNode.class.cast( currPathContent ); - String relativeUrl = anchorNode.getAttributeByName(HREF_ATTRIBUTE); - if(relativeUrl.equals(packageClassPathUrl)){ - elementUrl = ParseActionScriptHTMLContent.getASLatestUrlBasePath() + relativeUrl; - } - } - } - } - - return elementUrl; - } - - public enum CLASS_ATTRIBUTES_FIELD { - - PROPERTY("//table[@id='summaryTableProperty']//tr[@class='']", "//a[@class='signatureLink']", "//div[@class='summaryTableDescription']"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EVENT("//table[@id='summaryTableEvent']//tr[@class='']", "//a[@class='signatureLink']", "//td[@class='summaryTableDescription summaryTableCol']"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - EFFECT("//table[@id='summaryTableEffect']//tr[@class='']", "//span[@class='signatureLink']", "//td[@class='summaryTableDescription']"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - COMMON_STYLE("//table[@id='summaryTablecommonStyle']//tr[@class='']", "//span[@class='signatureLink']", "//td[@class='summaryTableDescription']"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - SPARK_THEME_STYLE("//table[@id='summaryTablesparkStyle']//tr[@class='']", "//span[@class='signatureLink']", "//td[@class='summaryTableDescription']"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - HALO_THEME_STYLE("//table[@id='summaryTablehaloStyle']//tr[@class='']", "//span[@class='signatureLink']", "//td[@class='summaryTableDescription']"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - - private final String _tableXMLPath; - private final String _nameXMLPath; - private final String _descriptionXMLPath; - - CLASS_ATTRIBUTES_FIELD(String tableXMLPath, String nameXMLPath, String descriptionXMLPath){ - _tableXMLPath = tableXMLPath; - _nameXMLPath = nameXMLPath; - _descriptionXMLPath = descriptionXMLPath; - } - - private String getTableXMLPath(){ - return _tableXMLPath; - } - - private String getNameXMLPath(){ - return _nameXMLPath; - } - - private String getDescriptionXMLPath(){ - return _descriptionXMLPath; - } - - private void addClassAttribute(IJsfFlexASAttributesClass asAttributesClass, String name, String description) { - switch(this){ - case PROPERTY: asAttributesClass.addPropertyAttribute(name, description); break; - case EVENT: asAttributesClass.addEventAttribute(name, description); break; - case EFFECT: asAttributesClass.addEffectAttribute(name, description); break; - case COMMON_STYLE: asAttributesClass.addCommonStyleAttribute(name, description); break; - case SPARK_THEME_STYLE: asAttributesClass.addSparkThemeStyleAttribute(name, description); break; - case HALO_THEME_STYLE: asAttributesClass.addHaloThemeStyleAttribute(name, description); break; - } - } - - public void addClassAttributesToAggregator(IJsfFlexASAttributesClass asAggregatedAttributesClass, List jsfFlexClassAttributes) { - switch(this){ - case PROPERTY: jsfFlexClassAttributes.addAll(asAggregatedAttributesClass.getPropertyAttributes()); break; - case EVENT: jsfFlexClassAttributes.addAll(asAggregatedAttributesClass.getEventAttributes()); break; - case EFFECT: jsfFlexClassAttributes.addAll(asAggregatedAttributesClass.getEffectAttributes()); break; - case COMMON_STYLE: jsfFlexClassAttributes.addAll(asAggregatedAttributesClass.getCommonStyleAttributes()); break; - case SPARK_THEME_STYLE: jsfFlexClassAttributes.addAll(asAggregatedAttributesClass.getSparkThemeStyleAttributes()); break; - case HALO_THEME_STYLE: jsfFlexClassAttributes.addAll(asAggregatedAttributesClass.getHaloThemeStyleAttributes()); break; - } - } - - } - - private static final Pattern REMOVE_MULTIPLE_WHITESPACES_PATTERN = Pattern.compile("\\s{2,}"); - - private void parseASHTMLAttributes(CLASS_ATTRIBUTES_FIELD currClassAttributesField, TagNode asElementRootNode, IJsfFlexASAttributesClass currentInspectingASAttributesClass) { - try{ - - _progressMonitor.subTask(Messages.PARSING + currClassAttributesField + Messages.ATTRIBUTES_OF_AS_CLASS + currentInspectingASAttributesClass.getPackageClassName()); - //allow certain attributes to error by catching the exception here - Object[] attributeQueryResult = asElementRootNode.evaluateXPath(currClassAttributesField.getTableXMLPath()); - for(Object currAttributeQueryResult : attributeQueryResult) { - - if(currAttributeQueryResult instanceof TagNode) { - TagNode currAttributeNode = TagNode.class.cast( currAttributeQueryResult ); - Object[] nameResult = currAttributeNode.evaluateXPath( currClassAttributesField.getNameXMLPath() ); - Object[] descriptionResult = currAttributeNode.evaluateXPath( currClassAttributesField.getDescriptionXMLPath() ); - - if(nameResult != null && nameResult.length == 1 && descriptionResult != null && descriptionResult.length == 1){ - TagNode nameNode = TagNode.class.cast( nameResult[0] ); - TagNode descriptionNode = TagNode.class.cast( descriptionResult[0] ); - - String name = nameNode.getText().toString(); - String description = descriptionNode.getText().toString(); - Matcher removeMWPMatcher = REMOVE_MULTIPLE_WHITESPACES_PATTERN.matcher(description); - description = removeMWPMatcher.replaceAll(" "); - currClassAttributesField.addClassAttribute(currentInspectingASAttributesClass, name, description); - - } - } - - } - - }catch(XPatherException xpatherException){ - - } - } - - private static final String INHERITANCE_LIST_XML_PATH = "//td[@class='inheritanceList']/a"; //$NON-NLS-1$ - private static final String RELATIVE_URL_PARENT_DIR = ".."; //$NON-NLS-1$ - - private void parseASHTMLContent(URL asElementUrl, IJsfFlexASAttributesClass currentInspectingASAttributesClass) { - BufferedReader asElementUrlReader = null; - /* - * If one gets to here, technically one should have network access since otherwise one would have hit the exception - * within the run method - */ - try{ - _progressMonitor.subTask(Messages.STARTING_THE_PARSE_OF_AS_CLASS + currentInspectingASAttributesClass.getPackageClassName()); - asElementUrlReader = new BufferedReader(new InputStreamReader(asElementUrl.openStream())); - - HtmlCleaner asElementCleaner = new HtmlCleaner(HTML_CLEANER_PROPERTIES); - /* - * First check out the inheritance list and perform a recursive call on them - */ - TagNode rootNode = asElementCleaner.clean(asElementUrlReader); - Object[] inheritanceList = rootNode.evaluateXPath(INHERITANCE_LIST_XML_PATH); - Map inheritanceMap = new HashMap(); - JsfFlexCacheManager cacheManagerInstance = JsfFlexCacheManager.getInstance(); - for(Object currSuperClass : inheritanceList){ - TagNode currentSuperClass = TagNode.class.cast( currSuperClass ); - String[] currentSuperClassRelativeUrl = currentSuperClass.getAttributeByName(HREF_ATTRIBUTE).split("/"); //$NON-NLS-1$ - StringBuilder currentPackageClassNameBuilder = new StringBuilder(); - - int p=0; - for(int q=currentSuperClassRelativeUrl.length-1; p < q; p++) { - if(currentSuperClassRelativeUrl[p].equals(RELATIVE_URL_PARENT_DIR)){ - continue; - } - - currentPackageClassNameBuilder.append(currentSuperClassRelativeUrl[p]); - currentPackageClassNameBuilder.append("."); //$NON-NLS-1$ - } - String simpleName = currentSuperClassRelativeUrl[p]; - currentPackageClassNameBuilder.append(simpleName.substring(0, simpleName.indexOf('.'))); - - String packageClassName = currentPackageClassNameBuilder.toString(); - boolean containsPackageClassName = cacheManagerInstance.containsPackageClassName(packageClassName); - if(!containsPackageClassName){ - //Add it to a list of entries - - IJsfFlexASAttributesClass newPackageClassInstance = JsfFlexCacheManager.getDummyJsfFlexASAttributesClass(packageClassName, true); - cacheManagerInstance.addJsfFlexASAttributesClassResource(newPackageClassInstance); - BufferedReader newPackageClassInstanceReader = null; - try{ - URL newPackageClassInstanceUrl = asElementUrl.toURI().resolve(currentSuperClass.getAttributeByName(HREF_ATTRIBUTE)).toURL(); - - inheritanceMap.put(newPackageClassInstance, newPackageClassInstanceUrl); - }catch(URISyntaxException uriSyntaxException){ - continue; - }catch(MalformedURLException malformedUrlException){ - continue; - }finally{ - if(newPackageClassInstanceReader != null){ - try{ - newPackageClassInstanceReader.close(); - }catch(IOException ioException){ - - } - } - } - } - } - - if(inheritanceMap.size() > 0){ - final CountDownLatch currASElementLatch = new CountDownLatch(inheritanceMap.size()); - //recurse on each children - - for(final IJsfFlexASAttributesClass currAttributesClass : inheritanceMap.keySet()){ - final URL currAttributesClassUrl = inheritanceMap.get(currAttributesClass); - currentInspectingASAttributesClass.addChildrenASClass(currAttributesClass); - _parseService.execute(new Runnable(){ - - @Override - public void run() { - parseASHTMLContent(currAttributesClassUrl, currAttributesClass); - currASElementLatch.countDown(); - } - - }); - } - - try{ - currASElementLatch.await(); - }catch(InterruptedException interruptedExcept){ - Thread.currentThread().interrupt(); - } - - } - - for(CLASS_ATTRIBUTES_FIELD currClassAttributesField : CLASS_ATTRIBUTES_FIELD.values()){ - - parseASHTMLAttributes(currClassAttributesField, rootNode, currentInspectingASAttributesClass); - - } - cacheManagerInstance.addJsfFlexASAttributesClassResource(currentInspectingASAttributesClass); - }catch(XPatherException xpatherException){ - - }catch(IOException ioException){ - - }finally{ - if(asElementUrlReader != null){ - try{ - asElementUrlReader.close(); - }catch(IOException ioException) { - - } - } - } - - } - - @Override - protected void canceling() { - cleanUp(); - - super.canceling(); - } - - @Override - protected void finalize() throws Throwable { - super.finalize(); - cleanUp(); - } - - private void cleanUp() { - if(_parseService != null){ - _parseService.shutdownNow(); - } - } - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/processor/messages.properties b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/processor/messages.properties deleted file mode 100644 index f9749d48..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/processor/messages.properties +++ /dev/null @@ -1,12 +0,0 @@ -ACCESSING_THE_HTML_AT=Accessing the HTML at: -ATTRIBUTES_OF_AS_CLASS=\ attributes of AS class \: -IO_EXCEPTION_WAS_THROWN=IOException was thrown -MALFORMED_URL_EXCEPTION_WAS_THROWN=MalformedURLException was thrown -PARSE_PACKAGE_HTML_CONTENT=Parse Package HTML Content -PARSING=Parsing -PARSING_OF_TOP_AS_CLASS=Parsing of top AS Class \: -PARSING_THE_SUCCESSFULLY_RETRIEVED_HTML_CONTENT=Parsing the successfully retrieved HTML content -STARTING_THE_AS_PARSING_PROCESS=Starting the AS parsing process -STARTING_THE_PARSE_OF_AS_CLASS=Starting the parse of AS Class \: -STARTING_THE_PARSING_OF_PACKAGE_HTML_CONTENT=Starting the parsing of package HTML content -XPATHER_EXCEPTION_WAS_THROWN=XPatherException was thrown diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/propertyTester/BaseTest.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/propertyTester/BaseTest.java deleted file mode 100644 index 25dd7025..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/propertyTester/BaseTest.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.propertyTester; - -import org.eclipse.core.expressions.PropertyTester; - -import com.googlecode.jsfflexeclipseplugin.model.JsfFlexCacheManager; - -/** - * - * @author Ji Hoon Kim - */ -public class BaseTest extends PropertyTester { - - public BaseTest() { - super(); - } - - @Override - public boolean test(Object receiver, String property, Object[] args, Object expectedValue) { - return JsfFlexCacheManager.attemptFetchOfLatestASAPIs(); - } - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/util/JsfFlexEclipsePluginConstants.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/util/JsfFlexEclipsePluginConstants.java deleted file mode 100644 index a6073352..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/util/JsfFlexEclipsePluginConstants.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.util; - -/** - * @author Ji Hoon Kim - */ -public final class JsfFlexEclipsePluginConstants { - - public static final int HASH_CODE_INIT_VALUE = 3; - public static final int HASH_CODE_MULTIPLY_VALUE = 31; - public static final String JSF_FLEX_URL_NAMESPACE = "http://jsf-flex.googlecode.com/"; - public static final String NAME_SPACE_OVERRIDE_ATTR = "nameSpaceOverride"; - public static final String JSF_FLEX_TAG_START_PREFIX = "flex"; - - private JsfFlexEclipsePluginConstants() { - super(); - } - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/util/JsfFlexEclipsePluginLogger.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/util/JsfFlexEclipsePluginLogger.java deleted file mode 100644 index 646d3cbd..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/util/JsfFlexEclipsePluginLogger.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.util; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; - -import com.googlecode.jsfflexeclipseplugin.JsfFlexActivator; - -/** - * @author Ji Hoon Kim - */ -public final class JsfFlexEclipsePluginLogger { - - private JsfFlexEclipsePluginLogger() { - super(); - } - - public static void logInfo(String message) { - - JsfFlexActivator.getDefault().getLog().log(new Status(IStatus.INFO, JsfFlexActivator.PLUGIN_ID, message)); - } - - public static void logError(String message, Throwable error) { - - JsfFlexActivator.getDefault().getLog().log(new Status(IStatus.ERROR, JsfFlexActivator.PLUGIN_ID, message, error)); - } - - public static void logWarning(String message) { - - JsfFlexActivator.getDefault().getLog().log(new Status(IStatus.WARNING, JsfFlexActivator.PLUGIN_ID, message)); - } - -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/views/JsfFlexASAttributesClassView.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/views/JsfFlexASAttributesClassView.java deleted file mode 100644 index 1a9ed836..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/views/JsfFlexASAttributesClassView.java +++ /dev/null @@ -1,356 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.views; - -import java.lang.ref.SoftReference; -import java.util.EnumSet; -import java.util.LinkedList; -import java.util.List; - -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Table; -import org.eclipse.swt.widgets.TableColumn; -import org.eclipse.ui.part.*; -import org.eclipse.jface.viewers.*; -import org.eclipse.swt.graphics.Image; -import org.eclipse.jface.action.*; -import org.eclipse.ui.*; -import org.eclipse.swt.widgets.Menu; -import org.eclipse.swt.SWT; - -import com.googlecode.jsfflexeclipseplugin.model.AbstractJsfFlexASAttributesClassResource.JsfFlexClassAttribute; -import com.googlecode.jsfflexeclipseplugin.model.AbstractJsfFlexASAttributesClassResource; -import com.googlecode.jsfflexeclipseplugin.model.IJsfFlexASAttributesClass; -import com.googlecode.jsfflexeclipseplugin.processor.ParseActionScriptHTMLContent.CLASS_ATTRIBUTES_FIELD; -import com.googlecode.jsfflexeclipseplugin.util.JsfFlexEclipsePluginLogger; - - -/** - * This sample class demonstrates how to plug-in a new - * workbench view. The view shows data obtained from the - * model. The sample creates a dummy model on the fly, - * but a real implementation would connect to the model - * available either in this or another plug-in (e.g. the workspace). - * The view is connected to the model using a content provider. - *

- * The view uses a label provider to define how model - * objects should be presented in the view. Each - * view can present the same model objects using - * different labels and icons, if needed. Alternatively, - * a single label provider can be shared between views - * in order to ensure that objects of the same type are - * presented in the same way everywhere. - *

- * - * @author Ji Hoon Kim - */ -public final class JsfFlexASAttributesClassView extends ViewPart { - - /** - * The ID of the view as specified by the extension. - */ - public static final String ID = "com.googlecode.jsfflexeclipseplugin.views.JsfFlexASAttributesClassView"; //$NON-NLS-1$ - - private TableViewer _viewer; - private TableColumn _field; - private TableColumn _description; - - private Action _viewAll; - private Action _viewProperties; - private Action _viewEvents; - private Action _viewEffects; - private Action _viewCommonStyles; - private Action _viewSparkThemeStyles; - private Action _viewHaloThemeStyles; - private Action _clear; - - private JsfFlexASAttributesClassViewContentProvider _contentProvider; - - private static JsfFlexASAttributesClassView _currView; - - private static final EnumSet ALL_SET = EnumSet.of(CLASS_ATTRIBUTES_FIELD.PROPERTY, CLASS_ATTRIBUTES_FIELD.EVENT, CLASS_ATTRIBUTES_FIELD.EFFECT, - CLASS_ATTRIBUTES_FIELD.COMMON_STYLE, CLASS_ATTRIBUTES_FIELD.SPARK_THEME_STYLE, CLASS_ATTRIBUTES_FIELD.HALO_THEME_STYLE); - private static final EnumSet PROPERTY_SET = EnumSet.of(CLASS_ATTRIBUTES_FIELD.PROPERTY); - private static final EnumSet EVENT_SET = EnumSet.of(CLASS_ATTRIBUTES_FIELD.EVENT); - private static final EnumSet EFFECT_SET = EnumSet.of(CLASS_ATTRIBUTES_FIELD.EFFECT); - private static final EnumSet COMMON_STYLE_SET = EnumSet.of(CLASS_ATTRIBUTES_FIELD.COMMON_STYLE); - private static final EnumSet SPARK_THEME_STYLE_SET = EnumSet.of(CLASS_ATTRIBUTES_FIELD.SPARK_THEME_STYLE); - private static final EnumSet HALO_THEME_STYLE_SET = EnumSet.of(CLASS_ATTRIBUTES_FIELD.HALO_THEME_STYLE); - private static final EnumSet NONE_SET = EnumSet.noneOf(CLASS_ATTRIBUTES_FIELD.class); - - private class JsfFlexASAttributesClassViewContentProvider implements IStructuredContentProvider { - - private final JsfFlexClassAttribute[] CAST_ARRAY = new JsfFlexClassAttribute[0]; - - private EnumSet _selectedAttributesViewSet = ALL_SET; - private IJsfFlexASAttributesClass _jsfFlexASAttributesClass; - private SoftReference _aggregatedClass; - - public void inputChanged(Viewer v, Object oldInput, Object newInput) { - } - - public void dispose() { - } - - private void setJsfFlexASAttributeClass(IJsfFlexASAttributesClass jsfFlexASAttributesClass) { - _jsfFlexASAttributesClass = jsfFlexASAttributesClass; - _aggregatedClass = null; - - Display.getDefault().asyncExec(new Runnable(){ - - @Override - public void run() { - - try{ - - IWorkbenchPage pageSecond = _currView.getSite().getPage(); - IViewPart part2 = pageSecond.showView(JsfFlexASAttributesClassView.ID); - pageSecond.activate(part2); - - }catch(PartInitException e) { - - }catch(Throwable error){ - - } - - _viewer.refresh(); - } - }); - - } - - private void setSelectedAttributesViewSet(EnumSet selectedAttributesViewSet, boolean refreshRatherThanClear) { - _selectedAttributesViewSet = selectedAttributesViewSet; - - if(refreshRatherThanClear){ - _viewer.refresh(); - }else{ - _viewer.getTable().clearAll(); - } - } - - public Object[] getElements(Object parent) { - if(_jsfFlexASAttributesClass == null) { - return CAST_ARRAY; - } - - IJsfFlexASAttributesClass currAggregatedClass; - /* - * When there exists a change in the org.w3c.dom.Node selection, _aggregatedClass should be set to NULL - * and one should invoke setJsfFlexASAttributeClass with the new instance of IJsfFlexASAttributesClass - */ - if(_aggregatedClass == null || (currAggregatedClass = _aggregatedClass.get()) == null) { - currAggregatedClass = AbstractJsfFlexASAttributesClassResource.aggregateClassAttributes(_jsfFlexASAttributesClass); - _aggregatedClass = new SoftReference(currAggregatedClass); - } - - List jsfFlexClassAttributes = new LinkedList(); - for(CLASS_ATTRIBUTES_FIELD currAttributesField : _selectedAttributesViewSet) { - currAttributesField.addClassAttributesToAggregator(currAggregatedClass, jsfFlexClassAttributes); - } - return jsfFlexClassAttributes.toArray(CAST_ARRAY); - } - } - - private class JsfFlexASAttributesClassViewLabelProvider extends LabelProvider implements ITableLabelProvider { - - public String getColumnText(Object obj, int index) { - JsfFlexClassAttribute currClassAttribute = JsfFlexClassAttribute.class.cast( obj ); - String columnValue = null; - - switch(index) { - case 0 : columnValue = currClassAttribute.getName(); break; - case 1 : columnValue = currClassAttribute.getDescription(); break; - } - - return columnValue; - } - public Image getColumnImage(Object obj, int index) { - if(index == 0){ - return PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_ELEMENT); - }else{ - return null; - } - } - } - - public JsfFlexASAttributesClassView() { - super(); - - _currView = this; - } - - - public static void jsfFlexASAttributesClassSelectionChanged(IJsfFlexASAttributesClass jsfFlexASAttributesClass) { - - _currView._contentProvider.setJsfFlexASAttributeClass(jsfFlexASAttributesClass); - } - - /** - * This is a callback that will allow us - * to create the viewer and initialize it. - */ - public void createPartControl(Composite parent) { - _viewer = new TableViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION); - - Table table = _viewer.getTable(); - - _field = new TableColumn(table, SWT.LEFT); - _field.setWidth(200); - _field.setText(Messages.FIELD); - - _description = new TableColumn(table, SWT.LEFT); - _description.setWidth(900); - _description.setText(Messages.DESCRIPTION); - - table.setHeaderVisible(true); - table.setLinesVisible(false); - - _contentProvider = new JsfFlexASAttributesClassViewContentProvider(); - _viewer.setContentProvider(_contentProvider); - _viewer.setLabelProvider(new JsfFlexASAttributesClassViewLabelProvider()); - _viewer.setInput(getViewSite()); - - makeActions(); - hookContextMenu(); - contributeToActionBars(); - } - - private void hookContextMenu() { - MenuManager menuMgr = new MenuManager("#PopupMenu"); //$NON-NLS-1$ - menuMgr.setRemoveAllWhenShown(true); - menuMgr.addMenuListener(new IMenuListener() { - public void menuAboutToShow(IMenuManager manager) { - JsfFlexASAttributesClassView.this.fillContextMenu(manager); - } - }); - Menu menu = menuMgr.createContextMenu(_viewer.getControl()); - _viewer.getControl().setMenu(menu); - getSite().registerContextMenu(menuMgr, _viewer); - } - - private void contributeToActionBars() { - IActionBars bars = getViewSite().getActionBars(); - fillLocalPullDown(bars.getMenuManager()); - } - - private void addGenericMenus(IContributionManager contributionManager) { - contributionManager.add(_viewAll); - contributionManager.add(_viewProperties); - contributionManager.add(_viewEvents); - contributionManager.add(_viewEffects); - contributionManager.add(_viewCommonStyles); - contributionManager.add(_viewSparkThemeStyles); - contributionManager.add(_viewHaloThemeStyles); - contributionManager.add(new Separator()); - contributionManager.add(_clear); - } - - private void fillLocalPullDown(IMenuManager manager) { - addGenericMenus(manager); - } - - private void fillContextMenu(IMenuManager manager) { - addGenericMenus(manager); - // Other plug-ins can contribute there actions here - manager.add(new Separator(IWorkbenchActionConstants.M_EDIT)); - manager.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS)); - } - - private void makeActions() { - - _viewAll = new Action() { - public void run() { - _contentProvider.setSelectedAttributesViewSet(ALL_SET, true); - } - }; - _viewAll.setText(Messages.VIEW_ALL_ATTRIBUTES); - _viewAll.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_OBJ_ADD)); - - _viewProperties = new Action() { - public void run() { - _contentProvider.setSelectedAttributesViewSet(PROPERTY_SET, true); - } - }; - _viewProperties.setText(Messages.VIEW_PROPERTY_ATTRIBUTES); - _viewProperties.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_OBJ_ADD)); - - _viewEvents = new Action() { - public void run() { - _contentProvider.setSelectedAttributesViewSet(EVENT_SET, true); - } - }; - _viewEvents.setText(Messages.VIEW_EVENT_ATTRIBUTES); - _viewEvents.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_OBJ_ADD)); - - _viewEffects = new Action() { - public void run() { - _contentProvider.setSelectedAttributesViewSet(EFFECT_SET, true); - } - }; - _viewEffects.setText(Messages.VIEW_EFFECT_ATTRIBUTES); - _viewEffects.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_OBJ_ADD)); - - _viewCommonStyles = new Action() { - public void run() { - _contentProvider.setSelectedAttributesViewSet(COMMON_STYLE_SET, true); - } - }; - _viewCommonStyles.setText(Messages.VIEW_COMMON_STYLE_ATTRIBUTES); - _viewCommonStyles.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_OBJ_ADD)); - - _viewSparkThemeStyles = new Action() { - public void run() { - _contentProvider.setSelectedAttributesViewSet(SPARK_THEME_STYLE_SET, true); - } - }; - _viewSparkThemeStyles.setText(Messages.VIEW_SPARK_THEME_STYLE_ATTRIBUTES); - _viewSparkThemeStyles.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_OBJ_ADD)); - - _viewHaloThemeStyles = new Action() { - public void run() { - _contentProvider.setSelectedAttributesViewSet(HALO_THEME_STYLE_SET, true); - } - }; - _viewHaloThemeStyles.setText(Messages.VIEW_HALO_THEME_STYLE_ATTRIBUTES); - _viewHaloThemeStyles.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_OBJ_ADD)); - - _clear = new Action() { - public void run() { - _contentProvider.setSelectedAttributesViewSet(NONE_SET, false); - } - }; - _clear.setText(Messages.CLEAR_ATTRIBUTES); - _clear.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_ELCL_REMOVEALL)); - - } - - public IStructuredSelection getSelection() { - return IStructuredSelection.class.cast( _viewer.getSelection() ); - } - - /** - * Passing the focus request to the viewer's control. - */ - public void setFocus() { - _viewer.getControl().setFocus(); - } - -} \ No newline at end of file diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/views/Messages.java b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/views/Messages.java deleted file mode 100644 index 7ed75b5e..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/views/Messages.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfflexeclipseplugin.views; - -import org.eclipse.osgi.util.NLS; - -/** - * @author Ji Hoon Kim - */ -public class Messages extends NLS { - private static final String BUNDLE_NAME = "com.googlecode.jsfflexeclipseplugin.views.messages"; //$NON-NLS-1$ - public static String CLEAR_ATTRIBUTES; - public static String DESCRIPTION; - public static String FIELD; - public static String VIEW_ALL_ATTRIBUTES; - public static String VIEW_COMMON_STYLE_ATTRIBUTES; - public static String VIEW_EFFECT_ATTRIBUTES; - public static String VIEW_EVENT_ATTRIBUTES; - public static String VIEW_HALO_THEME_STYLE_ATTRIBUTES; - public static String VIEW_PROPERTY_ATTRIBUTES; - public static String VIEW_SPARK_THEME_STYLE_ATTRIBUTES; - static { - // initialize resource bundle - NLS.initializeMessages(BUNDLE_NAME, Messages.class); - } - - private Messages() { - } -} diff --git a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/views/messages.properties b/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/views/messages.properties deleted file mode 100644 index dc118226..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/base-plugin/src/main/java/com/googlecode/jsfflexeclipseplugin/views/messages.properties +++ /dev/null @@ -1,10 +0,0 @@ -CLEAR_ATTRIBUTES=Clear Attributes -DESCRIPTION=Description -FIELD=Field -VIEW_ALL_ATTRIBUTES=View All Attributes -VIEW_COMMON_STYLE_ATTRIBUTES=View Common Style Attributes -VIEW_EFFECT_ATTRIBUTES=View Effect Attributes -VIEW_EVENT_ATTRIBUTES=View Event Attributes -VIEW_HALO_THEME_STYLE_ATTRIBUTES=View Halo Theme Style Attributes -VIEW_PROPERTY_ATTRIBUTES=View Property Attributes -VIEW_SPARK_THEME_STYLE_ATTRIBUTES=View Spark Theme Style Attributes diff --git a/jsf-flex-eclipse-plugIn/plugins/pom.xml b/jsf-flex-eclipse-plugIn/plugins/pom.xml deleted file mode 100644 index 8e4c96ab..00000000 --- a/jsf-flex-eclipse-plugIn/plugins/pom.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - com.googlecode.jsf-flex - jsf-flex-eclipse-plugIn - 0.5.0 - - - 4.0.0 - com.googlecode.jsf-flex.jsf-flex-eclipse-plugIn - plugins - pom - JSF-Flex Eclipse Plugins Project - This project contains Eclipse Plugin projects for the JSF Flex project. - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn/plugins - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn/plugins - - - - base-plugin - - - diff --git a/jsf-flex-eclipse-plugIn/pom.xml b/jsf-flex-eclipse-plugIn/pom.xml deleted file mode 100644 index 3a3e291c..00000000 --- a/jsf-flex-eclipse-plugIn/pom.xml +++ /dev/null @@ -1,97 +0,0 @@ - - - 4.0.0 - com.googlecode.jsf-flex - jsf-flex-eclipse-plugIn - 0.5.0 - pom - JSF-Flex Eclipse Plugins/Features/Fragments/Update Site Project - This project contains possibly useful Eclipse Plugin for the JSF Flex project and its associated projects [i.e. features, fragments, updates sites, and etcetera]. - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn - - - - - - net.sourceforge.htmlcleaner - htmlcleaner - 2.2 - - - - - - - - - tycho-maven-plugin - ${tycho-version} - - - target-platform-configuration - ${tycho-version} - - - maven-eclipse-plugin - 2.8 - - - - - - - org.eclipse.tycho - tycho-maven-plugin - ${tycho-version} - true - - - org.sonatype.tycho - target-platform-configuration - ${tycho-version} - - p2 - - - - - - - - - p2.eclipse.helios - p2 - http://download.eclipse.org/releases/helios - - false - never - - - never - - - - - - plugins - fragments - features - update-site - - - - 0.12.0 - 1.0 - - - diff --git a/jsf-flex-eclipse-plugIn/update-site/index.html b/jsf-flex-eclipse-plugIn/update-site/index.html deleted file mode 100644 index 3a0873e3..00000000 --- a/jsf-flex-eclipse-plugIn/update-site/index.html +++ /dev/null @@ -1,60 +0,0 @@ - - -com.googlecode.jsfFlexEclipsePlugIn.update-site - - - - - - -

- - diff --git a/jsf-flex-eclipse-plugIn/update-site/pom.xml b/jsf-flex-eclipse-plugIn/update-site/pom.xml deleted file mode 100644 index d786d5b1..00000000 --- a/jsf-flex-eclipse-plugIn/update-site/pom.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - com.googlecode.jsf-flex - jsf-flex-eclipse-plugIn - 0.5.0 - - - 4.0.0 - com.googlecode.jsf-flex.jsf-flex-eclipse-plugIn - com.googlecode.jsf-flex-eclipse-plugIn-base-plugIn-update-site - eclipse-update-site - JSF-Flex Eclipse Plugin Update Site Project - This is an Update Site Project for the JSF Flex Eclipse Plugin project. - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn/update-site - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-eclipse-plugIn/update-site - - - diff --git a/jsf-flex-eclipse-plugIn/update-site/site.xml b/jsf-flex-eclipse-plugIn/update-site/site.xml deleted file mode 100644 index 2ed4a649..00000000 --- a/jsf-flex-eclipse-plugIn/update-site/site.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - Will utilize the wiki directory as the root directory for the plugin - - - diff --git a/jsf-flex-eclipse-plugIn/update-site/web/site.css b/jsf-flex-eclipse-plugIn/update-site/web/site.css deleted file mode 100644 index 425134ee..00000000 --- a/jsf-flex-eclipse-plugIn/update-site/web/site.css +++ /dev/null @@ -1,12 +0,0 @@ - diff --git a/jsf-flex-eclipse-plugIn/update-site/web/site.xsl b/jsf-flex-eclipse-plugIn/update-site/web/site.xsl deleted file mode 100644 index e5175935..00000000 --- a/jsf-flex-eclipse-plugIn/update-site/web/site.xsl +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - - - com.googlecode.jsfFlexEclipsePlugIn.update-site - - - -

com.googlecode.jsfFlexEclipsePlugIn.update-site

-

- - - - - - - - - - - - - - - - dark-row - - - light-row - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dark-row - - - light-row - - - - - - - - - - - - - - - dark-row - - - light-row - - - - - - - - -
- - - -
- - - -
-
- ( - ) -
-
- - - - -
-
-
- - - - - - - - - - - - - - - - - - - - - -
Operating Systems:
Windows Systems:
Languages:
Architecture:
-


- Uncategorized -
- - - -
-
- ( - ) -
-
- - - - -
-

-
- - - - - - - - - - - - - - - - - - - - - -
Operating Systems:
Windows Systems:
Languages:
Architecture:
-
- - - -
-
- ( - ) -
-
- - - - -
-

-
- - - - - - - - - - - - - - - - - - - - - -
Operating Systems:
Windows Systems:
Languages:
Architecture:
-
- - -
-
-
diff --git a/jsf-flex-shared/core/pom.xml b/jsf-flex-shared/core/pom.xml deleted file mode 100644 index 78443072..00000000 --- a/jsf-flex-shared/core/pom.xml +++ /dev/null @@ -1,200 +0,0 @@ - - 4.0.0 - - - com.googlecode.jsf-flex - jsf-flex-shared-project - ${jsf.flex.version} - - - com.googlecode.jsf-flex.jsf-flex-shared-project - jsf-flex-shared - jar - JSF-FlexShared Core - - JSF-FlexShared Core provides shared resource for jsf-flex subprojects. Also contains AbstractMXMLResponseStateManager.java, AbstractMXMLResponseWriter.java, and MXMLRendererBase.java due to difference in MyFaces + Mojarra JSF implementation. - - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-shared/core - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-shared/core - - - - - - org.apache.myfaces.core - myfaces-api - provided - - - - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex-annotations - - - - org.json - json - - - - commons-logging - commons-logging - - - - - - - default_standard_common_impl - - - !standard_common_impl - - - - com.googlecode.jsfFlex.shared.tasks.SDKStandardCommonTaskRunnerImpl - - - - - stub_standard_common_impl - - - standard_common_impl - stub - - - - com.googlecode.jsfFlex.shared.tasks.StubStandardCommonTaskRunnerImpl - - - - - default_file_manipulator_impl - - - !file_manipulator_impl - - - - com.googlecode.jsfFlex.shared.tasks.VelocityFileManipulatorTaskRunnerImpl - - - - - default_flex_runner_impl - - - !flex_runner_impl - - - - com.googlecode.jsfFlex.shared.tasks.AntFlexTaskRunnerImpl - - - - - jython_flex_runner_impl - - - flex_runner_impl - jython - - - - com.googlecode.jsfFlex.shared.tasks.JythonFlexTaskRunnerImpl - - - - - - - - - - src/main/resources - true - - **/*.zip - - - - - - - com.googlecode.jsf-flex.jsf-flex-build-plugIn-project - jsf-flex-build-plugIn-plugin - ${jsf.flex.version} - - - createComponentValueMapperXML - - createComponentValueMapperXML - - - - - - com.googlecode.jsf-flex.jsf-flex-build-plugIn-project - jsf-flex-build-plugIn-plugin - ${jsf.flex.version} - - - - - com.googlecode.jsf-flex.jsf-flex-build-plugIn-project - jsf-flex-build-plugIn-plugin - ${jsf.flex.version} - - - createSwcConfigurationFile - - createSwcConfigurationFile - - - - - - com.googlecode.jsf-flex.jsf-flex-build-plugIn-project - jsf-flex-build-plugIn-plugin - ${jsf.flex.version} - - - - - org.codehaus.mojo - xml-maven-plugin - - - - validate - - - - - - - target/classes/com/googlecode/jsfFlex/shared/swfSourceFiles - src/main/resources/META-INF/componentValueMapper.xsd - - - - - - - - - - com.googlecode.jsfFlex.renderkit.annotationDocletParser.AnnotationDocletParser15Impl - - - diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/renderkit/FlexRendererBase.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/renderkit/FlexRendererBase.java deleted file mode 100644 index 9d59806d..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/renderkit/FlexRendererBase.java +++ /dev/null @@ -1,195 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit; - -import java.io.IOException; -import java.util.Comparator; -import java.util.List; -import java.util.Map; -import java.util.Set; -import java.util.TreeSet; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.Renderer; - -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public class FlexRendererBase extends Renderer { - - public static final String MAJOR_MINOR_DELIM = "-"; - private static final String PRE_MXML_FILE_NAME_DELIM = "_"; - - private FlexRendererBaseHelper _flexRendererBaseHelper; - - { - _flexRendererBaseHelper = new FlexRendererBaseHelper(); - } - - private static final Comparator _majorKeyComparator = new Comparator(){ - public int compare(IFlexContract actObj1, IFlexContract actObj2){ - double actObj1Double = Double.valueOf(actObj1.getPreMxmlIdentifier().replaceAll(MAJOR_MINOR_DELIM, "")).doubleValue(); - double actObj2Double = Double.valueOf(actObj2.getPreMxmlIdentifier().replaceAll(MAJOR_MINOR_DELIM, "")).doubleValue(); - return actObj1Double == actObj2Double ? 0 : actObj1Double < actObj2Double ? -1 : 1; - } - }; - - public void encodeBegin(FacesContext context, UIComponent component) throws IOException { - super.encodeBegin(context, component); - - UIComponent parent = component.getParent(); - - if(parent == null){ - //this should never happen - throw new NullPointerException("Component " + component.getClass().getName() + - " lacks parent component"); - } - - _flexRendererBaseHelper.createStructureForPreMxmlFiles(component); - - } - - private final class FlexRendererBaseHelper{ - - private FlexRendererBaseHelper(){ - super(); - } - - private void createStructureForPreMxmlFiles(UIComponent component) throws IOException { - - IFlexContract flexUIComp = IFlexContract.class.cast( component ); - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - - UIComponent parent = component.getParent(); - - if(flexContext.isProductionEnv()){ - //do not need to create preMxml files - return; - } - - if(parent instanceof IFlexContract && !(component instanceof IFlexApplicationContract)){ - IFlexContract flexInstance = IFlexContract.class.cast( parent ); - int tempInt = flexInstance.getMajorLevel(); - flexUIComp.setMajorLevel(++tempInt); - - //now set the minor level - List childrenList = parent.getChildren(); - int counter = 0; - - for(UIComponent currComp : childrenList){ - //get the component's position within structure - if(currComp == component){ - //got the component's position - break; - } - if(currComp instanceof IFlexContract){ - counter++; - } - } - - flexUIComp.setMinorLevel(counter); - setPreMxmlIdentifiers(flexInstance, flexUIComp); - - }else if(component instanceof IFlexApplicationContract){ - //means that it is not of Flex component, so set the major and minor level to 0 - flexUIComp.setMajorLevel(0); - flexUIComp.setMinorLevel(0); - setPreMxmlIdentifiers(null, flexUIComp); - - }else{ - throw new IllegalStateException("Failed to meet the condition of either being a top component of " + - "FlexUIApplication or having a parent as implementation of " + - "IFlexContract"); - } - - setAbsolutePathToPreMxmlFile(flexContext.getCurrMxml(), flexUIComp, flexContext.getPreMxmlPath()); - - insertComponentToPreMxmlCompMap(component); - - } - - private void setPreMxmlIdentifiers(IFlexContract parentInstance, IFlexContract currInstance){ - //TODO : implement this whole process better later - StringBuilder parentPreMxmlIdentifier = new StringBuilder(); - StringBuilder preMxmlIdentifier = new StringBuilder(); - - if(parentInstance != null){ - parentPreMxmlIdentifier.append(parentInstance.getPreMxmlIdentifier()); - - preMxmlIdentifier.append(parentInstance.getPreMxmlIdentifier()); - preMxmlIdentifier.append(MAJOR_MINOR_DELIM); - preMxmlIdentifier.append(currInstance.getMajorLevel()); - preMxmlIdentifier.append(currInstance.getMinorLevel()); - - }else{ - //currInstance is an instance of MXMLUIApplication - preMxmlIdentifier.append(currInstance.getMajorLevel()); - preMxmlIdentifier.append(currInstance.getMinorLevel()); - } - - currInstance.setParentPreMxmlIdentifier(parentPreMxmlIdentifier.toString()); - currInstance.setPreMxmlIdentifier(preMxmlIdentifier.toString()); - } - - private void setAbsolutePathToPreMxmlFile(String flexSwfName, IFlexContract currInstance, String preMxmlPath){ - StringBuilder toReturn = new StringBuilder(preMxmlPath); - toReturn.append(flexSwfName); - toReturn.append(PRE_MXML_FILE_NAME_DELIM); - toReturn.append(currInstance.getClass().getSimpleName()); - toReturn.append(PRE_MXML_FILE_NAME_DELIM); - toReturn.append(currInstance.getPreMxmlIdentifier()); - toReturn.append(FlexConstants.PRE_MXML_FILE_EXT); - - currInstance.setAbsolutePathToPreMxmlFile(toReturn.toString()); - - } - - private void insertComponentToPreMxmlCompMap(UIComponent component) throws IOException { - - IFlexContract flexUIComp = IFlexContract.class.cast( component ); - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - - if(!(component instanceof IFlexApplicationContract)){ - /* - * Ignore the addition of FlexUIApplication, because FlexApplication is responsible - * for traversing through the Set and creating the mxml and swf files. - */ - Map> preMxmlCompMap = flexContext.getPreMxmlCompMap(); - Integer majorKey = flexUIComp.getMajorLevel(); - - Set majorKeySet; - if((majorKeySet = preMxmlCompMap.get(majorKey)) == null){ - majorKeySet = new TreeSet( _majorKeyComparator ); - preMxmlCompMap.put(majorKey, majorKeySet); - } - - majorKeySet.add(flexUIComp); - - } - } - - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/renderkit/annotationDocletParser/AbstractAnnotationDocletParser.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/renderkit/annotationDocletParser/AbstractAnnotationDocletParser.java deleted file mode 100644 index 9100a290..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/renderkit/annotationDocletParser/AbstractAnnotationDocletParser.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.annotationDocletParser; - -import java.lang.reflect.Method; -import java.util.LinkedHashSet; -import java.util.Map; -import java.util.Set; - -import javax.faces.render.Renderer; - -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.beans.templates.TokenValue; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractAnnotationDocletParser { - - static final String BY_ATTRIBUTE = "byAttribute"; - - private Set _tokenValueSet; - - AbstractAnnotationDocletParser(){ - super(); - } - - { - _tokenValueSet = new LinkedHashSet(); - } - - public Set getTokenValueSet(){ - return _tokenValueSet; - } - - public static String getErrorMessage(String caller, String parameter){ - StringBuilder errorMessage = new StringBuilder(); - - errorMessage.append("Exception when "); - errorMessage.append(caller); - errorMessage.append(" with parameter(s) [ "); - errorMessage.append(parameter); - errorMessage.append(" ] "); - - return errorMessage.toString(); - } - - public abstract void mapComponentFields(Class mapClass, Object componentObj, - String replaceMappingXML); - - enum FLEX_MAPPER { - - FLEX_ATTRIBUTE_MAPPER { - TokenValue mapField(String tokenName, Object componentObj) { - //this class must have Object passed in as a IFlexContract - IFlexContract comp = IFlexContract.class.cast( componentObj ); - Map attributeMap = comp.getAttributes(); - Object obj; - - if(attributeMap != null && (obj = attributeMap.get(tokenName)) != null){ - return new TokenValue(tokenName, obj.toString()); - } - - return null; - }; - }, - - FLEX_METHOD_MAPPER { - - TokenValue mapField(String tokenName, Object componentObj) { - - try{ - String searchMethodName = "get" + String.valueOf(tokenName.charAt(0)).toUpperCase() + tokenName.substring(1); - Method method = componentObj.getClass().getMethod(searchMethodName); - Object obj = method.invoke(componentObj); - - if(obj != null){ - return new TokenValue(tokenName, obj); - } - - return null; - }catch(Exception exceptionThroughReflection){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Exception when mapping field for tokenName [ "); - errorMessage.append(tokenName); - errorMessage.append(" ] for "); - errorMessage.append(componentObj.getClass().getName()); - throw new ComponentBuildException(errorMessage.toString(), exceptionThroughReflection); - } - - } - - }; - - abstract TokenValue mapField(String tokenName, Object componentObj); - - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/renderkit/flex/AbstractFlexResponseWriter.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/renderkit/flex/AbstractFlexResponseWriter.java deleted file mode 100644 index 6c7ab405..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/renderkit/flex/AbstractFlexResponseWriter.java +++ /dev/null @@ -1,849 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.flex; - -import java.io.File; -import java.io.FilenameFilter; -import java.io.IOException; -import java.io.InputStream; -import java.io.Writer; -import java.util.Collection; -import java.util.HashMap; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import java.util.Properties; -import java.util.concurrent.CountDownLatch; - -import javax.faces.context.ResponseWriterWrapper; -import javax.faces.render.Renderer; - -import com.googlecode.jsfFlex.renderkit.FlexRendererBase; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.beans.others.JsfFlexFlashApplicationConfiguration; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.tasks.ICommonTaskRunner; -import com.googlecode.jsfFlex.shared.tasks.AbstractFileManipulatorTaskRunner; -import com.googlecode.jsfFlex.shared.tasks.IFlexTaskRunner; -import com.googlecode.jsfFlex.shared.tasks.ITaskRunner; -import com.googlecode.jsfFlex.shared.tasks.ITaskRunner.QUEUE_TASK_ID; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractFlexResponseWriter extends ResponseWriterWrapper { - - private final static String EXTERNAL_LIBRARY_PATH_COLLECTION_ERROR = "Paths for External Libary SWC files must be absolute."; - - private final static String JSF_FLEX_FLASH_APPLICATION_CONFIG_TEMPLATE = "jsf-flex-flash-application-config.vm"; - private final static String TO_CREATE_JSF_FLEX_FLASH_APPLICATION_CONFIG_FILE_NAME = "jsfFlexFlashApplicationConfig.xml"; - private final static String JSF_FLEX_FLASH_APPLICATION_CONFIG_TOKEN = "jsfFlexFlashApplicationConfig"; - - private static final String DEFAULT_CHMOD_FILE_INCLUSION_REG_EXP = "*"; - private static final String DEFAULT_CHMOD_PERMISSION = "u+rx"; - - private final static Object LOCK = new Object(); - private final static FilenameFilter SWF_LIBRARY_FILENAME_FILTER = new FilenameFilter() { - public boolean accept(File currDir, String currFileName) { - /* - * Since indexOf uses regular expression for String argument, must escape period. - */ - return currFileName.indexOf("\\.swf") > -1; - } - }; - - protected AbstractFlexResponseWriter(){ - super(); - } - - /** - * Method to shutdown all the FutureTasks for various runners. - */ - public void shutDownFutureTasks(){ - getCommonTaskRunner().clearAllFutureTasks(); - getFileManipulatorTaskRunner().clearAllFutureTasks(); - getFlexTaskRunner().clearAllFutureTasks(); - } - - /** - * This method will map the fields of javaDoc/annotation [depends on which JRE version was specified during
- * build time] from the FlexUIComponent to a HashSet.
- * - * @param mapClass - * @param componentObj - * @param mappingFile - */ - public final void mapFields(Class mapClass, Object componentObj, String mappingFile) { - IFlexContract comp = IFlexContract.class.cast( componentObj ); - comp.getAnnotationDocletParserInstance().mapComponentFields(mapClass, componentObj, mappingFile); - } - - /** - * This method will return the child preMxml component identifier. In another words, when the preMxml file is created
- * the file requires this identifier to be placed within the file so that possible child can be added to the correct
- * component and have correct relationship.
- * - * @param currInstance - * @return - */ - public final String childPreMxmlComponentIdentifier(IFlexContract currInstance){ - StringBuilder toReturn = new StringBuilder(); - - toReturn.append(currInstance.getPreMxmlIdentifier()); - toReturn.append(FlexRendererBase.MAJOR_MINOR_DELIM); - toReturn.append(currInstance.getMajorLevel()+1); - toReturn.append(0); - - return toReturn.toString(); - } - - /** - * This method will return the sibling preMxml component identifier. In another words, when the preMxml file is created
- * the file requires this identifier to be placed within the file so that possible sibling can be added to the correct
- * component and have correct relationship.
- * - * @param currInstance - * @return - */ - public final String siblingPreMxmlComponentIdentifier(IFlexContract currInstance){ - StringBuilder toReturn = new StringBuilder(); - - toReturn.append(currInstance.getParentPreMxmlIdentifier()); - toReturn.append(FlexRendererBase.MAJOR_MINOR_DELIM); - toReturn.append(currInstance.getMajorLevel()); - toReturn.append(currInstance.getMinorLevel()+1); - - return toReturn.toString(); - } - - /** - * This method will return the preMxml identifier of the component as a child component. Meaning this component has a minor level of 0,
- * so it is the first component of the parent component and should be considered as a child and NOT a sibling.
- * - * @param currInstance - * @return - */ - public final String childReplaceTokenWithPreMxmlIdentifier(IFlexContract currInstance){ - StringBuilder toReturn = new StringBuilder(); - - toReturn.append(FlexConstants.CHILD_REPLACE_TOKEN_PREMXML_IDENTIFIER_PRE); - toReturn.append(currInstance.getPreMxmlIdentifier()); - toReturn.append(FlexConstants.CHILD_REPLACE_TOKEN_PREMXML_IDENTIFIER_SUFF); - - return toReturn.toString(); - } - - /** - * This method will return the preMxml identifier of the component as a sibling component. Meaning this component does NOT have a minor level of 0,
- * so it is NOT the first component of the parent component and should be NOT considered as a child but as a sibling.
- * - * @param currInstance - * @return - */ - public final String siblingReplaceTokenWithPreMxmlIdentifier(IFlexContract currInstance){ - StringBuilder toReturn = new StringBuilder(); - - toReturn.append(FlexConstants.SIBLING_REPLACE_TOKEN_PREMXML_IDENTIFIER_PRE); - toReturn.append(currInstance.getPreMxmlIdentifier()); - toReturn.append(FlexConstants.SIBLING_REPLACE_TOKEN_PREMXML_IDENTIFIER_SUFF); - - return toReturn.toString(); - } - - /** - * This method will extract the flexSDk - * - * @param componentFlex - */ - public final void unZipFlexSDK(IFlexApplicationContract componentFlex) { - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - synchronized(LOCK){ - if(!new File(flexContext.getFlexSDKPath()).exists()){ - makeDirectory(flexContext.getFlexSDKPath()); - String queueTaskId = componentFlex.getId(); - unZipArchiveRelative(FlexConstants.FLEX_SDK_PART_1_ZIP, flexContext.getFlexSDKPath(), queueTaskId + "_1"); - unZipArchiveRelative(FlexConstants.FLEX_SDK_PART_2_ZIP, flexContext.getFlexSDKPath(), queueTaskId + "_2"); - unZipArchiveRelative(FlexConstants.FLEX_SDK_PART_3_ZIP, flexContext.getFlexSDKPath(), queueTaskId + "_3"); - } - } - } - - /** - * A method that should be invoked to ensure that FutureTasks of unzipping a flexSDK has been completed. This is due to
- * flexSDK being broken up into multiple zip files for multiple FutureTasks. - * - * @param queueTaskId - */ - public void waitForFlexUnzip(String queueTaskId){ - String unZipArchiveRelativeQueueTaskPart1Id = QUEUE_TASK_ID.UNZIP_ARCHIVE_RELATIVE.getQueueTaskId(queueTaskId + "_1"); - String unZipArchiveRelativeQueueTaskPart2Id = QUEUE_TASK_ID.UNZIP_ARCHIVE_RELATIVE.getQueueTaskId(queueTaskId + "_2"); - String unZipArchiveRelativeQueueTaskPart3Id = QUEUE_TASK_ID.UNZIP_ARCHIVE_RELATIVE.getQueueTaskId(queueTaskId + "_3"); - - waitForFutureTask(getCommonTaskRunner(), unZipArchiveRelativeQueueTaskPart1Id); - waitForFutureTask(getCommonTaskRunner(), unZipArchiveRelativeQueueTaskPart2Id); - waitForFutureTask(getCommonTaskRunner(), unZipArchiveRelativeQueueTaskPart3Id); - } - - /** - * This method should be invoked when one wishes to wait for FutureTask's end - * - * @param taskRunner - * @param queueTaskId - */ - public final void waitForFutureTask(ITaskRunner taskRunner, String queueTaskId){ - - taskRunner.waitForFutureTask(queueTaskId); - } - - /** - * Will modify java.home's jvm.config parameter with the Java SDK path specified by the user - * Used if the user is using a Windows 64 bit applications - * - * @param flexContext - */ - public final void checkFlexJavaSDKPath(AbstractFlexContext flexContext) { - - if(flexContext.getFlexJavaSDKPath() != null){ - /* - * The path must be of '/' and not '\' - */ - String actualPath = flexContext.getFlexJavaSDKPath().replaceAll("\\\\", "/"); - replaceTokenWithValue(flexContext.getFlexSDKPath() + FlexConstants.FLEX_JVM_CONFIG_PATH, - FlexConstants.FLEX_JVM_CONFIG_JAVA_HOME + actualPath, FlexConstants.FLEX_JVM_CONFIG_JAVA_HOME); - } - } - - /** - * One can consider this method to be somewhat of a facade in creating application SWF file.
- * - * @param flexFile - * @param componentFlex - * @param multiLingualSupportMap - */ - public final void processCreateSwf(String flexFile, IFlexApplicationContract componentFlex, Map multiLingualSupportMap) { - - final AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - final IFlexTaskRunner flexTaskRunner = getFlexTaskRunner(); - final ICommonTaskRunner commonTaskRunner = getCommonTaskRunner(); - final String queueTaskId = componentFlex.getId(); - final String flexSDKPath = flexContext.getFlexSDKPath(); - - //now create the MXML file - createMXML(componentFlex.getAbsolutePathToPreMxmlFile(), flexFile); - - waitForFlexUnzip(queueTaskId); - - synchronized(LOCK){ - - if(!new File(flexContext.getJsfFlexSwcPath()).exists()){ - - //additional step for non-Windows [execute chmod so to enable execution of the scripts] - if(!FlexConstants.WINDOWS_SYSTEM){ - changePermissionForExecution(flexContext.getFlexSDKPath() + "/bin", DEFAULT_CHMOD_PERMISSION, DEFAULT_CHMOD_FILE_INCLUSION_REG_EXP, null); - } - - checkFlexJavaSDKPath(flexContext); - - //copy the necessary ActionScript files over for SWF generation - createSwcSourceFiles(flexContext.getJsfFlexSwcPath(), FlexConstants.getSwcSourceFiles(), - FlexConstants.JSF_FLEX_MAIN_SWC_CONFIG_FILE, flexContext.getWebContextPath()); - - //create the SWC file - String loadConfigAbsolutePath = flexContext.getJsfFlexSwcPath() + FlexConstants.JSF_FLEX_MAIN_SWC_CONFIGURATIONFILE; - String swcFileLocationPath = flexContext.getJsfFlexSwcPath() + FlexConstants.JSF_FLEX_MAIN_SWC_ARCHIVE_NAME + FlexConstants.SWC_FILE_EXT; - createSystemSWCFile(flexContext.getJsfFlexSwcPath(), swcFileLocationPath, flexSDKPath, loadConfigAbsolutePath, componentFlex, null); - - /* - * copy the necessary swf source files to swfBasePath - * these are files such as xml[s] which are used by the system's/above ActionScripts - */ - createSwfSourceFiles(flexContext.getSwfPath(), FlexConstants.getSwfSourceFiles()); - - /* - * unzip the swc's library.swf file and copy it to the swf file for linking with the swf file - */ - unZipArchiveAbsolute(new File(swcFileLocationPath), flexContext.getJsfFlexSwcPath(), null); - - //copy the library.swf file to swc directory - copyFileSet(flexContext.getJsfFlexSwcPath(), "**/*.swf", null, flexContext.getSwfPath(), null); - - //rename the file from library.swf to jsfFlexMainSwc.swf file - String sourceFile = flexContext.getSwfPath() + FlexConstants.DEFAULT_SWC_LIBRARY_SWF_NAME; - String destFile = flexContext.getSwfPath() + FlexConstants.JSF_FLEX_MAIN_SWC_ARCHIVE_NAME + FlexConstants.SWF_FILE_EXT; - - renameFile(sourceFile, destFile, true); - deleteResources(sourceFile, false, null); - - /* - * Now need to place additional SWC content to the correct library path for dynamic linking to the - * to be created SWF file - */ - if(componentFlex.getProvidedAdditionalExternalLibaryPath() != null){ - final CountDownLatch additionalSWCLatch = new CountDownLatch(componentFlex.getProvidedAdditionalExternalLibaryPath().size()); - final Collection runtimeSharedLibrary = componentFlex.getRuntimeSharedLibraries(); - final Collection externalLibraryPath = componentFlex.getExternalLibraryPath(); - - final String swcPath = flexContext.getSwcPath(); - - for(final String currSWC : componentFlex.getProvidedAdditionalExternalLibaryPath()){ - String[] splitted = currSWC.split(String.valueOf(File.separatorChar)); - if(splitted == null || splitted.length < 1){ - throw new ComponentBuildException(EXTERNAL_LIBRARY_PATH_COLLECTION_ERROR); - } - - externalLibraryPath.add(currSWC); - String tempCurrSwcFileName = splitted[splitted.length - 1]; - - final String currSWCFileName = tempCurrSwcFileName.substring(0, tempCurrSwcFileName.indexOf('.')); - final String swcDirectory = swcPath + currSWCFileName + File.separatorChar; - final String waitForQueueTaskIdUnzip = QUEUE_TASK_ID.UNZIP_ARCHIVE_ABSOLUTE_FI.getQueueTaskId(queueTaskId + "_" + currSWCFileName); - final String waitForQueueTaskIdCopy = QUEUE_TASK_ID.COPY_FILE_SET.getQueueTaskId(queueTaskId + "_" + currSWCFileName); - - new Thread(new Runnable(){ - - public void run() { - - flexTaskRunner.makeDirectory(swcDirectory); - commonTaskRunner.unZipArchiveAbsolute(new File(currSWC), swcDirectory, waitForQueueTaskIdUnzip); - waitForFutureTask(commonTaskRunner, waitForQueueTaskIdUnzip); - /* - * Usually the SWF file within the SWC file is defaulted to library.swf name, but do - * not assume. Use the file with a SWF extension. - */ - - File fetchLibrarySwfFileName = new File(swcDirectory); - List swfLibraryContents = java.util.Arrays.asList(fetchLibrarySwfFileName.listFiles(SWF_LIBRARY_FILENAME_FILTER)); - /* - * For sanity in case there exists multiple swf library content [should be not, but for future] - */ - int swfLibraryFileCount = 0; - for(File currSwfLibrary : swfLibraryContents){ - String originalFileName = currSwfLibrary.getAbsolutePath(); - String[] nameSplitted = originalFileName.split(String.valueOf(File.separatorChar)); - - /* - * Take the last fileName and rename it with the swc fileName. - * Note that this means that each SWC fileName should be unique, which is an - * expected requirement. - */ - - StringBuilder renameFileName = new StringBuilder(); - for(int i=0; i < (nameSplitted.length - 1); i++){ - renameFileName.append(nameSplitted[i]); - renameFileName.append(File.separatorChar); - } - - renameFileName.append(currSWCFileName); - renameFileName.append(swfLibraryFileCount++); - renameFileName.append(FlexConstants.SWF_FILE_EXT); - - flexTaskRunner.renameFile(originalFileName, renameFileName.toString(), true); - runtimeSharedLibrary.add(flexContext.getSwfWebPath() + renameFileName.toString()); - } - - flexTaskRunner.copyFileSet(swcDirectory, "**/*.swf", null, flexContext.getSwfPath(), waitForQueueTaskIdCopy); - waitForFutureTask(flexTaskRunner, waitForQueueTaskIdCopy); - flexTaskRunner.deleteResources(swcDirectory, true, null); - - } - - }).start(); - - } - - try{ - additionalSWCLatch.await(); - }catch(InterruptedException interruptedExcept){ - Thread.currentThread().interrupt(); - } - } - } - - createJsfFlexFlashApplicationConfigurationFile(); - - final CountDownLatch localeLatch = new CountDownLatch(multiLingualSupportMap.keySet().size()); - /* - * Additional step of executing copyLocale script for Flex 3.0+. - * Skip en_US as it is the original source language - * TODO: Is the below CountDownLatch truly needed [might be more harmful due to context switch and etcetera, oonsider later] - */ - for(final String currLocale : multiLingualSupportMap.keySet()){ - if(currLocale.equalsIgnoreCase(FlexConstants.EN_US)){ - localeLatch.countDown(); - continue; - } - - final String waitForQueueTaskId = QUEUE_TASK_ID.COPY_LOCALE.getQueueTaskId(queueTaskId + "_" + currLocale); - new Thread(new Runnable(){ - - public void run() { - flexTaskRunner.copyLocale(currLocale, flexSDKPath, waitForQueueTaskId); - waitForFutureTask(flexTaskRunner, waitForQueueTaskId); - localeLatch.countDown(); - } - - }).start(); - - } - try{ - localeLatch.await(); - }catch(InterruptedException interruptedExcept){ - Thread.currentThread().interrupt(); - } - } - - //finally the SWF file - createSWF(flexFile, componentFlex, flexContext.getFlexSDKPath(), multiLingualSupportMap, flexContext.getLocaleWebContextPath(), queueTaskId); - - String projectWorkspaceWebFlashDirectory = flexContext.getProjectWorkspaceWebFlashDirectory(); - if(projectWorkspaceWebFlashDirectory != null){ - copyFileSet(flexContext.getLocaleWebContextPath(), "*", null, projectWorkspaceWebFlashDirectory, null); - } - - } - - /** - * Returns the multiLingualSupport Map for this web application.
- * - * @return - */ - public final Map getMultiLingualSupportMap(){ - Map multiLingualSupportMap = new LinkedHashMap(); - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - String localeWebContextPath = flexContext.getLocaleWebContextPath(); - - if(localeWebContextPath == null){ - multiLingualSupportMap.put(FlexConstants.DEFAULT_LOCALE_SWF_PATH_KEY, flexContext.getApplicationSwfPath()); - }else{ - String swfBaseName = flexContext.getCurrMxml(); - String swfFileNameBasePath = flexContext.getSwfPath() + swfBaseName + File.separatorChar; - - File localeWebContextDirectory = new File(localeWebContextPath); - if(localeWebContextDirectory.isDirectory()){ - String[] directoryChildren = localeWebContextDirectory.list(); - - for(String currDirectoryChild : directoryChildren){ - File currentChild = new File(localeWebContextPath + currDirectoryChild); - if(currentChild.isDirectory()){ - //a locale - String locale = currentChild.getName(); - multiLingualSupportMap.put(locale, swfFileNameBasePath + swfBaseName + FlexConstants.SWF_FILE_NAME_LOCALE_SEPARATOR - + locale + FlexConstants.SWF_FILE_EXT); - } - } - } - - } - - return multiLingualSupportMap; - } - - /** - * Need an additional step for Linux to increase the permission of flexSDK/bin directory for script execution - * - * @param directoryPath - * @param permission - * @param fileInclusionRegExp - * @param queueTaskId - * @return - */ - public final String changePermissionForExecution(String directoryPath, String permission, String fileInclusionRegExp, String queueTaskId) { - queueTaskId = queueTaskId == null ? null : QUEUE_TASK_ID.CHMOD.getQueueTaskId(queueTaskId); - getFlexTaskRunner().chmod(new File(directoryPath), permission, fileInclusionRegExp, queueTaskId); - return queueTaskId; - } - - /** - * This method will copy one file to an another file. Note that these should be specified in absolute path.
- * - * @param fileToCopy - * @param fileToCopyTo - * @param queueTaskId - * @return generated queueTaskId to be used when invoking ITaskRunner.waitForFutureTask - */ - public final String copyFile(String fileToCopy, String fileToCopyTo, String queueTaskId) { - queueTaskId = queueTaskId == null ? null : QUEUE_TASK_ID.COPY_FILE.getQueueTaskId(queueTaskId); - getFlexTaskRunner().copyFile(fileToCopy, fileToCopyTo, queueTaskId); - return queueTaskId; - } - - /** - * This method will copy certain fileSet to the destination directory [i.e. if you wish to exclude or include only a specific set of
- * file extensions this method should be used]. Note that the copy source and copy target should be specified in absolute path.
- * - * @param copyDir - * @param copyInclude - * @param copyExclude - * @param copyTo - * @param queueTaskId - * @return generated queueTaskId to be used when invoking ITaskRunner.waitForFutureTask - */ - public final String copyFileSet(String copyDir, String copyInclude, String copyExclude, String copyTo, String queueTaskId) { - queueTaskId = queueTaskId == null ? null : QUEUE_TASK_ID.COPY_FILE_SET.getQueueTaskId(queueTaskId); - getFlexTaskRunner().copyFileSet(copyDir, copyInclude, copyExclude, copyTo, queueTaskId); - return queueTaskId; - } - - /** - * This method will flatten the FlexApplicationRenderer preMxml file and copy it as a MXML file to its correct directory,
- * which should be specified in absolute path.
- * - * @param targetAbsolutePath - * @param copyTo - */ - public final void createMXML(String targetAbsolutePath, String copyTo) { - - getFlexTaskRunner().createMXML(targetAbsolutePath, copyTo); - } - - /** - * This method will create the application SWF file from its MXML file.
- * - * @param flexFile - * @param componentFlex - * @param flexSDKRootPath - * @param multiLingualSupportMap - * @param localeWebContextPath - * @param queueTaskId - */ - public final void createSWF(final String flexFile, final IFlexApplicationContract componentFlex, final String flexSDKRootPath, Map multiLingualSupportMap, - String localeWebContextPath, String queueTaskId) { - - String defaultLocale = multiLingualSupportMap.get(FlexConstants.DEFAULT_LOCALE_SWF_PATH_KEY); - - if(defaultLocale != null){ - - getFlexTaskRunner().createSWF(flexFile, defaultLocale, componentFlex, flexSDKRootPath, null, null, queueTaskId == null ? null : QUEUE_TASK_ID.CREATE_SWF.getQueueTaskId(queueTaskId)); - }else{ - - if(queueTaskId == null){ - - for(String currLocale : multiLingualSupportMap.keySet()){ - String currLocaleFileName = multiLingualSupportMap.get(currLocale); - String currLocaleSourcePath = localeWebContextPath + currLocale + File.separatorChar; - - getFlexTaskRunner().createSWF(flexFile, currLocaleFileName, componentFlex, flexSDKRootPath, currLocale, currLocaleSourcePath, null); - } - - }else{ - - /* - * TODO: Is the below CountDownLatch truly needed [might be more harmful due to context switch and etcetera, oonsider later] - */ - final IFlexTaskRunner flexTaskRunner = getFlexTaskRunner(); - final CountDownLatch createSWFLatch = new CountDownLatch(multiLingualSupportMap.keySet().size()); - for(final String currLocale : multiLingualSupportMap.keySet()){ - final String currLocaleFileName = multiLingualSupportMap.get(currLocale); - final String currLocaleSourcePath = localeWebContextPath + currLocale + File.separatorChar; - - final String currQueueTaskId = QUEUE_TASK_ID.CREATE_SWF.getQueueTaskId(queueTaskId + "_" + currLocale); - - new Thread(new Runnable(){ - - public void run(){ - flexTaskRunner.createSWF(flexFile, currLocaleFileName, componentFlex, flexSDKRootPath, currLocale, currLocaleSourcePath, currQueueTaskId); - waitForFutureTask(flexTaskRunner, currQueueTaskId); - createSWFLatch.countDown(); - } - - }).start(); - - } - - try{ - createSWFLatch.await(); - }catch(InterruptedException interruptedExcept){ - Thread.currentThread().interrupt(); - } - } - } - } - - /** - * This method will execute a copyLocale script of en_US to the specified locale. This is an add on task for Flex 3.0+.
- * - * @param locale - * @param flexSDKRootPath - * @param queueTaskId - * @return generated queueTaskId to be used when invoking ITaskRunner.waitForFutureTask - */ - public final String copyLocale(String locale, String flexSDKRootPath, String queueTaskId){ - queueTaskId = queueTaskId == null ? null : QUEUE_TASK_ID.COPY_LOCALE.getQueueTaskId(queueTaskId); - getFlexTaskRunner().copyLocale(locale, flexSDKRootPath, queueTaskId); - return queueTaskId; - } - - /** - * This method will create the necessary SWC source files. Please refer to flexConstants.xml for the file listings.
- * - * @param swcPath - * @param systemSourceFiles - * @param jsfFlexMainSwcConfigFile - * @param webContextPath - */ - public final void createSwcSourceFiles(String swcPath, List systemSourceFiles, String jsfFlexMainSwcConfigFile, String webContextPath) { - - getFlexTaskRunner().createSwcSourceFiles(swcPath, systemSourceFiles, jsfFlexMainSwcConfigFile, webContextPath); - } - - /** - * This method will create the necessary source files for the application SWF. Please refer to flexConstants.xml for the file listings.
- * - * @param swfBasePath - * @param systemSwfSourceFiles - */ - public final void createSwfSourceFiles(String swfBasePath, List systemSwfSourceFiles) { - - getFlexTaskRunner().createSwfSourceFiles(swfBasePath, systemSwfSourceFiles); - } - - /** - * This method will create jsf-flex-flash-config.xml file that will be loaded by resources such as AbstractLogger.as - */ - public final void createJsfFlexFlashApplicationConfigurationFile(){ - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - JsfFlexFlashApplicationConfiguration jsfFlexFlashApplicationConfiguration = flexContext.getJsfFlexFlashApplicationConfiguration(); - - String filePath = flexContext.getSwfPath() + TO_CREATE_JSF_FLEX_FLASH_APPLICATION_CONFIG_FILE_NAME; - - Map tokenMap = new HashMap(); - tokenMap.put(JSF_FLEX_FLASH_APPLICATION_CONFIG_TOKEN, jsfFlexFlashApplicationConfiguration); - - createFileContent(filePath, JSF_FLEX_FLASH_APPLICATION_CONFIG_TEMPLATE, null, tokenMap); - - } - - /** - * This method will create the SWC file, which will contain a library SWF file to be used by application SWF files.
- * - * @param sourcePath - * @param outPut - * @param flexSDKRootPath - * @param loadConfigFilePath - * @param queueTaskId - * @return generated queueTaskId to be used when invoking ITaskRunner.waitForFutureTask - */ - public final String createSystemSWCFile(String sourcePath, String outPut, String flexSDKRootPath, String loadConfigFilePath, IFlexApplicationContract componentFlex, String queueTaskId) { - queueTaskId = queueTaskId == null ? null : QUEUE_TASK_ID.CREATE_SYSTEM_SWC_FILE.getQueueTaskId(queueTaskId); - getFlexTaskRunner().createSystemSWCFile(sourcePath, outPut, flexSDKRootPath, loadConfigFilePath, componentFlex, queueTaskId); - return queueTaskId; - } - - /** - * This method will delete the resource, which should be specified in absolute path.
- * - * @param deleteResource - * @param isDirectory - * @param queueTaskId - * @return generated queueTaskId to be used when invoking ITaskRunner.waitForFutureTask - */ - public final String deleteResources(String deleteResource, boolean isDirectory, String queueTaskId) { - queueTaskId = queueTaskId == null ? null : QUEUE_TASK_ID.DELETE_RESOURCES.getQueueTaskId(queueTaskId); - getFlexTaskRunner().deleteResources(deleteResource, isDirectory, queueTaskId); - return queueTaskId; - } - - /** - * This method will create a directory, which should be specified in absolute path.
- * - * @param directoryToCreate - */ - public final void makeDirectory(String directoryToCreate) { - - getFlexTaskRunner().makeDirectory(directoryToCreate); - } - - /** - * This method will enable renaming of a file to an another file name. Note that the copy source and copy target should be specified
- * in absolute path.
- * - * @param sourceFile - * @param destFile - * @param overWrite - */ - public final void renameFile(String sourceFile, String destFile, boolean overWrite) { - - getFlexTaskRunner().renameFile(sourceFile, destFile, overWrite); - } - - /** - * This method will replace a token with a value within a preMxml file.
- * - * @param targetAbsolutePath - * @param valueToReplaceWith - * @param tokenReplace - */ - public final void replaceTokenWithValue(String targetAbsolutePath, String valueToReplaceWith, String tokenReplace) { - - getFlexTaskRunner().replaceTokenWithValue(targetAbsolutePath, valueToReplaceWith, tokenReplace); - } - - /** - * This method should be used for files that are relative to the UnzipTask.
- * - * @param unZipFile - * @param unZipDest - * @param queueTaskId - * @return generated queueTaskId to be used when invoking ITaskRunner.waitForFutureTask - */ - public final String unZipArchiveRelative(String unZipFile, String unZipDest, String queueTaskId) { - queueTaskId = queueTaskId == null ? null : QUEUE_TASK_ID.UNZIP_ARCHIVE_RELATIVE.getQueueTaskId(queueTaskId); - getCommonTaskRunner().unZipArchiveRelative(unZipFile, unZipDest, queueTaskId); - return queueTaskId; - } - - /** - * This method should be used for files that are absolute.
- * - * @param unZipFile - * @param unZipDest - * @param queueTaskId - * @return generated queueTaskId to be used when invoking ITaskRunner.waitForFutureTask - */ - public final String unZipArchiveAbsolute(File unZipFile, String unZipDest, String queueTaskId) { - queueTaskId = queueTaskId == null ? null : QUEUE_TASK_ID.UNZIP_ARCHIVE_ABSOLUTE_FI.getQueueTaskId(queueTaskId); - getCommonTaskRunner().unZipArchiveAbsolute(unZipFile, unZipDest, queueTaskId); - return queueTaskId; - } - - /** - * This method should be used for files that are absolute.
- * - * @param unZipFile - * @param unZipDest - * @param queueTaskId - * @return generated queueTaskId to be used when invoking ITaskRunner.waitForFutureTask - */ - public final String unZipArchiveAbsolute(InputStream unZipFile, String unZipDest, String queueTaskId) { - queueTaskId = queueTaskId == null ? null : QUEUE_TASK_ID.UNZIP_ARCHIVE_ABSOLUTE_IS.getQueueTaskId(queueTaskId); - getCommonTaskRunner().unZipArchiveAbsolute(unZipFile, unZipDest, queueTaskId); - return queueTaskId; - } - - /** - * Generates a file based on the provided template and various properties within the Map. - * - * @param filePath - * @param templateFile - * @param initProperties - * @param tokenMap - */ - public final void createFileContent(String filePath, String templateFile, Properties initProperties, Map tokenMap){ - - getFileManipulatorTaskRunner().createFileContent(filePath, templateFile, initProperties, tokenMap); - } - - /** - * This method will create the preMxml file of the component.
- * - * @param comp - * @param jsfFlexAttributeProperties - * @param bodyContent - */ - public final void createPreMxml(IFlexContract comp, IJsfFlexAttributeProperties jsfFlexAttributeProperties, String bodyContent) { - - String fileDirectory = comp.getAbsolutePathToPreMxmlFile().substring(0, comp.getAbsolutePathToPreMxmlFile().lastIndexOf(File.separatorChar)); - getFlexTaskRunner().makeDirectory(fileDirectory); - - String componentNameSpace = jsfFlexAttributeProperties.componentNameSpace(); - String providedComponentNameSpaceValue = comp.getNameSpaceOverride(); - if(providedComponentNameSpaceValue != null && providedComponentNameSpaceValue.trim().length() > 0){ - componentNameSpace = providedComponentNameSpaceValue; - } - getFileManipulatorTaskRunner().createPreMxmlFile(comp.getAbsolutePathToPreMxmlFile(), null, comp.getAnnotationDocletParserInstance().getTokenValueSet(), jsfFlexAttributeProperties.componentName(), - componentNameSpace, bodyContent, childPreMxmlComponentIdentifier(comp), siblingPreMxmlComponentIdentifier(comp)); - - } - - /** - * This method will load and read the template specified and return it as a String.
- * - * @param loader - * @param template - * @return - */ - public final String getComponentTemplate(ClassLoader loader, String template) { - - return getFileManipulatorTaskRunner().getComponentTemplate(loader, template); - } - - /** - * This method will read the file specified and return it as a String. Note the fileName should be specified in absolute path.
- * - * @param fileName - * @return - */ - public final String readFileContent(String fileName) { - - return getFileManipulatorTaskRunner().readFileContent(fileName); - } - - /** - * Convenient method to write content to the passed in Writer instance. Convenient meaning it will throw a ComponentBuildException
- * which extends RuntimeException when an exception was triggered.
- * - * @param writer - * @param toWrite - */ - public final void writeToWriter(Writer writer, String toWrite){ - - try{ - writer.write(toWrite); - }catch(IOException exceptionWriting){ - throw new ComponentBuildException("Exception while writing " + toWrite, exceptionWriting); - } - } - - /** - * This method will return ICommonTaskRunner interface from AbstractFlexContext.
- * - * @return - */ - public final ICommonTaskRunner getCommonTaskRunner(){ - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - return flexContext.getCommonRunner(); - } - - /** - * This method will return AbstractFileManipulatorTaskRunner interface from AbstractFlexContext.
- * - * @return - */ - public final AbstractFileManipulatorTaskRunner getFileManipulatorTaskRunner(){ - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - return flexContext.getFileManipulatorRunner(); - } - - /** - * This method will return IFlexTaskRunner interface from AbstractFlexContext.
- * - * @return - */ - public final IFlexTaskRunner getFlexTaskRunner(){ - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - return flexContext.getFlexRunner(); - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/adapter/IFlexApplicationContract.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/adapter/IFlexApplicationContract.java deleted file mode 100644 index ae4c27b1..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/adapter/IFlexApplicationContract.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.adapter; - -import java.util.Collection; -import java.util.Map; - -/** - * @author Ji Hoon Kim - */ -public interface IFlexApplicationContract extends IFlexContract { - - Collection getSourcePath(); - - Collection getProvidedAdditionalExternalLibaryPath(); - - Map getAdditionalMxmlcCommandArguments(); - - Map getAdditionalSwccCommandArguments(); - - Collection getExternalLibraryPath(); - - void addExternalLibraryPath(String externalLibraryPath); - - Collection getRuntimeSharedLibraries(); - - void addRuntimeSharedLibrary(String runtimeSharedLibrary); - - Map getXmlnsMap(); - - String getDefaultBgColor(); - - Integer getMaxLvRecursion(); - - Integer getMaxScriptExecTime(); - - boolean isIncremental(); - - String getLoadConfig(); - - String getTitle(); - - String getDescription(); - - String getCreator(); - - String getPublisher(); - - String getLanguage(); - - String getDate(); - - String getFlexSDKPath(); - - boolean isAccessible(); - - String getId(); - - /* - * Error attributes for ValidationManagerScriptContent.java - */ - String getErrorColor(); - - String getErrorFontAntiAliasType(); - - String getErrorFontFamily(); - - String getErrorFontGridFitType(); - - String getErrorFontSharpness(); - - String getErrorFontSize(); - - String getErrorFontStyle(); - - String getErrorFontThickness(); - - String getErrorFontWeight(); - - String getErrorPaddingLeft(); - - String getErrorPaddingRight(); - - String getErrorTextAlign(); - - String getErrorTextDecoration(); - - String getErrorTextIndent(); - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/adapter/IFlexAttributeNode.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/adapter/IFlexAttributeNode.java deleted file mode 100644 index ca78f817..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/adapter/IFlexAttributeNode.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.adapter; - -/** - * @author Ji Hoon Kim - */ -public interface IFlexAttributeNode { - - String getName(); - - String getValue(); - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/adapter/IFlexContract.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/adapter/IFlexContract.java deleted file mode 100644 index d6f4b4be..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/adapter/IFlexContract.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.adapter; - -import java.util.Map; - -import org.json.JSONObject; - -import com.googlecode.jsfFlex.renderkit.annotationDocletParser.AbstractAnnotationDocletParser; - -/** - * @author Ji Hoon Kim - */ -public interface IFlexContract { - - Map getAttributes(); - - AbstractAnnotationDocletParser getAnnotationDocletParserInstance(); - - String getAbsolutePathToPreMxmlFile(); - void setAbsolutePathToPreMxmlFile(String absolutePathToPreMxmlFile); - - int getMajorLevel(); - void setMajorLevel(int majorLevel); - - int getMinorLevel(); - void setMinorLevel(int minorLevel); - - String getParentPreMxmlIdentifier(); - void setParentPreMxmlIdentifier(String parentPreMxmlIdentifier); - - String getPreMxmlIdentifier(); - void setPreMxmlIdentifier(String preMxmlIdentifier); - - JSONObject getComponentInitValues(); - - String getNameSpaceOverride(); - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/adapter/IFlexEvent.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/adapter/IFlexEvent.java deleted file mode 100644 index 702c3a0c..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/adapter/IFlexEvent.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.adapter; - -import java.util.EnumSet; - -import org.json.JSONObject; - -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent.ACTION_SCRIPT_IMPORT; - -/** - * @author Ji Hoon Kim - */ -public interface IFlexEvent { - - public enum ACTION_SCRIPT_EVENT_FIELDS { - SOURCE_PROPERTY, TARGET_PROPERTY; - - } - - public enum EVENT_HANDLER_TYPE { - SUBMIT_FORM_EVENT_HANDLER("SubmitFormEventHandler", EnumSet.of(ACTION_SCRIPT_IMPORT.SUBMIT_FORM_EVENT_HANDLER_AS, - ACTION_SCRIPT_IMPORT.ABSTRACT_EVENT_HANDLER_AS), EnumSet.of(JAVA_SCRIPT_IMPORT.JSF_FLEX_COMMUNICATOR_EVENT_JS)), - DATA_UPDATE_EVENT_HANDLER("DataUpdateEventHandler", EnumSet.of(ACTION_SCRIPT_IMPORT.DATA_UPDATE_EVENT_HANDLER_AS, - ACTION_SCRIPT_IMPORT.ABSTRACT_EVENT_HANDLER_AS), EnumSet.noneOf(JAVA_SCRIPT_IMPORT.class)), - PROPERTY_UPDATE_EVENT_HANDER("PropertyUpdateEventHandler", EnumSet.of(ACTION_SCRIPT_IMPORT.PROPERTY_UPDATE_EVENT_HANDLER_AS, - ACTION_SCRIPT_IMPORT.ABSTRACT_EVENT_HANDLER_AS), EnumSet.noneOf(JAVA_SCRIPT_IMPORT.class)); - - private final String _actionScriptConstructor; - private final EnumSet _actionScriptImports; - private final EnumSet _javaScriptImports; - - EVENT_HANDLER_TYPE(String actionScriptConstructor, EnumSet actionScriptImports, - EnumSet javaScriptImports){ - _actionScriptConstructor = actionScriptConstructor; - _actionScriptImports = actionScriptImports; - _javaScriptImports = javaScriptImports; - } - - public String getActionScriptConstructor(){ - return _actionScriptConstructor; - } - - public EnumSet getActionScriptImports(){ - return _actionScriptImports; - } - - public EnumSet getJavaScriptImports(){ - return _javaScriptImports; - } - - public enum JAVA_SCRIPT_IMPORT { - - JSF_FLEX_COMMUNICATOR_EVENT_JS("jsfFlexCommunicatorEvent.js"); - - private final String _javaScriptImport; - - JAVA_SCRIPT_IMPORT(String javaScriptImport){ - _javaScriptImport = javaScriptImport; - } - - public String getJavaScriptImport(){ - return _javaScriptImport; - } - - } - } - - JSONObject getAddtionalArguments(); - - String getEventHandlerSrcId(); - - String getEventHandlerTgtId(); - - String getEventHandlerId(); - - EVENT_HANDLER_TYPE getEventHandlerType(); - - String getEventHandlerEventName(); - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/AdditionalApplicationScriptContent.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/AdditionalApplicationScriptContent.java deleted file mode 100644 index b386024c..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/AdditionalApplicationScriptContent.java +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.beans.additionalScriptContent; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.LinkedHashSet; -import java.util.Map; -import java.util.Set; - -import org.json.JSONObject; - -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.SimpleDataProviderSetter.DATA_PROVIDER_TYPE; - -/** - * @author Ji Hoon Kim - */ -public final class AdditionalApplicationScriptContent { - - public enum ACTION_SCRIPT_IMPORT { - - ABSTRACT_EVENT_HANDLER_AS("com.googlecode.jsfFlex.communication.event.AbstractEventHandler"), - MX_COLLECTIONS_ARRAY_LIST_AS("mx.collections.ArrayList"), - COMBO_BOX_COMPONENT_AS("spark.components.ComboBox"), - DATA_GRID_SERVICE_REQUEST_AS("com.googlecode.jsfFlex.communication.component.DataGridServiceRequest"), - DATA_UPDATE_EVENT_HANDLER_AS("com.googlecode.jsfFlex.communication.event.DataUpdateEventHandler"), - MX_COLLECTIONS_ILIST_AS("mx.collections.IList"), - PROPERTY_UPDATE_EVENT_HANDLER_AS("com.googlecode.jsfFlex.communication.event.PropertyUpdateEventHandler"), - SUBMIT_FORM_EVENT_HANDLER_AS("com.googlecode.jsfFlex.communication.event.SubmitFormEventHandler"), - VALIDATION_MANAGER_AS("com.googlecode.jsfFlex.communication.validator.ValidationManager"); - - private final String _actionScriptImport; - - ACTION_SCRIPT_IMPORT(String actionScriptImport){ - _actionScriptImport = actionScriptImport; - } - - public String getActionScriptImport(){ - return _actionScriptImport; - } - } - - private final Set _actionScriptImports; - private final Map _dataGridScriptContent; - private final Set _eventHandlers; - private final Set _simpleDataProviderSetter; - private final ValidationManagerScriptContent _validationManagerScriptContent; - - public AdditionalApplicationScriptContent(String currFlex, IFlexApplicationContract currApplicationContract){ - super(); - _actionScriptImports = new LinkedHashSet(); - _dataGridScriptContent = new HashMap(); - _eventHandlers = new LinkedHashSet(); - _simpleDataProviderSetter = new LinkedHashSet(); - _validationManagerScriptContent = new ValidationManagerScriptContent(currFlex, currApplicationContract); - } - - public void addActionScriptImport(ACTION_SCRIPT_IMPORT actionScriptImport){ - _actionScriptImports.add(actionScriptImport.getActionScriptImport()); - } - - public void addDataGridScriptContent(String dataGridId, Integer batchColumnDataRetrievalSize, Integer maxDataPartitionIndex, - String filterComponentId, String filterColumnComponentId, String filterEventListener){ - _dataGridScriptContent.put(dataGridId, new DataGridScriptContent(dataGridId, batchColumnDataRetrievalSize, maxDataPartitionIndex, filterComponentId, filterColumnComponentId, filterEventListener)); - } - - public void addDataGridColumnToDataGridScriptContent(String dataGridId, String dataGridColumnId, String dataField, Boolean columnEditable){ - DataGridScriptContent dataGridScriptContentInstance; - if((dataGridScriptContentInstance = DataGridScriptContent.class.cast( _dataGridScriptContent.get(dataGridId) )) == null){ - throw new IllegalStateException("DataGridScriptContent doesn't exist for " + dataGridId + - " : addDataGridScriptContent should be invoked prior to this method call"); - } - - dataGridScriptContentInstance.addDataGridColumnContent(dataGridColumnId, dataField, columnEditable); - } - - public void addEventHandler(String srcId, String tgtId, String evtHandlerId, IFlexEvent.EVENT_HANDLER_TYPE eventType, String eventName, JSONObject addtionalArguments){ - _eventHandlers.add(new EventHandler(srcId, tgtId, evtHandlerId, eventType, eventName, addtionalArguments)); - } - - public void addSimpleDataProviderSetter(String componentId, DATA_PROVIDER_TYPE componentType, String dataProviderContent){ - _simpleDataProviderSetter.add(new SimpleDataProviderSetter(componentId, componentType, dataProviderContent)); - } - - public void addValidationManagerValidatorId(String validatorId){ - _validationManagerScriptContent.addValidationManagerValidatorId(validatorId); - } - - public Set getActionScriptImports() { - return new HashSet(_actionScriptImports); - } - public Map getDataGridScriptContent() { - return new HashMap(_dataGridScriptContent); - } - public Set getEventHandler() { - return new HashSet(_eventHandlers); - } - public Set getSimpleDataProviderSetter() { - return new HashSet(_simpleDataProviderSetter); - } - public ValidationManagerScriptContent getValidationManagerScriptContent() { - return _validationManagerScriptContent; - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/DataGridScriptContent.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/DataGridScriptContent.java deleted file mode 100644 index f672c08f..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/DataGridScriptContent.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.beans.additionalScriptContent; - -import java.util.LinkedList; -import java.util.List; - -/** - * @author Ji Hoon Kim - */ -public final class DataGridScriptContent { - - private final String _dataGridId; - private final Integer _batchColumnDataRetrievalSize; - private final Integer _maxDataPartitionIndex; - private final List _dataGridColumns; - private final String _filterComponentId; - private final String _filterColumnComponentId; - private final String _filterEventListener; - - DataGridScriptContent(String dataGridId, Integer batchColumnDataRetrievalSize, Integer maxDataPartitionIndex, - String filterComponentId, String filterColumnComponentId, String filterEventListener){ - super(); - _dataGridId = dataGridId; - _batchColumnDataRetrievalSize = batchColumnDataRetrievalSize; - _maxDataPartitionIndex = maxDataPartitionIndex; - _filterComponentId = filterComponentId == null ? "" : filterComponentId; - _filterColumnComponentId = filterColumnComponentId == null ? "" : filterColumnComponentId; - _filterEventListener = filterEventListener == null ? "" : filterEventListener; - _dataGridColumns = new LinkedList(); - } - - void addDataGridColumnContent(String dataGridColumnId, String dataField, Boolean columnEditable){ - _dataGridColumns.add(new DataGridColumnScriptContent(dataGridColumnId, dataField, columnEditable)); - } - - public String getDataGridId() { - return _dataGridId; - } - public Integer getBatchColumnDataRetrievalSize() { - return _batchColumnDataRetrievalSize; - } - public List getDataGridColumns() { - return new LinkedList(_dataGridColumns); - } - public Integer getMaxDataPartitionIndex() { - return _maxDataPartitionIndex; - } - public String getFilterComponentId() { - return _filterComponentId; - } - public String getFilterColumnComponentId() { - return _filterColumnComponentId; - } - public String getFilterEventListener() { - return _filterEventListener; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof DataGridScriptContent)){ - return false; - } - - DataGridScriptContent dataGridScriptContentInstance = DataGridScriptContent.class.cast( instance ); - return _dataGridId.equals(dataGridScriptContentInstance._dataGridId); - } - - @Override - public int hashCode() { - return _dataGridId.hashCode(); - } - - public final class DataGridColumnScriptContent { - - private final String _dataGridColumnId; - private final String _dataField; - private final Boolean _columnEditable; - - private DataGridColumnScriptContent(String dataGridColumnId, String dataField, Boolean columnEditable){ - super(); - _dataGridColumnId = dataGridColumnId; - _dataField = dataField; - _columnEditable = columnEditable; - } - - public String getDataGridColumnId() { - return _dataGridColumnId; - } - public String getDataField() { - return _dataField; - } - public Boolean getColumnEditable() { - return _columnEditable; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof DataGridColumnScriptContent)){ - return false; - } - - DataGridColumnScriptContent dataGridColumnScriptContentInstance = DataGridColumnScriptContent.class.cast( instance ); - return _dataGridColumnId.equals(dataGridColumnScriptContentInstance._dataGridColumnId); - } - - @Override - public int hashCode() { - return _dataGridColumnId.hashCode(); - } - - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/EventHandler.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/EventHandler.java deleted file mode 100644 index 27926ae7..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/EventHandler.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.beans.additionalScriptContent; - -import org.json.JSONObject; - -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public final class EventHandler { - - private static final char DELIM_CHARACTER = '_'; - - private final String _srcId; - private final String _tgtId; - private final String _evtHandlerId; - private final IFlexEvent.EVENT_HANDLER_TYPE _eventType; - private final String _eventName; - private final String _collectedUniqueId; - private final JSONObject _additionalArguments; - - EventHandler(String srcId, String tgtId, String evtHandlerId, IFlexEvent.EVENT_HANDLER_TYPE eventType, - String eventName, JSONObject additionalArguments){ - super(); - _srcId = srcId; - _tgtId = tgtId; - _evtHandlerId = evtHandlerId; - _eventName = eventName; - _eventType = eventType; - _additionalArguments = additionalArguments; - _collectedUniqueId = _srcId + DELIM_CHARACTER + _tgtId + DELIM_CHARACTER + _eventName + DELIM_CHARACTER + _eventType; - } - - public String getActionScriptConstructor(){ - return _eventType.getActionScriptConstructor(); - } - public String getAdditionalArguments(){ - String argumentContent; - - if(_additionalArguments != null){ - argumentContent = _additionalArguments.toString(); - }else{ - argumentContent = JSONObject.NULL.toString(); - } - - return argumentContent; - } - public String getCollectedUniqueId(){ - return _collectedUniqueId; - } - public String getEventName(){ - return _eventName; - } - public IFlexEvent.EVENT_HANDLER_TYPE getEventType(){ - return _eventType; - } - public String getSrcId(){ - return _srcId; - } - public String getTgtId(){ - return _tgtId; - } - public String getEventHandlerId(){ - return _evtHandlerId; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof EventHandler)){ - return false; - } - - EventHandler evtHandlerInstance = EventHandler.class.cast( instance ); - return _srcId.equals(evtHandlerInstance._srcId) && _tgtId.equals(evtHandlerInstance._tgtId) && _evtHandlerId.equals(evtHandlerInstance._evtHandlerId) && - _eventType == evtHandlerInstance._eventType && _eventName.equals(evtHandlerInstance._eventName); - } - - @Override - public int hashCode() { - int hashCodeVal = FlexConstants.HASH_CODE_INIT_VALUE; - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _srcId.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _tgtId.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _eventType.toString().hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _eventName.hashCode(); - - return super.hashCode(); - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/SimpleDataProviderSetter.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/SimpleDataProviderSetter.java deleted file mode 100644 index 68e33cb4..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/SimpleDataProviderSetter.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.beans.additionalScriptContent; - -/** - * @author Ji Hoon Kim - */ -public final class SimpleDataProviderSetter { - - public enum DATA_PROVIDER_TYPE { - COMBO_BOX("ComboBox", "spark.components.ComboBox", "mx.collections.IList", "mx.collections.ArrayList"); - - private final String _componentTypeCast; - private final String _componentTypeVariableDeclaration; - private final String _dataProviderCast; - private final String _instanceCreate; - - DATA_PROVIDER_TYPE(String componentTypeCast, String componentTypeVariableDeclaration, String dataProviderCast, String instanceCreate) { - - _componentTypeCast = componentTypeCast; - _componentTypeVariableDeclaration = componentTypeVariableDeclaration; - _dataProviderCast = dataProviderCast; - _instanceCreate = instanceCreate; - } - - public String getComponentTypeCast() { - return _componentTypeCast; - } - public String getComponentTypeVariableDeclaration() { - return _componentTypeVariableDeclaration; - } - public String getDataProviderCast() { - return _dataProviderCast; - } - public String getInstanceCreate() { - return _instanceCreate; - } - - } - - private final String _componentId; - private final DATA_PROVIDER_TYPE _componentType; - private final String _dataProviderContent; - - SimpleDataProviderSetter(String componentId, DATA_PROVIDER_TYPE componentType, String dataProviderContent){ - super(); - _componentId = componentId; - _componentType = componentType; - _dataProviderContent = dataProviderContent; - } - - public String getComponentId() { - return _componentId; - } - public String getComponentTypeCast() { - return _componentType.getComponentTypeCast(); - } - public String getComponentTypeVariableDeclaration() { - return _componentType.getComponentTypeVariableDeclaration(); - } - public String getInstanceCreate() { - return _componentType.getInstanceCreate(); - } - public String getDataProviderContent() { - return _dataProviderContent; - } - public String getDataProviderCast() { - return _componentType.getDataProviderCast(); - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof SimpleDataProviderSetter)){ - return false; - } - - SimpleDataProviderSetter simpleDataProviderSetter = SimpleDataProviderSetter.class.cast( instance ); - return _componentId.equals(simpleDataProviderSetter._componentId); - } - - @Override - public int hashCode() { - return _componentId.hashCode(); - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/ValidationManagerScriptContent.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/ValidationManagerScriptContent.java deleted file mode 100644 index 29e7e3f2..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/additionalScriptContent/ValidationManagerScriptContent.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.beans.additionalScriptContent; - -import java.util.HashSet; -import java.util.Iterator; -import java.util.LinkedHashSet; -import java.util.Set; - -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.beans.templates.TokenValue; -import com.googlecode.jsfFlex.shared.util.FlexAttributeConstants; - -/** - * @author Ji Hoon Kim - */ -public final class ValidationManagerScriptContent { - - private static final String ERROR_TEXT_COMPONENT_ID_SUFFIX = "ErrorTextComponent"; - - private final String _errorTextComponentId; - private final Set _validationManagerValidatorIds; - private final ErrorComponentAttributeContainer _errorComponentAttributeContainer; - - ValidationManagerScriptContent(String errorTextComponentId, IFlexApplicationContract currApplicationContract){ - super(); - _errorTextComponentId = errorTextComponentId + ERROR_TEXT_COMPONENT_ID_SUFFIX; - _validationManagerValidatorIds = new LinkedHashSet(); - _errorComponentAttributeContainer = new ErrorComponentAttributeContainer(currApplicationContract); - } - - void addValidationManagerValidatorId(String validatorId){ - _validationManagerValidatorIds.add(validatorId); - } - - public String getErrorTextComponentId() { - return _errorTextComponentId; - } - public Set getValidationManagerValidatorIds() { - return new HashSet(_validationManagerValidatorIds); - } - - public Iterator getErrorComponentAttributeContainer(){ - _errorComponentAttributeContainer.resetCollection(); - return _errorComponentAttributeContainer; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof ValidationManagerScriptContent)){ - return false; - } - - ValidationManagerScriptContent validationManagerScriptContentInstance = ValidationManagerScriptContent.class.cast( instance ); - return _errorTextComponentId.equals(validationManagerScriptContentInstance._errorTextComponentId); - } - - @Override - public int hashCode() { - return _errorTextComponentId.hashCode(); - } - - public static final class ErrorComponentAttributeContainer implements Iterator { - - private final Set _errorComponentAttributeSet; - - private Iterator _errorComponentAttributeIterator; - - private ErrorComponentAttributeContainer(IFlexApplicationContract currApplicationContract){ - super(); - - //TODO : implement this better later, wow ugly - _errorComponentAttributeSet = new LinkedHashSet(); - - String attributeValue; - if((attributeValue = currApplicationContract.getErrorColor()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.COLOR_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorFontAntiAliasType()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.FONT_ANTI_ALIAS_TYPE_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorFontFamily()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.FONT_FAMILY_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorFontGridFitType()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.FONT_GRID_FIT_TYPE_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorFontSharpness()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.FONT_SHARPNESS_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorFontSize()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.FONT_SIZE_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorFontStyle()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.FONT_STYLE_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorFontThickness()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.FONT_THICKNESS_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorFontWeight()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.FONT_WEIGHT_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorPaddingLeft()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.PADDING_LEFT_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorPaddingRight()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.PADDING_RIGHT_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorTextAlign()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.TEXT_ALIGN_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorTextDecoration()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.TEXT_DECORATION_ATTR, attributeValue)); - } - - if((attributeValue = currApplicationContract.getErrorTextIndent()) != null){ - _errorComponentAttributeSet.add(new TokenValue(FlexAttributeConstants.TEXT_INDENT_ATTR, attributeValue)); - } - - } - - public boolean hasNext() { - return _errorComponentAttributeIterator.hasNext(); - } - public Object next() { - return _errorComponentAttributeIterator.next(); - } - public void remove() { - _errorComponentAttributeIterator.remove(); - } - - private void resetCollection(){ - _errorComponentAttributeIterator = _errorComponentAttributeSet.iterator(); - } - - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/others/JsfFlexFlashApplicationConfiguration.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/others/JsfFlexFlashApplicationConfiguration.java deleted file mode 100644 index 0f5b60f8..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/others/JsfFlexFlashApplicationConfiguration.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.beans.others; - -/** - * @author Ji Hoon Kim - */ -public final class JsfFlexFlashApplicationConfiguration { - - private String _flashToJavaScriptLogMode; - - public JsfFlexFlashApplicationConfiguration(){ - super(); - } - - public String getFlashToJavaScriptLogMode() { - return _flashToJavaScriptLogMode; - } - public void setFlashToJavaScriptLogMode(String flashToJavaScriptLogMode) { - _flashToJavaScriptLogMode = flashToJavaScriptLogMode; - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/templates/TokenValue.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/templates/TokenValue.java deleted file mode 100644 index ff1d5199..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/beans/templates/TokenValue.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.beans.templates; - -/** - * @author Ji Hoon Kim - */ -public final class TokenValue { - - private final String _token; - private final Object _value; - - private TokenValue(){ - super(); - _token = null; - _value = null; - } - - public TokenValue(String token, Object value){ - super(); - _token = token; - _value = value; - } - - public String getToken() { - return _token; - } - public Object getValue() { - return _value; - } - - public String toString(){ - StringBuilder content = new StringBuilder(); - - content.append("token [ "); - content.append(_token); - content.append(" ] "); - - content.append("value [ "); - content.append(_value); - content.append(" ] "); - - return content.toString(); - } - - public String toTokenValueSyntax(){ - StringBuilder tokenValue = new StringBuilder(); - tokenValue.append(_token); - tokenValue.append("="); - tokenValue.append("\""); - tokenValue.append(_value); - tokenValue.append("\" "); - return tokenValue.toString(); - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof TokenValue)){ - return false; - } - - TokenValue tokenValueInstance = TokenValue.class.cast( instance ); - return _token.equals(tokenValueInstance._token); - } - - @Override - public int hashCode() { - return _token.hashCode(); - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/context/AbstractFlexContext.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/context/AbstractFlexContext.java deleted file mode 100644 index 9f0a8d5c..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/context/AbstractFlexContext.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.context; - -import java.util.List; -import java.util.Map; -import java.util.Set; - -import javax.faces.component.UIComponentBase; - -import org.json.JSONObject; - -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent; -import com.googlecode.jsfFlex.shared.beans.others.JsfFlexFlashApplicationConfiguration; -import com.googlecode.jsfFlex.shared.tasks.ICommonTaskRunner; -import com.googlecode.jsfFlex.shared.tasks.AbstractFileManipulatorTaskRunner; -import com.googlecode.jsfFlex.shared.tasks.IFlexTaskRunner; -import com.googlecode.jsfFlex.shared.tasks.AbstractRunnerFactory; - -/** - * An abstract class providing the needed methods of its implementation.
- * Also static method getCurrentInstance provides an easy method of retrieving current
- * AbstractFlexContext instance from the ThreadLocal.
- * - * @author Ji Hoon Kim - */ -public abstract class AbstractFlexContext { - - AbstractFlexContext(){ - super(); - } - - public abstract String getCurrMxml(); - - public abstract List getApplicationInitValueList(); - - public abstract Map> getPreMxmlCompMap(); - - public abstract Map getTemporaryResourceMap(); - - public abstract AdditionalApplicationScriptContent getAdditionalAppScriptContent(); - - public abstract JsfFlexFlashApplicationConfiguration getJsfFlexFlashApplicationConfiguration(); - - public abstract AbstractRunnerFactory getRunnerFactoryInstance(); - - public abstract ICommonTaskRunner getCommonRunner(); - - public abstract AbstractFileManipulatorTaskRunner getFileManipulatorRunner(); - - public abstract IFlexTaskRunner getFlexRunner(); - - - public abstract boolean isProductionEnv(); - - public abstract void setProductionEnv(boolean productionEnv); - - public abstract String getProjectWorkspaceWebFlashDirectory(); - - public abstract void setProjectWorkspaceWebFlashDirectory(String projectWorkspaceWebFlashDirectory); - - public abstract String getFlexSDKPath(); - - public abstract void setFlexSDKPath(String flexSDKPath); - - public abstract String getFlexJavaSDKPath(); - - public abstract void setFlexJavaSDKPath(String flexJavaSDKPath); - - public abstract String getLocaleWebContextPath(); - - public abstract void setLocaleWebContextPath(String localeWebContextPath); - - public abstract String getMxmlPath(); - - public abstract void setMxmlPath(String mxmlPath); - - public abstract String getPreMxmlPath(); - - public abstract void setPreMxmlPath(String preMxmlPath); - - public abstract String getJsfFlexSwcPath(); - - public abstract void setJsfFlexSwcPath(String jsfFlexSwcPath); - - public abstract String getSwcPath(); - - public abstract void setSwcPath(String swcPath); - - public abstract String getApplicationSwfPath(); - - public abstract void setApplicationSwfPath(String applicationSwfPath); - - public abstract String getSwfPath(); - - public abstract void setSwfPath(String swfPath); - - public abstract String getApplicationSwfWebPath(); - - public abstract void setApplicationSwfWebPath(String applicationSwfWebPath); - - public abstract String getSwfWebPath(); - - public abstract void setSwfWebPath(String swfWebPath); - - public abstract String getWebContextPath(); - - public abstract void setWebContextPath(String webContextPath); - - private static ThreadLocal _currentInstance = new ThreadLocal() - { - protected AbstractFlexContext initialValue() - { - return null; - } - }; - - public static AbstractFlexContext getCurrentInstance() - { - return _currentInstance.get(); - } - - protected static void setCurrentInstance(AbstractFlexContext context) - { - _currentInstance.set(context); - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/context/FlexContextImpl.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/context/FlexContextImpl.java deleted file mode 100644 index a420baf3..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/context/FlexContextImpl.java +++ /dev/null @@ -1,222 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.context; - -import java.util.HashMap; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; -import java.util.Set; -import java.util.TreeMap; - -import javax.faces.component.UIComponentBase; - -import org.json.JSONObject; - -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent; -import com.googlecode.jsfFlex.shared.beans.others.JsfFlexFlashApplicationConfiguration; -import com.googlecode.jsfFlex.shared.tasks.ICommonTaskRunner; -import com.googlecode.jsfFlex.shared.tasks.AbstractFileManipulatorTaskRunner; -import com.googlecode.jsfFlex.shared.tasks.IFlexTaskRunner; -import com.googlecode.jsfFlex.shared.tasks.AbstractRunnerFactory; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * An implementation of AbstractFlexContext which will instantiate and store all the needed data structures
- * and instantiate and store the implementation of following interfaces :
- *
    - *
  • AbstractFileManipulatorTaskRunner - *
  • IFlexTaskRunner - *
  • ICommonTaskRunner - *
- * Also it will set the current FlexContextImpl to the ThreadLocal.
- * - * @author Ji Hoon Kim - */ -public class FlexContextImpl extends AbstractFlexContext { - - private final String _currMxml; - - private final List _applicationInitValueList; - private final Map> _preMxmlCompMap; - private final Map _temporaryResourceMap; - private final AdditionalApplicationScriptContent _additionalAppScriptContent; - private final JsfFlexFlashApplicationConfiguration _jsfFlexFlashApplicationConfiguration; - - private final AbstractRunnerFactory _runnerFactoryInstance; - private final ICommonTaskRunner _commonRunner; - private final AbstractFileManipulatorTaskRunner _fileManipulatorRunner; - private final IFlexTaskRunner _flexRunner; - - private boolean _productionEnv; - - private String _projectWorkspaceWebFlashDirectory; - private String _flexSDKPath; - private String _flexJavaSDKPath; - private String _localeWebContextPath; - private String _mxmlPath; - private String _preMxmlPath; - private String _jsfFlexSwcPath; - private String _swcPath; - private String _applicationSwfPath; - private String _swfPath; - private String _applicationSwfWebPath; - private String _swfWebPath; - private String _webContextPath; - - public FlexContextImpl(String currMxml, String mode, IFlexApplicationContract currApplicationContract){ - super(); - _currMxml = currMxml; - _applicationInitValueList = new LinkedList(); - _preMxmlCompMap = new TreeMap>(); - _temporaryResourceMap = new HashMap(); - _additionalAppScriptContent = new AdditionalApplicationScriptContent(_currMxml, currApplicationContract); - _jsfFlexFlashApplicationConfiguration = new JsfFlexFlashApplicationConfiguration(); - - if(mode != null){ - _productionEnv = mode.equals(FlexConstants.PRODUCTION_MODE); - } - - _runnerFactoryInstance = AbstractRunnerFactory.getInstance(); - _commonRunner = !_productionEnv ? _runnerFactoryInstance.getCommonTaskRunnerImpl() : null; - _fileManipulatorRunner = !_productionEnv ? _runnerFactoryInstance.getFileManipulatorTaskRunnerImpl() : null; - _flexRunner = !_productionEnv ? _runnerFactoryInstance.getFlexTaskRunnerImpl() : null; - - AbstractFlexContext.setCurrentInstance(this); - } - - public String getCurrMxml() { - return _currMxml; - } - public List getApplicationInitValueList() { - return _applicationInitValueList; - } - public Map> getPreMxmlCompMap() { - return _preMxmlCompMap; - } - public Map getTemporaryResourceMap() { - return _temporaryResourceMap; - } - public AdditionalApplicationScriptContent getAdditionalAppScriptContent() { - return _additionalAppScriptContent; - } - public JsfFlexFlashApplicationConfiguration getJsfFlexFlashApplicationConfiguration() { - return _jsfFlexFlashApplicationConfiguration; - } - public AbstractRunnerFactory getRunnerFactoryInstance() { - return _runnerFactoryInstance; - } - public ICommonTaskRunner getCommonRunner() { - return _commonRunner; - } - public AbstractFileManipulatorTaskRunner getFileManipulatorRunner() { - return _fileManipulatorRunner; - } - public IFlexTaskRunner getFlexRunner() { - return _flexRunner; - } - - public boolean isProductionEnv() { - return _productionEnv; - } - public void setProductionEnv(boolean productionEnv) { - _productionEnv = productionEnv; - } - public String getProjectWorkspaceWebFlashDirectory() { - return _projectWorkspaceWebFlashDirectory; - } - public void setProjectWorkspaceWebFlashDirectory(String projectWorkspaceWebFlashDirectory) { - _projectWorkspaceWebFlashDirectory = projectWorkspaceWebFlashDirectory; - } - public String getFlexSDKPath() { - return _flexSDKPath; - } - public void setFlexSDKPath(String flexSDKPath) { - _flexSDKPath = flexSDKPath; - } - public String getFlexJavaSDKPath() { - return _flexJavaSDKPath; - } - public void setFlexJavaSDKPath(String flexJavaSDKPath) { - _flexJavaSDKPath = flexJavaSDKPath; - } - public String getLocaleWebContextPath() { - return _localeWebContextPath; - } - public void setLocaleWebContextPath(String localeWebContextPath) { - _localeWebContextPath = localeWebContextPath; - } - public String getMxmlPath() { - return _mxmlPath; - } - public void setMxmlPath(String mxmlPath) { - _mxmlPath = mxmlPath; - } - public String getPreMxmlPath() { - return _preMxmlPath; - } - public void setPreMxmlPath(String preMxmlPath) { - _preMxmlPath = preMxmlPath; - } - public String getJsfFlexSwcPath(){ - return _jsfFlexSwcPath; - } - public void setJsfFlexSwcPath(String jsfFlexSwcPath){ - _jsfFlexSwcPath = jsfFlexSwcPath; - } - public String getSwcPath() { - return _swcPath; - } - public void setSwcPath(String swcPath) { - _swcPath = swcPath; - } - public String getApplicationSwfPath() { - return _applicationSwfPath; - } - public void setApplicationSwfPath(String applicationSwfPath) { - _applicationSwfPath = applicationSwfPath; - } - public String getSwfPath() { - return _swfPath; - } - public void setSwfPath(String swfPath) { - _swfPath = swfPath; - } - public String getApplicationSwfWebPath() { - return _applicationSwfWebPath; - } - public void setApplicationSwfWebPath(String applicationSwfWebPath) { - _applicationSwfWebPath = applicationSwfWebPath; - } - public String getSwfWebPath(){ - return _swfWebPath; - } - public void setSwfWebPath(String swfWebPath){ - _swfWebPath = swfWebPath; - } - public String getWebContextPath(){ - return _webContextPath; - } - public void setWebContextPath(String webContextPath){ - _webContextPath = webContextPath; - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/exception/ComponentBuildException.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/exception/ComponentBuildException.java deleted file mode 100644 index 2a05988c..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/exception/ComponentBuildException.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.exception; - -/** - * @author Ji Hoon Kim - */ -public class ComponentBuildException extends RuntimeException { - - private static final long serialVersionUID = -5173040220355169548L; - private Throwable _cause; - - public ComponentBuildException(){ - super(); - } - - public ComponentBuildException(String errorMessage){ - super(errorMessage); - } - - public ComponentBuildException(Throwable cause){ - _cause = cause; - } - - public ComponentBuildException(String errorMessage, Throwable cause) { - super(errorMessage); - _cause = cause; - } - - public Throwable getCause() { - return _cause; - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/beans/AbstractAsynchronousEventBean.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/beans/AbstractAsynchronousEventBean.java deleted file mode 100644 index 468013f3..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/beans/AbstractAsynchronousEventBean.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.model.beans; - -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -abstract class AbstractAsynchronousEventBean { - - enum JSON_ATTRIBUTE_VALUES { - SOURCE_COMPONENT_ID_ATTRIBUTE, - TARGET_COMPONENT_ID_ATTRIBUTE - } - - private final String _sourceComponentId; - private final String _targetComponentId; - - AbstractAsynchronousEventBean(){ - super(); - - _sourceComponentId = null; - _targetComponentId = null; - } - - AbstractAsynchronousEventBean(String sourceComponentId, String targetComponentId){ - super(); - - _sourceComponentId = sourceComponentId; - _targetComponentId = targetComponentId; - } - - public abstract JSONObject formatResponseToJSON() throws JSONException; - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof AbstractAsynchronousEventBean)){ - return false; - } - - AbstractAsynchronousEventBean currInstance = AbstractAsynchronousEventBean.class.cast( instance ); - boolean equals = _sourceComponentId.equals(currInstance._sourceComponentId); - - if(equals){ - equals = _targetComponentId.equals(currInstance._targetComponentId); - } - - return equals; - } - - @Override - public int hashCode() { - int hashCodeVal = FlexConstants.HASH_CODE_INIT_VALUE; - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _sourceComponentId.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _targetComponentId.hashCode(); - - return hashCodeVal; - } - - public String getSourceComponentId(){ - return _sourceComponentId; - } - - public String getTargetComponentId(){ - return _targetComponentId; - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/beans/AsynchronousDataUpdateEventBean.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/beans/AsynchronousDataUpdateEventBean.java deleted file mode 100644 index 9074d9d4..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/beans/AsynchronousDataUpdateEventBean.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.model.beans; - -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public class AsynchronousDataUpdateEventBean extends AbstractAsynchronousEventBean { - - protected static final String UPDATE_VALUE_ATTRIBUTE = "UPDATE_VALUE_ATTRIBUTE"; - - private final String _updateValue; - - protected AsynchronousDataUpdateEventBean(){ - super(); - - _updateValue = null; - } - - public AsynchronousDataUpdateEventBean(String updateValue, String sourceId, String targetId){ - super(sourceId, targetId); - - _updateValue = updateValue; - } - - @Override - public JSONObject formatResponseToJSON() throws JSONException { - JSONObject response = new JSONObject(); - - response.put(JSON_ATTRIBUTE_VALUES.SOURCE_COMPONENT_ID_ATTRIBUTE.toString(), getSourceComponentId()); - response.put(JSON_ATTRIBUTE_VALUES.TARGET_COMPONENT_ID_ATTRIBUTE.toString(), getTargetComponentId()); - response.put(UPDATE_VALUE_ATTRIBUTE, _updateValue); - - return response; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof AsynchronousDataUpdateEventBean)){ - return false; - } - - boolean equals = super.equals(instance); - if(!equals){ - return false; - } - - AsynchronousDataUpdateEventBean currInstance = AsynchronousDataUpdateEventBean.class.cast( instance ); - return _updateValue.equals(currInstance._updateValue); - } - - @Override - public int hashCode() { - int hashCodeVal = super.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _updateValue.hashCode(); - - return hashCodeVal; - } - - public String getUpdateValue(){ - return _updateValue; - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/beans/AsynchronousPropertyUpdateEventBean.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/beans/AsynchronousPropertyUpdateEventBean.java deleted file mode 100644 index d950d740..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/beans/AsynchronousPropertyUpdateEventBean.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.model.beans; - -/** - * @author Ji Hoon Kim - */ -public class AsynchronousPropertyUpdateEventBean extends AsynchronousDataUpdateEventBean { - - protected AsynchronousPropertyUpdateEventBean(){ - super(); - } - - public AsynchronousPropertyUpdateEventBean(String updateValue, String sourceId, String targetId){ - super(updateValue, sourceId, targetId); - - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof AsynchronousPropertyUpdateEventBean)){ - return false; - } - - return super.equals(instance); - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AbstractEvent.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AbstractEvent.java deleted file mode 100644 index e6b9f544..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AbstractEvent.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.model.event; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractEvent { - - public enum ASYNCHRONOUS_VARIABLES { - RESULT_CODE - } - - private final String _targetComponentId; - - AbstractEvent(){ - super(); - - _targetComponentId = null; - } - - public AbstractEvent(String targetComponentId){ - super(); - - _targetComponentId = targetComponentId; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof AbstractEvent)){ - return false; - } - - AbstractEvent currInstance = AbstractEvent.class.cast( instance ); - - return _targetComponentId.equals(currInstance._targetComponentId); - } - - @Override - public int hashCode() { - - return _targetComponentId.hashCode(); - } - - public String getTargetComponentId(){ - return _targetComponentId; - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AsynchronousDataUpdateEvent.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AsynchronousDataUpdateEvent.java deleted file mode 100644 index 47e4fee3..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AsynchronousDataUpdateEvent.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.model.event; - -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public class AsynchronousDataUpdateEvent extends AsynchronousGlueEvent { - - private final String _alteredAttribute; - private final String _alteredValue; - - private AsynchronousDataUpdateEvent(){ - super(); - - _alteredAttribute = null; - _alteredValue = null; - } - - public AsynchronousDataUpdateEvent(String alteredAttribute, String alteredValue, String sourceId, String targetId){ - super(sourceId, targetId); - - _alteredAttribute = alteredAttribute; - _alteredValue = alteredValue; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof AsynchronousDataUpdateEvent)){ - return false; - } - - boolean equals = super.equals(instance); - if(!equals){ - return false; - } - - AsynchronousDataUpdateEvent currInstance = AsynchronousDataUpdateEvent.class.cast( instance ); - return _alteredValue.equals(currInstance._alteredValue) && _alteredAttribute.equals(currInstance._alteredAttribute); - } - - @Override - public int hashCode() { - int hashCodeVal = super.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _alteredValue.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _alteredAttribute.hashCode(); - - return hashCodeVal; - } - - @Override - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("{ alteredAttribute: " + _alteredAttribute); - content.append(", alteredValue: " + _alteredValue); - content.append(", sourceComponentId: " + getSourceComponentId()); - content.append(", targetComponentId: " + getTargetComponentId()); - content.append(" }"); - - return content.toString(); - } - - public String getAlteredAttribute(){ - return _alteredAttribute; - } - - public String getAlteredValue(){ - return _alteredValue; - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AsynchronousFilterEvent.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AsynchronousFilterEvent.java deleted file mode 100644 index b9684e07..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AsynchronousFilterEvent.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.model.event; - -import javax.faces.component.UIComponent; - -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public class AsynchronousFilterEvent extends AbstractEvent { - - private final UIComponent _targetComponent; - private final String _componentValue; - private final String _filterValue; - - public AsynchronousFilterEvent(UIComponent targetComponent, String componentValue, String filterValue) { - super(targetComponent.getId()); - - _targetComponent = targetComponent; - _componentValue = componentValue; - _filterValue = filterValue; - - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof AsynchronousFilterEvent)){ - return false; - } - - boolean equals = super.equals(instance); - if(!equals){ - return false; - } - - AsynchronousFilterEvent currInstance = AsynchronousFilterEvent.class.cast( instance ); - return _targetComponent.equals(currInstance._targetComponent) && _componentValue.equals(currInstance._componentValue) - && _filterValue.equals(currInstance._filterValue); - } - - @Override - public int hashCode() { - int hashCodeVal = super.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _targetComponent.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _componentValue.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _filterValue.hashCode(); - - return hashCodeVal; - } - - @Override - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("{ componentValue: " + _componentValue); - content.append(", filterValue: " + _filterValue); - content.append(", targetComponent: " + _targetComponent); - - return content.toString(); - } - - public UIComponent getTargetComponent() { - return _targetComponent; - } - - public String getComponentValue() { - return _componentValue; - } - - public String getFilterValue() { - return _filterValue; - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AsynchronousGlueEvent.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AsynchronousGlueEvent.java deleted file mode 100644 index fe7d7a04..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AsynchronousGlueEvent.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.model.event; - -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public class AsynchronousGlueEvent extends AbstractEvent { - - private final String _sourceComponentId; - - AsynchronousGlueEvent(){ - super(); - - _sourceComponentId = null; - } - - public AsynchronousGlueEvent(String sourceComponentId, String targetComponentId){ - super(targetComponentId); - - _sourceComponentId = sourceComponentId; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof AsynchronousGlueEvent)){ - return false; - } - - boolean equals = super.equals(instance); - if(!equals){ - return false; - } - - AsynchronousGlueEvent currInstance = AsynchronousGlueEvent.class.cast( instance ); - return _sourceComponentId.equals(currInstance._sourceComponentId); - } - - @Override - public int hashCode() { - int hashCodeVal = super.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _sourceComponentId.hashCode(); - - return hashCodeVal; - } - - @Override - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("{ sourceComponentId: " + _sourceComponentId); - content.append(", targetComponentId: " + getTargetComponentId()); - content.append(" }"); - - return content.toString(); - } - - public String getSourceComponentId() { - return _sourceComponentId; - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AsynchronousPropertyUpdateEvent.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AsynchronousPropertyUpdateEvent.java deleted file mode 100644 index 97d6602c..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/model/event/AsynchronousPropertyUpdateEvent.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.model.event; - -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public class AsynchronousPropertyUpdateEvent extends AsynchronousGlueEvent { - - private String _currentSourceValue; - - private AsynchronousPropertyUpdateEvent(){ - super(); - } - - public AsynchronousPropertyUpdateEvent(String currentSourceValue, String sourceId, String targetId){ - super(sourceId, targetId); - - _currentSourceValue = currentSourceValue; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof AsynchronousPropertyUpdateEvent)){ - return false; - } - - boolean equals = super.equals(instance); - if(!equals){ - return false; - } - - AsynchronousPropertyUpdateEvent currInstance = AsynchronousPropertyUpdateEvent.class.cast( instance ); - return _currentSourceValue.equals(currInstance._currentSourceValue); - } - - @Override - public int hashCode() { - int hashCodeVal = super.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _currentSourceValue.hashCode(); - - return hashCodeVal; - } - - @Override - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("{ currentSourceValue: " + _currentSourceValue); - content.append(", sourceComponentId: " + getSourceComponentId()); - content.append(", targetComponentId: " + getTargetComponentId()); - content.append(" }"); - - return content.toString(); - } - - public String getCurrSourceValue(){ - return _currentSourceValue; - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/AbstractFileManipulatorTaskRunner.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/AbstractFileManipulatorTaskRunner.java deleted file mode 100644 index 3ab5b752..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/AbstractFileManipulatorTaskRunner.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks; - -import java.io.BufferedReader; -import java.io.File; -import java.io.FileNotFoundException; -import java.io.FileReader; -import java.io.IOException; -import java.io.InputStreamReader; -import java.util.Map; -import java.util.Properties; -import java.util.Set; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -import com.googlecode.jsfFlex.shared.beans.templates.TokenValue; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractFileManipulatorTaskRunner extends TaskRunnerImpl { - - private final static Log _log = LogFactory.getLog(AbstractFileManipulatorTaskRunner.class); - - public abstract void createFileContent(String filePath, String templateFile, Properties initProperties, Map tokenMap); - - public abstract void createPreMxmlFile(String preMxmlFilePath, Properties initProperties, Set tokenList, String flexComponentName, - String flexComponentNS, String bodyContent, String childIdentifier, String siblingIdentifier); - - public synchronized String getComponentTemplate(ClassLoader loader, String template) { - StringBuilder fileContent = new StringBuilder(); - BufferedReader bufferRead = null; - - try{ - - bufferRead = new BufferedReader(new InputStreamReader(loader.getResourceAsStream(template))); - char[] charBuffer = new char[2048]; - int offSet = 0; - - while((offSet = bufferRead.read(charBuffer, 0, 2048)) > -1){ - fileContent.append(charBuffer, 0, offSet); - } - - }catch(FileNotFoundException fileNotFoundExcept){ - throw new ComponentBuildException(getErrorMessage("getComponentTemplate", template), fileNotFoundExcept); - }catch(IOException ioExcept){ - throw new ComponentBuildException(getErrorMessage("getComponentTemplate", template), ioExcept); - }finally{ - - if(bufferRead != null){ - try{ - bufferRead.close(); - }catch(IOException closerException){ - _log.debug("Error while closing the writer within getComponentTemplate", closerException); - } - } - - } - - return fileContent.toString(); - } - - public synchronized String readFileContent(String fileName) { - StringBuilder fileContent = new StringBuilder(); - BufferedReader bufferRead = null; - - try{ - bufferRead = new BufferedReader(new FileReader(new File(fileName))); - - char[] charBuffer = new char[2048]; - int offSet = 0; - - while((offSet = bufferRead.read(charBuffer, 0, 2048)) > -1){ - fileContent.append(charBuffer, 0, offSet); - } - - }catch(FileNotFoundException fileNotFoundExcept){ - throw new ComponentBuildException("Failure in finding of " + fileName, fileNotFoundExcept); - }catch(IOException ioExcept){ - throw new ComponentBuildException("Failure in reading of " + fileName, ioExcept); - }finally{ - - if(bufferRead != null){ - try{ - bufferRead.close(); - }catch(IOException closerException){ - _log.debug("Error while closing the writer within readFileContent", closerException); - } - } - - } - - return fileContent.toString(); - } - - private String getErrorMessage(String caller, String parameter){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Exception when "); - errorMessage.append(caller); - errorMessage.append(" with parameter(s) [ "); - errorMessage.append(parameter); - errorMessage.append(" ] "); - return errorMessage.toString(); - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/AbstractRunnerFactory.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/AbstractRunnerFactory.java deleted file mode 100644 index 2b8e223a..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/AbstractRunnerFactory.java +++ /dev/null @@ -1,234 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks; - -import java.io.IOException; -import java.util.Properties; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -import com.googlecode.jsfFlex.renderkit.annotationDocletParser.AbstractAnnotationDocletParser; - -/** - * Each implementation of AbstractRunnerFactory should return a String specifying the package class
- * for each of the following interfaces :
- *
    - *
  • ICommonTaskRunner - *
  • AbstractFileManipulatorTaskRunner - *
  • IFlexTaskRunner - *
  • AbstractAnnotationDocletParser - *
- * - * @author Ji Hoon Kim - */ -public abstract class AbstractRunnerFactory { - - private final static Log _log = LogFactory.getLog(AbstractRunnerFactory.class); - - private static final AbstractRunnerFactory INSTANCE; - - private static final String RUNNER_FACTORY_IMPL_PROPERTIES = "runnerFactoryImpl.properties"; - - private static final String COMMON_TASK_RUNNER_IMPL_PACKAGE_CLASS_KEY = "common_task_rummer_impl_package"; - private static final String FILE_MANIPULATOR_TASK_RUNNER_IMPL_PACKAGE_CLASS_KEY = "file_manipulator_task_runner_impl_package"; - private static final String FLEX_TASK_RUNNER_IMPL_PACKAGE_CLASS_KEY = "flex_task_runner_impl_package"; - private static final String ANNOTATION_DOCLET_PARSER_IMPL_PACKAGE_CLASS_KEY = "annotation_doclet_parser_impl_package"; - - private static final String COMMON_TASK_RUNNER_IMPL_PACKAGE_CLASS; - private static final String FILE_MANIPULATOR_TASK_RUNNER_IMPL_PACKAGE_CLASS; - private static final String FLEX_TASK_RUNNER_IMPL_PACKAGE_CLASS; - private static final String ANNOTATION_DOCLET_PARSER_IMPL_PACKAGE_CLASS; - - private static Class COMMON_TASK_RUNNER_IMPL_CLASS; - private static Class FILE_MANIPULATOR_TASK_RUNNER_IMPL_CLASS; - private static Class FLEX_TASK_RUNNER_IMPL_CLASS; - private static final Class ANNOTATION_DOCLET_PARSER_IMPL_CLASS; - - static{ - - Properties runnerFactoryImplProperties = new Properties(); - - try{ - runnerFactoryImplProperties.load(AbstractRunnerFactory.class.getResourceAsStream(RUNNER_FACTORY_IMPL_PROPERTIES)); - }catch(IOException ioExcept){ - throw new RuntimeException("Exception thrown when loading of " + RUNNER_FACTORY_IMPL_PROPERTIES, ioExcept); - } - - String systemCommonTaskRunnerImplPackageClass = System.getProperty(COMMON_TASK_RUNNER_IMPL_PACKAGE_CLASS_KEY); - String systemFileManipulatorTaskRunnerPackageClass = System.getProperty(FILE_MANIPULATOR_TASK_RUNNER_IMPL_PACKAGE_CLASS_KEY); - String systemFlexTaskRunnerImplPackageClass = System.getProperty(FLEX_TASK_RUNNER_IMPL_PACKAGE_CLASS_KEY); - - String systemAnnotationDocletParserImplPackageClass = System.getProperty(ANNOTATION_DOCLET_PARSER_IMPL_PACKAGE_CLASS_KEY); - - COMMON_TASK_RUNNER_IMPL_PACKAGE_CLASS = systemCommonTaskRunnerImplPackageClass == null ? - runnerFactoryImplProperties.getProperty(COMMON_TASK_RUNNER_IMPL_PACKAGE_CLASS_KEY) : systemCommonTaskRunnerImplPackageClass; - FILE_MANIPULATOR_TASK_RUNNER_IMPL_PACKAGE_CLASS = systemFileManipulatorTaskRunnerPackageClass == null ? - runnerFactoryImplProperties.getProperty(FILE_MANIPULATOR_TASK_RUNNER_IMPL_PACKAGE_CLASS_KEY) : systemFileManipulatorTaskRunnerPackageClass; - FLEX_TASK_RUNNER_IMPL_PACKAGE_CLASS = systemFlexTaskRunnerImplPackageClass == null ? - runnerFactoryImplProperties.getProperty(FLEX_TASK_RUNNER_IMPL_PACKAGE_CLASS_KEY) : systemFlexTaskRunnerImplPackageClass; - ANNOTATION_DOCLET_PARSER_IMPL_PACKAGE_CLASS = systemAnnotationDocletParserImplPackageClass == null ? - runnerFactoryImplProperties.getProperty(ANNOTATION_DOCLET_PARSER_IMPL_PACKAGE_CLASS_KEY) : systemAnnotationDocletParserImplPackageClass; - - try{ - COMMON_TASK_RUNNER_IMPL_CLASS = Class.forName(COMMON_TASK_RUNNER_IMPL_PACKAGE_CLASS); - }catch(ClassNotFoundException classNotFound){ - _log.warn(classFindErrorMessage(COMMON_TASK_RUNNER_IMPL_PACKAGE_CLASS)); - COMMON_TASK_RUNNER_IMPL_CLASS = null; - } - - try{ - FILE_MANIPULATOR_TASK_RUNNER_IMPL_CLASS = Class.forName(FILE_MANIPULATOR_TASK_RUNNER_IMPL_PACKAGE_CLASS); - }catch(ClassNotFoundException classNotFound){ - _log.warn(classFindErrorMessage(FILE_MANIPULATOR_TASK_RUNNER_IMPL_PACKAGE_CLASS)); - FILE_MANIPULATOR_TASK_RUNNER_IMPL_CLASS = null; - } - - try{ - FLEX_TASK_RUNNER_IMPL_CLASS = Class.forName(FLEX_TASK_RUNNER_IMPL_PACKAGE_CLASS); - }catch(ClassNotFoundException classNotFound){ - _log.warn(classFindErrorMessage(FLEX_TASK_RUNNER_IMPL_PACKAGE_CLASS)); - FLEX_TASK_RUNNER_IMPL_CLASS = null; - } - - try{ - ANNOTATION_DOCLET_PARSER_IMPL_CLASS = Class.forName(ANNOTATION_DOCLET_PARSER_IMPL_PACKAGE_CLASS); - }catch(ClassNotFoundException classNotFound){ - throw new RuntimeException(errorMessage(ANNOTATION_DOCLET_PARSER_IMPL_PACKAGE_CLASS, classNotFound), classNotFound); - } - - INSTANCE = new AbstractRunnerFactory(){ - - String getAnnotationDocletParserImplPackage() { - return ANNOTATION_DOCLET_PARSER_IMPL_PACKAGE_CLASS; - } - - String getCommonTaskRunnerImplPackage() { - return COMMON_TASK_RUNNER_IMPL_PACKAGE_CLASS; - } - - String getFileManipulatorTaskRunnerImplPackage() { - return FILE_MANIPULATOR_TASK_RUNNER_IMPL_PACKAGE_CLASS; - } - - String getFlexTaskRunnerImplPackage() { - return FLEX_TASK_RUNNER_IMPL_PACKAGE_CLASS; - } - }; - - } - - private AbstractRunnerFactory(){ - super(); - } - - public static final AbstractRunnerFactory getInstance(){ - return INSTANCE; - } - - public final ICommonTaskRunner getCommonTaskRunnerImpl(){ - - ICommonTaskRunner specificInstance = null; - - try{ - specificInstance = ICommonTaskRunner.class.cast( COMMON_TASK_RUNNER_IMPL_CLASS.newInstance() ); - }catch(IllegalAccessException illegalAccess){ - throw new RuntimeException(errorMessage(getCommonTaskRunnerImplPackage(), illegalAccess), illegalAccess); - }catch(InstantiationException instantiation){ - throw new RuntimeException(errorMessage(getCommonTaskRunnerImplPackage(), instantiation), instantiation); - } - - return specificInstance; - } - - public final AbstractFileManipulatorTaskRunner getFileManipulatorTaskRunnerImpl(){ - - AbstractFileManipulatorTaskRunner specificInstance = null; - - try{ - specificInstance = AbstractFileManipulatorTaskRunner.class.cast( FILE_MANIPULATOR_TASK_RUNNER_IMPL_CLASS.newInstance() ); - }catch(IllegalAccessException illegalAccess){ - throw new RuntimeException(errorMessage(getFileManipulatorTaskRunnerImplPackage(), illegalAccess), illegalAccess); - }catch(InstantiationException instantiation){ - throw new RuntimeException(errorMessage(getFileManipulatorTaskRunnerImplPackage(), instantiation), instantiation); - } - - return specificInstance; - } - - public final IFlexTaskRunner getFlexTaskRunnerImpl(){ - - IFlexTaskRunner specificInstance = null; - - try{ - specificInstance = IFlexTaskRunner.class.cast( FLEX_TASK_RUNNER_IMPL_CLASS.newInstance() ); - }catch(IllegalAccessException illegalAccess){ - throw new RuntimeException(errorMessage(getFlexTaskRunnerImplPackage(), illegalAccess), illegalAccess); - }catch(InstantiationException instantiation){ - throw new RuntimeException(errorMessage(getFlexTaskRunnerImplPackage(), instantiation), instantiation); - } - - return specificInstance; - } - - public final AbstractAnnotationDocletParser getAnnotationDocletParserImpl(){ - - AbstractAnnotationDocletParser specificInstance = null; - - try{ - specificInstance = AbstractAnnotationDocletParser.class.cast( ANNOTATION_DOCLET_PARSER_IMPL_CLASS.newInstance() ); - }catch(IllegalAccessException illegalAccess){ - throw new RuntimeException(errorMessage(getAnnotationDocletParserImplPackage(), illegalAccess), illegalAccess); - }catch(InstantiationException instantiation){ - throw new RuntimeException(errorMessage(getAnnotationDocletParserImplPackage(), instantiation), instantiation); - } - - return specificInstance; - } - - private static String classFindErrorMessage(String packageClass){ - StringBuilder classFindErrorMessage = new StringBuilder(); - - classFindErrorMessage.append("Following package class could not be found : " + packageClass); - classFindErrorMessage.append(". If the application is not being ran in productionMode, please ensure to " + - "include three jar files to the classpath that contain ICommonTaskRunner, AbstractFileManipulatorTaskRunner, " + - "and IFlexTaskRunner implementations respectively."); - - return classFindErrorMessage.toString(); - } - - private static String errorMessage(String packageClass, Exception type){ - StringBuilder errorMessage = new StringBuilder(); - - errorMessage.append("While creating an instance of " + packageClass); - errorMessage.append(type.getClass().getName()); - errorMessage.append(" Exception was thrown."); - - return errorMessage.toString(); - } - - abstract String getCommonTaskRunnerImplPackage(); - - abstract String getFileManipulatorTaskRunnerImplPackage(); - - abstract String getAnnotationDocletParserImplPackage(); - - abstract String getFlexTaskRunnerImplPackage(); - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/AbstractTask.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/AbstractTask.java deleted file mode 100644 index b13c2184..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/AbstractTask.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractTask { - - protected abstract void performTask(); - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/ICommonTaskRunner.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/ICommonTaskRunner.java deleted file mode 100644 index d296d7a7..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/ICommonTaskRunner.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.googlecode.jsfFlex.shared.tasks; - -import java.io.File; -import java.io.InputStream; - -public interface ICommonTaskRunner extends ITaskRunner { - - void unZipArchiveRelative(String file, String dest, String queueTaskId); - - void unZipArchiveAbsolute(File file, String dest, String queueTaskId); - - void unZipArchiveAbsolute(InputStream file, String dest, String queueTaskId); - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/IFlexTaskRunner.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/IFlexTaskRunner.java deleted file mode 100644 index b3f3be5f..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/IFlexTaskRunner.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks; - -import java.io.File; -import java.util.List; - -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -public interface IFlexTaskRunner extends ITaskRunner { - - void chmod(File directory, String permission, String fileInclusionRegExp, String queueTaskId); - - void copyFile(String fileToCopy, String fileToCopyTo, String queueTaskId); - - void copyFileSet(String copyDir, String copyInclude, String copyExclude, String copyTo, String queueTaskId); - - void copyLocale(String locale, String flexSDKRootPath, String queueTaskId); - - void createMXML(String targetAbsolutePath, String copyTo); - - void createSWF(String flexFile, String swfPath, IFlexApplicationContract componentFlex, String flexSDKRootPath, String locale, String localePath, String queueTaskId); - - void createSwfSourceFiles(String swfBasePath, List systemSwfSourceFiles); - - void createSwcSourceFiles(String swcPath, List systemSourceFiles, String jsfFlexMainSwcConfigFile, String webContextPath); - - void createSystemSWCFile(String sourcePath, String outPut, String flexSDKRootPath, String loadConfigFilePath, IFlexApplicationContract componentFlex, String queueTaskId); - - void deleteResources(String resourceToDelete, boolean isDirectory, String queueTaskId); - - void makeDirectory(String directoryToCreate); - - void renameFile(String sourceFile, String destFile, boolean overWrite); - - void replaceTokenWithValue(String targetAbsolutePath, String valueToReplaceWith, String tokenReplace); - - void writeBodyContent(IFlexContract componentFlex); - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/ITaskRunner.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/ITaskRunner.java deleted file mode 100644 index ef64ec80..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/ITaskRunner.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks; - -import java.util.Collection; - -/** - * @author Ji Hoon Kim - */ -public interface ITaskRunner { - - public enum QUEUE_TASK_ID { - DELETE_RESOURCES, CHMOD, COPY_FILE, COPY_FILE_SET, - CREATE_SYSTEM_SWC_FILE, CREATE_SWF, COPY_LOCALE, - UNZIP_ARCHIVE_RELATIVE, UNZIP_ARCHIVE_ABSOLUTE_FI, UNZIP_ARCHIVE_ABSOLUTE_IS; - - public String getQueueTaskId(String queueTaskId){ - return toString() + ":" + queueTaskId; - } - - } - - void addTask(AbstractTask toAdd); - - void addTasks(Collection tasksToAdd); - - void execute(); - - void queueFutureTask(String taskName, AbstractTask toAdd); - - boolean isTaskDone(String taskName); - - void waitForFutureTask(String taskName); - - void clearAllFutureTasks(); - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/TaskRunnerImpl.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/TaskRunnerImpl.java deleted file mode 100644 index 489d67d4..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/tasks/TaskRunnerImpl.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks; - -import java.util.Collection; -import java.util.LinkedList; -import java.util.List; -import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.ConcurrentMap; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; -import java.util.concurrent.Future; -import java.util.concurrent.FutureTask; -import java.util.concurrent.TimeUnit; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Previously TaskRunnerImpl was designed to allow lazy execution
- * of the AbstractTasks within the List; however due to separation of implementation
- * of the various .+Runner interfaces, it was decided to execute the AbstractTasks
- * upon addition. - * - * In order to improve performance, Executors's ThreadPool will be used to span off Threads for
- * FutureTasks. However, one thing to note is that these AbstractTasks should be
- * INDEPENDENT to other tasks added with the addTask method and other tasks
- * added with the queueFutureTask method.
- * - * @author Ji Hoon Kim - */ -class TaskRunnerImpl implements ITaskRunner { - - private final static Log _log = LogFactory.getLog(TaskRunnerImpl.class); - - private static final String DUPLICATE_QUEUE_TASK_ID_PROVIDED = "Duplicate future queue task id has been provided : "; - - /* - * Technically most of the computers have Duo Core, so consider that when setting the value - * for NUM_OF_EXECUTOR_THREADS - */ - private static final int NUM_OF_EXECUTOR_THREADS = 6; - private static final int EXECUTOR_SERVICE_SHUT_DOWN_LIMIT = 20; - - private final ConcurrentMap> _queuedTasks; - private final ExecutorService _queuedService = Executors.newFixedThreadPool(NUM_OF_EXECUTOR_THREADS); - - private final Object _lock = new Object(); - private final List _tasks; - - TaskRunnerImpl(){ - super(); - _tasks = new LinkedList(); - _queuedTasks = new ConcurrentHashMap>(); - } - - public void addTask(AbstractTask toAdd) { - synchronized(_lock){ - _tasks.add(toAdd); - execute(); - } - } - - public void addTasks(Collection tasksToAdd) { - synchronized(_lock){ - _tasks.addAll(tasksToAdd); - execute(); - } - } - - public void execute() { - - synchronized(_lock){ - for(AbstractTask current : _tasks){ - current.performTask(); - } - clearAllTask(); - } - } - - private void clearAllTask(){ - _tasks.clear(); - } - - /* - * Though finalize method is not always invoked, place in the code to clean up ExecutorService
- * for times when it is called. - */ - @Override - protected void finalize() throws Throwable { - super.finalize(); - if(_queuedService != null){ - _queuedService.shutdownNow(); - } - if(_queuedTasks != null){ - _queuedTasks.clear(); - } - } - - public void queueFutureTask(final String taskName, final AbstractTask toAdd){ - final FutureTask task = new FutureTask(new Runnable(){ - public void run() { - toAdd.performTask(); - _queuedTasks.remove(taskName); - _log.info("Queued taskName has been completed : " + taskName); - } - }, null); - - Future previousTask = _queuedTasks.putIfAbsent(taskName, task); - if(previousTask != null){ - throw new RuntimeException(DUPLICATE_QUEUE_TASK_ID_PROVIDED + taskName); - } - _queuedService.submit(task); - } - - public boolean isTaskDone(String taskName){ - Future task = _queuedTasks.get(taskName); - return (task != null && task.isDone()); - } - - public void waitForFutureTask(String taskName){ - Future task = _queuedTasks.get(taskName); - if(task != null){ - try{ - _log.info("Waiting for taskName : " + taskName); - task.get(); - _log.info("Finished waiting for the taskName : " + taskName); - }catch(ExecutionException executeExcept){ - _log.error("Execution exception thrown within waitForFutureTask for " + taskName, executeExcept); - }catch(InterruptedException interruptedExcept){ - Thread.currentThread().interrupt(); - }finally{ - task.cancel(true); - } - } - } - - public void clearAllFutureTasks(){ - _queuedService.shutdown(); - try{ - _queuedService.awaitTermination(EXECUTOR_SERVICE_SHUT_DOWN_LIMIT, TimeUnit.SECONDS); - }catch(InterruptedException interruptedException){ - Thread.currentThread().interrupt(); - }finally{ - if(_queuedTasks != null){ - _queuedTasks.clear(); - } - } - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/FlexAttributeConstants.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/FlexAttributeConstants.java deleted file mode 100644 index 85cbda4e..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/FlexAttributeConstants.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.util; - -/** - * An attribute constant class.
- * - * @author Ji Hoon Kim - */ -public final class FlexAttributeConstants { - - public static final String SCRIPT_ELEM = "script"; - public static final String SCRIPT_TYPE_ATTR = "type"; - - /** Standard Attributes */ - public static final String ID_ATTR = "id"; - public static final String NAME_ATTR = "name"; - public static final String VALUE_ATTR = "value"; - - /** Style Attributes */ - public static final String HEIGHT_ATTR = "height"; - public static final String WIDTH_ATTR = "width"; - public static final String COLOR_ATTR = "color"; - public static final String FONT_ANTI_ALIAS_TYPE_ATTR = "fontAntiAliasType"; - public static final String FONT_FAMILY_ATTR = "fontFamily"; - public static final String FONT_GRID_FIT_TYPE_ATTR = "fontGridFitType"; - public static final String FONT_SHARPNESS_ATTR = "fontSharpness"; - public static final String FONT_SIZE_ATTR = "fontSize"; - public static final String FONT_STYLE_ATTR = "fontStyle"; - public static final String FONT_THICKNESS_ATTR = "fontThickness"; - public static final String FONT_WEIGHT_ATTR = "fontWeight"; - public static final String PADDING_LEFT_ATTR = "paddingLeft"; - public static final String PADDING_RIGHT_ATTR = "paddingRight"; - public static final String TEXT_ALIGN_ATTR = "textAlign"; - public static final String TEXT_DECORATION_ATTR = "textDecoration"; - public static final String TEXT_INDENT_ATTR = "textIndent"; - - /** Specific Attributes that should be centralized */ - public static final String SRC_ATTR = "src"; - public static final String SCRIPT_TYPE_TEXT_JAVASCRIPT = "text/javascript"; - - private FlexAttributeConstants(){ - super(); - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/FlexConstants.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/FlexConstants.java deleted file mode 100644 index 40c5da60..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/FlexConstants.java +++ /dev/null @@ -1,303 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.util; - -import java.io.IOException; -import java.util.HashMap; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; - -import javax.xml.parsers.ParserConfigurationException; -import javax.xml.parsers.SAXParser; -import javax.xml.parsers.SAXParserFactory; - -import org.xml.sax.Attributes; -import org.xml.sax.SAXException; -import org.xml.sax.helpers.DefaultHandler; - -import com.googlecode.jsfFlex.shared.util.annotation.ISwcActionScriptFile; -import com.googlecode.jsfFlex.shared.util.annotation.ISwcActionScriptFiles; - -/** - * A constant class that defines various properties for the system.
- * - * @author Ji Hoon Kim - */ -@ISwcActionScriptFiles( - actionScriptFiles={ - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.component.DataGridColumnServiceRequest"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.component.DataGridServiceRequest"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.core.ComponentValueMapper"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.core.ConstructActionScriptObject"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.event.AbstractEventHandler"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.event.DataUpdateEventHandler"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.event.PropertyUpdateEventHandler"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.event.SubmitFormEventHandler"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.event.helper.ItemSelectHelper"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.event.helper.ScrollEventHelper"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.logger.AbstractLogger"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.logger.ILogger"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.logger.JavaScriptLogger"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.logger.LoggerFactory"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.services.JsfFlexHttpService"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.utils.JsfFlexUtils"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.utils.WebConstants"), - @ISwcActionScriptFile(actionScriptFile="com.googlecode.jsfFlex.communication.validator.ValidationManager") - } -) -public final class FlexConstants { - - public static final String PROJECT_WORKSPACE_WEB_FLASH_DIRECTORY = "com.googlecode.jsfFlex.ProjectWorkspaceWebFlashDirectory"; - - public static final String FLEX_JAVA_SDK_PATH = "com.googlecode.jsfFlex.FlexJavaPath"; - public static final String FLEX_JVM_CONFIG_PATH = "bin/jvm.config"; - public static final String FLEX_JVM_CONFIG_JAVA_HOME = "java.home="; - - public static final String LOCALE_WEB_CONTEXT_RELATIVE_PATH = "com.googlecode.jsfFlex.LocaleWebContextRelativePath"; - public static final String DEFAULT_LOCALE = "com.googlecode.jsfFlex.DefaultLocale"; - public static final String DEFAULT_LOCALE_SWF_PATH_KEY = "DefaultLocaleSwfPathKey"; - public static final String EN_US = "en_us"; - public static final char SWF_FILE_NAME_LOCALE_SEPARATOR = '-'; - - public static final String FLASH_TO_JAVASCRIPT_LOG_LEVEL_NAME = "com.googlecode.jsfFlex.FlashToJavaScriptLogLevel"; - public static final String FLASH_TO_JAVASCRIPT_LOG_LOG_LEVEL = "Log"; - public static final String FLASH_TO_JAVASCRIPT_LOG_DEBUG_LEVEL = "Debug"; - public static final String FLASH_TO_JAVASCRIPT_LOG_INFO_LEVEL = "Info"; - public static final String FLASH_TO_JAVASCRIPT_LOG_WARN_LEVEL = "Warn"; - public static final String FLASH_TO_JAVASCRIPT_LOG_ERROR_LEVEL = "Error"; - - public static final String CONFIG_MODE_NAME = "com.googlecode.jsfFlex.MODE"; - public static final String PRODUCTION_MODE = "productionMode"; - public static final String PROVIDED_FLEX_SDK_PATH = "flexSDKPath"; - - - public static final String UTF_8_ENCODING = "UTF-8"; - public static final String STRING_QUOTE = "\""; - - public static final String PRE_MXML_FILE_EXT = ".preMxml"; - public static final String MXML_FILE_EXT = ".mxml"; - public static final String SWF_FILE_EXT = ".swf"; - public static final String XML_FILE_EXT = ".xml"; - public static final String SWC_FILE_EXT = ".swc"; - - public static final String FLEX_SDK_PART_1_ZIP = "flexSDK_1.zip"; - public static final String FLEX_SDK_PART_2_ZIP = "flexSDK_2.zip"; - public static final String FLEX_SDK_PART_3_ZIP = "flexSDK_3.zip"; - public static final String DEFAULT_SWC_LIBRARY_SWF_NAME = "library.swf"; - public static final String JSF_FLEX_MAIN_SWC_CONFIGURATIONFILE = "jsfFlexMainSwcConfigurationFile.xml"; - public static final String JSF_FLEX_MAIN_SWC_DIRECTORY_NAME = "jsfFlexMainSwcFileSystem"; - public static final String JSF_FLEX_MAIN_SWC_ARCHIVE_NAME = "jsfFlexMainSwc"; - - public static final String CHILD_REPLACE_TOKEN = ""; - public static final String SIBLING_REPLACE_TOKEN = ""; - - public static final String CHILD_REPLACE_TOKEN_PREMXML_IDENTIFIER_PRE = ""; - public static final String SIBLING_REPLACE_TOKEN_PREMXML_IDENTIFIER_PRE = ""; - - public static final String TAG_BODY_CONTENT_ATTR = "tagBodyContent"; - public static final String TAG_BODY_CONTENT_TOKEN = "{tagBodyContent}"; - - public static final String MXML_DIRECTORY_NAME = "mxml"; - public static final String SWF_DIRECTORY_NAME = "swf"; - public static final String PREMXML_DIRECTORY_NAME = "preMxml"; - public static final String FLEX_SDK_DIRECTORY_NAME = "flexSDK"; - public static final String SWC_DIRECTORY_NAME = "swc"; - - private static final String FLEX_CONSTANTS_XML = "flexConstants.xml"; - - public static final int HASH_CODE_INIT_VALUE = 3; - public static final int HASH_CODE_MULTIPLY_VALUE = 31; - - public static final boolean WINDOWS_SYSTEM; - - public static final String CLASS_ID; - public static final String CODE_BASE; - public static final String PLUGINS_PAGE; - - public static final String JSF_FLEX_MAIN_SWC_CONFIG_FILE; - - private static final List _swcSourceFiles; - private static final List _swfSourceFiles; - - private static Map _tempParseMap; - - private FlexConstants(){ - super(); - } - - static{ - - WINDOWS_SYSTEM = (System.getProperty("line.separator").equals("\r\n")); - _tempParseMap = new HashMap(); - - _swcSourceFiles = new LinkedList(); - _swfSourceFiles = new LinkedList(); - - try{ - parseSetProperties(); - }catch(Exception rendererListException){ - throw new RuntimeException("Failure in parsing of " + FLEX_CONSTANTS_XML, rendererListException); - } - - CLASS_ID = _tempParseMap.get("CLASS_ID"); - CODE_BASE = _tempParseMap.get("CODE_BASE"); - PLUGINS_PAGE = _tempParseMap.get("PLUGINS_PAGE"); - JSF_FLEX_MAIN_SWC_CONFIG_FILE = _tempParseMap.get("JSF_FLEX_MAIN_SWC_CONFIG_FILE"); - - _tempParseMap = null; - } - - private static void parseSetProperties() throws IOException, ParserConfigurationException, SAXException{ - - SAXParser parser = SAXParserFactory.newInstance().newSAXParser(); - parser.parse(FlexConstants.class.getResourceAsStream(FLEX_CONSTANTS_XML), new DefaultHandler(){ - - private boolean settings = true; - private boolean windows = false; - private boolean nonWindows = false; - private boolean systemIndependent = false; - - private boolean swfHtmlAttribute = false; - private boolean classId = false; - private boolean codeBase = false; - private boolean pluginsPage = false; - private boolean swcSourceFiles = false; - private boolean swfSourceFiles = false; - private boolean sourceFile = false; - private boolean jsfFlexMainSwcConfigFile = false; - - private StringBuilder nodeValue; - - public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { - super.startElement(uri, localName, qName, attributes); - - if(qName.equals("settings")){ - //Container so return after set - settings = true; - return; - }else if(qName.equals("windows")){ - settings = false; - windows = true; - }else if(qName.equals("non-windows")){ - windows = false; - nonWindows = true; - }else if(qName.equals("system-independent")){ - nonWindows = false; - systemIndependent = true; - }else if(qName.equals("swf-html-attibute")){ - swfHtmlAttribute = true; - }else if(qName.equals("class-id")){ - classId = true; - }else if(qName.equals("code-base")){ - codeBase = true; - }else if(qName.equals("plugins-page")){ - pluginsPage = true; - }else if(qName.equals("swc-source-files")){ - swcSourceFiles = true; - }else if(qName.equals("swf-source-files")){ - swfSourceFiles = true; - }else if(qName.equals("source-file")){ - sourceFile = true; - }else if(qName.equals("jsf-flex-main-swc-config-file")){ - jsfFlexMainSwcConfigFile = true; - } - - nodeValue = new StringBuilder(); - } - - public void endElement(String uri, String localName, String qName) throws SAXException { - super.endElement(uri, localName, qName); - - String currValue = null; - if(nodeValue != null){ - currValue = nodeValue.toString().trim(); - } - - if(codeBase){ - _tempParseMap.put("CODE_BASE", currValue); - codeBase = false; - }else if(classId){ - _tempParseMap.put("CLASS_ID", currValue); - classId = false; - }else if(pluginsPage){ - _tempParseMap.put("PLUGINS_PAGE", currValue); - pluginsPage = false; - }else if(jsfFlexMainSwcConfigFile){ - _tempParseMap.put("JSF_FLEX_MAIN_SWC_CONFIG_FILE", currValue); - jsfFlexMainSwcConfigFile = false; - }else if(swfHtmlAttribute){ - swfHtmlAttribute = false; - }else if(sourceFile){ - if(swcSourceFiles){ - _swcSourceFiles.add(currValue); - }else if(swfSourceFiles){ - _swfSourceFiles.add(currValue); - } - sourceFile = false; - }else if(swcSourceFiles){ - swcSourceFiles = false; - }else if(swfSourceFiles){ - swfSourceFiles = false; - }else if(systemIndependent){ - systemIndependent = false; - } - } - - public void characters(char[] ch, int start, int length) throws SAXException { - super.characters(ch, start, length); - if(settings){ - return; - } - nodeValue.append(new String(ch, start, length)); - } - - }); - - } - - public static List getSwcSourceFiles(){ - /* - * To disallow removing elements within swcSourceFiles - */ - return new LinkedList(_swcSourceFiles); - } - - public static void addSwcSourceFiles(String sourceToAdd){ - if(sourceToAdd != null){ - _swcSourceFiles.add(sourceToAdd); - } - } - - public static List getSwfSourceFiles(){ - /* - * To disallow removing elements within swfSourceFiles - */ - return new LinkedList(_swfSourceFiles); - } - - public static void addSwfSourceFiles(String sourceToAdd){ - if(sourceToAdd != null){ - _swfSourceFiles.add(sourceToAdd); - } - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/FlexJsfUtil.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/FlexJsfUtil.java deleted file mode 100644 index 45f6df01..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/FlexJsfUtil.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.util; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * This Util class will provide functionalities that are need by JSF Flex classes - * - * @author Ji Hoon Kim - */ -public final class FlexJsfUtil { - - private final static String WINDOWS_LINE_FEED = "\r\n"; - private final static String UNIX_LINE_FEED = "\n"; - - private final static String LINE_FEED_ESCAPER = "LINE_FEED"; - - private FlexJsfUtil(){ - super(); - } - - /** - * This method will take the argument and return an encoded version in UTF-8. Also it will replace
- * line feeds ("\r\n", "\n") with the "LINE_FEED" string [due to how Flash interprets these two line feeds
- * differently. Then the conversion back to its non-replaced and encoded value will be made on the Flash side.
- * - * @param toEscape - * @return Encoded version of toEscape - */ - public static String escapeCharacters(String toEscape) { - if(toEscape == null){ - return ""; - } - - /* - * TODO : implement this better - * special case for line feeds, since otherwise it is replaced with two - * line feeds on the flash side - */ - toEscape = toEscape.replaceAll(WINDOWS_LINE_FEED, LINE_FEED_ESCAPER); - toEscape = toEscape.replaceAll(UNIX_LINE_FEED, LINE_FEED_ESCAPER); - - try{ - - return java.net.URLEncoder.encode(toEscape, FlexConstants.UTF_8_ENCODING); - }catch(java.io.UnsupportedEncodingException unsupportedEncodingExcept){ - throw new ComponentBuildException("UnsupportedEncoding of " + FlexConstants.UTF_8_ENCODING + ", in another words this " + - "shouldn't happen", unsupportedEncodingExcept); - } - - } - - public static String retrieveFormId(String componentId){ - int endIndex = componentId.lastIndexOf(':'); - return endIndex < 0 ? componentId : componentId.substring(0, componentId.lastIndexOf(':')); - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/JSONConverter.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/JSONConverter.java deleted file mode 100644 index 92571e2a..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/JSONConverter.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.util; - -import java.util.Calendar; -import java.util.Iterator; - -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; - -/** - * This class will provide methods of converting from JSONObject/JSONArray to
- * other forms [i.e. XML in a form of String] and other forms to JSONObject [i.e. Calendar]
- * - * @author Ji Hoon Kim - */ -public final class JSONConverter { - - private static final String XML_VALUE_START_TAG = ""; - private static final String XML_VALUE_END_TAG = ""; - - private JSONConverter(){ - super(); - } - - @SuppressWarnings("unchecked") - public static String convertJSONObjectToXMLString(JSONObject jsonObject) throws JSONException { - - StringBuilder converted = new StringBuilder(); - - for(Iterator keyIterator = jsonObject.keys(); keyIterator.hasNext();){ - String currKey = keyIterator.next(); - Object value = jsonObject.get(currKey); - converted.append( "<" + currKey + ">" ); - - /* - * And here comes the ugly instanceof checks - */ - if(value instanceof JSONObject) { - converted.append( convertJSONObjectToXMLString(JSONObject.class.cast( value )) ); - }else if(value instanceof JSONArray) { - converted.append( convertJSONArrayToXMLString(JSONArray.class.cast( value )) ); - }else { - converted.append( value.toString() ); - } - - converted.append( "" ); - } - - return converted.toString(); - } - - public static String convertJSONArrayToXMLString(JSONArray jsonArray) throws JSONException { - - StringBuilder converted = new StringBuilder(); - - /* - * TODO: - * Check out if better JSON.jar exists, since this one is outdated and doesn't even have an Iterator. - */ - for(int index = 0; index < jsonArray.length(); index++){ - Object value = jsonArray.get(index); - converted.append( XML_VALUE_START_TAG ); - /* - * And here comes the ugly instanceof checks - */ - if(value instanceof JSONObject) { - converted.append( convertJSONObjectToXMLString(JSONObject.class.cast( value )) ); - }else if(value instanceof JSONArray) { - converted.append( convertJSONArrayToXMLString(JSONArray.class.cast( value )) ); - }else { - /* - * Should technically only contain JSONArray or JSONObject, b/c we are now using generic value XML tag - * and assuming this to be known. - */ - converted.append( value.toString() ); - } - - converted.append( XML_VALUE_END_TAG ); - } - - return converted.toString(); - } - - public static JSONArray convertJavaDateToASDateConstructorArguments(Calendar toConvert){ - JSONArray dateConstructorArguments = new JSONArray(); - - dateConstructorArguments.put(toConvert.get(Calendar.YEAR)); - dateConstructorArguments.put(toConvert.get(Calendar.MONTH)); - dateConstructorArguments.put(toConvert.get(Calendar.DATE)); - dateConstructorArguments.put(toConvert.get(Calendar.HOUR_OF_DAY)); - dateConstructorArguments.put(toConvert.get(Calendar.MINUTE)); - dateConstructorArguments.put(toConvert.get(Calendar.SECOND)); - dateConstructorArguments.put(toConvert.get(Calendar.MILLISECOND)); - - return dateConstructorArguments; - } - -} diff --git a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/ReflectionHelperUtil.java b/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/ReflectionHelperUtil.java deleted file mode 100644 index d0554e3d..00000000 --- a/jsf-flex-shared/core/src/main/java/com/googlecode/jsfFlex/shared/util/ReflectionHelperUtil.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.util; - -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; - -/** - * - * Helper class for performing reflection related tasks - * - * @author Ji Hoon Kim - */ -public final class ReflectionHelperUtil { - - private ReflectionHelperUtil(){ - super(); - } - - public static Object getValue(Object objectInstance, String methodToInvoke) throws NoSuchMethodException, InvocationTargetException, - IllegalAccessException { - - Method method = objectInstance.getClass().getMethod(methodToInvoke); - Object retVal = method.invoke(objectInstance); - - return retVal; - } - - public static Object invokeMethod(Object objectInstance, String methodToInvoke, Class[] parameterTypes, Object[] instanceParameters) - throws NoSuchMethodException, InvocationTargetException, - IllegalAccessException { - - Method method = objectInstance.getClass().getMethod(methodToInvoke, parameterTypes); - Object retVal = method.invoke(objectInstance, instanceParameters); - - return retVal; - } - -} diff --git a/jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-componentValueMapperXML.vm b/jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-componentValueMapperXML.vm deleted file mode 100644 index 87e545b9..00000000 --- a/jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-componentValueMapperXML.vm +++ /dev/null @@ -1,43 +0,0 @@ - - - #foreach( $classInfo in $classSet ) - - - #foreach( $fullClassName in ${classInfo.getFullClassNames()} ) - ${fullClassName} - #end - - - #foreach( $nodeInfo in ${classInfo.getNodeList()} ) - - ${nodeInfo.getHtmlType()} - - - type - ${nodeInfo.getTypeAttributeValue()} - - - value - #if ( ${nodeInfo.isValueNested()} ) - - #foreach( $nestedValue in ${nodeInfo.getNestedList()} ) - ${nestedValue} - #end - - #else - ${nodeInfo.getValueAttributeValue()} - #end - - - name - ${nodeInfo.getNameAttributeValue()} - - - - #end - - - #end - \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-flexConstants.vm b/jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-flexConstants.vm deleted file mode 100644 index bfd10a66..00000000 --- a/jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-flexConstants.vm +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 - http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab - http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash - - - #foreach( $swcActionScriptFile in ${swcActionScriptFileSet} ) - ${swcActionScriptFile.getActionScriptFileForJarAccess()} - #end - - - com/googlecode/jsfFlex/shared/swfSourceFiles/componentValueMapper.xml - - com/googlecode/jsfFlex/shared/tasks/jsfFlexMainSwcConfigurationFile.xml - - diff --git a/jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-jsfFlexMainSwcConfigurationFile.vm b/jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-jsfFlexMainSwcConfigurationFile.vm deleted file mode 100644 index 82f9fed3..00000000 --- a/jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-jsfFlexMainSwcConfigurationFile.vm +++ /dev/null @@ -1,8 +0,0 @@ - - - - #foreach( $swcActionScriptFile in ${swcActionScriptFileSet} ) - ${swcActionScriptFile.getActionScriptFile()} - #end - - \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/component/DataGridColumnServiceRequest.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/component/DataGridColumnServiceRequest.as deleted file mode 100644 index ba257310..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/component/DataGridColumnServiceRequest.as +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.component -{ - import flash.utils.clearInterval; - import flash.utils.setInterval; - - import mx.collections.ListCollectionView; - import mx.rpc.events.ResultEvent; - - import com.googlecode.jsfFlex.communication.logger.ILogger; - import com.googlecode.jsfFlex.communication.logger.LoggerFactory; - import com.googlecode.jsfFlex.communication.services.JsfFlexHttpService; - import com.googlecode.jsfFlex.communication.utils.WebConstants; - - internal class DataGridColumnServiceRequest { - - private static const UPDATE_MODIFIED_DATA_FIELD_SERVICE_REQUEST_URL:String = WebConstants.WEB_CONTEXT_PATH - + "/jsfFlexHttpServiceRequestListener/updateModifiedDataFieldServiceRequest"; - private static const UPDATE_MODIFIED_DATA_FIELD:String = "updateModifiedDataField"; - - private static var _log:ILogger; - - private var _columnId:String; - private var _dataField:String; - private var _dataGridColumnEditable:Boolean; - - private var _modifiedDataFieldObjectArray:Array; - - private var _dataGridServiceRequest:DataGridServiceRequest; - private var _clearIntervalRef:int; - - { - _log = LoggerFactory.newJSLoggerInstance(DataGridColumnServiceRequest); - } - - public function DataGridColumnServiceRequest(columnId:String, dataField:String, - dataGridColumnEditable:Boolean, dataGridServiceRequest:DataGridServiceRequest) { - super(); - _columnId = columnId; - _dataField = dataField; - _dataGridColumnEditable = dataGridColumnEditable; - - _modifiedDataFieldObjectArray = []; - - _dataGridServiceRequest = dataGridServiceRequest; - _clearIntervalRef = -1; - } - - internal function activateRequestCacheChangeFlushListener():void { - if(_clearIntervalRef == -1){ - _clearIntervalRef = setInterval( requestCacheChangeFlush, 8000); - } - } - - internal function deActivateRequestCacheChangeFlushListener():void { - clearInterval(_clearIntervalRef); - _clearIntervalRef = -1; - } - - internal function flushCacheChanges():void { - _log.debug("Was informed to flushCacheChanges explicitly with unflushed cache changes of length : " + _modifiedDataFieldObjectArray.length); - requestCacheChangeFlush(); - } - - internal function addModifiedDataField(modifiedDataFieldObject:Object):void { - _modifiedDataFieldObjectArray.push(modifiedDataFieldObject); - } - - internal function get columnId():String { - return _columnId; - } - - internal function get dataField():String { - return _dataField; - } - - internal function get dataGridColumnEditable():Boolean { - return _dataGridColumnEditable; - } - - internal function updateColumnDisplayEntries(columnEntries:ListCollectionView, populateCacheStartIndex:uint, fullDataRequest:Boolean):void { - var dataGridDataProvider:ListCollectionView = _dataGridServiceRequest.dataGridDataProvider; - - var k:uint = 0; - for(; k < columnEntries.length; k++, populateCacheStartIndex++){ - var currObject:Object = dataGridDataProvider.getItemAt(populateCacheStartIndex); - currObject[_dataField] = columnEntries.getItemAt(k).toString(); - } - - /* - * if columnEntries length < batchColumnDataRetrievalSize, - * must populate the remaining entries with empty data and - * set the disableEditPosition for DataGridServiceRequest, so user - * won't be able to modify the values from thereforth. - */ - var endIndex:uint = fullDataRequest ? _dataGridServiceRequest.cacheSize : _dataGridServiceRequest.batchColumnDataRetrievalSize; - - if(k < endIndex){ - _dataGridServiceRequest.disableEditPosition = populateCacheStartIndex; - for(; k < endIndex; k++, populateCacheStartIndex++){ - dataGridDataProvider.setItemAt({}, populateCacheStartIndex); - } - } - } - - private function requestCacheChangeFlush():void { - if(_modifiedDataFieldObjectArray.length == 0){ - return; - } - _log.debug("Implicit timed flushCacheChanges invocation with unflushed cache changes of length : " + _modifiedDataFieldObjectArray.length); - var dataRequestParameters:Object = {}; - dataRequestParameters.componentId = _dataGridServiceRequest.dataGridId; - dataRequestParameters.COLUMN_DATA_FIELD = _dataField; - dataRequestParameters.methodToInvoke = UPDATE_MODIFIED_DATA_FIELD; - - var requestKeys:String = ""; - while(_modifiedDataFieldObjectArray.length > 0){ - var currModifiedDataFieldObject:Object = _modifiedDataFieldObjectArray.pop(); - requestKeys += currModifiedDataFieldObject.actualRowIndex + ","; - dataRequestParameters[String(currModifiedDataFieldObject.actualRowIndex)] = currModifiedDataFieldObject.modifiedValue; - } - dataRequestParameters.REQUEST_KEYS = requestKeys; - - var jsfFlexHttpServiceRequest:JsfFlexHttpService = new JsfFlexHttpService(); - jsfFlexHttpServiceRequest.sendHttpRequest(UPDATE_MODIFIED_DATA_FIELD_SERVICE_REQUEST_URL, this, - function (lastResult:Object, event:ResultEvent):void { - - var resultCode:String = lastResult[WebConstants.RESULT_CODE]; - _log.info("Returned from : " + UPDATE_MODIFIED_DATA_FIELD + - " of " + _dataGridServiceRequest.dataGridId + " with resultCode : " + resultCode); - }, dataRequestParameters, JsfFlexHttpService.POST_METHOD, JsfFlexHttpService.FLASH_VARS_RESULT_FORMAT, null); - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/component/DataGridServiceRequest.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/component/DataGridServiceRequest.as deleted file mode 100644 index fdc3919a..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/component/DataGridServiceRequest.as +++ /dev/null @@ -1,795 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * TODO : Implement better later - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.component -{ - import flash.events.Event; - import flash.utils.Dictionary; - - import mx.collections.ArrayCollection; - import mx.collections.ListCollectionView; - import mx.collections.Sort; - import mx.collections.SortField; - import mx.controls.DataGrid; - import mx.controls.dataGridClasses.DataGridColumn; - import mx.core.DragSource; - import mx.core.UIComponent; - import mx.events.CollectionEvent; - import mx.events.CollectionEventKind; - import mx.events.DataGridEvent; - import mx.events.DragEvent; - import mx.managers.DragManager; - import mx.rpc.events.ResultEvent; - - import com.googlecode.jsfFlex.communication.core.ComponentValueMapper; - import com.googlecode.jsfFlex.communication.event.helper.ItemSelectHelper; - import com.googlecode.jsfFlex.communication.event.helper.ScrollEventHelper; - import com.googlecode.jsfFlex.communication.logger.ILogger; - import com.googlecode.jsfFlex.communication.logger.LoggerFactory; - import com.googlecode.jsfFlex.communication.services.JsfFlexHttpService; - import com.googlecode.jsfFlex.communication.utils.JsfFlexUtils; - import com.googlecode.jsfFlex.communication.utils.WebConstants; - - public class DataGridServiceRequest { - - private static const ADD_DATA_ENTRY_SERVICE_REQUEST_URL:String = WebConstants.WEB_CONTEXT_PATH - + "/jsfFlexHttpServiceRequestListener/addDataEntryServiceRequest"; - private static const GET_GRID_DATA_SERVICE_REQUEST_URL:String = WebConstants.WEB_CONTEXT_PATH - + "/jsfFlexHttpServiceRequestListener/getGridDataServiceRequest"; - private static const REMOVE_DATA_ENTRY_SERVICE_REQUEST_URL:String = WebConstants.WEB_CONTEXT_PATH - + "/jsfFlexHttpServiceRequestListener/removeDataEntryServiceRequest"; - private static const SORT_DATA_ENTRY_SERVICE_REQUEST_URL:String = WebConstants.WEB_CONTEXT_PATH - + "/jsfFlexHttpServiceRequestListener/sortDataEntryServiceRequest"; - private static const UPDATE_ROW_SELECTION_SERVICE_REQUEST_URL:String = WebConstants.WEB_CONTEXT_PATH - + "/jsfFlexHttpServiceRequestListener/updateRowSelectionServiceRequest"; - - private static const ADD_DATA_ENTRY:String = "addDataEntry"; - private static const GET_GRID_DATA:String = "getGridData"; - private static const REMOVE_DATA_ENTRY:String = "removeDataEntry"; - private static const SORT_DATA_ENTRY:String = "sortDataEntry"; - private static const UPDATE_ROW_SELECTION_ENTRY:String = "updateRowSelectionEntry"; - - private static const ADD_DATA_ENTRY_DELIM:String = "_DELIM_"; - private static const DRAG_SOURCE_DATA:String = "items"; - - private static var _log:ILogger; - - /* - * Field for tracking modification of values within dataProvider - */ - private var _currDataFieldWithFocus:String; - private var _disableEditPosition:int; - - /* - * Fields for tracking scroll event, meaning whether to request for - * additional data from the server side if _dataPartitioned is set to true - */ - private var _checkingScrollState:Boolean; - private var _scrollEnabled:Boolean; - private var _scrollEventHelper:ScrollEventHelper; - - /* - * Fields for tracking sorting event of columns, meaning to sort the data - * on the server side - */ - private var _currColumnSortedAscending:Boolean; - private var _currColumnSortedDataField:String; - - /* - * Fields for data partitioning - */ - private var _batchColumnDataRetrievalSize:uint; - private var _cacheSize:uint; - private var _currentInitialHalfDataPartitionIndex:uint; - private var _dataPartitioned:Boolean; - private var _maxDataPartitionIndex:uint; - private var _numberOfWaitingGridDataRequest:uint; - - private var _dataFieldToDataGridColumnEntriesDictionary:Dictionary; - private var _dataGridComp:DataGrid; - private var _dataGridCompEditable:Boolean; - private var _dataGridDataProvider:ListCollectionView; - - private var _filterComponent:UIComponent; - private var _filterColumnComponent:UIComponent; - private var _filterEventListener:String; - - /* - * Helper to keep track of elements that have been selected. Technically this is to - * assist in keeping track of selected elements on the server side - */ - private var _itemSelectHelper:ItemSelectHelper; - - { - _log = LoggerFactory.newJSLoggerInstance(DataGridServiceRequest); - } - - public function DataGridServiceRequest(dataGridId:String, batchColumnDataRetrievalSize:uint, - maxDataPartitionIndex:uint, filterComponentId:String, - filterColumnComponentId:String, filterEventListener:String) { - super(); - var app:UIComponent = JsfFlexUtils.getCurrentApplication(); - _dataGridComp = app[dataGridId]; - _dataGridComp.variableRowHeight = true; - _dataGridCompEditable = _dataGridComp.editable; - - _dataFieldToDataGridColumnEntriesDictionary = new Dictionary(); - - if(filterComponentId.length > 0){ - _filterComponent = app[filterComponentId]; - _filterEventListener = filterEventListener; - if(filterColumnComponentId.length > 0){ - _filterColumnComponent = app[filterColumnComponentId]; - } - } - - /* - * Internal setting of the fields for possible dataPartitioning - */ - resetDataPartitionParameters(maxDataPartitionIndex, batchColumnDataRetrievalSize); - } - - /* - * This method will be invoked after the constructor has been created and all DataGridColumnServiceRequest - * objects have been added to the current instance. Main purpose is to have a single loop to set the reference - * to DataGridColumn component and to start off ScrollEventHelper if data has been partitioned - */ - public function initialize():void { - - for each(var dataGridColumn:DataGridColumn in _dataGridComp.columns){ - var currDataGridColumnEntry:Object = _dataFieldToDataGridColumnEntriesDictionary[dataGridColumn.dataField]; - currDataGridColumnEntry.dataGridColumn = dataGridColumn; - } - - _currColumnSortedAscending = true; - _currColumnSortedDataField = _dataGridComp.columns[0].dataField; - - getFullGridData(); - } - - private function resetDataPartitionParameters(maxDataPartitionIndex:uint, batchColumnDataRetrievalSize:uint):void { - - _maxDataPartitionIndex = maxDataPartitionIndex; - _batchColumnDataRetrievalSize = batchColumnDataRetrievalSize; - - _dataPartitioned = _maxDataPartitionIndex > 0; - _cacheSize = _dataPartitioned ? (_batchColumnDataRetrievalSize * 2) : _batchColumnDataRetrievalSize; - - _scrollEnabled = _maxDataPartitionIndex > 1; - if(_scrollEnabled && _scrollEventHelper == null){ - _scrollEventHelper = new ScrollEventHelper(_dataGridComp, this, scrollAdditionalDataRetrievalCheck); - } - - if(_scrollEventHelper != null){ - _scrollEventHelper[!_scrollEnabled ? "deActivateListener" : "activateListener"](); - } - - if(_itemSelectHelper == null){ - _itemSelectHelper = new ItemSelectHelper(_dataGridComp); - } - - clearDataGridDataProvider(); - - _log.debug("Have reset maxDataPartitionIndex : " + _maxDataPartitionIndex + " _batchColumnDataRetrievalSize : " + - _batchColumnDataRetrievalSize + " of " + _dataGridComp.id); - } - - private function clearDataGridDataProvider():void { - - /* - * remove all the entries within dataProvider and add empty objects with hidden row index - */ - _dataGridDataProvider = new ArrayCollection(); - - for(var i:uint=0; i < _cacheSize; i++){ - _dataGridDataProvider.addItem({}); - } - - _dataGridComp.dataProvider = _dataGridDataProvider; - - } - - private function computeActualCacheStartIndex():uint { - return _currentInitialHalfDataPartitionIndex * _batchColumnDataRetrievalSize; - } - - public function addDataGridColumServiceRequest(dataGridColumnId:String, dataField:String, columnEditable:Boolean):void { - //provide whether column is editable or not - var dataGridColumnEditable:Boolean = columnEditable ? true : _dataGridCompEditable; - var dataGridColumnServiceRequest:DataGridColumnServiceRequest = new DataGridColumnServiceRequest(dataGridColumnId, dataField, - dataGridColumnEditable, this); - - _dataFieldToDataGridColumnEntriesDictionary[dataField] = {dataGridColumnServiceRequest: dataGridColumnServiceRequest, dataGridColumn: null }; - _log.debug("Added dataGridColumnId : " + dataGridColumnId + " for dataField : " + dataField + " with columnEditable : " + - columnEditable + " to DataGridServiceRequest"); - } - - public function getFullGridData():void { - - var dataStartIndex:uint = computeActualCacheStartIndex(); - var dataEndIndex:uint = dataStartIndex + _cacheSize; - - getGridData(dataStartIndex, dataEndIndex, 0); - } - - public function getPartitionData(dataFetchPartitionIndex:uint, populateCacheStartIndex:uint):void { - - var dataStartIndex:uint = dataFetchPartitionIndex * _batchColumnDataRetrievalSize; - var dataEndIndex:uint = dataStartIndex + _batchColumnDataRetrievalSize; - - getGridData(dataStartIndex, dataEndIndex, populateCacheStartIndex); - } - - public function getGridData(dataStartIndex:uint, dataEndIndex:uint, populateCacheStartIndex:uint):void { - - _numberOfWaitingGridDataRequest++; - _disableEditPosition = _cacheSize; - - for each(var dataGridColumnEntry:Object in _dataFieldToDataGridColumnEntriesDictionary){ - //disable editing for DataGridColumn component - dataGridColumnEntry.dataGridColumn.editable = false; - } - - var filterValue:String = ""; - var filterColumnValue:String = ""; - if(_filterComponent != null){ - var compValMapper:ComponentValueMapper = ComponentValueMapper.getInstance(JsfFlexUtils.getCurrentApplication()); - filterValue = compValMapper.getCompValue(_filterComponent.id)[0].value; - - if(_filterColumnComponent != null){ - filterColumnValue = compValMapper.getCompValue(_filterColumnComponent.id)[0].value; - }else{ - //assume it to be the current sorted column - filterColumnValue = _currColumnSortedDataField; - } - } - - var fullDataRequest:Boolean = (dataEndIndex - dataStartIndex) > _batchColumnDataRetrievalSize; - var dataRequestParameters:Object = {}; - dataRequestParameters.componentId = _dataGridComp.id; - dataRequestParameters.methodToInvoke = GET_GRID_DATA; - dataRequestParameters.DATA_START_INDEX = dataStartIndex; - dataRequestParameters.DATA_END_INDEX = dataEndIndex; - dataRequestParameters.FILTER_VALUE = filterValue; - dataRequestParameters.FILTER_COLUMN_VALUE = filterColumnValue; - - _log.debug("GriData for " + _dataGridComp.id + " with dataStartIndex : " + dataStartIndex + - ", with dataEndIndex : " + dataEndIndex + ", filterValue " + filterValue + ", and with populateCacheStartIndex " + populateCacheStartIndex); - var jsfFlexHttpServiceRequest:JsfFlexHttpService = new JsfFlexHttpService(); - jsfFlexHttpServiceRequest.sendHttpRequest(GET_GRID_DATA_SERVICE_REQUEST_URL, this, - function (lastResult:Object, event:ResultEvent):void { - _log.info("Returned from : " + GET_GRID_DATA + - " of " + _dataGridComp.id); - - if(lastResult.MAX_DATA_PARTITION_INDEX != undefined){ - resetDataPartitionParameters(parseInt(lastResult.MAX_DATA_PARTITION_INDEX), - parseInt(lastResult.BATCH_COLUMN_DATA_RETRIEVAL_SIZE)); - delete lastResult.MAX_DATA_PARTITION_INDEX; - delete lastResult.BATCH_COLUMN_DATA_RETRIEVAL_SIZE; - } - - for each(var dataGridColumnEntry:Object in _dataFieldToDataGridColumnEntriesDictionary){ - var gridColumnServiceRequest:Object = dataGridColumnEntry.dataGridColumnServiceRequest; - var gridColumnContent:ListCollectionView = null; - - if(lastResult[gridColumnServiceRequest.dataField].VALUE is ListCollectionView){ - gridColumnContent = lastResult[gridColumnServiceRequest.dataField].VALUE; - }else{ - gridColumnContent = new ArrayCollection(); - gridColumnContent.addItem(lastResult[gridColumnServiceRequest.dataField].VALUE); - } - - gridColumnServiceRequest.updateColumnDisplayEntries(gridColumnContent, populateCacheStartIndex, fullDataRequest); - } - - notifyRetrievalOfColumnData(); - }, dataRequestParameters, JsfFlexHttpService.POST_METHOD, JsfFlexHttpService.OBJECT_RESULT_FORMAT, null); - - } - - public function flushCacheChanges():void { - deActivateListener(); - - for each(var dataGridColumnEntry:Object in _dataFieldToDataGridColumnEntriesDictionary){ - dataGridColumnEntry.dataGridColumnServiceRequest.flushCacheChanges(); - } - } - - public function scrollAdditionalDataRetrievalCheck():void { - _scrollEventHelper.lockScrollParameters(); - - if(_checkingScrollState){ - _scrollEventHelper.unLockScrollParameters(); - return; - } - - _checkingScrollState = true; - - var fetchData:Boolean; - var dataFetchPartitionIndex:uint; - var selectedIndex:int = -1; - var viewScrollPosition:int; - - var cacheIndex:uint = Math.floor( (_scrollEventHelper.verticalScrollPosition / _batchColumnDataRetrievalSize) ); - var currentDataPartitionIndex:uint = cacheIndex + _currentInitialHalfDataPartitionIndex, - updateSelectionPartitionIndex:uint = currentDataPartitionIndex; - - if(_scrollEventHelper.scrolledDown){ - if(cacheIndex == 1 && ((_batchColumnDataRetrievalSize - (_scrollEventHelper.verticalScrollPosition % _batchColumnDataRetrievalSize)) - < _dataGridComp.rowCount) && (currentDataPartitionIndex < _maxDataPartitionIndex)){ - /* - * increment _currentInitialHalfDataPartitionIndex and fetch the data - */ - - _currentInitialHalfDataPartitionIndex++; - dataFetchPartitionIndex = currentDataPartitionIndex + 1; - - if(_dataGridComp.selectedIndex != -1){ - selectedIndex = _dataGridComp.selectedIndex - _batchColumnDataRetrievalSize - 1; - } - viewScrollPosition = _dataGridComp.verticalScrollPosition - _batchColumnDataRetrievalSize; - fetchData = true; - } - }else{ - if(cacheIndex == 0 && ((_scrollEventHelper.verticalScrollPosition % _batchColumnDataRetrievalSize) < _dataGridComp.rowCount) - && currentDataPartitionIndex > 0){ - /* - * decrement _currentInitialHalfDataPartitionIndex and fetch the data - */ - - _currentInitialHalfDataPartitionIndex--; - dataFetchPartitionIndex = currentDataPartitionIndex - 1; - - if(_dataGridComp.selectedIndex != -1){ - selectedIndex = _dataGridComp.selectedIndex + _batchColumnDataRetrievalSize + 1; - } - viewScrollPosition = _dataGridComp.verticalScrollPosition + _batchColumnDataRetrievalSize; - fetchData = true; - } - } - - if(fetchData){ - /* - * Need to fetch additional data, note that .5 cacheSize will - * be fetched with the other .5 remaining for better user experience - */ - deActivateListener(); - - alterPropertiesForScrollServiceRequest(dataFetchPartitionIndex, viewScrollPosition, selectedIndex); - var populateCacheStartIndex:uint = !_scrollEventHelper.scrolledDown ? 0 : _batchColumnDataRetrievalSize; - _log.debug("Fetching additional data due to scroll with dataFetchPartitionIndex : " + dataFetchPartitionIndex + " and populateCacheStartIndex : " + populateCacheStartIndex); - updateRowSelection(updateSelectionPartitionIndex, _currentInitialHalfDataPartitionIndex, this, getPartitionData, [dataFetchPartitionIndex, populateCacheStartIndex]); - - }else{ - _scrollEventHelper.resetState(_dataGridComp.verticalScrollPosition); - _scrollEventHelper.unLockScrollParameters(); - } - - _checkingScrollState = false; - - } - - internal function get batchColumnDataRetrievalSize():uint { - return _batchColumnDataRetrievalSize; - } - - internal function get cacheSize():uint { - return _cacheSize; - } - - internal function get dataGridDataProvider():ListCollectionView { - return _dataGridDataProvider; - } - - internal function get dataGridId():String { - return _dataGridComp.id; - } - - internal function set disableEditPosition(disableEditPosition:int):void { - _disableEditPosition = disableEditPosition; - } - - private function notifyRetrievalOfColumnData():void { - _numberOfWaitingGridDataRequest--; - if(_numberOfWaitingGridDataRequest == 0){ - activateListener(); - - _dataGridComp.editable = _dataGridCompEditable; - for each(var dataGridColumnEntry:Object in _dataFieldToDataGridColumnEntriesDictionary){ - //set the editable field for DataGridColumn component - dataGridColumnEntry.dataGridColumn.editable = dataGridColumnEntry.dataGridColumnServiceRequest.dataGridColumnEditable; - } - - var dataHeightStartIndex:uint = _dataGridComp.verticalScrollPosition; - _dataGridComp.height = _dataGridComp.measureHeightOfItems(dataHeightStartIndex, _dataGridComp.rowCount) + _dataGridComp.headerHeight; - - _dataGridComp.invalidateList(); - } - } - - private function activateListener():void { - - if(_scrollEnabled){ - _scrollEventHelper.unLockScrollParameters(); - _scrollEventHelper.activateListener(); - } - - if(_dataGridComp.dragEnabled){ - _dataGridComp.addEventListener(DragEvent.DRAG_COMPLETE, dragSourceDragCompleteListener, false, 0, true); - } - - if(_dataGridComp.dropEnabled){ - _dataGridComp.addEventListener(DragEvent.DRAG_DROP, dragSourceDragDropListener, false, 0, true); - } - - if(_filterComponent != null){ - _filterComponent.addEventListener(_filterEventListener, filterChangedListener, false, 0, true); - } - - _dataGridComp.addEventListener(DataGridEvent.HEADER_RELEASE, columnSortListener, false, -10, true); - - _dataGridComp.addEventListener(DataGridEvent.ITEM_EDIT_BEGINNING, itemEditBeginListener, false, 0, true); - _dataGridComp.addEventListener(DataGridEvent.ITEM_EDIT_END, initialValueListener, false, 0, true); - _dataGridComp.addEventListener(DataGridEvent.ITEM_EDIT_END, possiblyModifiedValueListener, false, -60, true); - - for each(var dataGridColumnEntry:Object in _dataFieldToDataGridColumnEntriesDictionary){ - dataGridColumnEntry.dataGridColumnServiceRequest.activateRequestCacheChangeFlushListener(); - } - - } - - private function deActivateListener():void { - - if(_scrollEnabled){ - _scrollEventHelper.deActivateListener(); - } - - if(_dataGridComp.dragEnabled){ - _dataGridComp.removeEventListener(DragEvent.DRAG_COMPLETE, dragSourceDragCompleteListener); - } - - if(_dataGridComp.dropEnabled){ - _dataGridComp.removeEventListener(DragEvent.DRAG_DROP, dragSourceDragDropListener); - } - - if(_filterComponent != null){ - _filterComponent.removeEventListener(_filterEventListener, filterChangedListener); - } - - _dataGridComp.removeEventListener(DataGridEvent.HEADER_RELEASE, columnSortListener); - - _dataGridComp.removeEventListener(DataGridEvent.ITEM_EDIT_BEGINNING, itemEditBeginListener); - _dataGridComp.removeEventListener(DataGridEvent.ITEM_EDIT_END, initialValueListener); - _dataGridComp.removeEventListener(DataGridEvent.ITEM_EDIT_END, possiblyModifiedValueListener); - - for each(var dataGridColumnEntry:Object in _dataFieldToDataGridColumnEntriesDictionary){ - dataGridColumnEntry.dataGridColumnServiceRequest.deActivateRequestCacheChangeFlushListener(); - } - - } - - private function alterPropertiesForScrollServiceRequest(dataFetchPartitionIndex:uint, viewScrollPosition:int, selectedIndex:int):void { - - //disable editing for the DataGrid component - _dataGridComp.editable = false; - - var removeIndex:uint = _scrollEventHelper.scrolledDown ? 0 : _batchColumnDataRetrievalSize; - - /* - * First remove the elements - */ - for(var p:uint = 0; p < _batchColumnDataRetrievalSize; p++){ - _dataGridDataProvider.removeItemAt(removeIndex); - } - - /* - * Now add empty elements - */ - if(_scrollEventHelper.scrolledDown){ - - for(var i:uint = 0; i < _batchColumnDataRetrievalSize; i++){ - _dataGridDataProvider.addItem({}); - } - }else{ - - for(var k:uint = 0; k < _batchColumnDataRetrievalSize; k++){ - _dataGridDataProvider.addItemAt({}, k); - } - } - - viewScrollPosition = viewScrollPosition < 0 ? 0 : viewScrollPosition; - _dataGridComp.scrollToIndex(viewScrollPosition); - _scrollEventHelper.resetState(viewScrollPosition); - - /* - * HACK to set the selectedIndex field - */ - if(selectedIndex != -1){ - _dataGridComp.selectedIndex = selectedIndex < 0 ? 0 : selectedIndex; - } - } - - private function columnSortListener(event:DataGridEvent):void { - - event.preventDefault(); - deActivateListener(); - - flushCacheChanges(); - updateRowSelection(_currentInitialHalfDataPartitionIndex, _currentInitialHalfDataPartitionIndex); - - var sortColumnDataField:String = event.dataField; - var scrollPosition:uint = _dataGridComp.verticalScrollPosition; - - _currColumnSortedAscending = sortColumnDataField == _currColumnSortedDataField ? !_currColumnSortedAscending : _currColumnSortedAscending; - _currColumnSortedDataField = sortColumnDataField; - - clearDataGridDataProvider(); - - _dataGridComp.scrollToIndex(scrollPosition); - - if(_scrollEnabled){ - _scrollEventHelper.resetState(scrollPosition); - } - - /* - * HACK to display the sort arrow - */ - _dataGridDataProvider.sort = new Sort(); - _dataGridDataProvider.sort.fields = [new SortField(_currColumnSortedDataField, false, _currColumnSortedAscending)]; - var refreshEvent:CollectionEvent = new CollectionEvent(CollectionEvent.COLLECTION_CHANGE); - refreshEvent.kind = CollectionEventKind.REFRESH; - _dataGridDataProvider.dispatchEvent(refreshEvent); - - var sortRequestParameters:Object = {}; - sortRequestParameters.componentId = _dataGridComp.id; - sortRequestParameters.methodToInvoke = SORT_DATA_ENTRY; - sortRequestParameters.COLUMN_DATA_FIELD_TO_SORT_BY = _currColumnSortedDataField; - sortRequestParameters.SORT_ASCENDING = _currColumnSortedAscending; - - _log.debug("Requesting column sort with columnDataFieldToSortBy : " + _currColumnSortedDataField + " and sortAscending : " + _currColumnSortedAscending); - var jsfFlexHttpServiceRequest:JsfFlexHttpService = new JsfFlexHttpService(); - jsfFlexHttpServiceRequest.sendHttpRequest(SORT_DATA_ENTRY_SERVICE_REQUEST_URL, this, - function (lastResult:Object, event:ResultEvent):void { - - var resultCode:String = lastResult[WebConstants.RESULT_CODE]; - - _log.info("Returned from : " + SORT_DATA_ENTRY + - " of " + _dataGridComp.id + " with resultCode : " + resultCode); - if(resultCode == "true"){ - //now fetch the new data - getFullGridData(); - } - - }, sortRequestParameters, JsfFlexHttpService.GET_METHOD, JsfFlexHttpService.FLASH_VARS_RESULT_FORMAT, null); - - } - - private function updateRowSelection(updateItemPartitionIndex:uint, fetchSelectionItemPartitionIndex:uint, - thisObject:Object=null, callBack:Function=null, argumentList:Array=null):void { - /* - * TODO: Allow tying a callback, so that it will be invoked after the updateRowSelection server call has - * been completed [simple but for later] - * - * Will send the rowIndexes that need to be selected and deselected to - * the server side. - */ - - var updateRowSelectionParameters:Object = {}; - updateRowSelectionParameters.componentId = _dataGridComp.id; - updateRowSelectionParameters.methodToInvoke = UPDATE_ROW_SELECTION_ENTRY; - updateRowSelectionParameters.DELTA_SELECTED_ENTRIES = _itemSelectHelper.deltaSelectedArray; - updateRowSelectionParameters.DELTA_DESELECTED_ENTRIES = _itemSelectHelper.deltaDeselectedArray; - updateRowSelectionParameters.UPDATE_ITEM_PARTITION_INDEX = updateItemPartitionIndex; - updateRowSelectionParameters.FETCH_SELECTION_ITEM_PARTITION_INDEX = fetchSelectionItemPartitionIndex; - updateRowSelectionParameters.SELECT_ALL = _itemSelectHelper.selectAll; - updateRowSelectionParameters.DESELECT_ALL = _itemSelectHelper.deselectAll; - - _itemSelectHelper.clearDeltas(); - - _log.debug("Requesting updateRowSelection with deltaSelectedEntries length : " + updateRowSelectionParameters.DELTA_SELECTED_ENTRIES.length + - ", deltaDeselectedEntries length : " + updateRowSelectionParameters.DELTA_DESELECTED_ENTRIES + ", and updateItemPartitionIndex : " + - updateItemPartitionIndex); - var jsfFlexHttpServiceRequest:JsfFlexHttpService = new JsfFlexHttpService(); - jsfFlexHttpServiceRequest.sendHttpRequest(UPDATE_ROW_SELECTION_SERVICE_REQUEST_URL, this, - function (lastResult:Object, event:ResultEvent):void { - - var resultCode:String = lastResult[WebConstants.RESULT_CODE]; - _log.info("Returned from : " + UPDATE_ROW_SELECTION_ENTRY + - " of " + _dataGridComp.id + " with : " + resultCode); - - /* - * Now need to select the rows that are kept in the server side - */ - if(lastResult.RETURNED_SELECT_ENTRIES != null){ - if(lastResult.RETURNED_SELECT_ENTRIES.VALUE is Array){ - _dataGridComp.selectedIndices = lastResult.RETURNED_SELECT_ENTRIES.VALUE; - }else{ - _dataGridComp.selectedIndices = [lastResult.RETURNED_SELECT_ENTRIES.VALUE]; - } - } - - if(callBack != null){ - callBack.apply(thisObject, argumentList); - } - }, updateRowSelectionParameters, JsfFlexHttpService.GET_METHOD, JsfFlexHttpService.OBJECT_RESULT_FORMAT, null); - - } - - private function dragSourceDragDropListener(event:DragEvent):void { - - if(event.action == DragManager.COPY || event.action == DragManager.MOVE){ - event.preventDefault(); - - var targetObj:DataGrid = event.currentTarget as DataGrid; - targetObj.hideDropFeedback(event); - - flushCacheChanges(); - - /* - * clear the deltas since the selectedIndices will be the added entry and - * will be set on the server side. - */ - _itemSelectHelper.clearDeltas(); - - var dragSource:DragSource = event.dragSource; - var dragSourceEntries:Array = dragSource.dataForFormat(DRAG_SOURCE_DATA) as Array; - var dropIndex:int = _dataGridComp.calculateDropIndex(event); - - /* - * Have the dropIndex, so send the request to add the entries to the backEnd - * [note that one needs to sort the entries before returning] - */ - var currentActualCacheStartIndex:uint = computeActualCacheStartIndex(); - var addEntryStartIndex:int = _dataGridDataProvider.length > dropIndex ? currentActualCacheStartIndex + dropIndex : 0; - var addEntryEndIndex:int = addEntryStartIndex + dragSourceEntries.length; - - var addDataRequestParameters:Object = {}; - addDataRequestParameters.componentId = _dataGridComp.id; - addDataRequestParameters.methodToInvoke = ADD_DATA_ENTRY; - addDataRequestParameters.ADD_ENTRY_START_INDEX = addEntryStartIndex; - addDataRequestParameters.ADD_ENTRY_END_INDEX = addEntryEndIndex; - - var index:uint = 0; - for each(var dragSourceEntry:Object in dragSourceEntries){ - - for each(var dataGridColumnEntry:Object in _dataFieldToDataGridColumnEntriesDictionary){ - - addDataRequestParameters[String(dataGridColumnEntry.dataGridColumn.dataField) + ADD_DATA_ENTRY_DELIM + index] = - dragSourceEntry[dataGridColumnEntry.dataGridColumn.dataField]; - } - index++; - } - - _log.debug("Requesting of addition of data of length : " + dragSourceEntries.length + " at position : " + addEntryStartIndex + " due to drag + drop event"); - var jsfFlexHttpServiceRequest:JsfFlexHttpService = new JsfFlexHttpService(); - jsfFlexHttpServiceRequest.sendHttpRequest(ADD_DATA_ENTRY_SERVICE_REQUEST_URL, this, - function (lastResult:Object, event:ResultEvent):void { - - var resultCode:String = lastResult[WebConstants.RESULT_CODE]; - - _log.info("Returned from : " + ADD_DATA_ENTRY + - " of " + _dataGridComp.id + " with resultCode : " + resultCode); - if(resultCode == "true"){ - resetDataPartitionParameters(parseInt(lastResult.MAX_DATA_PARTITION_INDEX), - parseInt(lastResult.BATCH_COLUMN_DATA_RETRIEVAL_SIZE)); - //now fetch the new data - getFullGridData(); - } - - }, addDataRequestParameters, JsfFlexHttpService.POST_METHOD, JsfFlexHttpService.FLASH_VARS_RESULT_FORMAT, null); - - } - - } - - private function dragSourceDragCompleteListener(event:DragEvent):void { - - if(event.action == DragManager.MOVE){ - event.preventDefault(); - - /* - * Clear the selection, since there will be nothing selected from the Grid - * of which data was moved from - */ - _itemSelectHelper.clearDeltas(); - - DragManager.showFeedback(DragManager.MOVE); - - var targetObj:DataGrid = event.currentTarget as DataGrid; - var selectedIndices:Array = targetObj.selectedIndices; - - /* - * Moved the entries, so send the request to remove them from the backEnd - */ - var removeDataRequestParameters:Object = {}; - removeDataRequestParameters.componentId = _dataGridComp.id; - removeDataRequestParameters.methodToInvoke = REMOVE_DATA_ENTRY; - - var currentActualCacheStartIndex:uint = computeActualCacheStartIndex(); - var deleteIndices:Array = []; - for(var i:uint=0, j:uint=selectedIndices.length; i < j; i++){ - deleteIndices.push((currentActualCacheStartIndex + selectedIndices[i])); - } - - removeDataRequestParameters.DELETE_INDICES = deleteIndices; - - _log.debug("Requesting of deletion of indices " + deleteIndices + " due to drag + drop event"); - var jsfFlexHttpServiceRequest:JsfFlexHttpService = new JsfFlexHttpService(); - jsfFlexHttpServiceRequest.sendHttpRequest(REMOVE_DATA_ENTRY_SERVICE_REQUEST_URL, this, - function (lastResult:Object, event:ResultEvent):void { - - var resultCode:String = lastResult[WebConstants.RESULT_CODE]; - - _log.info("Returned from : " + REMOVE_DATA_ENTRY + - " of " + _dataGridComp.id + " with resultCode : " + resultCode); - if(resultCode == "true"){ - resetDataPartitionParameters(parseInt(lastResult.MAX_DATA_PARTITION_INDEX), - parseInt(lastResult.BATCH_COLUMN_DATA_RETRIEVAL_SIZE)); - //now fetch the new data - getFullGridData(); - } - - }, removeDataRequestParameters, JsfFlexHttpService.POST_METHOD, JsfFlexHttpService.FLASH_VARS_RESULT_FORMAT, null); - } - - } - - private function filterChangedListener(event:Event):void { - _log.debug("Within filterChangedListener"); - - var compValMapper:ComponentValueMapper = ComponentValueMapper.getInstance(JsfFlexUtils.getCurrentApplication()); - var filterValue:String = compValMapper.getCompValue(_filterComponent.id)[0].value; - //if filterValue did not change skip the request - - - getFullGridData(); - } - - private function itemEditBeginListener(event:DataGridEvent):void { - _log.debug("Edit rowIndex is : " + event.rowIndex + " with disableEditPosition : " + _disableEditPosition); - if(event.rowIndex >= _disableEditPosition){ - event.preventDefault(); - } - } - - private function initialValueListener(event:DataGridEvent):void { - _currDataFieldWithFocus = _dataGridComp.selectedItem[event.dataField]; - } - - private function possiblyModifiedValueListener(event:DataGridEvent):void { - var currDataField:String = event.dataField; - var possiblyUpdatedValue:String = _dataGridComp.selectedItem[currDataField]; - if(possiblyUpdatedValue == _currDataFieldWithFocus){ - return; - } - - var dataGridColumnServiceRequest:DataGridColumnServiceRequest = _dataFieldToDataGridColumnEntriesDictionary[currDataField].dataGridColumnServiceRequest; - var currentActualCacheStartIndex:uint = computeActualCacheStartIndex(); - var actualRowIndex:int = currentActualCacheStartIndex + event.rowIndex; - dataGridColumnServiceRequest.addModifiedDataField({actualRowIndex: actualRowIndex, modifiedValue: possiblyUpdatedValue}); - _log.debug("Added the modified dataField " + possiblyUpdatedValue + "at " + actualRowIndex + " to " + dataGridColumnServiceRequest.columnId); - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/core/ComponentValueMapper.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/core/ComponentValueMapper.as deleted file mode 100644 index bad91e97..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/core/ComponentValueMapper.as +++ /dev/null @@ -1,350 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.core -{ - import flash.external.ExternalInterface; - import flash.events.Event; - import flash.net.URLLoader; - import flash.net.URLRequest; - import flash.net.URLVariables; - import flash.utils.getQualifiedClassName; - - import mx.core.UIComponent; - - import com.googlecode.jsfFlex.communication.logger.ILogger; - import com.googlecode.jsfFlex.communication.logger.LoggerFactory; - import com.googlecode.jsfFlex.communication.utils.WebConstants; - - public class ComponentValueMapper { - - default xml namespace = new Namespace("http://jsf-flex.googlecode.com/"); - - private static const JSON_RESULT:String = "jsonResult"; - - private static const LINE_FEED:String = "\n"; - private static const LINE_FEED_ESCAPER:RegExp = /LINE_FEED/g; - - private static const APPEND_E4X_ATTR:String = "@append"; - private static const NESTED_E4X_ATTR:String = "@nested"; - private static const DYNAMIC_E4X_ATTR:String = "@dynamic"; - - private static const AS_GET_COMP_VALUE_FUNCTION:String = "getCompValue"; - private static const COMP_VALUE_MAPPER:String = WebConstants.WEB_CONTEXT_PATH + "/swf/componentValueMapper.xml"; - private static const NULL_STRING:String = "null"; - private static const VALUE_ASSIGNMENT_STATEMENT:String = "value="; - private static const VALUE_ATTR:String = "value"; - - private static const SPECIFIC_OBJECT_TYPE_INIT:String = "specificObjectTypeInit"; - private static const DATE_OBJECT:String = "Date"; - - private static var _compValueMapper:XML; - private static var _loader:URLLoader; - - private static var _log:ILogger; - - private static var _componentValueMapperMap:Object = {}; - private var _refApp:UIComponent; - - { - _log = LoggerFactory.newJSLoggerInstance(ComponentValueMapper); - } - - public static function loadComponentValueMapperXML(thisObject:Object, callBack:Function):void { - - _loader = new URLLoader(); - - _loader.addEventListener(Event.COMPLETE, function (event:Event):void { - _loader.removeEventListener(Event.COMPLETE, arguments.callee); - _compValueMapper = new XML(_loader.data); - _loader = null; - _log.info("Have loaded componentValueMapper.xml"); - - callBack.call(thisObject, event); - }, false, 0, true); - - try{ - _loader.load(new URLRequest(COMP_VALUE_MAPPER)); - }catch(loadingError:Error){ - _log.error("Failure in loading of the componentValueMapper.xml file"); - } - - } - - public static function getInstance(refApp:UIComponent):ComponentValueMapper { - var currInstance:ComponentValueMapper = _componentValueMapperMap[refApp]; - if(currInstance == null){ - currInstance = new ComponentValueMapper(refApp); - _componentValueMapperMap[refApp] = currInstance; - } - return currInstance; - } - - public function ComponentValueMapper(refApp:UIComponent) { - super(); - _refApp = refApp; - } - - public function initialize():void { - try{ - ExternalInterface.addCallback(AS_GET_COMP_VALUE_FUNCTION, this.getCompValue); - }catch(callBackError:Error){ - trace("Failure in setting up of getCompValue callBack"); - _log.error("Failure in setting up of getCompValue callBack"); - } - _log.info("Finished with the initialization of " + _refApp["id"]); - } - - public function populateInitValues(appInfo:Object):void { - var initValueObjects:Array = appInfo.initValueObjects; - - for each (var currInitValueObject:Object in initValueObjects){ - - if(currInitValueObject.id == null || currInitValueObject.initValues == null){ - continue; - } - - var currId:String = currInitValueObject.id as String; - var initValues:Array = currInitValueObject.initValues; - for each (var currInitValue:Object in initValues){ - - var currValue:Object; - if(currInitValue.attribute != null && (currValue = currInitValue.value) != null && currInitValue.attribute is String){ - - var currAttr:String = currInitValue.attribute as String; - - if(currValue != null){ - var objectRef:Object; - - try{ - if(currValue is String){ - - var currValueString:String = currValue as String; - if(currValueString != NULL_STRING){ - objectRef = _refApp[currId]; - currValueString = unEscapeCharacters(currValueString); - if(objectRef.hasOwnProperty(currAttr)){ - objectRef[currAttr] = currValueString; - } - } - - }else{ - objectRef = _refApp[currId]; - if(currInitValue.specificObjectTypeInit != undefined){ - //TODO: Implement this better or find an alternative method - switch(currInitValue[SPECIFIC_OBJECT_TYPE_INIT]){ - case DATE_OBJECT: objectRef[currAttr] = ConstructActionScriptObject.constructDateObject(currValue as Array); break; - } - - }else{ - if(objectRef.hasOwnProperty(currAttr)){ - objectRef[currAttr] = currValue; - } - } - } - }catch(initValueSetterError:Error){ - trace("Failure in setting of id/value : " + currId + "/" + currValue + ", " + initValueSetterError.errorID + " " + initValueSetterError.message); - _log.error("Failure in setting of id/value : " + currId + "/" + currValue + ", " + initValueSetterError.errorID + " " + initValueSetterError.message); - } - } - } - } - } - - } - - private function unEscapeCharacters(toUnEscape:String):String { - //TODO : implement this better later - var toReturn:String = toUnEscape.replace(LINE_FEED_ESCAPER, LINE_FEED); - var toEscape:URLVariables = new URLVariables(); - var toDecode:String = VALUE_ASSIGNMENT_STATEMENT + toReturn; - toEscape.decode(toDecode); - return toEscape.value; - } - - public function getCompValue(id:String):Array { - if(id == null){ - return null; - } - - var objectRef:Object = _refApp[id]; - var className:String = getQualifiedClassName(objectRef); - if(className == null){ - return null; - } - - var classInfo:XMLList = getClassInfo(className); - if(classInfo == null || classInfo.length() < 1){ - return null; - } - - var classInfoNodes:XMLList = classInfo.nodeList.node; - if(classInfoNodes == null || classInfoNodes.length() < 1){ - return null; - } - - var valueToReturn:Array = []; - - for each (var classInfoNode:XML in classInfoNodes){ - var classInfoNodeAttributes:XMLList = classInfoNode.attributeList.attribute; - - for each (var attribute:XML in classInfoNodeAttributes){ - if(attribute.name.toString() == VALUE_ATTR){ - var attributeValueObject:Object = getAttributeValue(attribute, objectRef); - - if(attributeValueObject.value == null){ - continue; - } - valueToReturn.push(attributeValueObject); - } - } - } - - return valueToReturn; - } - - private function getAttributeValue(attribute:XML, objectRef:Object):Object { - - var attributeCheck:XMLList = attribute.value.(hasOwnProperty(APPEND_E4X_ATTR)); - var toAppend:String = (attributeCheck != null && attributeCheck.length() > 0) ? attribute.value.@append.toString() : new String(); - - attributeCheck = attribute.value.(hasOwnProperty(NESTED_E4X_ATTR)); - var isNested:Boolean = (attributeCheck != null && attributeCheck.length() > 0 && attribute.value.@nested.toString() == "true"); - attributeCheck = attribute.value.(hasOwnProperty(DYNAMIC_E4X_ATTR)); - var isDynamic:Boolean = (attributeCheck != null && attributeCheck.length() > 0 && attribute.value.@dynamic.toString() == "true"); - - var attributeValue:String; - var attributeId:String; - if(isNested){ - /* - * TODO : consider implementing it better later - * For certain cases [i.e. for RadioButton], one needs to access a reference to an object/property - * to get relevant information. The nested XML element symbolizes the object/property and the - * last element will represent the relevant value that one desires for. - */ - var nestedObjects:XMLList = attribute.value.nested; - for(var k:uint=0, p:uint=nestedObjects.length(); k < p; k++){ - if( k == (nestedObjects.length() - 1) ){ - //now set the attribute - attributeId = nestedObjects[k].toString(); - if(!objectRef.hasOwnProperty(attributeId)){ - break; - } - attributeValue = objectRef[attributeId]; - if(toAppend != null && toAppend.length > 0){ - attributeValue += toAppend; - } - break; - } - if(!objectRef.hasOwnProperty(nestedObjects[k].toString())){ - break; - } - objectRef = objectRef[nestedObjects[k].toString()]; - if(objectRef == null){ - attributeId = null; - attributeValue = null; - _log.warn("Failure in getting access to reference " + nestedObjects[k].toString()); - break; - } - } - }else{ - attributeId = attribute.value.toString(); - if(objectRef.hasOwnProperty(attributeId)){ - attributeValue = isDynamic ? objectRef[attributeId] : attributeId; - } - if(toAppend != null && toAppend.length > 0){ - attributeValue += toAppend; - } - } - - _log.debug("Returning from getAttributeValue: " + attributeId + ", " + attributeValue); - return {id: attributeId, value: attributeValue}; - } - - public function getJSON(appInfo:Object):Object { - var retVal:Array = []; - var initValueObjects:Array = appInfo.initValueObjects; - - for each (var currInitValueObject:Object in initValueObjects){ - var inspectedObject:Object = objectInfo(appInfo.appId, currInitValueObject.id as String); - if(inspectedObject != null){ - retVal.push(inspectedObject); - } - } - return {type: JSON_RESULT, result: retVal}; - } - - private function objectInfo(_appId:String, objectToGet:String):Object { - if(_appId == null || objectToGet == null){ - return null; - } - - var objectRef:Object = _refApp[objectToGet]; - var className:String = getQualifiedClassName(objectRef); - if(className == null){ - return null; - } - - var classInfo:XMLList = getClassInfo(className); - if(classInfo == null || classInfo.length() < 1){ - return null; - } - - var classInfoNodes:XMLList = classInfo.nodeList.node; - if(classInfoNodes == null || classInfoNodes.length() < 1){ - return null; - } - - var nodes:Array = []; - - for each (var classInfoNode:XML in classInfoNodes){ - var classInfoNodeAttributes:XMLList = classInfoNode.attributeList.attribute; - if(classInfoNodeAttributes == null){ - continue; - } - - var attributes:Array = []; - - for each (var classInfoNodeAttribute:XML in classInfoNodeAttributes){ - - var attributeValueObject:Object = getAttributeValue(classInfoNodeAttribute, objectRef); - - if(attributeValueObject.value == null){ - continue; - } - - attributes.push({attribute: classInfoNodeAttribute.name.toString(), value: attributeValueObject.value}); - - } - nodes.push({htmlType: classInfoNode.htmlType.toString(), attributeArray: attributes}); - } - - return nodes; - } - - private function getClassInfo(classNameVal:String):XMLList { - return _compValueMapper.classInfo.(classNames..*.(text()==classNameVal).length() > 0); - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/core/ConstructActionScriptObject.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/core/ConstructActionScriptObject.as deleted file mode 100644 index dc648de5..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/core/ConstructActionScriptObject.as +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * TODO: Implement this better or find an alternative method - * This class will provide static methods for construction of ActionScript Objects
- * One use is within ComponentValueMapper.as where conversion needs to take place
- * when setting of the initial values of the components. - * - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.core -{ - import flash.errors.IllegalOperationError; - - public class ConstructActionScriptObject { - - public function ConstructActionScriptObject(){ - throw new IllegalOperationError("ConstructActionScriptObject should be used statically"); - } - - public static function constructDateObject(dateConstructorArguments:Array):Date { - if(dateConstructorArguments == null || dateConstructorArguments.length < 7){ - return null; - } - return new Date(dateConstructorArguments[0], dateConstructorArguments[1], dateConstructorArguments[2], dateConstructorArguments[3], - dateConstructorArguments[4], dateConstructorArguments[5], dateConstructorArguments[6]); - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/AbstractEventHandler.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/AbstractEventHandler.as deleted file mode 100644 index 35b28889..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/AbstractEventHandler.as +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * TODO : Implement better later - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.event -{ - import flash.errors.IllegalOperationError; - import flash.events.Event; - import flash.events.EventDispatcher; - - import com.googlecode.jsfFlex.communication.utils.WebConstants; - - public class AbstractEventHandler { - - protected static const ASYNC_SERVICE_REQUEST_URL:String = WebConstants.WEB_CONTEXT_PATH - + "/jsfFlexHttpServiceRequestListener/ayncProcessRequestServiceRequest"; - protected static const ASYNC_PROCESS_REQUEST:String = "ayncProcessRequest"; - - private var _componentInstance:EventDispatcher; - private var _eventName:String; - - public function AbstractEventHandler(componentInstance:EventDispatcher, eventName:String) { - super(); - - _componentInstance = componentInstance; - _eventName = eventName; - } - - public function activateListener():void { - _componentInstance.addEventListener(_eventName, handleEvent, false, 0, true); - } - - public function deActivateListener():void { - _componentInstance.removeEventListener(_eventName, handleEvent); - } - - public function handleEvent(event:Event):void { - throw new IllegalOperationError("handleEvent must be implemented by the sub class"); - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/DataUpdateEventHandler.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/DataUpdateEventHandler.as deleted file mode 100644 index 60e1cbdc..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/DataUpdateEventHandler.as +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * TODO : implement it better later - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.event -{ - import flash.events.Event; - import flash.external.ExternalInterface; - import mx.rpc.events.ResultEvent; - - import com.googlecode.jsfFlex.communication.core.ComponentValueMapper; - import com.googlecode.jsfFlex.communication.logger.ILogger; - import com.googlecode.jsfFlex.communication.logger.LoggerFactory; - import com.googlecode.jsfFlex.communication.services.JsfFlexHttpService; - import com.googlecode.jsfFlex.communication.utils.JsfFlexUtils; - - public class DataUpdateEventHandler extends AbstractEventHandler { - - private static const DATA_UPDATE_ATTRIBUTE_ATTR:String = "DATA_UPDATE_ATTRIBUTE"; - private static const DATA_UPDATE_VALUE_ATTR:String = "DATA_UPDATE_VALUE"; - private static var _log:ILogger; - - private var _srcId:String; - private var _tgtId:String; - private var _eventHandlerId:String; - - { - _log = LoggerFactory.newJSLoggerInstance(DataUpdateEventHandler); - } - - public function DataUpdateEventHandler(srcId:String, tgtId:String, eventHandlerId:String, eventName:String, additionalArgs:Object) { - super(JsfFlexUtils.getCurrentApplication()[srcId], eventName); - - _srcId = srcId; - _tgtId = tgtId; - _eventHandlerId = eventHandlerId; - activateListener(); - } - - override public function handleEvent(event:Event):void { - _log.info("Executing a data update value request for component " + _tgtId); - - var compValMapper:ComponentValueMapper = ComponentValueMapper.getInstance(JsfFlexUtils.getCurrentApplication()); - var compValue:Object = compValMapper.getCompValue(_srcId)[0]; - var dataRequestParameters:Object = {}; - dataRequestParameters.componentId = _eventHandlerId; - dataRequestParameters.methodToInvoke = ASYNC_PROCESS_REQUEST; - dataRequestParameters[DATA_UPDATE_ATTRIBUTE_ATTR] = compValue.id; - dataRequestParameters[DATA_UPDATE_VALUE_ATTR] = compValue.value; - - var jsfFlexHttpServiceRequest:JsfFlexHttpService = new JsfFlexHttpService(); - jsfFlexHttpServiceRequest.sendHttpRequest(ASYNC_SERVICE_REQUEST_URL, this, - function (lastResult:Object, event:ResultEvent):void { - _log.info("Returned from : " + ASYNC_PROCESS_REQUEST + " of src/target :" + _srcId + "/" + _tgtId); - - var updateValue:String = lastResult.UPDATE_VALUE_ATTRIBUTE; - var compValue:Object = compValMapper.getCompValue(_tgtId)[0]; - JsfFlexUtils.getCurrentApplication()[_tgtId][compValue.id] = updateValue; - - }, dataRequestParameters, JsfFlexHttpService.POST_METHOD, JsfFlexHttpService.OBJECT_RESULT_FORMAT, null); - - - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/PropertyUpdateEventHandler.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/PropertyUpdateEventHandler.as deleted file mode 100644 index c28a9b81..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/PropertyUpdateEventHandler.as +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * TODO : implement it better later - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.event -{ - import flash.events.Event; - import mx.core.UIComponent; - import mx.rpc.events.ResultEvent; - - import com.googlecode.jsfFlex.communication.logger.ILogger; - import com.googlecode.jsfFlex.communication.logger.LoggerFactory; - import com.googlecode.jsfFlex.communication.services.JsfFlexHttpService; - import com.googlecode.jsfFlex.communication.utils.JsfFlexUtils; - - public class PropertyUpdateEventHandler extends AbstractEventHandler { - - private static const SOURCE_PROPERTY_CURRENT_VALUE_ATTR:String = "SOURCE_PROPERTY_CURRENT_VALUE"; - private static var _log:ILogger; - - private var _srcId:String; - private var _tgtId:String; - private var _eventHandlerId:String; - private var _additionalArgs:Object; - private var _sourceValueHolderObject:Object; - private var _targetValueUpdateObject:Object; - - private var _sourceValuePropertyField:String; - private var _targetValuePropertyField:String; - - { - _log = LoggerFactory.newJSLoggerInstance(PropertyUpdateEventHandler); - } - - public function PropertyUpdateEventHandler(srcId:String, tgtId:String, eventHandlerId:String, eventName:String, additionalArgs:Object) { - super(JsfFlexUtils.getCurrentApplication()[srcId], eventName); - - var app:UIComponent = JsfFlexUtils.getCurrentApplication(); - _srcId = srcId; - _tgtId = tgtId; - _eventHandlerId = eventHandlerId; - _additionalArgs = additionalArgs; - - /* - * Traverse until length - 1, since one wishes to get the reference of the - * Object that holds the property of which one wishes to fetch or update. - * - * Can have a function to take care of this task, since ActionScript 3 is - * pass by reference - */ - - var sourceComponent:Object = app[_srcId]; - var sourcePropertyTraverseArray:Array = _additionalArgs.SOURCE_PROPERTY; - _sourceValuePropertyField = sourcePropertyTraverseArray[sourcePropertyTraverseArray.length - 1]; - setPropertyObjects(sourceComponent, true, sourcePropertyTraverseArray); - - var targetComponent:Object = app[_tgtId]; - var targetPropertyTraverseArray:Array = _additionalArgs.TARGET_PROPERTY; - _targetValuePropertyField = targetPropertyTraverseArray[targetPropertyTraverseArray.length - 1]; - setPropertyObjects(targetComponent, false, targetPropertyTraverseArray); - - activateListener(); - } - - private function setPropertyObjects(component:Object, srcValueObject:Boolean, propertyTraverseList:Array):void { - _log.info("PropertyTraverseList length is " + propertyTraverseList.length); - var valueHolder:Object; - if(propertyTraverseList.length == 1){ - valueHolder = component; - }else{ - valueHolder = component[propertyTraverseList[0]]; - for(var i:uint=1, j:uint=propertyTraverseList.length-1; i < j; i++){ - valueHolder = valueHolder[propertyTraverseList[i]]; - } - } - - if(srcValueObject){ - _sourceValueHolderObject = valueHolder; - }else{ - _targetValueUpdateObject = valueHolder; - } - - } - - override public function handleEvent(event:Event):void { - _log.info("Executing a data update value request for component " + _tgtId); - - /* - * Since _sourceValueHolderObject and _targetValueUpdateObject have already been - * set, only need to get the property and update the property by using the last - * property within the list - */ - - var currPropertyValue:Object = _sourceValueHolderObject[_sourceValuePropertyField]; - - var dataRequestParameters:Object = {}; - dataRequestParameters.componentId = _eventHandlerId; - dataRequestParameters.methodToInvoke = ASYNC_PROCESS_REQUEST; - dataRequestParameters[SOURCE_PROPERTY_CURRENT_VALUE_ATTR] = currPropertyValue; - - var jsfFlexHttpServiceRequest:JsfFlexHttpService = new JsfFlexHttpService(); - jsfFlexHttpServiceRequest.sendHttpRequest(ASYNC_SERVICE_REQUEST_URL, this, - function (lastResult:Object, event:ResultEvent):void { - _log.info("Returned from : " + ASYNC_PROCESS_REQUEST + " of src/target :" + _srcId + "/" + _tgtId); - - var updateValue:String = lastResult.UPDATE_VALUE_ATTRIBUTE; - _targetValueUpdateObject[_targetValuePropertyField] = updateValue; - - }, dataRequestParameters, JsfFlexHttpService.POST_METHOD, JsfFlexHttpService.OBJECT_RESULT_FORMAT, null); - - - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/SubmitFormEventHandler.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/SubmitFormEventHandler.as deleted file mode 100644 index d8bb08cb..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/SubmitFormEventHandler.as +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * TODO : implement it better later - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.event -{ - import flash.events.Event; - import flash.external.ExternalInterface; - - import com.googlecode.jsfFlex.communication.logger.ILogger; - import com.googlecode.jsfFlex.communication.logger.LoggerFactory; - import com.googlecode.jsfFlex.communication.utils.JsfFlexUtils; - - public class SubmitFormEventHandler extends AbstractEventHandler { - - private static const JS_COMMUNICATION_SUBMIT_FORM_FUNCTION:String = "com.googlecode.jsfFlex.communication.event.submitForm"; - - private static var _log:ILogger; - - private var _srcId:String; - private var _tgtId:String; - private var _eventHandlerId:String; - - { - _log = LoggerFactory.newJSLoggerInstance(SubmitFormEventHandler); - } - - public function SubmitFormEventHandler(srcId:String, tgtId:String, eventHandlerId:String, eventName:String, additionalArgs:Object) { - super(JsfFlexUtils.getCurrentApplication()[srcId], eventName); - - /* - * srcId would be of the submit element and tgtId would be of the HTML form element - */ - _srcId = srcId; - _eventHandlerId = eventHandlerId; - _tgtId = tgtId; - activateListener(); - } - - override public function handleEvent(event:Event):void { - _log.info("Executing a form request for form " + _tgtId); - ExternalInterface.call(JS_COMMUNICATION_SUBMIT_FORM_FUNCTION, _srcId, _tgtId); - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/helper/ItemSelectHelper.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/helper/ItemSelectHelper.as deleted file mode 100644 index b1c6328f..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/helper/ItemSelectHelper.as +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * TODO : Implement better later, especially how the selection is stored and cleared - * In a nutshell, this class provides holding the selection of items as delta Array. - * - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.event.helper -{ - import mx.controls.listClasses.ListBase; - import mx.events.ListEvent; - - public class ItemSelectHelper { - - private var _componentInstance:ListBase; - private var _deltaSelectedArray:Array; - private var _deltaDeselectedArray:Array; - private var _selectAll:Boolean; - private var _deselectAll:Boolean; - - public function ItemSelectHelper(componentInstance:ListBase) { - super(); - - _componentInstance = componentInstance; - - /* - * Since the selected rows are usually sparse, will use an Array to keep track - * of row positions that have been selected + deselected. These entries will periodically - * be sent to the server side for synch up and will only represent delta. - */ - _deltaSelectedArray = []; - _deltaDeselectedArray = []; - componentInstance.addEventListener(ListEvent.CHANGE, selectionChangeListener, false, 0, true); - } - - public function get deltaSelectedArray():Array { - return _deltaSelectedArray; - } - - public function get deltaDeselectedArray():Array { - return _deltaDeselectedArray; - } - - public function get deselectAll():Boolean { - return _deselectAll; - } - - public function set deselectAll(deselectAll:Boolean):void { - _deselectAll = deselectAll; - } - - public function get selectAll():Boolean { - return _selectAll; - } - - public function set selectAll(selectAll:Boolean):void { - _selectAll = selectAll; - } - - public function clearDeltas():void { - /* - * This method should be invoked prior to sending the entries to the server side. This way - * the entries can be mapped properly while the values are being sent to the server side. - * Meaning after this method is invoked it will be assumed that the server's state is the - * client's state. - */ - _deltaSelectedArray = []; - _deltaDeselectedArray = []; - } - - private function selectionChangeListener(event:ListEvent):void { - var rowIndex:int = event.rowIndex; - - /* - * If the entry exists within a _delta array remove it since it aligns with - * the server selection. However if the index doesn't exist in both array, then add it - * to a specific array depending on whether that row is selected or not. - */ - - var selectedIndex:int = _deltaSelectedArray.indexOf(rowIndex); - var deselectedIndex:int = _deltaDeselectedArray.indexOf(rowIndex); - var selectedOrDeselected:int = _componentInstance.selectedIndices.indexOf(rowIndex); - - if(selectedIndex == -1 && deselectedIndex == -1){ - if(selectedOrDeselected == -1){ - _deltaDeselectedArray.push(rowIndex); - }else{ - _deltaSelectedArray.push(rowIndex); - } - }else if(selectedIndex == -1){ - _deltaDeselectedArray.splice(deselectedIndex, 1); - }else if(deselectedIndex == -1){ - _deltaSelectedArray.splice(deselectedIndex, 1); - } - - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/helper/ScrollEventHelper.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/helper/ScrollEventHelper.as deleted file mode 100644 index 2fa172b7..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/event/helper/ScrollEventHelper.as +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * TODO : Implement better later - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.event.helper -{ - import flash.events.EventDispatcher; - import flash.utils.clearInterval; - import flash.utils.setInterval; - - import mx.core.ScrollControlBase; - import mx.events.ScrollEvent; - import mx.events.ScrollEventDirection; - - public class ScrollEventHelper { - - private var _componentInstance:Object; - private var _callBackInstance:Object; - private var _callBackFunction:Function; - private var _intervalTime:uint; - private var _verticalEventDirection:Boolean; - - private var _clearIntervalRef:uint; - private var _currentlyCheckingScrollInfo:Boolean; - private var _lockScrollParameters:Boolean; - private var _modifiedFromPreviousIntervalCheck:Boolean; - - private var _scrolledDown:Boolean; - private var _verticalScrollPosition:uint; - - public function ScrollEventHelper(componentInstance:Object, callBackInstance:Object, callBackFunction:Function, - intervalTime:uint = 500, verticalEventDirection:Boolean = true) { - super(); - - _componentInstance = componentInstance; - _callBackInstance = callBackInstance; - _callBackFunction = callBackFunction; - _intervalTime = intervalTime; - _verticalEventDirection = verticalEventDirection; - } - - public function activateListener():void { - var componentToListenFor:EventDispatcher = _componentInstance as EventDispatcher; - componentToListenFor.addEventListener(ScrollEvent.SCROLL, scrolledListener, false, 0, true); - _clearIntervalRef = setInterval( scrollVerifyFunction, _intervalTime); - } - - public function deActivateListener():void { - var componentToListenFor:EventDispatcher = _componentInstance as EventDispatcher; - componentToListenFor.removeEventListener(ScrollEvent.SCROLL, scrolledListener); - clearInterval(_clearIntervalRef); - } - - public function lockScrollParameters():void { - _lockScrollParameters = true; - } - - public function unLockScrollParameters():void { - _lockScrollParameters = false; - } - - public function resetState(verticalScrollPosition:uint):void { - _verticalScrollPosition = verticalScrollPosition; - _modifiedFromPreviousIntervalCheck = false; - } - - public function get scrolledDown():Boolean { - return _scrolledDown; - } - - public function get verticalScrollPosition():uint { - return _verticalScrollPosition; - } - - private function scrolledListener(event:ScrollEvent):void{ - var direction:String = _verticalEventDirection ? ScrollEventDirection.VERTICAL : ScrollEventDirection.HORIZONTAL; - - if(event.direction == direction && event.delta != 0 - && !_currentlyCheckingScrollInfo && !_lockScrollParameters){ - - _currentlyCheckingScrollInfo = true; - - _scrolledDown = (event.delta > 0); - - var scrollControlBaseInstance:ScrollControlBase = _componentInstance as ScrollControlBase; - var currVerticalScrollPosition:uint = scrollControlBaseInstance.verticalScrollPosition; - - _modifiedFromPreviousIntervalCheck = currVerticalScrollPosition != _verticalScrollPosition; - _verticalScrollPosition = scrollControlBaseInstance.verticalScrollPosition; - - _currentlyCheckingScrollInfo = false; - - } - - } - - private function scrollVerifyFunction():void { - - _currentlyCheckingScrollInfo = true; - - if(_modifiedFromPreviousIntervalCheck){ - _callBackFunction.call(_callBackInstance); - } - - _currentlyCheckingScrollInfo = false; - - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/logger/AbstractLogger.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/logger/AbstractLogger.as deleted file mode 100644 index de5021c3..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/logger/AbstractLogger.as +++ /dev/null @@ -1,181 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * TODO : implement it better later - * This class will be used for browser logging - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.logger -{ - import flash.errors.IllegalOperationError; - import flash.events.Event; - - import flash.net.URLLoader; - import flash.net.URLRequest; - - import flash.utils.clearInterval; - import flash.utils.getQualifiedClassName; - import flash.utils.setInterval; - - import com.googlecode.jsfFlex.communication.utils.WebConstants; - - internal class AbstractLogger implements ILogger { - - private static const CLASS_NAME_DELIM:String = ":"; - private static const JSF_FLEX_FLASH_APPLICATION_CONFIG:String = WebConstants.WEB_CONTEXT_PATH + "/swf/jsfFlexFlashApplicationConfig.xml"; - private static const PRIOR_TO_LOG_MODE_SETTING_MESSAGES:Array = []; - - private static var _clearIntervalRef:uint; - private static var _loader:URLLoader; - private static var _logModeLoaded:Boolean; - - private static var _isLog:Boolean; - private static var _isDebug:Boolean; - private static var _isInfo:Boolean; - private static var _isWarn:Boolean; - private static var _isError:Boolean; - - { - _clearIntervalRef = setInterval( logPreLogModeSettingMessages, 500); - _loader = new URLLoader(); - - _loader.addEventListener(Event.COMPLETE, function (event:Event):void { - _loader.removeEventListener(Event.COMPLETE, arguments.callee); - var jsfFlexFlashApplicationConfig:XML = new XML(_loader.data); - var _logMode:uint = int(jsfFlexFlashApplicationConfig.flash_to_javascript_log_level.toString()); - - switch(_logMode){ - case 1 : _isLog = true; - case 2 : _isDebug = true; - case 3 : _isInfo = true; - case 4 : _isWarn = true; - case 5 : _isError = true; - } - - _loader = null; - _logModeLoaded = true; - clearInterval(_clearIntervalRef); - logPreLogModeSettingMessages(); - }, false, 0, true); - - try{ - _loader.load(new URLRequest(JSF_FLEX_FLASH_APPLICATION_CONFIG)); - }catch(loadingError:Error){ - trace("Failure in loading of the jsfFlexFlashApplicationConfig.xml file"); - } - } - - public static function logPreLogModeSettingMessages():void { - - if(!_logModeLoaded){ - return; - } - - for each(var messageObject:Object in PRIOR_TO_LOG_MODE_SETTING_MESSAGES){ - var currSeverity:int = messageObject.severity; - var currFunction:Function = messageObject.method; - var okayLogLevel:Boolean = false; - - switch(currSeverity){ - case 1 : if(_isLog) okayLogLevel = true; break; - case 2 : if(_isDebug) okayLogLevel = true; break; - case 3 : if(_isInfo) okayLogLevel = true; break; - case 4 : if(_isWarn) okayLogLevel = true; break; - case 5 : if(_isError) okayLogLevel = true; break; - } - - if(okayLogLevel){ - currFunction.call(messageObject.instanceRef, messageObject.message, currSeverity); - } - } - - } - - private var CLASS_NAME:String = new String(); - - public function AbstractLogger(logClass:Class) { - super(); - - var packageClassName:String = getQualifiedClassName(logClass); - var splittedPackageClassName:Array = packageClassName.split(CLASS_NAME_DELIM); - CLASS_NAME = splittedPackageClassName != null && splittedPackageClassName.length > 0 ? splittedPackageClassName[splittedPackageClassName.length - 1] : packageClassName; - } - - public function log(message:Object):void { - if(!_logModeLoaded){ - PRIOR_TO_LOG_MODE_SETTING_MESSAGES.push({instanceRef: this, method: logMessage, message: message, severity: 1}); - return; - } - if(_isLog){ - logMessage(message, 1); - } - } - - public function debug(debugMessage:Object):void { - if(!_logModeLoaded){ - PRIOR_TO_LOG_MODE_SETTING_MESSAGES.push({instanceRef: this, method: logMessage, message: debugMessage, severity: 2}); - return; - } - if(_isDebug){ - logMessage(debugMessage, 2); - } - } - - public function info(infoMessage:Object):void { - if(!_logModeLoaded){ - PRIOR_TO_LOG_MODE_SETTING_MESSAGES.push({instanceRef: this, method: logMessage, message: infoMessage, severity: 3}); - return; - } - if(_isInfo){ - logMessage(infoMessage, 3); - } - } - - public function warn(warnMessage:Object):void { - if(!_logModeLoaded){ - PRIOR_TO_LOG_MODE_SETTING_MESSAGES.push({instanceRef: this, method: logMessage, message: warnMessage, severity: 4}); - return; - } - if(_isWarn){ - logMessage(warnMessage, 4); - } - } - - public function error(errorMessage:Object):void { - if(!_logModeLoaded){ - PRIOR_TO_LOG_MODE_SETTING_MESSAGES.push({instanceRef: this, method: logMessage, message: errorMessage, severity: 5}); - return; - } - if(_isError){ - logMessage(errorMessage, 5); - } - } - - public function getClassName():String { - return CLASS_NAME; - } - - public function logMessage(message:Object, severity:int):void { - throw new IllegalOperationError("logMessage must be implemented by the sub class"); - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/logger/ILogger.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/logger/ILogger.as deleted file mode 100644 index 5d542cf0..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/logger/ILogger.as +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * This interface represents generic methods to be implemented by loggers - * [i.e. JavaScriptLogger] - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.logger -{ - - public interface ILogger { - - function log(logMessage:Object):void; - - function debug(debugMessage:Object):void; - - function info(infoMessage:Object):void; - - function warn(warnMessage:Object):void; - - function error(errorMessage:Object):void; - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/logger/JavaScriptLogger.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/logger/JavaScriptLogger.as deleted file mode 100644 index 8139316f..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/logger/JavaScriptLogger.as +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * TODO : implement it better later - * This class will be used for browser logging - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.logger -{ - import flash.external.ExternalInterface; - - internal class JavaScriptLogger extends AbstractLogger { - - private static const JS_COMMUNICATION_LOG_MESSAGE_FUNCTION:String = "com.googlecode.jsfFlex.communication.logger.logMessage"; - - public function JavaScriptLogger(logClass:Class) { - super(logClass); - } - - override public function logMessage(message:Object, severity:int):void { - ExternalInterface.call(JS_COMMUNICATION_LOG_MESSAGE_FUNCTION, getClassName(), message, severity); - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/logger/LoggerFactory.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/logger/LoggerFactory.as deleted file mode 100644 index 16542ceb..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/logger/LoggerFactory.as +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * This class is a factory for creating different impl of Loggers - * [i.e. JavaScriptLogger for communicating log messages FireFox:FireBug] - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.logger -{ - import flash.errors.IllegalOperationError; - - public class LoggerFactory { - - public function LoggerFactory(){ - throw new IllegalOperationError("LoggerFactory should be used as a factory"); - } - - public static function newJSLoggerInstance(actionScriptClass:Class):ILogger { - var log:JavaScriptLogger = new JavaScriptLogger(actionScriptClass); - return log; - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/services/JsfFlexHttpService.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/services/JsfFlexHttpService.as deleted file mode 100644 index 5ba53472..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/services/JsfFlexHttpService.as +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * This class is a simple wrapper to HTTPService for JsfFlex. - * In future it is considered to improve the implementation by adding caching and etcetera. - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.services -{ - import mx.rpc.events.ResultEvent; - import mx.rpc.http.HTTPService; - - public class JsfFlexHttpService { - - public static const ARRAY_RESULT_FORMAT:String = "array"; - public static const E4X_RESULT_FORMAT:String = "e4x"; - public static const FLASH_VARS_RESULT_FORMAT:String = "flashvars"; - public static const OBJECT_RESULT_FORMAT:String = "object"; - public static const TEXT_RESULT_FORMAT:String = "text"; - public static const XML_RESULT_FORMAT:String = "xml"; - - public static const GET_METHOD:String = "GET"; - public static const POST_METHOD:String = "POST"; - - private static const SERVLET_ARRAY_RESULT_FORMAT:String = "array"; - private static const SERVLET_NAME_VALUE_RESULT_FORMAT:String = "nameValue"; - private static const SERVLET_OBJECT_RESULT_FORMAT:String = "object"; - private static const SERVLET_RAW_RESULT_FORMAT:String = "raw"; - private static const SERVLET_XML_RESULT_FORMAT:String = "xml"; - - private static const SERVLET_RETURN_METHOD:String = "servletReturnMethod"; - - public function JsfFlexHttpService() { - super(); - } - - public function sendHttpRequest(serviceUrl:String, thisObject:Object, callBack:Function, parameters:Object = null, method:String = GET_METHOD, - resultFormatMethod:String = XML_RESULT_FORMAT, rootUrl:String = null):void { - //NOTE : rootUrl is only to specify absolute URL, if not specified the path to SWF is used - var httpRequest:HTTPService = rootUrl == null ? new HTTPService() : new HTTPService(rootUrl); - httpRequest.url = serviceUrl; - httpRequest.method = method; - - var servletResultFormat:String; - switch(resultFormatMethod){ - case ARRAY_RESULT_FORMAT : servletResultFormat = SERVLET_ARRAY_RESULT_FORMAT; break; - case FLASH_VARS_RESULT_FORMAT : servletResultFormat = SERVLET_NAME_VALUE_RESULT_FORMAT; break; - case OBJECT_RESULT_FORMAT : servletResultFormat = SERVLET_OBJECT_RESULT_FORMAT; break; - case TEXT_RESULT_FORMAT : servletResultFormat = SERVLET_RAW_RESULT_FORMAT; break; - case E4X_RESULT_FORMAT : - case XML_RESULT_FORMAT : - default : servletResultFormat = XML_RESULT_FORMAT; break; - } - - parameters = parameters == null ? {} : parameters; - parameters[SERVLET_RETURN_METHOD] = servletResultFormat; - - httpRequest.resultFormat = resultFormatMethod; - httpRequest.addEventListener(ResultEvent.RESULT, function(event:ResultEvent):void{ - httpRequest.removeEventListener(ResultEvent.RESULT, arguments.callee, false); - callBack.call(thisObject, httpRequest.lastResult, event); - }, false, 0, true); - - httpRequest.send(parameters); - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/utils/JsfFlexUtils.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/utils/JsfFlexUtils.as deleted file mode 100644 index a4f5d7ea..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/utils/JsfFlexUtils.as +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.utils -{ - import flash.errors.IllegalOperationError; - - import mx.core.FlexGlobals; - import mx.core.UIComponent; - - public class JsfFlexUtils { - - public function JsfFlexUtils(){ - throw new IllegalOperationError("JsfFlexUtils should be used statically"); - } - - public static function getCurrentApplication():UIComponent { - return FlexGlobals.topLevelApplication as UIComponent; - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/utils/WebConstants.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/utils/WebConstants.as deleted file mode 100644 index 44223a6b..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/utils/WebConstants.as +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * This class will represent the constants needed for the web project - * such as the contextPath that the swf rests within. Technically one can - * evalute this value using communication to Javascript, but gets a bit messy - * and can possibly cause unexpected issues depending on how the user sets up - * the web app [sanity sake]. - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.utils -{ - import flash.errors.IllegalOperationError; - - public class WebConstants { - - public static const WEB_CONTEXT_PATH:String = "{webContextPath}"; - public static const RESULT_CODE:String = "RESULT_CODE"; - - public function WebConstants(){ - throw new IllegalOperationError("WebConstants should be used statically"); - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/validator/ValidationManager.as b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/validator/ValidationManager.as deleted file mode 100644 index f969e70c..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/actionScript/com/googlecode/jsfFlex/communication/validator/ValidationManager.as +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * This class will manage the validations needed when submitting the
- * information to the server side. It will traverse through the list of validation
- * components, invoke the validate function for the components, and return their result.
- * On the Javascript side, it will check if there are any errors and decide whether to
- * submit the form depending upon that logic.
- * - * @author Ji Hoon Kim - */ -package com.googlecode.jsfFlex.communication.validator -{ - import mx.core.UIComponent; - import mx.events.ValidationResultEvent; - import mx.validators.Validator; - import mx.validators.ValidationResult; - - import com.googlecode.jsfFlex.communication.utils.JsfFlexUtils; - - public class ValidationManager { - - private static const VALIDATION_ERROR_RESULT:String = "validationErrorResult"; - - private var _errorTextComponentId:String; - private var _validationComponentList:Array; - - public function ValidationManager(errorTextComponentId:String) { - super(); - _errorTextComponentId = errorTextComponentId; - _validationComponentList = []; - } - - public function addValidatorId(validatorId:String):void { - _validationComponentList.push(validatorId); - } - - public function validateComponents():Object { - - var errorMessage:String = new String(); - var validationErrorOccurred:Boolean = Boolean(false); - var app:UIComponent = JsfFlexUtils.getCurrentApplication(); - for each (var validatorId:String in _validationComponentList){ - var currValidator:Validator = app[validatorId]; - - var currValidationResult:ValidationResultEvent = currValidator.validate(); - if(currValidationResult.results != null){ - //means there was an error - - if(!validationErrorOccurred){ - validationErrorOccurred = Boolean(true); - errorMessage += "
    "; - } - - for each(var validationError:ValidationResult in currValidationResult.results){ - - if(validationError.isError){ - errorMessage += "
  • " + validationError.errorCode + " : " + validationError.errorMessage + "
  • "; - } - - } - - } - - } - if(validationErrorOccurred){ - errorMessage += "
"; - } - - app[_errorTextComponentId].htmlText = errorMessage; - return {type: VALIDATION_ERROR_RESULT, result: validationError}; - } - - } - -} \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/tasks/runnerFactoryImpl.properties b/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/tasks/runnerFactoryImpl.properties deleted file mode 100644 index 155ccff0..00000000 --- a/jsf-flex-shared/core/src/main/resources/com/googlecode/jsfFlex/shared/tasks/runnerFactoryImpl.properties +++ /dev/null @@ -1,6 +0,0 @@ -# Do not edit this file, as it will be completed automatically -# by maven during the build process -common_task_rummer_impl_package=${common_task_rummer_impl_package} -file_manipulator_task_runner_impl_package=${file_manipulator_task_runner_impl_package} -flex_task_runner_impl_package=${flex_task_runner_impl_package} -annotation_doclet_parser_impl_package=${annotation_doclet_parser_impl_package} \ No newline at end of file diff --git a/jsf-flex-shared/pom.xml b/jsf-flex-shared/pom.xml deleted file mode 100644 index 3f390fd9..00000000 --- a/jsf-flex-shared/pom.xml +++ /dev/null @@ -1,34 +0,0 @@ - - 4.0.0 - - com.googlecode.jsf-flex - jsf-flex-build-project - ${jsf.flex.version} - - - com.googlecode.jsf-flex - jsf-flex-shared-project - pom - JSF-FlexShared Project - http://code.google.com/p/jsf-flex/ - - JSF-FlexShared goal is to provide shared resource for jsf-flex subprojects. Also contains AbstractMXMLResponseStateManager.java, AbstractMXMLResponseWriter.java, and MXMLRendererBase.java due to difference in MyFaces + Mojarra JSF implementation. - - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-shared - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-shared - - - - core - - - \ No newline at end of file diff --git a/jsf-flex-taglib-0.5a.xml b/jsf-flex-taglib-0.5a.xml new file mode 100644 index 00000000..b52303f6 --- /dev/null +++ b/jsf-flex-taglib-0.5a.xml @@ -0,0 +1,9009 @@ + + + + + http://jsf-flex.googlecode.com + + + + + + + flexAttributeNode + + com.googlecode.jsfFlex.FlexAttributeNode + + + + name + true + java.lang.String + + + + value + true + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAdditionalComponent + + com.googlecode.jsfFlex.FlexUIAdditionalComponent + com.googlecode.jsfFlex.FlexAdditionalComponent + + + + componentNameSpace + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentName + true + java.lang.String + + + + componentAttributesJSONFormat + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexApplication + + com.googlecode.jsfFlex.FlexUIApplication + com.googlecode.jsfFlex.FlexApplication + + + + mxmlPackageName + true + java.lang.String + + + + swfHTMLWrapperContent + org.json.JSONObject + + + + providedAdditionalXmlnsMap + java.util.Map + + + + additionalMxmlcCommandArguments + java.util.Map + + + + additionalSwccCommandArguments + java.util.Map + + + + sourcePath + java.util.Collection + + + + providedAdditionalExternalLibaryPath + java.util.Collection + + + + defaultBgColor + java.lang.String + + + + maxLvRecursion + java.lang.Integer + + + + maxScriptExecTime + java.lang.Integer + + + + incremental + boolean + + + + loadConfig + java.lang.String + + + + description + java.lang.String + + + + creator + java.lang.String + + + + publisher + java.lang.String + + + + language + java.lang.String + + + + date + java.lang.String + + + + flexSDKPath + java.lang.String + + + + errorColor + java.lang.String + + + + errorFontAntiAliasType + java.lang.String + + + + errorFontFamily + java.lang.String + + + + errorFontGridFitType + java.lang.String + + + + errorFontSharpness + java.lang.String + + + + errorFontSize + java.lang.String + + + + errorFontStyle + java.lang.String + + + + errorFontThickness + java.lang.String + + + + errorFontWeight + java.lang.String + + + + errorPaddingLeft + java.lang.String + + + + errorPaddingRight + java.lang.String + + + + errorTextAlign + java.lang.String + + + + errorTextDecoration + java.lang.String + + + + errorTextIndent + java.lang.String + + + + title + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + initialize + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexButton + + com.googlecode.jsfFlex.FlexUIButton + com.googlecode.jsfFlex.FlexButton + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + +If the value is an expression, it is expected to be a method binding EL expression that identifies +an action method. An action method accepts no parameters and has a String return value, called the +action outcome, that identifies the next view displayed. The phase that this event is fired in +can be controlled via the immediate attribute. +

+

+If the value is a string literal, it is treated as a navigation outcome for the current view. This +is functionally equivalent to a reference to an action method that returns the string literal. +

]]>
+ action + java.lang.Object myMethod( ) +
+ + + actionListener + void myMethod( javax.faces.event.ActionEvent ) + + + + immediate + boolean + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexButtonBar + + com.googlecode.jsfFlex.FlexUIButtonBar + com.googlecode.jsfFlex.FlexButtonBar + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexCheckBox + + com.googlecode.jsfFlex.FlexUICheckBox + com.googlecode.jsfFlex.FlexCheckBox + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selected + java.lang.Boolean + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexColorPicker + + com.googlecode.jsfFlex.FlexUIColorPicker + com.googlecode.jsfFlex.FlexColorPicker + + + + selectedColor + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + +is held within the code. Main reason is because it extends FlexUISelectedIndexBase and there exists
+no reason to create an another base class to preserve both "selectedIndex" + "text".
]]>
+ flexComboBox + + com.googlecode.jsfFlex.FlexUIComboBox + com.googlecode.jsfFlex.FlexComboBox + + + + dataProviderCollection + java.util.Collection + + + + text + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selectedIndex + java.lang.Integer + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexDataGrid + + com.googlecode.jsfFlex.FlexUIDataGrid + com.googlecode.jsfFlex.FlexDataGrid + com.googlecode.jsfFlex.facelet.tagHandler.AsynchronousEventGlueTagHandler + + + + editable + java.lang.String + + + + filterColumnComponentId + java.lang.String + + + + bindingBeanList + java.util.List + + + + dataProvider + java.lang.String + + + + batchColumnDataRetrievalSize + java.lang.String + + + + asynchronousEventGlueHandler + java.lang.Object myMethod( com.googlecode.jsfFlex.shared.model.event.AbstractEvent ) + + + + queueFilterThreshold + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + 0, then the first entry's className will be used to construct additional beans to be added to the list.]]> + bindingBeanClassName + java.lang.String + + + + rowCount + java.lang.String + + + + queuedFilterListBreakUpSize + java.lang.String + + + + filterComponentId + java.lang.String + + + + filterEventListener + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexDataGridColumn + + com.googlecode.jsfFlex.FlexUIDataGridColumn + com.googlecode.jsfFlex.FlexDataGridColumn + + + + editable + java.lang.String + + + + dataField + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexDateChooser + + com.googlecode.jsfFlex.FlexUIDateChooser + com.googlecode.jsfFlex.FlexDateChooser + + + + selectedDate + java.util.Calendar + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexDateField + + com.googlecode.jsfFlex.FlexUIDateField + com.googlecode.jsfFlex.FlexDateField + + + + selectedDate + java.util.Calendar + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + text + java.lang.String + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexDropDownList + + com.googlecode.jsfFlex.FlexUIDropDownList + com.googlecode.jsfFlex.FlexDropDownList + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selectedIndex + java.lang.Integer + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexHRule + + com.googlecode.jsfFlex.FlexUIHRule + com.googlecode.jsfFlex.FlexHRule + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexHScrollBar + + com.googlecode.jsfFlex.FlexUIHScrollBar + com.googlecode.jsfFlex.FlexHScrollBar + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexHSlider + + com.googlecode.jsfFlex.FlexUIHSlider + com.googlecode.jsfFlex.FlexHSlider + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + value + java.lang.Object + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexHorizontalList + + com.googlecode.jsfFlex.FlexUIHorizontalList + com.googlecode.jsfFlex.FlexHorizontalList + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selectedIndex + java.lang.Integer + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexImage + + com.googlecode.jsfFlex.FlexUIImage + com.googlecode.jsfFlex.FlexImage + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexLabel + + com.googlecode.jsfFlex.FlexUILabel + com.googlecode.jsfFlex.FlexLabel + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + converter + javax.faces.convert.Converter + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexLinkBar + + com.googlecode.jsfFlex.FlexUILinkBar + com.googlecode.jsfFlex.FlexLinkBar + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexLinkButton + + com.googlecode.jsfFlex.FlexUILinkButton + com.googlecode.jsfFlex.FlexLinkButton + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + +If the value is an expression, it is expected to be a method binding EL expression that identifies +an action method. An action method accepts no parameters and has a String return value, called the +action outcome, that identifies the next view displayed. The phase that this event is fired in +can be controlled via the immediate attribute. +

+

+If the value is a string literal, it is treated as a navigation outcome for the current view. This +is functionally equivalent to a reference to an action method that returns the string literal. +

]]>
+ action + java.lang.Object myMethod( ) +
+ + + actionListener + void myMethod( javax.faces.event.ActionEvent ) + + + + immediate + boolean + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexList + + com.googlecode.jsfFlex.FlexUIList + com.googlecode.jsfFlex.FlexList + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selectedIndex + java.lang.Integer + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexMenuBar + + com.googlecode.jsfFlex.FlexUIMenuBar + com.googlecode.jsfFlex.FlexMenuBar + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexNumericStepper + + com.googlecode.jsfFlex.FlexUINumericStepper + com.googlecode.jsfFlex.FlexNumericStepper + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + value + java.lang.Object + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexPopUpAnchor + + com.googlecode.jsfFlex.FlexUIPopUpAnchor + com.googlecode.jsfFlex.FlexPopUpAnchor + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexPopUpButton + + com.googlecode.jsfFlex.FlexUIPopUpButton + com.googlecode.jsfFlex.FlexPopUpButton + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selected + java.lang.Boolean + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexPopUpMenuButton + + com.googlecode.jsfFlex.FlexUIPopUpMenuButton + com.googlecode.jsfFlex.FlexPopUpMenuButton + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selected + java.lang.Boolean + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + +and NOT set the field of the Flex component as this field is read only.
]]>
+ flexProgressBar + + com.googlecode.jsfFlex.FlexUIProgressBar + com.googlecode.jsfFlex.FlexProgressBar + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + value + java.lang.Object + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexRadioButton + + com.googlecode.jsfFlex.FlexUIRadioButton + com.googlecode.jsfFlex.FlexRadioButton + + + + value + java.lang.Object + + + + groupName + true + java.lang.String + + + + selectedValue + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selected + java.lang.Boolean + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexRichEditableText + + com.googlecode.jsfFlex.FlexUIRichEditableText + com.googlecode.jsfFlex.FlexRichEditableText + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + text + java.lang.String + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexRichText + + com.googlecode.jsfFlex.FlexUIRichText + com.googlecode.jsfFlex.FlexRichText + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + converter + javax.faces.convert.Converter + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexRichTextEditor + + com.googlecode.jsfFlex.FlexUIRichTextEditor + com.googlecode.jsfFlex.FlexRichTextEditor + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + htmlText + java.lang.String + + + + textBinding + java.lang.String + + + + text + java.lang.String + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexScript + + com.googlecode.jsfFlex.FlexUIScript + com.googlecode.jsfFlex.FlexScript + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexScroller + + com.googlecode.jsfFlex.FlexUIScroller + com.googlecode.jsfFlex.FlexScroller + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexSpacer + + com.googlecode.jsfFlex.FlexUISpacer + com.googlecode.jsfFlex.FlexSpacer + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexSpinner + + com.googlecode.jsfFlex.FlexUISpinner + com.googlecode.jsfFlex.FlexSpinner + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + value + java.lang.Object + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexSwfLoader + + com.googlecode.jsfFlex.FlexUISwfLoader + com.googlecode.jsfFlex.FlexSWFLoader + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexText + + com.googlecode.jsfFlex.FlexUIText + com.googlecode.jsfFlex.FlexText + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + converter + javax.faces.convert.Converter + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexTextArea + + com.googlecode.jsfFlex.FlexUITextArea + com.googlecode.jsfFlex.FlexTextArea + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + htmlText + java.lang.String + + + + textBinding + java.lang.String + + + + text + java.lang.String + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexTextInput + + com.googlecode.jsfFlex.FlexUITextInput + com.googlecode.jsfFlex.FlexTextInput + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + htmlText + java.lang.String + + + + textBinding + java.lang.String + + + + text + java.lang.String + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexTileList + + com.googlecode.jsfFlex.FlexUITileList + com.googlecode.jsfFlex.FlexTileList + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selectedIndex + java.lang.Integer + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexToggleButton + + com.googlecode.jsfFlex.FlexUIToggleButton + com.googlecode.jsfFlex.FlexToggleButton + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selected + java.lang.Boolean + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexToggleButtonBar + + com.googlecode.jsfFlex.FlexUIToggleButtonBar + com.googlecode.jsfFlex.FlexToggleButtonBar + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexTree + + com.googlecode.jsfFlex.FlexUITree + com.googlecode.jsfFlex.FlexTree + + + + selectedLabel + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selectedIndex + java.lang.Integer + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexVRule + + com.googlecode.jsfFlex.FlexUIVRule + com.googlecode.jsfFlex.FlexVRule + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexVScrollBar + + com.googlecode.jsfFlex.FlexUIVScrollBar + com.googlecode.jsfFlex.FlexVScrollBar + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexVSlider + + com.googlecode.jsfFlex.FlexUIVSlider + com.googlecode.jsfFlex.FlexVSlider + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + value + java.lang.Object + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

]]>
+ converterMessage + java.lang.String +
+ + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
+ + + flexVideoDisplay + + com.googlecode.jsfFlex.FlexUIVideoDisplay + com.googlecode.jsfFlex.FlexVideoDisplay + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexVideoPlayer + + com.googlecode.jsfFlex.FlexUIVideoPlayer + com.googlecode.jsfFlex.FlexVideoPlayer + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + +This component can have as its direct children components of : +
  • AbstractFlexUIObjectListEntries
  • +
  • AbstractFlexUIObjectElement
  • + + +To have nesting of objects, one should have jf:flexObjectElement and
    +jf:flexObjectListEntries tags as this component's children which have
    +jf:flexObjectProperty or jf:flexObjectStaticProperty tag for properties.
    ]]>
    + flexObject + + com.googlecode.jsfFlex.FlexUIObject + com.googlecode.jsfFlex.FlexObject + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +This component can have as its direct children components of : +
  • AbstractFlexUIObjectListEntries
  • +
  • AbstractFlexUIObjectElement
  • + + +To have nesting of objects, one should have jf:flexObjectElement and
    +jf:flexObjectListEntries tags as this component's children which have
    +jf:flexObjectProperty or jf:flexObjectStaticProperty tag for properties.
    ]]>
    + flexArray + + com.googlecode.jsfFlex.FlexUIArray + com.googlecode.jsfFlex.FlexArray + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + + flexArrayCollection + + com.googlecode.jsfFlex.FlexUIArrayCollection + com.googlecode.jsfFlex.FlexArrayCollection + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexListCollectionView + + com.googlecode.jsfFlex.FlexUIListCollectionView + com.googlecode.jsfFlex.FlexListCollectionView + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + +This component can have as its direct children components of : +
  • AbstractFlexUIXMLListEntries
  • +
  • AbstractFlexUIXMLStaticElement
  • +]]>
    + flexXML + + com.googlecode.jsfFlex.FlexUIXML + com.googlecode.jsfFlex.FlexXML + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +This component can have as its direct children components of : +
  • AbstractFlexUIXMLListEntries
  • +
  • AbstractFlexUIXMLStaticElement
  • +]]>
    + flexXMLList + + com.googlecode.jsfFlex.FlexUIXMLList + com.googlecode.jsfFlex.FlexXMLList + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + + flexXMLListCollection + + com.googlecode.jsfFlex.FlexUIXMLListCollection + com.googlecode.jsfFlex.FlexXMLListCollection + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + +the write of Flex content within the component rather than within a Renderer [meaning Renderer does
    +not exist for this component]. Also when stated that it is writing Flex content, it technically is
    +writing to AbstractFlexUIDataContainerBase's BufferedWriter.
    + +
      +This component can have following types of children : +
    • AbstractFlexUIObjectProperty
    • +
    • AbstractFlexUIObjectListEntries
    • +
    ]]>
    + flexObjectElement + + com.googlecode.jsfFlex.FlexUIObjectElement + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +and should have AbstractFlexUIObjectElement as its children.]]> + flexObjectListEntries + + com.googlecode.jsfFlex.FlexUIObjectListEntries + + + + bindingBeanList + java.util.List + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexObjectProperty + + com.googlecode.jsfFlex.FlexUIObjectProperty + + + + property + true + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexObjectStaticProperty + + com.googlecode.jsfFlex.FlexUIObjectStaticProperty + + + + staticPropertyName + true + java.lang.String + + + + staticPropertyValue + true + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexXMLAttribute + + com.googlecode.jsfFlex.FlexUIXMLAttribute + + + + property + true + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + +the write of Flex content within the component rather than within a Renderer [meaning Renderer does
    +not exist for this component]. Also when stated that it is writing Flex content, it technically is
    +writing to AbstractFlexUIDataContainerBase's BufferedWriter.
    + +
      +This component can have following type of children : +
    • AbstractFlexUIXMLAttribute
    • +
    • AbstractFlexUIXMLStaticAttribute
    • +
    • AbstractFlexUIXMLListEntries
    • +
    ]]>
    + flexXMLElement + + com.googlecode.jsfFlex.FlexUIXMLElement + + + + nodeName + true + java.lang.String + + + + nodeValue + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +This should be a child component of : +
  • AbstractFlexUIXMLList
  • +
  • AbstractFlexUIXML
  • +
  • AbstractFlexUIXMLStaticElement
  • + +and should have AbstractFlexUIXMLElementBase as its children.]]> + flexXMLListEntries + + com.googlecode.jsfFlex.FlexUIXMLListEntries + + + + bindingBeanList + java.util.List + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexXMLStaticAttribute + + com.googlecode.jsfFlex.FlexUIXMLStaticAttribute + + + + staticPropertyName + true + java.lang.String + + + + staticPropertyValue + true + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + +the write of Flex content within the component rather than within a Renderer [meaning Renderer does
    +not exist for this component]. Also when stated that it is writing Flex content, it technically is
    +writing to AbstractFlexUIDataContainerBase's BufferedWriter.
    + +
      +This component can have following types of children : +
    • AbstractFlexUIXMLStaticAttribute
    • +
    • AbstractFlexUIXMLListEntries
    • +
    ]]>
    + flexXMLStaticElement + + com.googlecode.jsfFlex.FlexUIXMLStaticElement + + + + staticNodeName + true + java.lang.String + + + + staticNodeValue + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + + flexColumns + + com.googlecode.jsfFlex.FlexUIColumns + com.googlecode.jsfFlex.FlexColumns + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexDataProvider + + com.googlecode.jsfFlex.FlexUIDataProvider + com.googlecode.jsfFlex.FlexDataProvider + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexDeclarations + + com.googlecode.jsfFlex.FlexUIDeclarations + com.googlecode.jsfFlex.FlexDeclarations + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexHTTPService + + com.googlecode.jsfFlex.FlexUIHTTPService + com.googlecode.jsfFlex.FlexHTTPService + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexRemoteObject + + com.googlecode.jsfFlex.FlexUIRemoteObject + com.googlecode.jsfFlex.FlexRemoteObject + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexWebService + + com.googlecode.jsfFlex.FlexUIWebService + com.googlecode.jsfFlex.FlexWebService + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAccordion + + com.googlecode.jsfFlex.FlexUIAccordion + com.googlecode.jsfFlex.FlexAccordion + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selectedIndex + java.lang.Integer + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

    ]]>
    + converterMessage + java.lang.String +
    + + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + + flexApplicationControlBar + + com.googlecode.jsfFlex.FlexUIApplicationControlBar + com.googlecode.jsfFlex.FlexApplicationControlBar + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexBorderContainer + + com.googlecode.jsfFlex.FlexUIBorderContainer + com.googlecode.jsfFlex.FlexBorderContainer + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexBox + + com.googlecode.jsfFlex.FlexUIBox + com.googlecode.jsfFlex.FlexBox + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexCanvas + + com.googlecode.jsfFlex.FlexUICanvas + com.googlecode.jsfFlex.FlexCanvas + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexControlBar + + com.googlecode.jsfFlex.FlexUIControlBar + com.googlecode.jsfFlex.FlexControlBar + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexDataGroup + + com.googlecode.jsfFlex.FlexUIDataGroup + com.googlecode.jsfFlex.FlexDataGroup + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexDividedBox + + com.googlecode.jsfFlex.FlexUIDividedBox + com.googlecode.jsfFlex.FlexDividedBox + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexGrid + + com.googlecode.jsfFlex.FlexUIGrid + com.googlecode.jsfFlex.FlexGrid + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexGridItem + + com.googlecode.jsfFlex.FlexUIGridItem + com.googlecode.jsfFlex.FlexGridItem + + + + direction + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexGridRow + + com.googlecode.jsfFlex.FlexUIGridRow + com.googlecode.jsfFlex.FlexGridRow + + + + direction + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexGroup + + com.googlecode.jsfFlex.FlexUIGroup + com.googlecode.jsfFlex.FlexGroup + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexHGroup + + com.googlecode.jsfFlex.FlexUIHGroup + com.googlecode.jsfFlex.FlexHGroup + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexNavigatorContent + + com.googlecode.jsfFlex.FlexUINavigatorContent + com.googlecode.jsfFlex.FlexNavigatorContent + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexPanel + + com.googlecode.jsfFlex.FlexUIPanel + com.googlecode.jsfFlex.FlexPanel + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexSkinnableContainer + + com.googlecode.jsfFlex.FlexUISkinnableContainer + com.googlecode.jsfFlex.FlexSkinnableContainer + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexSkinnableDataContainer + + com.googlecode.jsfFlex.FlexUISkinnableDataContainer + com.googlecode.jsfFlex.FlexSkinnableDataContainer + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexTabBar + + com.googlecode.jsfFlex.FlexUITabBar + com.googlecode.jsfFlex.FlexTabBar + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selectedIndex + java.lang.Integer + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

    ]]>
    + converterMessage + java.lang.String +
    + + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + + flexTabNavigator + + com.googlecode.jsfFlex.FlexUITabNavigator + com.googlecode.jsfFlex.FlexTabNavigator + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selectedIndex + java.lang.Integer + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

    ]]>
    + converterMessage + java.lang.String +
    + + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + + flexTile + + com.googlecode.jsfFlex.FlexUITile + com.googlecode.jsfFlex.FlexTile + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexTileGroup + + com.googlecode.jsfFlex.FlexUITileGroup + com.googlecode.jsfFlex.FlexTileGroup + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexTitleWindow + + com.googlecode.jsfFlex.FlexUITitleWindow + com.googlecode.jsfFlex.FlexTitleWindow + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexVGroup + + com.googlecode.jsfFlex.FlexUIVGroup + com.googlecode.jsfFlex.FlexVGroup + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexViewStack + + com.googlecode.jsfFlex.FlexUIViewStack + com.googlecode.jsfFlex.FlexViewStack + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + selectedIndex + java.lang.Integer + + + + id + java.lang.String + + + + immediate + boolean + + + + required + boolean + + + + validator + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + valueChangeListener + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + converter + javax.faces.convert.Converter + + + +

    ]]>
    + converterMessage + java.lang.String +
    + + + requiredMessage + java.lang.String + + + + validatorMessage + java.lang.String + + + + value + java.lang.Object + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexCurrencyFormatter + + com.googlecode.jsfFlex.FlexUICurrencyFormatter + com.googlecode.jsfFlex.FlexCurrencyFormatter + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexDateFormatter + + com.googlecode.jsfFlex.FlexUIDateFormatter + com.googlecode.jsfFlex.FlexDateFormatter + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexNumberFormatter + + com.googlecode.jsfFlex.FlexUINumberFormatter + com.googlecode.jsfFlex.FlexNumberFormatter + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexPhoneFormatter + + com.googlecode.jsfFlex.FlexUIPhoneFormatter + com.googlecode.jsfFlex.FlexPhoneFormatter + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexZipCodeFormatter + + com.googlecode.jsfFlex.FlexUIZipCodeFormatter + com.googlecode.jsfFlex.FlexZipCodeFormatter + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + + flexAddAction + + com.googlecode.jsfFlex.FlexUIAddAction + com.googlecode.jsfFlex.FlexAddAction + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAddChildAction + + com.googlecode.jsfFlex.FlexUIAddChildAction + com.googlecode.jsfFlex.FlexAddChildAction + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAddItemAction + + com.googlecode.jsfFlex.FlexUIAddItemAction + com.googlecode.jsfFlex.FlexAddItemAction + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAnimate + + com.googlecode.jsfFlex.FlexUIAnimate + com.googlecode.jsfFlex.FlexAnimate + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAnimateColor + + com.googlecode.jsfFlex.FlexUIAnimateColor + com.googlecode.jsfFlex.FlexAnimateColor + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAnimateFilter + + com.googlecode.jsfFlex.FlexUIAnimateFilter + com.googlecode.jsfFlex.FlexAnimateFilter + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAnimateProperty + + com.googlecode.jsfFlex.FlexUIAnimateProperty + com.googlecode.jsfFlex.FlexAnimateProperty + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAnimateTransform + + com.googlecode.jsfFlex.FlexUIAnimateTransform + com.googlecode.jsfFlex.FlexAnimateTransform + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAnimateTransform3D + + com.googlecode.jsfFlex.FlexUIAnimateTransform3D + com.googlecode.jsfFlex.FlexAnimateTransform3D + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAnimateTransitionShader + + com.googlecode.jsfFlex.FlexUIAnimateTransitionShader + com.googlecode.jsfFlex.FlexAnimateTransitionShader + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexBlur + + com.googlecode.jsfFlex.FlexUIBlur + com.googlecode.jsfFlex.FlexBlur + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexCallAction + + com.googlecode.jsfFlex.FlexUICallAction + com.googlecode.jsfFlex.FlexCallAction + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexCrossFade + + com.googlecode.jsfFlex.FlexUICrossFade + com.googlecode.jsfFlex.FlexCrossFade + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexDefaultListEffect + + com.googlecode.jsfFlex.FlexUIDefaultListEffect + com.googlecode.jsfFlex.FlexDefaultListEffect + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexDefaultTileListEffect + + com.googlecode.jsfFlex.FlexUIDefaultTileListEffect + com.googlecode.jsfFlex.FlexDefaultTileListEffect + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexDissolve + + com.googlecode.jsfFlex.FlexUIDissolve + com.googlecode.jsfFlex.FlexDissolve + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexFade + + com.googlecode.jsfFlex.FlexUIFade + com.googlecode.jsfFlex.FlexFade + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexGlow + + com.googlecode.jsfFlex.FlexUIGlow + com.googlecode.jsfFlex.FlexGlow + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexIris + + com.googlecode.jsfFlex.FlexUIIris + com.googlecode.jsfFlex.FlexIris + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexMaskEffect + + com.googlecode.jsfFlex.FlexUIMaskEffect + com.googlecode.jsfFlex.FlexMaskEffect + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexMove + + com.googlecode.jsfFlex.FlexUIMove + com.googlecode.jsfFlex.FlexMove + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexMove3D + + com.googlecode.jsfFlex.FlexUIMove3D + com.googlecode.jsfFlex.FlexMove3D + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexParallel + + com.googlecode.jsfFlex.FlexUIParallel + com.googlecode.jsfFlex.FlexParallel + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexPause + + com.googlecode.jsfFlex.FlexUIPause + com.googlecode.jsfFlex.FlexPause + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexRemoveAction + + com.googlecode.jsfFlex.FlexUIRemoveAction + com.googlecode.jsfFlex.FlexRemoveAction + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexRemoveChildAction + + com.googlecode.jsfFlex.FlexUIRemoveChildAction + com.googlecode.jsfFlex.FlexRemoveChildAction + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexRemoveItemAction + + com.googlecode.jsfFlex.FlexUIRemoveItemAction + com.googlecode.jsfFlex.FlexRemoveItemAction + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexResize + + com.googlecode.jsfFlex.FlexUIResize + com.googlecode.jsfFlex.FlexResize + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexRotate + + com.googlecode.jsfFlex.FlexUIRotate + com.googlecode.jsfFlex.FlexRotate + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexRotate3D + + com.googlecode.jsfFlex.FlexUIRotate3D + com.googlecode.jsfFlex.FlexRotate3D + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexScale + + com.googlecode.jsfFlex.FlexUIScale + com.googlecode.jsfFlex.FlexScale + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexScale3D + + com.googlecode.jsfFlex.FlexUIScale3D + com.googlecode.jsfFlex.FlexScale3D + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexSequence + + com.googlecode.jsfFlex.FlexUISequence + com.googlecode.jsfFlex.FlexSequence + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexSetAction + + com.googlecode.jsfFlex.FlexUISetAction + com.googlecode.jsfFlex.FlexSetAction + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexSetPropertyAction + + com.googlecode.jsfFlex.FlexUISetPropertyAction + com.googlecode.jsfFlex.FlexSetPropertyAction + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + value + java.lang.String + + + + name + java.lang.String + + + + + flexSetStyleAction + + com.googlecode.jsfFlex.FlexUISetStyleAction + com.googlecode.jsfFlex.FlexSetStyleAction + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + value + java.lang.String + + + + name + java.lang.String + + + + + flexSoundEffect + + com.googlecode.jsfFlex.FlexUISoundEffect + com.googlecode.jsfFlex.FlexSoundEffect + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexTweenEffect + + com.googlecode.jsfFlex.FlexUITweenEffect + com.googlecode.jsfFlex.FlexTweenEffect + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexUnconstrainItemAction + + com.googlecode.jsfFlex.FlexUIUnconstrainItemAction + com.googlecode.jsfFlex.FlexUnconstrainItemAction + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexWipe + + com.googlecode.jsfFlex.FlexUIWipe + com.googlecode.jsfFlex.FlexWipe + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexWipeDirection + + com.googlecode.jsfFlex.FlexUIWipeDirection + com.googlecode.jsfFlex.FlexWipeDirection + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexWipeDown + + com.googlecode.jsfFlex.FlexUIWipeDown + com.googlecode.jsfFlex.FlexWipeDown + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexWipeLeft + + com.googlecode.jsfFlex.FlexUIWipeLeft + com.googlecode.jsfFlex.FlexWipeLeft + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexWipeRight + + com.googlecode.jsfFlex.FlexUIWipeRight + com.googlecode.jsfFlex.FlexWipeRight + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexWipeUp + + com.googlecode.jsfFlex.FlexUIWipeUp + com.googlecode.jsfFlex.FlexWipeUp + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexZoom + + com.googlecode.jsfFlex.FlexUIZoom + com.googlecode.jsfFlex.FlexZoom + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAsynchronousDataUpdateEventListener + + com.googlecode.jsfFlex.FlexUIAsynchronousDataUpdateEventListener + com.googlecode.jsfFlex.FlexAsynchronousDataUpdateEventListener + com.googlecode.jsfFlex.facelet.tagHandler.AsynchronousEventGlueTagHandler + + + + eventHandlerTgtId + true + java.lang.String + + + + eventListener + java.lang.String + + + + eventHandlerSrcId + true + java.lang.String + + + + asynchronousEventGlueHandler + java.lang.Object myMethod( com.googlecode.jsfFlex.shared.model.event.AbstractEvent ) + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAsynchronousPropertyUpdateEventListener + + com.googlecode.jsfFlex.FlexUIAsynchronousPropertyUpdateEventListener + com.googlecode.jsfFlex.FlexAsynchronousPropertyUpdateEventListener + com.googlecode.jsfFlex.facelet.tagHandler.AsynchronousEventGlueTagHandler + + + + eventHandlerTgtId + true + java.lang.String + + + + eventListener + java.lang.String + + + + eventHandlerSrcId + true + java.lang.String + + + + asynchronousEventGlueHandler + java.lang.Object myMethod( com.googlecode.jsfFlex.shared.model.event.AbstractEvent ) + + + + sourcePropertyList + java.util.List + + + + targetPropertyList + java.util.List + + + + sourcePropertyDelim + java.lang.String + + + + targetPropertyDelim + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexBitmapImage + + com.googlecode.jsfFlex.FlexUIBitmapImage + com.googlecode.jsfFlex.FlexBitmapImage + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexEllipse + + com.googlecode.jsfFlex.FlexUIEllipse + com.googlecode.jsfFlex.FlexEllipse + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexGraphic + + com.googlecode.jsfFlex.FlexUIGraphic + com.googlecode.jsfFlex.FlexGraphic + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexLine + + com.googlecode.jsfFlex.FlexUILine + com.googlecode.jsfFlex.FlexLine + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexPath + + com.googlecode.jsfFlex.FlexUIPath + com.googlecode.jsfFlex.FlexPath + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexRect + + com.googlecode.jsfFlex.FlexUIRect + com.googlecode.jsfFlex.FlexRect + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexRectangularDropShadow + + com.googlecode.jsfFlex.FlexUIRectangularDropShadow + com.googlecode.jsfFlex.FlexRectangularDropShadow + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexAddChild + + com.googlecode.jsfFlex.FlexUIAddChild + com.googlecode.jsfFlex.FlexAddChild + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexRemoveChild + + com.googlecode.jsfFlex.FlexUIRemoveChild + com.googlecode.jsfFlex.FlexRemoveChild + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexSetEventHandler + + com.googlecode.jsfFlex.FlexUISetEventHandler + com.googlecode.jsfFlex.FlexSetEventHandler + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + name + java.lang.String + + + + + flexSetProperty + + com.googlecode.jsfFlex.FlexUISetProperty + com.googlecode.jsfFlex.FlexSetProperty + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + value + java.lang.String + + + + name + java.lang.String + + + + + flexSetStyle + + com.googlecode.jsfFlex.FlexUISetStyle + com.googlecode.jsfFlex.FlexSetStyle + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + value + java.lang.String + + + + name + java.lang.String + + + + + flexState + + com.googlecode.jsfFlex.FlexUIState + com.googlecode.jsfFlex.FlexState + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + name + java.lang.String + + + + + flexStates + + com.googlecode.jsfFlex.FlexUIStates + com.googlecode.jsfFlex.FlexStates + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + + flexTransition + + com.googlecode.jsfFlex.FlexUITransition + com.googlecode.jsfFlex.FlexTransition + + + + id + java.lang.String + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + + + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexCreditCardValidator + + com.googlecode.jsfFlex.FlexUICreditCardValidator + com.googlecode.jsfFlex.FlexCreditCardValidator + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexCurrencyValidator + + com.googlecode.jsfFlex.FlexUICurrencyValidator + com.googlecode.jsfFlex.FlexCurrencyValidator + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexDateValidator + + com.googlecode.jsfFlex.FlexUIDateValidator + com.googlecode.jsfFlex.FlexDateValidator + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexEmailValidator + + com.googlecode.jsfFlex.FlexUIEmailValidator + com.googlecode.jsfFlex.FlexEmailValidator + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexNumberValidator + + com.googlecode.jsfFlex.FlexUINumberValidator + com.googlecode.jsfFlex.FlexNumberValidator + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexPhoneNumberValidator + + com.googlecode.jsfFlex.FlexUIPhoneNumberValidator + com.googlecode.jsfFlex.FlexPhoneNumberValidator + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexRegExpValidator + + com.googlecode.jsfFlex.FlexUIRegExpValidator + com.googlecode.jsfFlex.FlexRegExpValidator + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexSocialSecurityValidator + + com.googlecode.jsfFlex.FlexUISocialSecurityValidator + com.googlecode.jsfFlex.FlexSocialSecurityValidator + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexStringValidator + + com.googlecode.jsfFlex.FlexUIStringValidator + com.googlecode.jsfFlex.FlexStringValidator + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexValidator + + com.googlecode.jsfFlex.FlexUIValidator + com.googlecode.jsfFlex.FlexValidator + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + flexZipCodeValidator + + com.googlecode.jsfFlex.FlexUIZipCodeValidator + com.googlecode.jsfFlex.FlexZipCodeValidator + + + + componentAttributes + java.util.Map + + + + componentAttributesJSONFormat + java.lang.String + + + + nameSpaceOverride + java.lang.String + + + + id + java.lang.String + + + + rendered + boolean + + + + binding + javax.faces.component.UIComponent + +
    + + + + + + + + + + + diff --git a/jsf-flex-tld-content-1.0b.xml b/jsf-flex-tld-content-1.0b.xml new file mode 100644 index 00000000..3f8c3d74 --- /dev/null +++ b/jsf-flex-tld-content-1.0b.xml @@ -0,0 +1,31835 @@ +{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}} +{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 \par +\par +\par + jsf-flex\par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.MXMLUIViewStackBase\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + com.googlecode.jsfFlex.component.MXMLUIViewStackBase\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + com.googlecode.jsfFlex.MXMLUIViewStackBase\par + javax.faces.MXMLUIViewStackBase\par + Base component for MXMLInput components that contain selected attribute AND sets the creationPolicy to all [for setting the initial values]\par + \par +\par +of setting and retrieving of "selectedIndex" and "text" attributes. Additional task taken by the
    \par +component is to set the "creationPolicy" to "all", so that the Flex component will be accessible
    \par +after it finished its loading.
    \par +]]>\par +
    \par +
    \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.MXMLUIHtmlTextInputBase\par + com.googlecode.jsfFlex.component.MXMLUITextInputBase\par + com.googlecode.jsfFlex.component._MXMLUIHtmlTextInputBase\par + com.googlecode.jsfFlex.component.MXMLUITextInputBase\par + com.googlecode.jsfFlex.MXMLUIHtmlTextInputBase\par + javax.faces.MXMLUIHtmlTextInputBase\par + true\par + \par + Base component for MXMLInput components that contain htmlText attribute\par + \par +\par +within the Flex components. Note that since this class invokes the super method of populateComponentInitValues
    \par +it will also set and retrieve values of "text" attribute of the component [if it exists].
    \par +]]>\par +
    \par + \par + htmlText\par + java.lang.String\par + false\par + Specifies the text displayed by the control.\par + Specifies the text displayed by the control.\par + true\par + true\par + \par + \par + textBinding\par + java.lang.String\par + false\par + Specifies the attribute used for binding on the server side for Input components. [i.e. TextInput and RichTextEditor]. Default is text and choices are eithertext or htmlText.\par + Specifies the attribute used for binding on the server side for Input components. [i.e. TextInput and RichTextEditor]. Default is text and choices are eithertext or htmlText.\par + text\par + true\par + false\par + \par +
    \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + com.googlecode.jsfFlex.component.MXMLUIInputBase\par + com.googlecode.jsfFlex.component._MXMLUISelectedBase\par + com.googlecode.jsfFlex.component.MXMLUIInputBase\par + com.googlecode.jsfFlex.MXMLUISelectedBase\par + javax.faces.MXMLUISelectedBase\par + true\par + \par + Base component for MXMLInput components that contain selected attribute\par + \par +\par +within the Flex components.
    \par +]]>\par +
    \par + \par + selected\par + java.lang.Boolean\par + false\par + Indicates whether a toggle button is toggled on (true) or off (false).\par + Indicates whether a toggle button is toggled on (true) or off (false).\par + true\par + true\par + \par +
    \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + com.googlecode.jsfFlex.component.MXMLUIInputBase\par + com.googlecode.jsfFlex.component._MXMLUISelectedIndexBase\par + com.googlecode.jsfFlex.component.MXMLUIInputBase\par + com.googlecode.jsfFlex.MXMLUISelectedIndexBase\par + javax.faces.MXMLUISelectedIndexBase\par + true\par + \par + Base component for MXMLInput components that contain selectedIndex attribute\par + \par +\par +within the Flex components.
    \par +]]>\par +
    \par + \par + selectedIndex\par + java.lang.Integer\par + false\par + The index in the data provider of the selected item.\par + The index in the data provider of the selected item.\par + true\par + true\par + \par +
    \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.MXMLUITextInputBase\par + com.googlecode.jsfFlex.component.MXMLUIInputBase\par + com.googlecode.jsfFlex.component._MXMLUITextInputBase\par + com.googlecode.jsfFlex.component.MXMLUIInputBase\par + com.googlecode.jsfFlex.MXMLUITextInputBase\par + javax.faces.MXMLUITextInputBase\par + true\par + \par + Base component for MXMLInput components that contain text attribute\par + \par +\par +within the Flex components.
    \par +]]>\par +
    \par + \par + text\par + java.lang.String\par + false\par + Plain text that appears in the control.\par + Plain text that appears in the control.\par + true\par + true\par + \par +
    \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIAccordion\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIAccordion\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + jf:mxmlAccordion\par + com.googlecode.jsfFlex.MXMLUIAccordion\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIAccordionTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLAccordion\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + headerRenderer\par + java.lang.String\par + A factory used to create the navigation buttons for each child.\par + A factory used to create the navigation buttons for each child.\par + false\par + \par + \par + selectedFillColors\par + java.lang.String\par + The two colors used to tint the background of the component when inits selected state.\par + The two colors used to tint the background of the component when inits selected state.\par + false\par + \par + \par + historyManagementEnabled\par + java.lang.String\par + If true, enables history management within this ViewStack container.\par + If true, enables history management within this ViewStack container.\par + false\par + \par + \par + resizeToContent\par + java.lang.String\par + If true, the ViewStack container automatically resizes to the size of its current child.\par + If true, the ViewStack container automatically resizes to the size of its current child.\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + false\par + \par + \par + fillColors\par + java.lang.String\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + headerHeight\par + java.lang.String\par + Height of each accordion header, in pixels.\par + Height of each accordion header, in pixels.\par + false\par + \par + \par + headerStyleName\par + java.lang.String\par + Name of the style sheet definition to configure the text (month name and year) and appearance of the header area of the control.\par + Name of the style sheet definition to configure the text (month name and year) and appearance of the header area of the control.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + openDuration\par + java.lang.String\par + Length of an open or close transition, in milliseconds.\par + Length of an open or close transition, in milliseconds.\par + false\par + \par + \par + openEasingFunction\par + java.lang.String\par + Easing function to control component tweening.\par + Easing function to control component tweening.\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIApplication\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIApplication\par + javax.faces.component.UIComponentBase\par + jf:mxmlApplication\par + com.googlecode.jsfFlex.MXMLUIApplication\par + javax.faces.MXMLApplication\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIApplicationTag\par + com.googlecode.jsfFlex.MXMLApplication\par + true\par + true\par + no description\par + \par + \par + mxmlPackageName\par + java.lang.String\par + true\par + The mxmlPackageName for the application.\par + The mxmlPackageName for the application.\par + true\par + false\par + \par + \par + sourcePath\par + java.lang.String\par + false\par + This value will be passed to the mxmlc compiler when creating a SWF. It must be an absolutePath to a filesystem where additional ActionScript and MXML files that areneeded for the current SWF generation are located at. There can be multiple valuesseparated with a space.\par + This value will be passed to the mxmlc compiler when creating a SWF. It must be an absolutePath to a filesystem where additional ActionScript and MXML files that areneeded for the current SWF generation are located at. There can be multiple valuesseparated with a space.\par + true\par + false\par + \par + \par + defaultBgColor\par + java.lang.String\par + false\par + This value will be passed to the mxmlc compiler when creating a SWF. It represents the defaultBgColor, surprise.\par + This value will be passed to the mxmlc compiler when creating a SWF. It represents the defaultBgColor, surprise.\par + true\par + false\par + \par + \par + maxLvRecursion\par + java.lang.Integer\par + false\par + This value will be passed to the mxmlc compiler when creating a SWF. It represents the max level of recursion that the Flash VM will allow.\par + This value will be passed to the mxmlc compiler when creating a SWF. It represents the max level of recursion that the Flash VM will allow.\par + true\par + false\par + \par + \par + maxScriptExecTime\par + java.lang.Integer\par + false\par + This value will be passed to the mxmlc compiler when creating a SWF. It represents the max script exec time that the Flash VM will allow.\par + This value will be passed to the mxmlc compiler when creating a SWF. It represents the max script exec time that the Flash VM will allow.\par + true\par + false\par + \par + \par + incremental\par + boolean\par + false\par + This value will be passed to the mxmlc compiler when creating a SWF. It represents whether the creation of the SWF files will based incrementally.\par + This value will be passed to the mxmlc compiler when creating a SWF. It represents whether the creation of the SWF files will based incrementally.\par + true\par + false\par + \par + \par + loadConfig\par + java.lang.String\par + false\par + This value will be passed to the mxmlc compiler when creating a SWF. It should bean absolutePath to a loadConfig XML file that specifies attributes for the mxmlc.\par + This value will be passed to the mxmlc compiler when creating a SWF. It should bean absolutePath to a loadConfig XML file that specifies attributes for the mxmlc.\par + true\par + false\par + \par + \par + description\par + java.lang.String\par + false\par + This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.\par + This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.\par + true\par + false\par + \par + \par + creator\par + java.lang.String\par + false\par + This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.\par + This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.\par + true\par + false\par + \par + \par + publisher\par + java.lang.String\par + false\par + This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.\par + This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.\par + true\par + false\par + \par + \par + language\par + java.lang.String\par + false\par + This value will be passed to the mxmlc compiler when creating a SWF. It simply isa metadata for the SWF.\par + This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.\par + true\par + false\par + \par + \par + date\par + java.lang.String\par + false\par + This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.\par + This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.\par + true\par + false\par + \par + \par + errorColor\par + java.lang.String\par + false\par + Color of text for the error component. The default value is 0x0B333C.\par + Color of text for the error component. The default value is 0x0B333C.\par + true\par + false\par + \par + \par + errorFontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields for the error component. Possible values are normal and advanced.\par + Sets the antiAliasType property of internal TextFields for the error component. Possible values are normal and advanced.\par + true\par + false\par + \par + \par + errorFontFamily\par + java.lang.String\par + false\par + Name of the font to use for the error component. The default value is Verdana.\par + Name of the font to use for the error component. The default value is Verdana.\par + true\par + false\par + \par + \par + errorFontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields for the error component that represent text in Flex controls. The possible values are none, pixel, and subpixel.\par + Sets the gridFitType property of internal TextFields for the error component that represent text in Flex controls. The possible values are none, pixel, and subpixel.\par + true\par + false\par + \par + \par + errorFontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields for the error component that represent text in Flex controls. This property specifies the sharpness of the glyph edges. The possible values are Numbers from -400 through 400.\par + Sets the sharpness property of internal TextFields for the error component that represent text in Flex controls. This property specifies the sharpness of the glyph edges. The possible values are Numbers from -400 through 400.\par + true\par + false\par + \par + \par + errorFontSize\par + java.lang.String\par + false\par + Height of the text for the error component, in pixels. The default value is 10.\par + Height of the text for the error component, in pixels. The default value is 10.\par + true\par + false\par + \par + \par + errorFontStyle\par + java.lang.String\par + false\par + Determines whether the text for the error component is italic font. Recognized values are normal and italic.\par + Determines whether the text for the error component is italic font. Recognized values are normal and italic.\par + true\par + false\par + \par + \par + errorFontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields for the error component that represent text in Flex controls. This property specifies the thickness of the glyph edges. The possible values are Numbers from -200 to 200.\par + Sets the thickness property of internal TextFields for the error component that represent text in Flex controls. This property specifies the thickness of the glyph edges. The possible values are Numbers from -200 to 200.\par + true\par + false\par + \par + \par + errorFontWeight\par + java.lang.String\par + false\par + Determines whether the text for the error component is boldface. Recognized values are normal and bold.\par + Determines whether the text for the error component is boldface. Recognized values are normal and bold.\par + true\par + false\par + \par + \par + errorPaddingLeft\par + java.lang.String\par + false\par + Number of pixels between the error component's container's left border and the left edge of its content area.\par + Number of pixels between the error component's container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + errorPaddingRight\par + java.lang.String\par + false\par + Number of pixels between the error component's container's right border and the right edge of its content area.\par + Number of pixels between the error component's container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + errorTextAlign\par + java.lang.String\par + false\par + Alignment of text for the error component within a container. Possible values are left, right, or center.\par + Alignment of text for the error component within a container. Possible values are left, right, or center.\par + true\par + false\par + \par + \par + errorTextDecoration\par + java.lang.String\par + false\par + Determines whether the text for the error component is underlined. Possible values are none and underline.\par + Determines whether the text for the error component is underlined. Possible values are none and underline.\par + true\par + false\par + \par + \par + errorTextIndent\par + java.lang.String\par + false\par + Offset of first line of text for the error component from the left side of the container, in pixels.\par + Offset of first line of text for the error component from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + title\par + java.lang.String\par + false\par + Title or caption displayed in the title bar.\par + Title or caption displayed in the title bar.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + hide\par + java.lang.String\par + Dispatched when an object's state changes from visible to invisible.\par + Dispatched when an object's state changes from visible to invisible.\par + true\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + controlBar\par + java.lang.String\par + The ApplicationControlBar for this Application.\par + The ApplicationControlBar for this Application.\par + false\par + \par + \par + frameRate\par + java.lang.String\par + Specifies the frame rate of the application.\par + Specifies the frame rate of the application.\par + false\par + \par + \par + pageTitle\par + java.lang.String\par + Specifies a string that appears in the title bar of the browser.\par + Specifies a string that appears in the title bar of the browser.\par + false\par + \par + \par + preloader\par + java.lang.String\par + Specifies the path of a SWC component class or ActionScript component class that defines a custom progress bar.\par + Specifies the path of a SWC component class or ActionScript component class that defines a custom progress bar.\par + false\par + \par + \par + resetHistory\par + java.lang.String\par + If true, the application's history state is reset to its initial state whenever the application is reloaded.\par + If true, the application's history state is reset to its initial state whenever the application is reloaded.\par + false\par + \par + \par + scriptRecursionLimit\par + java.lang.String\par + Specifies the maximum depth of the Adobe Flash Player call stack before Flash Player stops.\par + Specifies the maximum depth of the Adobe Flash Player call stack before Flash Player stops.\par + false\par + \par + \par + scriptTimeLimit\par + java.lang.String\par + Specifies the maximum duration, in seconds, that an ActionScript event handler can execute beforethe Flash Player assumes that it is hung, and aborts it.\par + Specifies the maximum duration, in seconds, that an ActionScript event handler can execute beforethe Flash Player assumes that it is hung, and aborts it.\par + false\par + \par + \par + usePreloader\par + java.lang.String\par + If true, specifies to display the application preloader.\par + If true, specifies to display the application preloader.\par + false\par + \par + \par + viewSourceURL\par + java.lang.String\par + URL where the application's source can be viewed.\par + URL where the application's source can be viewed.\par + false\par + \par + \par + xmlnsMX\par + java.lang.String\par + Namespace.\par + Namespace.\par + false\par + \par + \par + backgroundGradientAlphas\par + java.lang.String\par + Specifies the alpha transparency values used for the background gradient fill of the application.\par + Specifies the alpha transparency values used for the background gradient fill of the application.\par + false\par + \par + \par + backgroundGradientColors\par + java.lang.String\par + Specifies the colors used to tint the background gradient fill of the application.\par + Specifies the colors used to tint the background gradient fill of the application.\par + false\par + \par + \par + applicationComplete\par + java.lang.String\par + Dispatched after the Application has been initialized, processed by the LayoutManager,and attached to the display list.\par + Dispatched after the Application has been initialized, processed by the LayoutManager,and attached to the display list.\par + false\par + \par + \par + error\par + java.lang.String\par + Dispatched when an error occurs anywhere in the application, such as an HTTPService,WebService, or RemoteObject fails.\par + Dispatched when an error occurs anywhere in the application, such as an HTTPService,WebService, or RemoteObject fails.\par + false\par + \par + \par + layout\par + java.lang.String\par + Specifies the layout mechanism used for this application.\par + Specifies the layout mechanism used for this application.\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + modalTransparencyDuration\par + java.lang.String\par + Duration, in milliseconds, of the modal transparency effect that plays when a modal window opens or closes. The default value is 100.\par + Duration, in milliseconds, of the modal transparency effect that plays when a modal window opens or closes. The default value is 100.\par + false\par + \par + \par + modalTransparency\par + java.lang.String\par + Modality of components launched by the PopUp Manager is simulated by creating a large translucent overlay underneath the component. Because of the way translucent objects are rendered, you may notice a slight dimming of the objects under the overlay. The effective transparency can be set by changing the modalTransparency value from 0.0 (fully transparent) to 1.0 (fully opaque). You can also set the color of the overlay by changing the modalTransparencyColor style. The default value is 0.5.\par + Modality of components launched by the PopUp Manager is simulated by creating a large translucent overlay underneath the component. Because of the way translucent objects are rendered, you may notice a slight dimming of the objects under the overlay. The effective transparency can be set by changing the modalTransparency value from 0.0 (fully transparent) to 1.0 (fully opaque). You can also set the color of the overlay by changing the modalTransparencyColor style. The default value is 0.5.\par + false\par + \par + \par + modalTransparencyColor\par + java.lang.String\par + Color of the modal overlay layer. This style is used in conjunction with the modalTransparency style to determine the colorization applied to the application when a modal window is open. The default value is #DDDDDD.\par + Color of the modal overlay layer. This style is used in conjunction with the modalTransparency style to determine the colorization applied to the application when a modal window is open. The default value is #DDDDDD.\par + false\par + \par + \par + modalTransparencyBlur\par + java.lang.String\par + The blur applied to the application while a modal window is open. A Blur effects oftens the details of an image. The default value is 3.\par + The blur applied to the application while a modal window is open. A Blur effects oftens the details of an image. The default value is 3.\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIApplicationControlBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIApplicationControlBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlApplicationControlBar\par + com.googlecode.jsfFlex.MXMLUIApplicationControlBar\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIApplicationControlBarTag\par + com.googlecode.jsfFlex.MXMLApplicationControlBar\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + false\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + false\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + true\par + false\par + \par + \par + fillColors\par + java.lang.String\par + false\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + true\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + false\par + Horizontal gap.\par + Horizontal gap.\par + true\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + false\par + Vertical gap.\par + Vertical gap.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + false\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + false\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + true\par + false\par + \par + \par + dock\par + java.lang.String\par + If true, specifies that the ApplicationControlBar should be docked to the top of the application.\par + If true, specifies that the ApplicationControlBar should be docked to the top of the application.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIBox\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIBox\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlBox\par + com.googlecode.jsfFlex.MXMLUIBox\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIBoxTag\par + com.googlecode.jsfFlex.MXMLBox\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIButton\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIButton\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + jf:mxmlButton\par + com.googlecode.jsfFlex.MXMLUIButton\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIButtonTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLButton\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + autoRepeat\par + java.lang.String\par + Specifies whether to dispatch repeated buttonDown events if the user holds down the mouse button.\par + Specifies whether to dispatch repeated buttonDown events if the user holds down the mouse button.\par + false\par + \par + \par + emphasized\par + java.lang.String\par + Draws a thick border around the Button control when the control is in its upstate if emphasized is set to true.\par + Draws a thick border around the Button control when the control is in its upstate if emphasized is set to true.\par + false\par + \par + \par + selectedField\par + java.lang.String\par + The name of the field in the data property which specifies the value of the Button control's selected property.\par + The name of the field in the data property which specifies the value of the Button control's selected property.\par + false\par + \par + \par + stickyHighlighting\par + java.lang.String\par + If false, the Button displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true,the Button displays its down skin when the user presses it, and continues todisplay this skin when the user drags the mouse off of it.\par + If false, the Button displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true,the Button displays its down skin when the user presses it, and continues todisplay this skin when the user drags the mouse off of it.\par + false\par + \par + \par + toggle\par + java.lang.String\par + Controls whether a Button is in a toggle state or not.\par + Controls whether a Button is in a toggle state or not.\par + false\par + \par + \par + disabledIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not disabled.\par + Name of the class to use as the icon when the button is not disabled.\par + false\par + \par + \par + downIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not selected and the mouse button is down.\par + Name of the class to use as the icon when the button is not selected and the mouse button is down.\par + false\par + \par + \par + overIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not selected and the mouse is over the control.\par + Name of the class to use as the icon when the button is not selected and the mouse is over the control.\par + false\par + \par + \par + selectedDisabledIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and disabled.\par + Name of the class to use as the icon when the button is selected and disabled.\par + false\par + \par + \par + selectedDisabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and disabled.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and disabled.\par + false\par + \par + \par + selectedDownIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse button is down.\par + Name of the class to use as the icon when the button is selected and the mouse button is down.\par + false\par + \par + \par + selectedDownSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down.\par + false\par + \par + \par + selectedOverIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse is over the control.\par + Name of the class to use as the icon when the button is selected and the mouse is over the control.\par + false\par + \par + \par + selectedOverSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the control.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the control.\par + false\par + \par + \par + selectedUpIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse button is up.\par + Name of the class to use as the icon when the button is selected and the mouse button is up.\par + false\par + \par + \par + selectedUpSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the control.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the control.\par + false\par + \par + \par + upIcon\par + java.lang.String\par + Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button.\par + Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button.\par + false\par + \par + \par + buttonDown\par + java.lang.String\par + Dispatched when the user presses the Button control.\par + Dispatched when the user presses the Button control.\par + false\par + \par + \par + label\par + java.lang.String\par + Text to appear on the control.\par + Text to appear on the control.\par + false\par + \par + \par + labelPlacement\par + java.lang.String\par + Placement of the label.\par + Placement of the label.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + Radius of component corners.\par + Radius of component corners.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + upSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the mouse is not over the control.\par + Name of the class to use as the skin for the background and border when the mouse is not over the control.\par + false\par + \par + \par + disabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + false\par + \par + \par + downSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button.\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button.\par + false\par + \par + \par + overSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the mouse is over the control.\par + Name of the class to use as the skin for the background and border when the mouse is over the control.\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + false\par + \par + \par + fillColors\par + java.lang.String\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + icon\par + java.lang.String\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + false\par + \par + \par + leading\par + java.lang.String\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + repeatDelay\par + java.lang.String\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + dataChange\par + java.lang.String\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIButtonBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIButtonBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlButtonBar\par + com.googlecode.jsfFlex.MXMLUIButtonBar\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIButtonBarTag\par + com.googlecode.jsfFlex.MXMLButtonBar\par + true\par + true\par + no description\par + \par + \par + selectedIndex\par + java.lang.Integer\par + false\par + The index in the data provider of the selected item.\par + The index in the data provider of the selected item.\par + true\par + true\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + toolTipField\par + java.lang.String\par + false\par + Name of the the field in the dataProvider object to display as the tooltip label.\par + Name of the the field in the dataProvider object to display as the tooltip label.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + itemClick\par + java.lang.String\par + false\par + Dispatched when the user clicks on an item in the control.\par + Dispatched when the user clicks on an item in the control.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + labelField\par + java.lang.String\par + false\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + false\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + iconField\par + java.lang.String\par + false\par + The name of the field in the data provider object that determines what to display as the icon.\par + The name of the field in the data provider object that determines what to display as the icon.\par + true\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + false\par + Horizontal gap.\par + Horizontal gap.\par + true\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + false\par + Vertical gap.\par + Vertical gap.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + false\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + false\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + true\par + false\par + \par + \par + buttonHeight\par + java.lang.String\par + Height of each button, in pixels.\par + Height of each button, in pixels.\par + false\par + \par + \par + buttonStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the buttons.\par + Name of CSS style declaration that specifies styles for the buttons.\par + false\par + \par + \par + buttonWidth\par + java.lang.String\par + Width of each button, in pixels.\par + Width of each button, in pixels.\par + false\par + \par + \par + firstButtonStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the first button.\par + Name of CSS style declaration that specifies styles for the first button.\par + false\par + \par + \par + lastButtonStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the last button.\par + Name of CSS style declaration that specifies styles for the last button.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUICanvas\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUICanvas\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlCanvas\par + com.googlecode.jsfFlex.MXMLUICanvas\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUICanvasTag\par + com.googlecode.jsfFlex.MXMLCanvas\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUICheckBox\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUICheckBox\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + jf:mxmlCheckBox\par + com.googlecode.jsfFlex.MXMLUICheckBox\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUICheckBoxTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLCheckBox\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + autoRepeat\par + java.lang.String\par + Specifies whether to dispatch repeated buttonDown events if the user holds down the mouse button.\par + Specifies whether to dispatch repeated buttonDown events if the user holds down the mouse button.\par + false\par + \par + \par + emphasized\par + java.lang.String\par + Draws a thick border around the Button control when the control is in its upstate if emphasized is set to true.\par + Draws a thick border around the Button control when the control is in its upstate if emphasized is set to true.\par + false\par + \par + \par + selectedField\par + java.lang.String\par + The name of the field in the data property which specifies the value of the Button control's selected property.\par + The name of the field in the data property which specifies the value of the Button control's selected property.\par + false\par + \par + \par + stickyHighlighting\par + java.lang.String\par + If false, the Button displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true,the Button displays its down skin when the user presses it, and continues todisplay this skin when the user drags the mouse off of it.\par + If false, the Button displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true,the Button displays its down skin when the user presses it, and continues todisplay this skin when the user drags the mouse off of it.\par + false\par + \par + \par + toggle\par + java.lang.String\par + Controls whether a Button is in a toggle state or not.\par + Controls whether a Button is in a toggle state or not.\par + false\par + \par + \par + disabledIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not disabled.\par + Name of the class to use as the icon when the button is not disabled.\par + false\par + \par + \par + downIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not selected and the mouse button is down.\par + Name of the class to use as the icon when the button is not selected and the mouse button is down.\par + false\par + \par + \par + overIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not selected and the mouse is over the control.\par + Name of the class to use as the icon when the button is not selected and the mouse is over the control.\par + false\par + \par + \par + selectedDisabledIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and disabled.\par + Name of the class to use as the icon when the button is selected and disabled.\par + false\par + \par + \par + selectedDisabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and disabled.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and disabled.\par + false\par + \par + \par + selectedDownIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse button is down.\par + Name of the class to use as the icon when the button is selected and the mouse button is down.\par + false\par + \par + \par + selectedDownSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down.\par + false\par + \par + \par + selectedOverIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse is over the control.\par + Name of the class to use as the icon when the button is selected and the mouse is over the control.\par + false\par + \par + \par + selectedOverSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the control.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the control.\par + false\par + \par + \par + selectedUpIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse button is up.\par + Name of the class to use as the icon when the button is selected and the mouse button is up.\par + false\par + \par + \par + selectedUpSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the control.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the control.\par + false\par + \par + \par + upIcon\par + java.lang.String\par + Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button.\par + Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button.\par + false\par + \par + \par + buttonDown\par + java.lang.String\par + Dispatched when the user presses the Button control.\par + Dispatched when the user presses the Button control.\par + false\par + \par + \par + label\par + java.lang.String\par + Text to appear on the control.\par + Text to appear on the control.\par + false\par + \par + \par + labelPlacement\par + java.lang.String\par + Placement of the label.\par + Placement of the label.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + Radius of component corners.\par + Radius of component corners.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + upSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the mouse is not over the control.\par + Name of the class to use as the skin for the background and border when the mouse is not over the control.\par + false\par + \par + \par + disabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + false\par + \par + \par + downSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button.\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button.\par + false\par + \par + \par + overSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the mouse is over the control.\par + Name of the class to use as the skin for the background and border when the mouse is over the control.\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + false\par + \par + \par + fillColors\par + java.lang.String\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + icon\par + java.lang.String\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + false\par + \par + \par + leading\par + java.lang.String\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + repeatDelay\par + java.lang.String\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + dataChange\par + java.lang.String\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIColorPicker\par + com.googlecode.jsfFlex.component.MXMLUIInputBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIColorPicker\par + com.googlecode.jsfFlex.component.MXMLUIInputBase\par + jf:mxmlColorPicker\par + com.googlecode.jsfFlex.MXMLUIColorPicker\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIColorPickerTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLColorPicker\par + true\par + true\par + no description\par + \par + \par + selectedColor\par + java.lang.String\par + false\par + The value of the currently selected color in the SwatchPanel object.\par + The value of the currently selected color in the SwatchPanel object.\par + true\par + true\par + \par + \par + editableDisabledSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the control is disabled, and the editable property is true.\par + Name of the class to use as the skin for the background and border when the control is disabled, and the editable property is true.\par + true\par + false\par + \par + \par + editableDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button, and the editable property is true.\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button, and the editable property is true.\par + true\par + false\par + \par + \par + editableOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the mouse is over the control, and the editable property is true.\par + Name of the class to use as the skin for the background and border when the mouse is over the control, and the editable property is true.\par + true\par + false\par + \par + \par + editableUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the mouse is not over the control, and the editable property is true.\par + Name of the class to use as the skin for the background and border when the mouse is not over the control, and the editable property is true.\par + true\par + false\par + \par + \par + selectedIndex\par + java.lang.Integer\par + false\par + The index in the data provider of the selected item.\par + The index in the data provider of the selected item.\par + true\par + true\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + editable\par + java.lang.String\par + false\par + A flag that indicates whether the control is editable.\par + A flag that indicates whether the control is editable.\par + true\par + false\par + \par + \par + restrict\par + java.lang.String\par + false\par + Set of characters that a user can or cannot enter into the text field.\par + Set of characters that a user can or cannot enter into the text field.\par + true\par + false\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + imeMode\par + java.lang.String\par + false\par + Specifies the IME (input method editor) mode.\par + Specifies the IME (input method editor) mode.\par + true\par + false\par + \par + \par + selectedItem\par + java.lang.String\par + false\par + The item in the data provider at the selectedIndex.\par + The item in the data provider at the selectedIndex.\par + true\par + false\par + \par + \par + upSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border whenthe mouse is not over the control.\par + Name of the class to use as the skin for the background and border whenthe mouse is not over the control.\par + true\par + false\par + \par + \par + disabledSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + true\par + false\par + \par + \par + downSkin\par + java.lang.String\par + false\par + Name of the classto use as the skin for the background and border when the user holdsdown the mouse button.\par + Name of the classto use as the skin for the background and border when the user holdsdown the mouse button.\par + true\par + false\par + \par + \par + overSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the mouse isover the control.\par + Name of the class to use as the skin for the background and border when the mouse isover the control.\par + true\par + false\par + \par + \par + colorField\par + java.lang.String\par + Name of the field in the objects of the dataProvider Array that specifies the hexadecimal values of the colors that the swatch panel displays.\par + Name of the field in the objects of the dataProvider Array that specifies the hexadecimal values of the colors that the swatch panel displays.\par + false\par + \par + \par + showTextField\par + java.lang.String\par + Specifies whether to show the text box that displays the color label or hexadecimalcolor value.\par + Specifies whether to show the text box that displays the color label or hexadecimalcolor value.\par + false\par + \par + \par + previewHeight\par + java.lang.String\par + Height of the larger preview swatch that appears above the swatch grid on theupper left of the SwatchPanel object.\par + Height of the larger preview swatch that appears above the swatch grid on theupper left of the SwatchPanel object.\par + false\par + \par + \par + previewWidth\par + java.lang.String\par + Width of the larger preview swatch.\par + Width of the larger preview swatch.\par + false\par + \par + \par + swatchBorderColor\par + java.lang.String\par + Color of the swatches' borders.\par + Color of the swatches' borders.\par + false\par + \par + \par + swatchBorderSize\par + java.lang.String\par + Size of the outlines of the swatches' borders.\par + Size of the outlines of the swatches' borders.\par + false\par + \par + \par + swatchGridBackgroundColor\par + java.lang.String\par + Color of the background rectangle behind the swatch grid.\par + Color of the background rectangle behind the swatch grid.\par + false\par + \par + \par + swatchGridBorderSize\par + java.lang.String\par + Size of the single border around the grid of swatches.\par + Size of the single border around the grid of swatches.\par + false\par + \par + \par + swatchHeight\par + java.lang.String\par + Height of each swatch.\par + Height of each swatch.\par + false\par + \par + \par + swatchHighlightColor\par + java.lang.String\par + Color of the highlight that appears around the swatch when the user rollsover a swatch.\par + Color of the highlight that appears around the swatch when the user rollsover a swatch.\par + false\par + \par + \par + swatchHighlightSize\par + java.lang.String\par + Size of the highlight that appears around the swatch when the user rollsover a swatch.\par + Size of the highlight that appears around the swatch when the user rollsover a swatch.\par + false\par + \par + \par + swatchPanelStyleName\par + java.lang.String\par + Name of the style for the SwatchPanel object.\par + Name of the style for the SwatchPanel object.\par + false\par + \par + \par + swatchWidth\par + java.lang.String\par + Width of each swatch.\par + Width of each swatch.\par + false\par + \par + \par + textFieldWidth\par + java.lang.String\par + Width of the text box that appears above the swatch grid.\par + Width of the text box that appears above the swatch grid.\par + false\par + \par + \par + labelField\par + java.lang.String\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + Background color of a component.\par + Background color of a component.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + closeEasingFunction\par + java.lang.String\par + Easing function to control component tweening.\par + Easing function to control component tweening.\par + false\par + \par + \par + closeDuration\par + java.lang.String\par + Length of a close transition, in milliseconds.\par + Length of a close transition, in milliseconds.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + columnCount\par + java.lang.String\par + Number of columns in the swatch grid.\par + Number of columns in the swatch grid.\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + false\par + \par + \par + fillColors\par + java.lang.String\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + leading\par + java.lang.String\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + false\par + \par + \par + openDuration\par + java.lang.String\par + Length of an open or close transition, in milliseconds.\par + Length of an open or close transition, in milliseconds.\par + false\par + \par + \par + openEasingFunction\par + java.lang.String\par + Easing function to control component tweening.\par + Easing function to control component tweening.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + close\par + java.lang.String\par + Dispatched when the drop-down list is dismissed for any reason.\par + Dispatched when the drop-down list is dismissed for any reason.\par + false\par + \par + \par + enter\par + java.lang.String\par + Dispatched if the editable property is set to true and the user presses the Enter key while typing in the editable text field.\par + Dispatched if the editable property is set to true and the user presses the Enter key while typing in the editable text field.\par + false\par + \par + \par + itemRollOver\par + java.lang.String\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + false\par + \par + \par + itemRollOut\par + java.lang.String\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + false\par + \par + \par + open\par + java.lang.String\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIComboBox\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIComboBox\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + jf:mxmlComboBox\par + com.googlecode.jsfFlex.MXMLUIComboBox\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIComboBoxTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLComboBox\par + true\par + true\par + no description\par + \par + \par + editableDisabledSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the control is disabled, and the editable property is true.\par + Name of the class to use as the skin for the background and border when the control is disabled, and the editable property is true.\par + true\par + false\par + \par + \par + editableDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button, and the editable property is true.\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button, and the editable property is true.\par + true\par + false\par + \par + \par + editableOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the mouse is over the control, and the editable property is true.\par + Name of the class to use as the skin for the background and border when the mouse is over the control, and the editable property is true.\par + true\par + false\par + \par + \par + editableUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the mouse is not over the control, and the editable property is true.\par + Name of the class to use as the skin for the background and border when the mouse is not over the control, and the editable property is true.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + restrict\par + java.lang.String\par + false\par + Set of characters that a user can or cannot enter into the text field.\par + Set of characters that a user can or cannot enter into the text field.\par + true\par + false\par + \par + \par + editable\par + java.lang.String\par + false\par + A flag that indicates whether the control is editable.\par + A flag that indicates whether the control is editable.\par + true\par + false\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + dataProviderCollection\par + java.util.Collection\par + false\par + Property that allows providing java.util.Collection dataBinding for dataProvider attribute [i.e. ComboBox].\par + Property that allows providing java.util.Collection dataBinding for dataProvider attribute [i.e. ComboBox]\par + true\par + false\par + \par + \par + imeMode\par + java.lang.String\par + false\par + Specifies the IME (input method editor) mode.\par + Specifies the IME (input method editor) mode.\par + true\par + false\par + \par + \par + text\par + java.lang.String\par + false\par + Plain text that appears in the control.\par + Plain text that appears in the control.\par + true\par + true\par + \par + \par + selectedItem\par + java.lang.String\par + false\par + The item in the data provider at the selectedIndex.\par + The item in the data provider at the selectedIndex.\par + true\par + false\par + \par + \par + upSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border whenthe mouse is not over the control.\par + Name of the class to use as the skin for the background and border whenthe mouse is not over the control.\par + true\par + false\par + \par + \par + disabledSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + true\par + false\par + \par + \par + downSkin\par + java.lang.String\par + false\par + Name of the classto use as the skin for the background and border when the user holdsdown the mouse button.\par + Name of the classto use as the skin for the background and border when the user holdsdown the mouse button.\par + true\par + false\par + \par + \par + overSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the mouse isover the control.\par + Name of the class to use as the skin for the background and border when the mouse isover the control.\par + true\par + false\par + \par + \par + dropdownFactory\par + java.lang.String\par + The IFactory that creates a ListBase-derived instance to use as the drop-down.\par + The IFactory that creates a ListBase-derived instance to use as the drop-down.\par + false\par + \par + \par + dropdownWidth\par + java.lang.String\par + Width of the drop-down list, in pixels.\par + Width of the drop-down list, in pixels.\par + false\par + \par + \par + prompt\par + java.lang.String\par + The prompt for the ComboBox control.\par + The prompt for the ComboBox control.\par + false\par + \par + \par + dropDownBorderColor\par + java.lang.String\par + The color of the border of the ComboBox.\par + The color of the border of the ComboBox.\par + false\par + \par + \par + dropDownStyleName\par + java.lang.String\par + The name of a CSSStyleDeclaration to be used by the drop-down list.\par + The name of a CSSStyleDeclaration to be used by the drop-down list.\par + false\par + \par + \par + rowCount\par + java.lang.String\par + Maximum number of rows visible in the control.\par + Maximum number of rows visible in the control.\par + false\par + \par + \par + itemRenderer\par + java.lang.String\par + IFactory that generates the instances that displays the data for the drop-down list of the control.\par + IFactory that generates the instances that displays the data for the drop-down list of the control.\par + false\par + \par + \par + selectionDuration\par + java.lang.String\par + The selectionDuration of the drop-down list.\par + The selectionDuration of the drop-down list.\par + false\par + \par + \par + labelField\par + java.lang.String\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + false\par + \par + \par + labelFunction\par + java.lang.String\par + User-supplied function to run on each item to determine its label.\par + User-supplied function to run on each item to determine its label.\par + false\par + \par + \par + alternatingItemColors\par + java.lang.String\par + The set of BackgroundColors for drop-down list rows in an alternating pattern.\par + The set of BackgroundColors for drop-down list rows in an alternating pattern.\par + false\par + \par + \par + selectionEasingFunction\par + java.lang.String\par + The selectionEasingFunction of the drop-down list.\par + The selectionEasingFunction of the drop-down list.\par + false\par + \par + \par + arrowButtonWidth\par + java.lang.String\par + Width of the arrow button in pixels.\par + Width of the arrow button in pixels.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + borderThickness\par + java.lang.String\par + Bounding box thickness.\par + Bounding box thickness.\par + false\par + \par + \par + backgroundGradientColors\par + java.lang.String\par + Specifies the colors used to tint the background gradient fill of the application.\par + Specifies the colors used to tint the background gradient fill of the application.\par + false\par + \par + \par + closeEasingFunction\par + java.lang.String\par + Easing function to control component tweening.\par + Easing function to control component tweening.\par + false\par + \par + \par + closeDuration\par + java.lang.String\par + Length of a close transition, in milliseconds.\par + Length of a close transition, in milliseconds.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + Radius of component corners.\par + Radius of component corners.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + false\par + \par + \par + fillColors\par + java.lang.String\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + leading\par + java.lang.String\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + false\par + \par + \par + openDuration\par + java.lang.String\par + Length of an open or close transition, in milliseconds.\par + Length of an open or close transition, in milliseconds.\par + false\par + \par + \par + openEasingFunction\par + java.lang.String\par + Easing function to control component tweening.\par + Easing function to control component tweening.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + rollOverColor\par + java.lang.String\par + The rollOverColor of the drop-down list.\par + The rollOverColor of the drop-down list.\par + false\par + \par + \par + selectionColor\par + java.lang.String\par + The selectionColor of the drop-down list.\par + The selectionColor of the drop-down list.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + close\par + java.lang.String\par + Dispatched when the drop-down list is dismissed for any reason.\par + Dispatched when the drop-down list is dismissed for any reason.\par + false\par + \par + \par + dataChange\par + java.lang.String\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + false\par + \par + \par + enter\par + java.lang.String\par + Dispatched if the editable property is set to true and the user presses the Enter key while typing in the editable text field.\par + Dispatched if the editable property is set to true and the user presses the Enter key while typing in the editable text field.\par + false\par + \par + \par + itemRollOver\par + java.lang.String\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + false\par + \par + \par + itemRollOut\par + java.lang.String\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + false\par + \par + \par + open\par + java.lang.String\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + false\par + \par + \par + scroll\par + java.lang.String\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIControlBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIControlBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlControlBar\par + com.googlecode.jsfFlex.MXMLUIControlBar\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIControlBarTag\par + com.googlecode.jsfFlex.MXMLControlBar\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + false\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + false\par + Horizontal gap.\par + Horizontal gap.\par + true\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + false\par + Vertical gap.\par + Vertical gap.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + false\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + false\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIDataGrid\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIDataGrid\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlDataGrid\par + com.googlecode.jsfFlex.MXMLUIDataGrid\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIDataGridTag\par + com.googlecode.jsfFlex.MXMLDataGrid\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + allowDragSelection\par + java.lang.String\par + false\par + A flag that indicates whether drag-selection is enabled.\par + A flag that indicates whether drag-selection is enabled.\par + true\par + false\par + \par + \par + columnWidth\par + java.lang.String\par + false\par + The width of the control's columns.\par + The width of the control's columns.\par + true\par + false\par + \par + \par + dataTipField\par + java.lang.String\par + false\par + Name of the field in the data provider items to display as the data tip.\par + Name of the field in the data provider items to display as the data tip.\par + true\par + false\par + \par + \par + dataTipFunction\par + java.lang.String\par + false\par + User-supplied function to run on each item to determine its dataTip.\par + User-supplied function to run on each item to determine its dataTip.\par + true\par + false\par + \par + \par + dragEnabled\par + java.lang.String\par + false\par + A flag that indicates whether you can dragitems out of this control and drop them on other controls.\par + A flag that indicates whether you can dragitems out of this control and drop them on other controls.\par + true\par + false\par + \par + \par + dropEnabled\par + java.lang.String\par + false\par + A flag that indicates whether dragged items can be dropped onto the control.\par + A flag that indicates whether dragged items can be dropped onto the control.\par + true\par + false\par + \par + \par + iconFunction\par + java.lang.String\par + false\par + A user-supplied function to run on each item to determine its icon.\par + A user-supplied function to run on each item to determine its icon.\par + true\par + false\par + \par + \par + lockedColumnCount\par + java.lang.String\par + false\par + The index of the first column in the control that scrolls.\par + The index of the first column in the control that scrolls.\par + true\par + false\par + \par + \par + lockedRowCount\par + java.lang.String\par + false\par + The index of the first row in the control that scrolls.\par + The index of the first row in the control that scrolls.\par + true\par + false\par + \par + \par + menuSelectionMode\par + java.lang.String\par + false\par + A flag that indicates whether menu-style selection should be used.\par + A flag that indicates whether menu-style selection should be used.\par + true\par + false\par + \par + \par + selectedIndices\par + java.lang.String\par + false\par + An array of indices in the data provider of the selected items.\par + An array of indices in the data provider of the selected items.\par + true\par + false\par + \par + \par + selectedItems\par + java.lang.String\par + false\par + An array of references to the selected items in the data provider.\par + An array of references to the selected items in the data provider.\par + true\par + false\par + \par + \par + showDataTips\par + java.lang.String\par + false\par + A flag that indicates whether dataTips are displayed for text in the rows.\par + A flag that indicates whether dataTips are displayed for text in the rows.\par + true\par + false\par + \par + \par + variableRowHeight\par + java.lang.String\par + false\par + A flag that indicates whether the individual rows can have different height.\par + A flag that indicates whether the individual rows can have different height.\par + true\par + false\par + \par + \par + dropIndicatorSkin\par + java.lang.String\par + false\par + The skin to use to indicate where a dragged item can be dropped.\par + The skin to use to indicate where a dragged item can be dropped.\par + true\par + false\par + \par + \par + useRollOver\par + java.lang.String\par + false\par + A flag that controls whether items are highlighted as the mouse rolls over them.\par + A flag that controls whether items are highlighted as the mouse rolls over them.\par + true\par + false\par + \par + \par + itemDoubleClick\par + java.lang.String\par + false\par + Dispatched when the user double-clicks on an item in the control.\par + Dispatched when the user double-clicks on an item in the control.\par + true\par + false\par + \par + \par + rowHeight\par + java.lang.String\par + false\par + The height of the rows in pixels.\par + The height of the rows in pixels.\par + true\par + false\par + \par + \par + lineScrollSize\par + java.lang.String\par + false\par + Amount to scroll when an arrow button is pressed, in pixels.\par + Amount to scroll when an arrow button is pressed, in pixels.\par + true\par + false\par + \par + \par + maxScrollPosition\par + java.lang.String\par + false\par + Number which represents the maximum scroll position.\par + Number which represents the maximum scroll position.\par + true\par + false\par + \par + \par + minScrollPosition\par + java.lang.String\par + false\par + Number that represents the minimum scroll position.\par + Number that represents the minimum scroll position.\par + true\par + false\par + \par + \par + pageScrollSize\par + java.lang.String\par + false\par + Amount to move the scroll thumb when the scroll bar track is pressed, in pixels.\par + Amount to move the scroll thumb when the scroll bar track is pressed, in pixels.\par + true\par + false\par + \par + \par + pageSize\par + java.lang.String\par + false\par + The number of lines equivalent to one page.\par + The number of lines equivalent to one page.\par + true\par + false\par + \par + \par + scrollPosition\par + java.lang.String\par + false\par + Number that represents the current scroll position.\par + Number that represents the current scroll position.\par + true\par + false\par + \par + \par + thumbIcon\par + java.lang.String\par + false\par + Name of the class to use as the icon for the thumb of the scroll bar.\par + Name of the class to use as the icon for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + bindingBeanClassName\par + java.lang.String\par + false\par + 0, then the first entry's className will be used to construct additional beans to be added to the list.]]>\par + 0, then the first entry's className will be used to construct additional beans to be added to the list.]]>\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + headerHeight\par + java.lang.String\par + false\par + The height of the header cell of the column, in pixels.\par + The height of the header cell of the column, in pixels.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + repeatDelay\par + java.lang.String\par + false\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + true\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + false\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + rowCount\par + java.lang.String\par + false\par + Maximum number of rows visible in the control.\par + Maximum number of rows visible in the control.\par + true\par + false\par + \par + \par + itemRenderer\par + java.lang.String\par + false\par + IFactory that generates the instances that displays the data for the drop-down list of the control.\par + IFactory that generates the instances that displays the data for the drop-down list of the control.\par + true\par + false\par + \par + \par + selectionDuration\par + java.lang.String\par + false\par + The selectionDuration of the drop-down list.\par + The selectionDuration of the drop-down list.\par + true\par + false\par + \par + \par + labelField\par + java.lang.String\par + false\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + bindingBeanList\par + java.util.List\par + false\par + List of beans for data binding to the component.\par + List of beans for data binding to the component.\par + true\par + false\par + \par + \par + batchColumnDataRetrievalSize\par + java.lang.String\par + false\par + Size denoting how many elements to retrieve by http service. If not defined will default to 50.\par + Size denoting how many elements to retrieve by http service. If not defined will default to 50.\par + 50\par + true\par + false\par + \par + \par + selectionDisabledColor\par + java.lang.String\par + false\par + Specifies the disabled color of a list item.\par + Specifies the disabled color of a list item.\par + true\par + false\par + \par + \par + dragMoveEnabled\par + java.lang.String\par + false\par + Indicates that items can be moved instead of just copied from the Tree control as part of a drag-and-drop operation.\par + Indicates that items can be moved instead of just copied from the Tree control as part of a drag-and-drop operation.\par + true\par + false\par + \par + \par + iconField\par + java.lang.String\par + false\par + The name of the field in the data provider object that determines what to display as the icon.\par + The name of the field in the data provider object that determines what to display as the icon.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + allowMultipleSelection\par + java.lang.String\par + false\par + A flag that indicates whether you can allow more than one item to be selected at the same time.\par + A flag that indicates whether you can allow more than one item to be selected at the same time.\par + true\par + false\par + \par + \par + labelFunction\par + java.lang.String\par + false\par + User-supplied function to run on each item to determine its label.\par + User-supplied function to run on each item to determine its label.\par + true\par + false\par + \par + \par + showHeaders\par + java.lang.String\par + false\par + A flag that indicates whether the control should show column headers.\par + A flag that indicates whether the control should show column headers.\par + true\par + false\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + leading\par + java.lang.String\par + false\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + true\par + false\par + \par + \par + border\par + java.lang.String\par + false\par + The border object.\par + The border object.\par + true\par + false\par + \par + \par + liveScrolling\par + java.lang.String\par + false\par + A flag that indicates whether scrolling is live as the scrollbar thumb is moved or the view is not updated until the thumb is released.\par + A flag that indicates whether scrolling is live as the scrollbar thumb is moved or the view is not updated until the thumb is released.\par + true\par + false\par + \par + \par + maxHorizontalScrollPosition\par + java.lang.String\par + false\par + The maximum value for the horizontalScrollPosition property.\par + The maximum value for the horizontalScrollPosition property.\par + true\par + false\par + \par + \par + maxVerticalScrollPosition\par + java.lang.String\par + false\par + The maximum value for the verticalScrollPosition property.\par + The maximum value for the verticalScrollPosition property.\par + true\par + false\par + \par + \par + scrollTipFunction\par + java.lang.String\par + false\par + A function that computes the string to be displayed as the ScrollTip.\par + A function that computes the string to be displayed as the ScrollTip.\par + true\par + false\par + \par + \par + showScrollTips\par + java.lang.String\par + false\par + A flagthat indicates whether a tooltip should appear near the scroll thumb when it is being dragged.\par + A flagthat indicates whether a tooltip should appear near the scroll thumb when it is being dragged.\par + true\par + false\par + \par + \par + columnCount\par + java.lang.String\par + false\par + The number of columns to be displayed in a TileList control or items in aHorizontalList control.\par + The number of columns to be displayed in a TileList control or items in aHorizontalList control.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + columns\par + java.lang.String\par + An array of DataGridColumn objects, one for each column that can be displayed.\par + An array of DataGridColumn objects, one for each column that can be displayed.\par + false\par + \par + \par + draggableColumns\par + java.lang.String\par + A flag that indicates whether the user is allowed to reorder columns.\par + A flag that indicates whether the user is allowed to reorder columns.\par + false\par + \par + \par + editable\par + java.lang.String\par + A flag that indicates whether or not the user can edit items in the data provider.\par + A flag that indicates whether or not the user can edit items in the data provider.\par + false\par + \par + \par + editedItemPosition\par + java.lang.String\par + The column and row index of the item renderer for the data provider item being edited, if any.\par + The column and row index of the item renderer for the data provider item being edited, if any.\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + The offset into the content from the left edge.\par + The offset into the content from the left edge.\par + false\par + \par + \par + imeMode\par + java.lang.String\par + Specifies the IME (input method editor) mode.\par + Specifies the IME (input method editor) mode.\par + false\par + \par + \par + itemEditorInstance\par + java.lang.String\par + A reference to the currently active instance of the item editor, if it exists.\par + A reference to the currently active instance of the item editor, if it exists.\par + false\par + \par + \par + minColumnWidth\par + java.lang.String\par + The minimum width of the columns, in pixels.\par + The minimum width of the columns, in pixels.\par + false\par + \par + \par + resizableColumns\par + java.lang.String\par + A flag that indicates whether the user can change the size of the columns.\par + A flag that indicates whether the user can change the size of the columns.\par + false\par + \par + \par + sortableColumns\par + java.lang.String\par + A flag that indicates whether the user can sort the data provider items by clicking on a column header cell.\par + A flag that indicates whether the user can sort the data provider items by clicking on a column header cell.\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + The background color of the DataGrid when disabled.\par + The background color of the DataGrid when disabled.\par + false\par + \par + \par + columnDropIndicatorSkin\par + java.lang.String\par + The class to use as the skin that indicates that a column can be dropped in the current location.\par + The class to use as the skin that indicates that a column can be dropped in the current location.\par + false\par + \par + \par + columnResizeSkin\par + java.lang.String\par + The class to use as the skin for a column that is being resized.\par + The class to use as the skin for a column that is being resized.\par + false\par + \par + \par + headerColors\par + java.lang.String\par + An array of two colors used to draw the header background gradient.\par + An array of two colors used to draw the header background gradient.\par + false\par + \par + \par + headerDragProxyStyleName\par + java.lang.String\par + The name of a CSS style declaration for controlling aspects of the appearance of column when the user is dragging it to another location.\par + The name of a CSS style declaration for controlling aspects of the appearance of column when the user is dragging it to another location.\par + false\par + \par + \par + headerSeparatorSkin\par + java.lang.String\par + The skin that defines the appearance of the separators between column headers in a DataGrid.\par + The skin that defines the appearance of the separators between column headers in a DataGrid.\par + false\par + \par + \par + headerStyleName\par + java.lang.String\par + The name of a CSS style declaration for controlling other aspects of the appearance of the column headers.\par + The name of a CSS style declaration for controlling other aspects of the appearance of the column headers.\par + false\par + \par + \par + horizontalGridLineColor\par + java.lang.String\par + The color of the horizontal grid lines.\par + The color of the horizontal grid lines.\par + false\par + \par + \par + horizontalGridLines\par + java.lang.String\par + A flag that indicates whether to show horizontal grid lines between the rows.\par + A flag that indicates whether to show horizontal grid lines between the rows.\par + false\par + \par + \par + rollOverColor\par + java.lang.String\par + The color of the row background when the user rolls over the row.\par + The color of the row background when the user rolls over the row.\par + false\par + \par + \par + selectionColor\par + java.lang.String\par + The color of the background for the row when the user selects an item renderer in the row.\par + The color of the background for the row when the user selects an item renderer in the row.\par + false\par + \par + \par + sortArrowSkin\par + java.lang.String\par + The class to use as the skin for the arrow that indicates the column sort direction.\par + The class to use as the skin for the arrow that indicates the column sort direction.\par + false\par + \par + \par + stretchCursor\par + java.lang.String\par + The class to use as the skin for the cursor that indicates that a column can be resized.\par + The class to use as the skin for the cursor that indicates that a column can be resized.\par + false\par + \par + \par + verticalGridLineColor\par + java.lang.String\par + The color of the vertical grid lines.\par + The color of the vertical grid lines.\par + false\par + \par + \par + verticalGridLines\par + java.lang.String\par + A flag that indicates whether to show vertical grid lines between the columns.\par + A flag that indicates whether to show vertical grid lines between the columns.\par + false\par + \par + \par + columnStretch\par + java.lang.String\par + Dispatched when a user changes the width of a column, indicating that the amount of data displayed in that column may have changed.\par + Dispatched when a user changes the width of a column, indicating that the amount of data displayed in that column may have changed.\par + false\par + \par + \par + headerRelease\par + java.lang.String\par + Dispatched when the user releases the mouse button on a column header to request the control to sort the grid contents based on the contents of the column.\par + Dispatched when the user releases the mouse button on a column header to request the control to sort the grid contents based on the contents of the column.\par + false\par + \par + \par + headerShift\par + java.lang.String\par + Dispatched when the user releases the mouse button on a column header after having dragged the column to a new location resulting in shifting the column to a new index.\par + Dispatched when the user releases the mouse button on a column header after having dragged the column to a new location resulting in shifting the column to a new index.\par + false\par + \par + \par + itemEditBegin\par + java.lang.String\par + Dispatched when the editedItemPosition property has been set and the item can be edited.\par + Dispatched when the editedItemPosition property has been set and the item can be edited.\par + false\par + \par + \par + itemEditEnd\par + java.lang.String\par + Dispatched when an item editing session ends for any reason.\par + Dispatched when an item editing session ends for any reason.\par + false\par + \par + \par + itemFocusIn\par + java.lang.String\par + Dispatched when an item renderer gets focus, which can occur if the user clicks on an item in the DataGrid control or navigates to the item using a keyboard.\par + Dispatched when an item renderer gets focus, which can occur if the user clicks on an item in the DataGrid control or navigates to the item using a keyboard.\par + false\par + \par + \par + itemFocusOut\par + java.lang.String\par + Dispatched when an item renderer loses focus, which can occur if the user clicks another item in the DataGrid control or clicks outside the control, or uses the keyboard to navigate to another item in the DataGrid control or outside the control.\par + Dispatched when an item renderer loses focus, which can occur if the user clicks another item in the DataGrid control or clicks outside the control, or uses the keyboard to navigate to another item in the DataGrid control or outside the control.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIDataGridColumn\par + com.googlecode.jsfFlex.component.MXMLUIInputBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIDataGridColumn\par + com.googlecode.jsfFlex.component.MXMLUIInputBase\par + jf:mxmlDataGridColumn\par + com.googlecode.jsfFlex.MXMLUIDataGridColumn\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIDataGridColumnTag\par + com.googlecode.jsfFlex.MXMLDataGridColumn\par + true\par + true\par + no description\par + \par + \par + dataField\par + java.lang.String\par + false\par + The name of the field or property in the data provider item associated with the column.\par + The name of the field or property in the data provider item associated with the column.\par + true\par + false\par + \par + \par + editable\par + java.lang.String\par + false\par + A flag that indicates whether the control is editable.\par + A flag that indicates whether the control is editable.\par + true\par + false\par + \par + \par + dataTipField\par + java.lang.String\par + The name of the field in the data provider to display as the datatip.\par + The name of the field in the data provider to display as the datatip.\par + false\par + \par + \par + dataTipFunction\par + java.lang.String\par + Specifies a callback function to run on each item of the data provider to determine its dataTip.\par + Specifies a callback function to run on each item of the data provider to determine its dataTip.\par + false\par + \par + \par + editorDataField\par + java.lang.String\par + The name of the property of the item editor that contains the new data for the list item.\par + The name of the property of the item editor that contains the new data for the list item.\par + false\par + \par + \par + editorHeightOffset\par + java.lang.String\par + The height of the item editor, in pixels, relative to the size of the item renderer.\par + The height of the item editor, in pixels, relative to the size of the item renderer.\par + false\par + \par + \par + editorUsesEnterKey\par + java.lang.String\par + A flag that indicates whether the item editor uses Enter key.\par + A flag that indicates whether the item editor uses Enter key.\par + false\par + \par + \par + editorWidthOffset\par + java.lang.String\par + The width of the item editor, in pixels, relative to the size of the item renderer.\par + The width of the item editor, in pixels, relative to the size of the item renderer.\par + false\par + \par + \par + editorXOffset\par + java.lang.String\par + The x location of the upper-left corner of the item editor, in pixels, relative to the upper-left corner of the item.\par + The x location of the upper-left corner of the item editor, in pixels, relative to the upper-left corner of the item.\par + false\par + \par + \par + editorYOffset\par + java.lang.String\par + The y location of the upper-left corner of the item editor, in pixels, relative to the upper-left corner of the item.\par + The y location of the upper-left corner of the item editor, in pixels, relative to the upper-left corner of the item.\par + false\par + \par + \par + headerRenderer\par + java.lang.String\par + The class factory for item renderer instances that display the column header for the column.\par + The class factory for item renderer instances that display the column header for the column.\par + false\par + \par + \par + headerText\par + java.lang.String\par + Text for the header of this column.\par + Text for the header of this column.\par + false\par + \par + \par + headerWordWrap\par + java.lang.String\par + A flag that indicates whether text in the header will be word wrapped if it doesn't fit on one line.\par + A flag that indicates whether text in the header will be word wrapped if it doesn't fit on one line.\par + false\par + \par + \par + imeMode\par + java.lang.String\par + Specifies the IME (input method editor) mode.\par + Specifies the IME (input method editor) mode.\par + false\par + \par + \par + itemEditor\par + java.lang.String\par + A class factory for the instances of the item editor to use for the column, when it is editable.\par + A class factory for the instances of the item editor to use for the column, when it is editable.\par + false\par + \par + \par + itemRenderer\par + java.lang.String\par + The class factory for item renderer instances that display the data for each item in the column.\par + The class factory for item renderer instances that display the data for each item in the column.\par + false\par + \par + \par + labelFunction\par + java.lang.String\par + A function that determines the text to display in this column.\par + A function that determines the text to display in this column.\par + false\par + \par + \par + minWidth\par + java.lang.String\par + The minimum width of the column.\par + The minimum width of the column.\par + false\par + \par + \par + rendererIsEditor\par + java.lang.String\par + A flag that indicates that the item renderer is also an item editor.\par + A flag that indicates that the item renderer is also an item editor.\par + false\par + \par + \par + resizable\par + java.lang.String\par + A flag that indicates whether the user is allowed to resize the width of the column.\par + A flag that indicates whether the user is allowed to resize the width of the column.\par + false\par + \par + \par + showDataTips\par + java.lang.String\par + A flag that indicates whether the datatips are shown in the column.\par + A flag that indicates whether the datatips are shown in the column.\par + false\par + \par + \par + sortable\par + java.lang.String\par + A flag that indicates whether the user can click on the header of this column to sort the data provider.\par + A flag that indicates whether the user can click on the header of this column to sort the data provider.\par + false\par + \par + \par + sortCompareFunction\par + java.lang.String\par + A callback function that gets called when sorting the data in the column.\par + A callback function that gets called when sorting the data in the column.\par + false\par + \par + \par + sortDescending\par + java.lang.String\par + A flag that indicates, if the column is the field used the sort the dataprovider, whether the sort is in descending order.\par + A flag that indicates, if the column is the field used the sort the dataprovider, whether the sort is in descending order.\par + false\par + \par + \par + visible\par + java.lang.String\par + A flag that indicates whethe the column is visible.\par + A flag that indicates whethe the column is visible.\par + false\par + \par + \par + wordWrap\par + java.lang.String\par + A flag that indicates whether the text in a row of this column is word wrapped if it doesn't fit on one line If undefined, the DataGrid control's wordWrap property is used.\par + A flag that indicates whether the text in a row of this column is word wrapped if it doesn't fit on one line If undefined, the DataGrid control's wordWrap property is used.\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + The Background color of the column.\par + The Background color of the column.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component, including the component label.\par + Color of text in the component, including the component label.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields. The possible values are\par + Sets the antiAliasType property of internal TextFields. The possible values are\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls. The possible values are\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls. The possible values are\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls. This property specifies the sharpness of the glyph edges. The possible values are Numbers from -400 through 400.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls. This property specifies the sharpness of the glyph edges. The possible values are Numbers from -400 through 400.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls. This property specifies the thickness of the glyph edges. The possible values are Numbers from -200 to 200.\par + Sets the thickness property of internal TextFields that represent text in Flex controls. This property specifies the thickness of the glyph edges. The possible values are Numbers from -200 to 200.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface. Recognized values are\par + Determines whether the text is boldface. Recognized values are\par + false\par + \par + \par + headerStyleName\par + java.lang.String\par + The name of a CSS style declaration for controlling other aspects of the appearance of the column headers.\par + The name of a CSS style declaration for controlling other aspects of the appearance of the column headers.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + The number of pixels between the container's left border and its content area.\par + The number of pixels between the container's left border and its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + The number of pixels between the container's right border and its content area.\par + The number of pixels between the container's right border and its content area.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container. Possible values are\par + Alignment of text within a container. Possible values are\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIDateField\par + com.googlecode.jsfFlex.component.MXMLUITextInputBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIDateField\par + com.googlecode.jsfFlex.component.MXMLUITextInputBase\par + jf:mxmlDateField\par + com.googlecode.jsfFlex.MXMLUIDateField\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIDateFieldTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLDateField\par + true\par + true\par + no description\par + \par + \par + editableDisabledSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the control is disabled, and the editable property is true.\par + Name of the class to use as the skin for the background and border when the control is disabled, and the editable property is true.\par + true\par + false\par + \par + \par + editableDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button, and the editable property is true.\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button, and the editable property is true.\par + true\par + false\par + \par + \par + editableOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the mouse is over the control, and the editable property is true.\par + Name of the class to use as the skin for the background and border when the mouse is over the control, and the editable property is true.\par + true\par + false\par + \par + \par + editableUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the mouse is not over the control, and the editable property is true.\par + Name of the class to use as the skin for the background and border when the mouse is not over the control, and the editable property is true.\par + true\par + false\par + \par + \par + selectedIndex\par + java.lang.Integer\par + false\par + The index in the data provider of the selected item.\par + The index in the data provider of the selected item.\par + true\par + true\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + restrict\par + java.lang.String\par + false\par + Set of characters that a user can or cannot enter into the text field.\par + Set of characters that a user can or cannot enter into the text field.\par + true\par + false\par + \par + \par + editable\par + java.lang.String\par + false\par + A flag that indicates whether the control is editable.\par + A flag that indicates whether the control is editable.\par + true\par + false\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + imeMode\par + java.lang.String\par + false\par + Specifies the IME (input method editor) mode.\par + Specifies the IME (input method editor) mode.\par + true\par + false\par + \par + \par + selectedItem\par + java.lang.String\par + false\par + The item in the data provider at the selectedIndex.\par + The item in the data provider at the selectedIndex.\par + true\par + false\par + \par + \par + upSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border whenthe mouse is not over the control.\par + Name of the class to use as the skin for the background and border whenthe mouse is not over the control.\par + true\par + false\par + \par + \par + disabledSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + true\par + false\par + \par + \par + downSkin\par + java.lang.String\par + false\par + Name of the classto use as the skin for the background and border when the user holdsdown the mouse button.\par + Name of the classto use as the skin for the background and border when the user holdsdown the mouse button.\par + true\par + false\par + \par + \par + overSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the background and border when the mouse isover the control.\par + Name of the class to use as the skin for the background and border when the mouse isover the control.\par + true\par + false\par + \par + \par + maxYear\par + java.lang.String\par + The last year selectable in the control.\par + The last year selectable in the control.\par + false\par + \par + \par + parseFunction\par + java.lang.String\par + Function used to parse the date entered as text in the text field area of the DateField control and return a Date object to the control.\par + Function used to parse the date entered as text in the text field area of the DateField control and return a Date object to the control.\par + false\par + \par + \par + dateChooserStyleName\par + java.lang.String\par + Name of the CSS Style declaration to use for the styles for the DateChooser control's drop-down list.\par + Name of the CSS Style declaration to use for the styles for the DateChooser control's drop-down list.\par + false\par + \par + \par + todayStyleName\par + java.lang.String\par + Name of the style sheet definition to configure the appearance of the current day's numeric text, which is highlighted in the control when the showToday property is true. Specify a color style to change the font color. If omitted, the current day textinherits the text styles of the control.\par + Name of the style sheet definition to configure the appearance of the current day's numeric text, which is highlighted in the control when the showToday property is true. Specify a color style to change the font color. If omitted, the current day textinherits the text styles of the control.\par + false\par + \par + \par + todayColor\par + java.lang.String\par + Color of the background of today's date. The default value is 0x2B333C.\par + Color of the background of today's date. The default value is 0x2B333C.\par + false\par + \par + \par + yearNavigationEnabled\par + java.lang.String\par + Enables year navigation.\par + Enables year navigation.\par + false\par + \par + \par + disabledRanges\par + java.lang.String\par + Disables single and multiple days.\par + Disables single and multiple days.\par + false\par + \par + \par + displayedMonth\par + java.lang.String\par + Used together with the displayedYear property, the displayedMonth property specifies the month displayed in the control.\par + Used together with the displayedYear property, the displayedMonth property specifies the month displayed in the control.\par + false\par + \par + \par + selectedDate\par + java.lang.String\par + Date selected in the control.\par + Date selected in the control.\par + false\par + \par + \par + displayedYear\par + java.lang.String\par + Used together with the displayedMonth property, the displayedYear property specifies the month displayed in the control.\par + Used together with the displayedMonth property, the displayedYear property specifies the month displayed in the control.\par + false\par + \par + \par + showToday\par + java.lang.String\par + If true, specifies that today is highlighted in the DateChooser control.\par + If true, specifies that today is highlighted in the DateChooser control.\par + false\par + \par + \par + firstDayOfWeek\par + java.lang.String\par + Number representing the day of the week to display in the first column of the control.\par + Number representing the day of the week to display in the first column of the control.\par + false\par + \par + \par + dayNames\par + java.lang.String\par + The weekday names for the control.\par + The weekday names for the control.\par + false\par + \par + \par + monthNames\par + java.lang.String\par + Names of the months displayed at the top of the DateChooser control.\par + Names of the months displayed at the top of the DateChooser control.\par + false\par + \par + \par + disabledDays\par + java.lang.String\par + The days to disable in a week.\par + The days to disable in a week.\par + false\par + \par + \par + selectableRange\par + java.lang.String\par + Range of dates between which dates are selectable.\par + Range of dates between which dates are selectable.\par + false\par + \par + \par + yearSymbol\par + java.lang.String\par + This property is appended to the end of the year displayed at the top of the DateChooser control.\par + This property is appended to the end of the year displayed at the top of the DateChooser control.\par + false\par + \par + \par + minYear\par + java.lang.String\par + The first year selectable in the control.\par + The first year selectable in the control.\par + false\par + \par + \par + monthSymbol\par + java.lang.String\par + This property is appended to the end of the value specified by the monthNames property to define the names of the months displayed at the top of the DateChooser control.\par + This property is appended to the end of the value specified by the monthNames property to define the names of the months displayed at the top of the DateChooser control.\par + false\par + \par + \par + weekDayStyleName\par + java.lang.String\par + Name of the style sheet definition to configure the weekday names of the control. If omitted, the weekday names inherit the text styles of the control.\par + Name of the style sheet definition to configure the weekday names of the control. If omitted, the weekday names inherit the text styles of the control.\par + false\par + \par + \par + formatString\par + java.lang.String\par + The mask pattern.\par + The mask pattern.\par + false\par + \par + \par + labelFunction\par + java.lang.String\par + User-supplied function to run on each item to determine its label.\par + User-supplied function to run on each item to determine its label.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + borderThickness\par + java.lang.String\par + Bounding box thickness.\par + Bounding box thickness.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + Radius of component corners.\par + Radius of component corners.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + false\par + \par + \par + fillColors\par + java.lang.String\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + headerColors\par + java.lang.String\par + Colors of the band at the top of the control.\par + Colors of the band at the top of the control.\par + false\par + \par + \par + headerStyleName\par + java.lang.String\par + Name of the style sheet definition to configure the text (month name and year) and appearance of the header area of the control.\par + Name of the style sheet definition to configure the text (month name and year) and appearance of the header area of the control.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + leading\par + java.lang.String\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + rollOverColor\par + java.lang.String\par + The rollOverColor of the drop-down list.\par + The rollOverColor of the drop-down list.\par + false\par + \par + \par + selectionColor\par + java.lang.String\par + The selectionColor of the drop-down list.\par + The selectionColor of the drop-down list.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + close\par + java.lang.String\par + Dispatched when the drop-down list is dismissed for any reason.\par + Dispatched when the drop-down list is dismissed for any reason.\par + false\par + \par + \par + dataChange\par + java.lang.String\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + false\par + \par + \par + open\par + java.lang.String\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + false\par + \par + \par + scroll\par + java.lang.String\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIDividedBox\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIDividedBox\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlDividedBox\par + com.googlecode.jsfFlex.MXMLUIDividedBox\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIDividedBoxTag\par + com.googlecode.jsfFlex.MXMLDividedBox\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + false\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + false\par + Horizontal gap.\par + Horizontal gap.\par + true\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + false\par + Vertical gap.\par + Vertical gap.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + false\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + false\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + true\par + false\par + \par + \par + liveDragging\par + java.lang.String\par + If true, the children adjacent to a divider are continuously resized while the user drags it.\par + If true, the children adjacent to a divider are continuously resized while the user drags it.\par + false\par + \par + \par + resizeToContent\par + java.lang.String\par + If true, the ViewStack container automatically resizes to the size of its current child.\par + If true, the ViewStack container automatically resizes to the size of its current child.\par + false\par + \par + \par + dividerAffordance\par + java.lang.String\par + Thickness in pixels of the area where the user can click to drag a divider.\par + Thickness in pixels of the area where the user can click to drag a divider.\par + false\par + \par + \par + dividerAlpha\par + java.lang.String\par + The alpha value that determines the transparency of the dividers.\par + The alpha value that determines the transparency of the dividers.\par + false\par + \par + \par + dividerColor\par + java.lang.String\par + Color of the dividers when the user presses or drags the dividers if the liveDragging property is set to false.\par + Color of the dividers when the user presses or drags the dividers if the liveDragging property is set to false.\par + false\par + \par + \par + dividerSkin\par + java.lang.String\par + The divider skin.\par + The divider skin.\par + false\par + \par + \par + dividerThickness\par + java.lang.String\par + Thickness in pixels of the dividers when the user presses or drags the dividers, if the liveDragging property is set to false.\par + Thickness in pixels of the dividers when the user presses or drags the dividers, if the liveDragging property is set to false.\par + false\par + \par + \par + horizontalDividerCursor\par + java.lang.String\par + The cursor skin for a horizontal DividedBox.\par + The cursor skin for a horizontal DividedBox.\par + false\par + \par + \par + verticalDividerCursor\par + java.lang.String\par + The cursor skin for a vertical DividedBox.\par + The cursor skin for a vertical DividedBox.\par + false\par + \par + \par + dividerPress\par + java.lang.String\par + Dispatched when the user presses any divider in this container.\par + Dispatched when the user presses any divider in this container.\par + false\par + \par + \par + dividerDrag\par + java.lang.String\par + Dispatched multiple times as the user drags any divider.\par + Dispatched multiple times as the user drags any divider.\par + false\par + \par + \par + dividerRelease\par + java.lang.String\par + Dispatched when the user releases a divider.\par + Dispatched when the user releases a divider.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIHRule\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIHRule\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlHRule\par + com.googlecode.jsfFlex.MXMLUIHRule\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIHRuleTag\par + com.googlecode.jsfFlex.MXMLHRule\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + shadowColor\par + java.lang.String\par + The shadow color of the line.\par + The shadow color of the line.\par + false\par + \par + \par + strokeWidth\par + java.lang.String\par + The thickness of the rule in pixels.\par + The thickness of the rule in pixels.\par + false\par + \par + \par + strokeColor\par + java.lang.String\par + The color of the line.\par + The color of the line.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIHScrollBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIHScrollBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlHScrollBar\par + com.googlecode.jsfFlex.MXMLUIHScrollBar\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIHScrollBarTag\par + com.googlecode.jsfFlex.MXMLHScrollBar\par + true\par + true\par + no description\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + false\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + true\par + false\par + \par + \par + fillColors\par + java.lang.String\par + false\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + downArrowDisabledSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is disabled.\par + Name of the class to use as the skin for the Up arrow when the arrow is disabled.\par + true\par + false\par + \par + \par + downArrowDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the up arrow when the arrow is enabled and a user presses the mouse button over the arrow.\par + Name of the class to use as the skin for the up arrow when the arrow is enabled and a user presses the mouse button over the arrow.\par + true\par + false\par + \par + \par + downArrowUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is not on the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is not on the arrow.\par + true\par + false\par + \par + \par + upArrowOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is over the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is over the arrow.\par + true\par + false\par + \par + \par + upArrowDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and a user presses the mouse button over the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and a user presses the mouse button over the arrow.\par + true\par + false\par + \par + \par + upArrowDisabledSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is disabled.\par + Name of the class to use as the skin for the Up arrow when the arrow is disabled.\par + true\par + false\par + \par + \par + downArrowOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is over the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is over the arrow.\par + true\par + false\par + \par + \par + upArrowUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is not on the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is not on the arrow.\par + true\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + false\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + true\par + false\par + \par + \par + lineScrollSize\par + java.lang.String\par + false\par + Amount to scroll when an arrow button is pressed, in pixels.\par + Amount to scroll when an arrow button is pressed, in pixels.\par + true\par + false\par + \par + \par + maxScrollPosition\par + java.lang.String\par + false\par + Number which represents the maximum scroll position.\par + Number which represents the maximum scroll position.\par + true\par + false\par + \par + \par + minScrollPosition\par + java.lang.String\par + false\par + Number that represents the minimum scroll position.\par + Number that represents the minimum scroll position.\par + true\par + false\par + \par + \par + pageScrollSize\par + java.lang.String\par + false\par + Amount to move the scroll thumb when the scroll bar track is pressed, in pixels.\par + Amount to move the scroll thumb when the scroll bar track is pressed, in pixels.\par + true\par + false\par + \par + \par + pageSize\par + java.lang.String\par + false\par + The number of lines equivalent to one page.\par + The number of lines equivalent to one page.\par + true\par + false\par + \par + \par + scrollPosition\par + java.lang.String\par + false\par + Number that represents the current scroll position.\par + Number that represents the current scroll position.\par + true\par + false\par + \par + \par + thumbIcon\par + java.lang.String\par + false\par + Name of the class to use as the icon for the thumb of the scroll bar.\par + Name of the class to use as the icon for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + false\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + true\par + false\par + \par + \par + repeatDelay\par + java.lang.String\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + false\par + \par + \par + scroll\par + java.lang.String\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIHSlider\par + com.googlecode.jsfFlex.component.MXMLUIValueBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIHSlider\par + com.googlecode.jsfFlex.component.MXMLUIValueBase\par + jf:mxmlHSlider\par + com.googlecode.jsfFlex.MXMLUIHSlider\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIHSliderTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLHSlider\par + true\par + true\par + no description\par + \par + \par + dataTipPlacement\par + java.lang.String\par + false\par + The location of the data tip relative to the thumb.\par + The location of the data tip relative to the thumb.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + change\par + java.lang.String\par + false\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of userinteraction.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + allowThumbOverlap\par + java.lang.String\par + false\par + If set to false, then each thumb can only be moved to the edge of the adjacent thumb.\par + If set to false, then each thumb can only be moved to the edge of the adjacent thumb.\par + true\par + false\par + \par + \par + allowTrackClick\par + java.lang.String\par + false\par + Specifies whether clicking on the track will move the slider thumb.\par + Specifies whether clicking on the track will move the slider thumb.\par + true\par + false\par + \par + \par + dataTipFormatFunction\par + java.lang.String\par + false\par + Callback function that formats the data tip text.\par + Callback function that formats the data tip text.\par + true\par + false\par + \par + \par + labels\par + java.lang.String\par + false\par + An array of strings used for the slider labels.\par + An array of strings used for the slider labels.\par + true\par + false\par + \par + \par + showDataTip\par + java.lang.String\par + false\par + If set to true, show a data tip during user interaction containing the current value of the slider.\par + If set to true, show a data tip during user interaction containing the current value of the slider.\par + true\par + false\par + \par + \par + sliderDataTipClass\par + java.lang.String\par + false\par + A reference to the class to use for the data tip.\par + A reference to the class to use for the data tip.\par + true\par + false\par + \par + \par + sliderThumbClass\par + java.lang.String\par + false\par + A reference to the class to use for each thumb.\par + A reference to the class to use for each thumb.\par + true\par + false\par + \par + \par + snapInterval\par + java.lang.String\par + false\par + Specifies the increment value of the slider thumb as the user moves the thumb.\par + Specifies the increment value of the slider thumb as the user moves the thumb.\par + true\par + false\par + \par + \par + thumbCount\par + java.lang.String\par + false\par + The number of thumbs allowed on the slider.\par + The number of thumbs allowed on the slider.\par + true\par + false\par + \par + \par + tickInterval\par + java.lang.String\par + false\par + The spacing of the tick marks relative to the maximum value of the control.\par + The spacing of the tick marks relative to the maximum value of the control.\par + true\par + false\par + \par + \par + dataTipOffset\par + java.lang.String\par + false\par + The offset, in pixels, of the data tip relative to the thumb.\par + The offset, in pixels, of the data tip relative to the thumb.\par + true\par + false\par + \par + \par + dataTipPrecision\par + java.lang.String\par + false\par + Number of decimal places to use for the data tip text.\par + Number of decimal places to use for the data tip text.\par + true\par + false\par + \par + \par + dataTipStyleName\par + java.lang.String\par + false\par + The name of the style declaration to use for the data tip.\par + The name of the style declaration to use for the data tip.\par + true\par + false\par + \par + \par + labelOffset\par + java.lang.String\par + false\par + The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the labels relative to the track.\par + The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the labels relative to the track.\par + true\par + false\par + \par + \par + labelStyleName\par + java.lang.String\par + false\par + The name of the style to use for the slider label.\par + The name of the style to use for the slider label.\par + true\par + false\par + \par + \par + showTrackHighlight\par + java.lang.String\par + false\par + Specifies whether to enable track highlighting between thumbs (or a single thumb and the beginning of the track).\par + Specifies whether to enable track highlighting between thumbs (or a single thumb and the beginning of the track).\par + true\par + false\par + \par + \par + slideDuration\par + java.lang.String\par + false\par + Duration in milliseconds for the sliding animation when you click on the track to move a thumb.\par + Duration in milliseconds for the sliding animation when you click on the track to move a thumb.\par + true\par + false\par + \par + \par + slideEasingFunction\par + java.lang.String\par + false\par + Tweening function used by the sliding animation when you click on the track to move a thumb.\par + Tweening function used by the sliding animation when you click on the track to move a thumb.\par + true\par + false\par + \par + \par + thumbDisabledSkin\par + java.lang.String\par + false\par + The skin for the slider thumb disabled state.\par + The skin for the slider thumb disabled state.\par + true\par + false\par + \par + \par + thumbOffset\par + java.lang.String\par + false\par + The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the thumb relative to the track.\par + The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the thumb relative to the track.\par + true\par + false\par + \par + \par + tickColor\par + java.lang.String\par + false\par + The color of the tick marks.\par + The color of the tick marks.\par + true\par + false\par + \par + \par + tickLength\par + java.lang.String\par + false\par + The length in pixels of the tick marks.\par + The length in pixels of the tick marks.\par + true\par + false\par + \par + \par + tickOffset\par + java.lang.String\par + false\par + The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the tick marks relative to the track.\par + The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the tick marks relative to the track.\par + true\par + false\par + \par + \par + tickThickness\par + java.lang.String\par + false\par + The thickness in pixels of the tick marks.\par + The thickness in pixels of the tick marks.\par + true\par + false\par + \par + \par + trackHighlightSkin\par + java.lang.String\par + false\par + The skin for the slider track when it is selected.\par + The skin for the slider track when it is selected.\par + true\par + false\par + \par + \par + trackMargin\par + java.lang.String\par + false\par + The size of the track margins, in pixels.\par + The size of the track margins, in pixels.\par + true\par + false\par + \par + \par + thumbDrag\par + java.lang.String\par + false\par + Dispatched when the slider's thumb is pressed and then moved by the mouse.\par + Dispatched when the slider's thumb is pressed and then moved by the mouse.\par + true\par + false\par + \par + \par + thumbPress\par + java.lang.String\par + false\par + Dispatched when the slider's thumb is pressed, meaning the user presses the mouse button over the thumb.\par + Dispatched when the slider's thumb is pressed, meaning the user presses the mouse button over the thumb.\par + true\par + false\par + \par + \par + thumbRelease\par + java.lang.String\par + false\par + Dispatched when the slider's thumb is released, meaning the user releases the mouse button after a thumbPress event.\par + Dispatched when the slider's thumb is released, meaning the user releases the mouse button after a thumbPress event.\par + true\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + false\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + true\par + false\par + \par + \par + fillColors\par + java.lang.String\par + false\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + liveDragging\par + java.lang.String\par + false\par + If true, the children adjacent to a divider are continuously resized while the user drags it.\par + If true, the children adjacent to a divider are continuously resized while the user drags it.\par + true\par + false\par + \par + \par + minimum\par + java.lang.String\par + false\par + Minimum value of the NumericStepper.\par + Minimum value of the NumericStepper.\par + true\par + false\par + \par + \par + maximum\par + java.lang.String\par + false\par + Maximum value of the NumericStepper.\par + Maximum value of the NumericStepper.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + false\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIHorizontalList\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIHorizontalList\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + jf:mxmlHorizontalList\par + com.googlecode.jsfFlex.MXMLUIHorizontalList\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIHorizontalListTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLHorizontalList\par + true\par + true\par + no description\par + \par + \par + alternatingItemColors\par + java.lang.String\par + false\par + The set of BackgroundColors for drop-down list rows in an alternating pattern.\par + The set of BackgroundColors for drop-down list rows in an alternating pattern.\par + true\par + false\par + \par + \par + selectionEasingFunction\par + java.lang.String\par + false\par + The selectionEasingFunction of the drop-down list.\par + The selectionEasingFunction of the drop-down list.\par + true\par + false\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + itemRollOver\par + java.lang.String\par + false\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + true\par + false\par + \par + \par + itemRollOut\par + java.lang.String\par + false\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + allowDragSelection\par + java.lang.String\par + false\par + A flag that indicates whether drag-selection is enabled.\par + A flag that indicates whether drag-selection is enabled.\par + true\par + false\par + \par + \par + columnWidth\par + java.lang.String\par + false\par + The width of the control's columns.\par + The width of the control's columns.\par + true\par + false\par + \par + \par + dataTipField\par + java.lang.String\par + false\par + Name of the field in the data provider items to display as the data tip.\par + Name of the field in the data provider items to display as the data tip.\par + true\par + false\par + \par + \par + dataTipFunction\par + java.lang.String\par + false\par + User-supplied function to run on each item to determine its dataTip.\par + User-supplied function to run on each item to determine its dataTip.\par + true\par + false\par + \par + \par + dragEnabled\par + java.lang.String\par + false\par + A flag that indicates whether you can dragitems out of this control and drop them on other controls.\par + A flag that indicates whether you can dragitems out of this control and drop them on other controls.\par + true\par + false\par + \par + \par + dropEnabled\par + java.lang.String\par + false\par + A flag that indicates whether dragged items can be dropped onto the control.\par + A flag that indicates whether dragged items can be dropped onto the control.\par + true\par + false\par + \par + \par + iconFunction\par + java.lang.String\par + false\par + A user-supplied function to run on each item to determine its icon.\par + A user-supplied function to run on each item to determine its icon.\par + true\par + false\par + \par + \par + lockedColumnCount\par + java.lang.String\par + false\par + The index of the first column in the control that scrolls.\par + The index of the first column in the control that scrolls.\par + true\par + false\par + \par + \par + lockedRowCount\par + java.lang.String\par + false\par + The index of the first row in the control that scrolls.\par + The index of the first row in the control that scrolls.\par + true\par + false\par + \par + \par + menuSelectionMode\par + java.lang.String\par + false\par + A flag that indicates whether menu-style selection should be used.\par + A flag that indicates whether menu-style selection should be used.\par + true\par + false\par + \par + \par + selectedIndices\par + java.lang.String\par + false\par + An array of indices in the data provider of the selected items.\par + An array of indices in the data provider of the selected items.\par + true\par + false\par + \par + \par + selectedItems\par + java.lang.String\par + false\par + An array of references to the selected items in the data provider.\par + An array of references to the selected items in the data provider.\par + true\par + false\par + \par + \par + showDataTips\par + java.lang.String\par + false\par + A flag that indicates whether dataTips are displayed for text in the rows.\par + A flag that indicates whether dataTips are displayed for text in the rows.\par + true\par + false\par + \par + \par + variableRowHeight\par + java.lang.String\par + false\par + A flag that indicates whether the individual rows can have different height.\par + A flag that indicates whether the individual rows can have different height.\par + true\par + false\par + \par + \par + dropIndicatorSkin\par + java.lang.String\par + false\par + The skin to use to indicate where a dragged item can be dropped.\par + The skin to use to indicate where a dragged item can be dropped.\par + true\par + false\par + \par + \par + useRollOver\par + java.lang.String\par + false\par + A flag that controls whether items are highlighted as the mouse rolls over them.\par + A flag that controls whether items are highlighted as the mouse rolls over them.\par + true\par + false\par + \par + \par + itemDoubleClick\par + java.lang.String\par + false\par + Dispatched when the user double-clicks on an item in the control.\par + Dispatched when the user double-clicks on an item in the control.\par + true\par + false\par + \par + \par + rowHeight\par + java.lang.String\par + false\par + The height of the rows in pixels.\par + The height of the rows in pixels.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + false\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + repeatDelay\par + java.lang.String\par + false\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + true\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + false\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + itemClick\par + java.lang.String\par + false\par + Dispatched when the user clicks on an item in the control.\par + Dispatched when the user clicks on an item in the control.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + wordWrap\par + java.lang.String\par + false\par + A flag that indicates whether text in the row should be word wrapped.\par + A flag that indicates whether text in the row should be word wrapped.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + rowCount\par + java.lang.String\par + false\par + Maximum number of rows visible in the control.\par + Maximum number of rows visible in the control.\par + true\par + false\par + \par + \par + itemRenderer\par + java.lang.String\par + false\par + IFactory that generates the instances that displays the data for the drop-down list of the control.\par + IFactory that generates the instances that displays the data for the drop-down list of the control.\par + true\par + false\par + \par + \par + selectionDuration\par + java.lang.String\par + false\par + The selectionDuration of the drop-down list.\par + The selectionDuration of the drop-down list.\par + true\par + false\par + \par + \par + labelField\par + java.lang.String\par + false\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + selectionDisabledColor\par + java.lang.String\par + false\par + Specifies the disabled color of a list item.\par + Specifies the disabled color of a list item.\par + true\par + false\par + \par + \par + dragMoveEnabled\par + java.lang.String\par + false\par + Indicates that items can be moved instead of just copied from the Tree control as part of a drag-and-drop operation.\par + Indicates that items can be moved instead of just copied from the Tree control as part of a drag-and-drop operation.\par + true\par + false\par + \par + \par + iconField\par + java.lang.String\par + false\par + The name of the field in the data provider object that determines what to display as the icon.\par + The name of the field in the data provider object that determines what to display as the icon.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + rollOverColor\par + java.lang.String\par + false\par + The rollOverColor of the drop-down list.\par + The rollOverColor of the drop-down list.\par + true\par + false\par + \par + \par + selectionColor\par + java.lang.String\par + false\par + The selectionColor of the drop-down list.\par + The selectionColor of the drop-down list.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + false\par + Specifies which corners of the focus rectangle should be rounded. This value is a space-separated String that can contain any combination of tl, tr, bl and br. For example, to specify that the right side corners should be rounded, but the left side corners should be square, use tr br. The cornerRadius style property specifies the radius of the rounded corners. The default value depends on the component class; if not overridden for the class,default value is tl tr bl br.\par + Specifies which corners of the focus rectangle should be rounded. This value is a space-separated String that can contain any combination of tl, tr, bl and br. For example, to specify that the right side corners should be rounded, but the left side corners should be square, use tr br. The cornerRadius style property specifies the radius of the rounded corners. The default value depends on the component class; if not overridden for the class,default value is tl tr bl br.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + selectable\par + java.lang.String\par + false\par + Specifies whether the text can be selected.\par + Specifies whether the text can be selected.\par + true\par + false\par + \par + \par + labelFunction\par + java.lang.String\par + false\par + User-supplied function to run on each item to determine its label.\par + User-supplied function to run on each item to determine its label.\par + true\par + false\par + \par + \par + allowMultipleSelection\par + java.lang.String\par + false\par + A flag that indicates whether you can allow more than one item to be selected at the same time.\par + A flag that indicates whether you can allow more than one item to be selected at the same time.\par + true\par + false\par + \par + \par + selectedItem\par + java.lang.String\par + false\par + The item in the data provider at the selectedIndex.\par + The item in the data provider at the selectedIndex.\par + true\par + false\par + \par + \par + change\par + java.lang.String\par + false\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of userinteraction.\par + true\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + false\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + true\par + false\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + false\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + true\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + false\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + true\par + false\par + \par + \par + leading\par + java.lang.String\par + false\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + true\par + false\par + \par + \par + columnCount\par + java.lang.String\par + false\par + The number of columns to be displayed in a TileList control or items in aHorizontalList control.\par + The number of columns to be displayed in a TileList control or items in aHorizontalList control.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + border\par + java.lang.String\par + false\par + The border object.\par + The border object.\par + true\par + false\par + \par + \par + liveScrolling\par + java.lang.String\par + false\par + A flag that indicates whether scrolling is live as the scrollbar thumb is moved or the view is not updated until the thumb is released.\par + A flag that indicates whether scrolling is live as the scrollbar thumb is moved or the view is not updated until the thumb is released.\par + true\par + false\par + \par + \par + maxHorizontalScrollPosition\par + java.lang.String\par + false\par + The maximum value for the horizontalScrollPosition property.\par + The maximum value for the horizontalScrollPosition property.\par + true\par + false\par + \par + \par + maxVerticalScrollPosition\par + java.lang.String\par + false\par + The maximum value for the verticalScrollPosition property.\par + The maximum value for the verticalScrollPosition property.\par + true\par + false\par + \par + \par + scrollTipFunction\par + java.lang.String\par + false\par + A function that computes the string to be displayed as the ScrollTip.\par + A function that computes the string to be displayed as the ScrollTip.\par + true\par + false\par + \par + \par + showScrollTips\par + java.lang.String\par + false\par + A flagthat indicates whether a tooltip should appear near the scroll thumb when it is being dragged.\par + A flagthat indicates whether a tooltip should appear near the scroll thumb when it is being dragged.\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIImage\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIImage\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlImage\par + com.googlecode.jsfFlex.MXMLUIImage\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIImageTag\par + com.googlecode.jsfFlex.MXMLImage\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + autoLoad\par + java.lang.String\par + If true, the content loads automatically.\par + If true, the content loads automatically.\par + false\par + \par + \par + loaderContext\par + java.lang.String\par + A LoaderContext object to use to load the content.\par + A LoaderContext object to use to load the content.\par + false\par + \par + \par + scaleContent\par + java.lang.String\par + If true, the content scales to fit the SWFLoader control.\par + If true, the content scales to fit the SWFLoader control.\par + false\par + \par + \par + showBusyCursor\par + java.lang.String\par + If true, shows a busy cursor while the content loads.\par + If true, shows a busy cursor while the content loads.\par + false\par + \par + \par + trustContent\par + java.lang.String\par + If true, the content is loaded into your security domain.\par + If true, the content is loaded into your security domain.\par + false\par + \par + \par + brokenImageBorderSkin\par + java.lang.String\par + Name of class to use as the SWFLoader border skin if the control can not load the content.\par + Name of class to use as the SWFLoader border skin if the control can not load the content.\par + false\par + \par + \par + brokenImageSkin\par + java.lang.String\par + Name of the class to use as the SWFLoader skin if the control can not load the content.\par + Name of the class to use as the SWFLoader skin if the control can not load the content.\par + false\par + \par + \par + httpStatus\par + java.lang.String\par + Dispatched when a network request is made over HTTP and Flash Player can detect theHTTP status code.\par + Dispatched when a network request is made over HTTP and Flash Player can detect theHTTP status code.\par + false\par + \par + \par + init\par + java.lang.String\par + Dispatched when the properties and methods of a loaded SWF file are accessible.\par + Dispatched when the properties and methods of a loaded SWF file are accessible.\par + false\par + \par + \par + ioError\par + java.lang.String\par + Dispatched when an input/output error occurs.\par + Dispatched when an input/output error occurs.\par + false\par + \par + \par + securityError\par + java.lang.String\par + Dispatched when a security error occurs while content is loading.\par + Dispatched when a security error occurs while content is loading.\par + false\par + \par + \par + unload\par + java.lang.String\par + Dispatched when a loaded object is removed, or when a second load is performed by the same SWFLoader control and the original content is removed prior to the new load beginning.\par + Dispatched when a loaded object is removed, or when a second load is performed by the same SWFLoader control and the original content is removed prior to the new load beginning.\par + false\par + \par + \par + maintainAspectRatio\par + java.lang.String\par + If true, specifies to display the image with the same ratio of height to width as the original image.\par + If true, specifies to display the image with the same ratio of height to width as the original image.\par + false\par + \par + \par + source\par + java.lang.String\par + Specifies the content to load.\par + Specifies the content to load.\par + false\par + \par + \par + progress\par + java.lang.String\par + Dispatched when content is loading.\par + Dispatched when content is loading.\par + false\par + \par + \par + complete\par + java.lang.String\par + Dispatched when content loading is complete.\par + Dispatched when content loading is complete.\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + false\par + \par + \par + completeEffect\par + java.lang.String\par + Effect called when Flex dispatches the complete event, which occurs when the load completes.\par + Effect called when Flex dispatches the complete event, which occurs when the load completes.\par + false\par + \par + \par + open\par + java.lang.String\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + false\par + \par + \par + dataChange\par + java.lang.String\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUILabel\par + com.googlecode.jsfFlex.component.MXMLUIOutputBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUILabel\par + com.googlecode.jsfFlex.component.MXMLUIOutputBase\par + jf:mxmlLabel\par + com.googlecode.jsfFlex.MXMLUILabel\par + javax.faces.MXMLOutput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUILabelTag\par + com.googlecode.jsfFlex.MXMLLabel\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + data\par + java.lang.String\par + Lets you pass a value to the component when you use it in an item renderer or item editor.\par + Lets you pass a value to the component when you use it in an item renderer or item editor.\par + false\par + \par + \par + listData\par + java.lang.String\par + When a component is used as a drop-in item renderer or drop-in item editor, Flex initializes the listData property of the component with the appropriate data from the list control.\par + When a component is used as a drop-in item renderer or drop-in item editor, Flex initializes the listData property of the component with the appropriate data from the list control.\par + false\par + \par + \par + condenseWhite\par + java.lang.String\par + Specifies whether extra white space (spaces, line breaks, and so on) should be removed in a control with HTML text.\par + Specifies whether extra white space (spaces, line breaks, and so on) should be removed in a control with HTML text.\par + false\par + \par + \par + preloader\par + java.lang.String\par + Specifies the path of a SWC component class or ActionScript component class that defines a custom progress bar.\par + Specifies the path of a SWC component class or ActionScript component class that defines a custom progress bar.\par + false\par + \par + \par + htmlText\par + java.lang.String\par + Specifies the text displayed by the control.\par + Specifies the text displayed by the control.\par + false\par + \par + \par + selectable\par + java.lang.String\par + Specifies whether the text can be selected.\par + Specifies whether the text can be selected.\par + false\par + \par + \par + text\par + java.lang.String\par + Plain text that appears in the control.\par + Plain text that appears in the control.\par + false\par + \par + \par + truncateToFit\par + java.lang.String\par + If this propery is true, and the Label control size is smaller than its text, the text of the Label control is truncated using a localizable string, such as ....\par + If this propery is true, and the Label control size is smaller than its text, the text of the Label control is truncated using a localizable string, such as ....\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + dataChange\par + java.lang.String\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUILinkBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUILinkBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlLinkBar\par + com.googlecode.jsfFlex.MXMLUILinkBar\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUILinkBarTag\par + com.googlecode.jsfFlex.MXMLLinkBar\par + true\par + true\par + no description\par + \par + \par + selectedIndex\par + java.lang.Integer\par + false\par + The index in the data provider of the selected item.\par + The index in the data provider of the selected item.\par + true\par + true\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + toolTipField\par + java.lang.String\par + false\par + Name of the the field in the dataProvider object to display as the tooltip label.\par + Name of the the field in the dataProvider object to display as the tooltip label.\par + true\par + false\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + itemClick\par + java.lang.String\par + false\par + Dispatched when the user clicks on an item in the control.\par + Dispatched when the user clicks on an item in the control.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + false\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + true\par + false\par + \par + \par + labelField\par + java.lang.String\par + false\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + false\par + Horizontal gap.\par + Horizontal gap.\par + true\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + false\par + Vertical gap.\par + Vertical gap.\par + true\par + false\par + \par + \par + iconField\par + java.lang.String\par + false\par + The name of the field in the data provider object that determines what to display as the icon.\par + The name of the field in the data provider object that determines what to display as the icon.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + false\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + true\par + false\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + false\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + separatorColor\par + java.lang.String\par + Separator color used by the default separator skin.\par + Separator color used by the default separator skin.\par + false\par + \par + \par + separatorSkin\par + java.lang.String\par + Seperator symbol between LinkButton controls in the LinkBar.\par + Seperator symbol between LinkButton controls in the LinkBar.\par + false\par + \par + \par + separatorWidth\par + java.lang.String\par + Separator pixel width, in pixels.\par + Separator pixel width, in pixels.\par + false\par + \par + \par + rollOverColor\par + java.lang.String\par + The rollOverColor of the drop-down list.\par + The rollOverColor of the drop-down list.\par + false\par + \par + \par + selectionColor\par + java.lang.String\par + The selectionColor of the drop-down list.\par + The selectionColor of the drop-down list.\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUILinkButton\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUILinkButton\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + jf:mxmlLinkButton\par + com.googlecode.jsfFlex.MXMLUILinkButton\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUILinkButtonTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLLinkButton\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + rollOverColor\par + java.lang.String\par + The rollOverColor of the drop-down list.\par + The rollOverColor of the drop-down list.\par + false\par + \par + \par + selectionColor\par + java.lang.String\par + The selectionColor of the drop-down list.\par + The selectionColor of the drop-down list.\par + false\par + \par + \par + autoRepeat\par + java.lang.String\par + Specifies whether to dispatch repeated buttonDown events if the user holds down the mouse button.\par + Specifies whether to dispatch repeated buttonDown events if the user holds down the mouse button.\par + false\par + \par + \par + emphasized\par + java.lang.String\par + Draws a thick border around the Button control when the control is in its upstate if emphasized is set to true.\par + Draws a thick border around the Button control when the control is in its upstate if emphasized is set to true.\par + false\par + \par + \par + selectedField\par + java.lang.String\par + The name of the field in the data property which specifies the value of the Button control's selected property.\par + The name of the field in the data property which specifies the value of the Button control's selected property.\par + false\par + \par + \par + stickyHighlighting\par + java.lang.String\par + If false, the Button displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true,the Button displays its down skin when the user presses it, and continues todisplay this skin when the user drags the mouse off of it.\par + If false, the Button displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true,the Button displays its down skin when the user presses it, and continues todisplay this skin when the user drags the mouse off of it.\par + false\par + \par + \par + toggle\par + java.lang.String\par + Controls whether a Button is in a toggle state or not.\par + Controls whether a Button is in a toggle state or not.\par + false\par + \par + \par + disabledIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not disabled.\par + Name of the class to use as the icon when the button is not disabled.\par + false\par + \par + \par + downIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not selected and the mouse button is down.\par + Name of the class to use as the icon when the button is not selected and the mouse button is down.\par + false\par + \par + \par + overIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not selected and the mouse is over the control.\par + Name of the class to use as the icon when the button is not selected and the mouse is over the control.\par + false\par + \par + \par + selectedDisabledIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and disabled.\par + Name of the class to use as the icon when the button is selected and disabled.\par + false\par + \par + \par + selectedDisabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and disabled.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and disabled.\par + false\par + \par + \par + selectedDownIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse button is down.\par + Name of the class to use as the icon when the button is selected and the mouse button is down.\par + false\par + \par + \par + selectedDownSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down.\par + false\par + \par + \par + selectedOverIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse is over the control.\par + Name of the class to use as the icon when the button is selected and the mouse is over the control.\par + false\par + \par + \par + selectedOverSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the control.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the control.\par + false\par + \par + \par + selectedUpIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse button is up.\par + Name of the class to use as the icon when the button is selected and the mouse button is up.\par + false\par + \par + \par + selectedUpSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the control.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the control.\par + false\par + \par + \par + upIcon\par + java.lang.String\par + Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button.\par + Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button.\par + false\par + \par + \par + buttonDown\par + java.lang.String\par + Dispatched when the user presses the Button control.\par + Dispatched when the user presses the Button control.\par + false\par + \par + \par + label\par + java.lang.String\par + Text to appear on the control.\par + Text to appear on the control.\par + false\par + \par + \par + labelPlacement\par + java.lang.String\par + Placement of the label.\par + Placement of the label.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + Radius of component corners.\par + Radius of component corners.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + upSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the mouse is not over the control.\par + Name of the class to use as the skin for the background and border when the mouse is not over the control.\par + false\par + \par + \par + disabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + false\par + \par + \par + downSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button.\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button.\par + false\par + \par + \par + overSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the mouse is over the control.\par + Name of the class to use as the skin for the background and border when the mouse is over the control.\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + false\par + \par + \par + fillColors\par + java.lang.String\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + icon\par + java.lang.String\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + false\par + \par + \par + leading\par + java.lang.String\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + repeatDelay\par + java.lang.String\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + dataChange\par + java.lang.String\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIList\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIList\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + jf:mxmlList\par + com.googlecode.jsfFlex.MXMLUIList\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIListTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLList\par + true\par + true\par + no description\par + \par + \par + alternatingItemColors\par + java.lang.String\par + false\par + The set of BackgroundColors for drop-down list rows in an alternating pattern.\par + The set of BackgroundColors for drop-down list rows in an alternating pattern.\par + true\par + false\par + \par + \par + selectionEasingFunction\par + java.lang.String\par + false\par + The selectionEasingFunction of the drop-down list.\par + The selectionEasingFunction of the drop-down list.\par + true\par + false\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + itemRollOver\par + java.lang.String\par + false\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + true\par + false\par + \par + \par + itemRollOut\par + java.lang.String\par + false\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + allowDragSelection\par + java.lang.String\par + false\par + A flag that indicates whether drag-selection is enabled.\par + A flag that indicates whether drag-selection is enabled.\par + true\par + false\par + \par + \par + columnWidth\par + java.lang.String\par + false\par + The width of the control's columns.\par + The width of the control's columns.\par + true\par + false\par + \par + \par + dataTipField\par + java.lang.String\par + false\par + Name of the field in the data provider items to display as the data tip.\par + Name of the field in the data provider items to display as the data tip.\par + true\par + false\par + \par + \par + dataTipFunction\par + java.lang.String\par + false\par + User-supplied function to run on each item to determine its dataTip.\par + User-supplied function to run on each item to determine its dataTip.\par + true\par + false\par + \par + \par + dragEnabled\par + java.lang.String\par + false\par + A flag that indicates whether you can dragitems out of this control and drop them on other controls.\par + A flag that indicates whether you can dragitems out of this control and drop them on other controls.\par + true\par + false\par + \par + \par + dropEnabled\par + java.lang.String\par + false\par + A flag that indicates whether dragged items can be dropped onto the control.\par + A flag that indicates whether dragged items can be dropped onto the control.\par + true\par + false\par + \par + \par + iconFunction\par + java.lang.String\par + false\par + A user-supplied function to run on each item to determine its icon.\par + A user-supplied function to run on each item to determine its icon.\par + true\par + false\par + \par + \par + lockedColumnCount\par + java.lang.String\par + false\par + The index of the first column in the control that scrolls.\par + The index of the first column in the control that scrolls.\par + true\par + false\par + \par + \par + lockedRowCount\par + java.lang.String\par + false\par + The index of the first row in the control that scrolls.\par + The index of the first row in the control that scrolls.\par + true\par + false\par + \par + \par + menuSelectionMode\par + java.lang.String\par + false\par + A flag that indicates whether menu-style selection should be used.\par + A flag that indicates whether menu-style selection should be used.\par + true\par + false\par + \par + \par + selectedIndices\par + java.lang.String\par + false\par + An array of indices in the data provider of the selected items.\par + An array of indices in the data provider of the selected items.\par + true\par + false\par + \par + \par + selectedItems\par + java.lang.String\par + false\par + An array of references to the selected items in the data provider.\par + An array of references to the selected items in the data provider.\par + true\par + false\par + \par + \par + showDataTips\par + java.lang.String\par + false\par + A flag that indicates whether dataTips are displayed for text in the rows.\par + A flag that indicates whether dataTips are displayed for text in the rows.\par + true\par + false\par + \par + \par + variableRowHeight\par + java.lang.String\par + false\par + A flag that indicates whether the individual rows can have different height.\par + A flag that indicates whether the individual rows can have different height.\par + true\par + false\par + \par + \par + dropIndicatorSkin\par + java.lang.String\par + false\par + The skin to use to indicate where a dragged item can be dropped.\par + The skin to use to indicate where a dragged item can be dropped.\par + true\par + false\par + \par + \par + useRollOver\par + java.lang.String\par + false\par + A flag that controls whether items are highlighted as the mouse rolls over them.\par + A flag that controls whether items are highlighted as the mouse rolls over them.\par + true\par + false\par + \par + \par + itemDoubleClick\par + java.lang.String\par + false\par + Dispatched when the user double-clicks on an item in the control.\par + Dispatched when the user double-clicks on an item in the control.\par + true\par + false\par + \par + \par + rowHeight\par + java.lang.String\par + false\par + The height of the rows in pixels.\par + The height of the rows in pixels.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + false\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + repeatDelay\par + java.lang.String\par + false\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + true\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + false\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + itemClick\par + java.lang.String\par + false\par + Dispatched when the user clicks on an item in the control.\par + Dispatched when the user clicks on an item in the control.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + wordWrap\par + java.lang.String\par + false\par + A flag that indicates whether text in the row should be word wrapped.\par + A flag that indicates whether text in the row should be word wrapped.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + rowCount\par + java.lang.String\par + false\par + Maximum number of rows visible in the control.\par + Maximum number of rows visible in the control.\par + true\par + false\par + \par + \par + itemRenderer\par + java.lang.String\par + false\par + IFactory that generates the instances that displays the data for the drop-down list of the control.\par + IFactory that generates the instances that displays the data for the drop-down list of the control.\par + true\par + false\par + \par + \par + selectionDuration\par + java.lang.String\par + false\par + The selectionDuration of the drop-down list.\par + The selectionDuration of the drop-down list.\par + true\par + false\par + \par + \par + labelField\par + java.lang.String\par + false\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + selectionDisabledColor\par + java.lang.String\par + false\par + Specifies the disabled color of a list item.\par + Specifies the disabled color of a list item.\par + true\par + false\par + \par + \par + dragMoveEnabled\par + java.lang.String\par + false\par + Indicates that items can be moved instead of just copied from the Tree control as part of a drag-and-drop operation.\par + Indicates that items can be moved instead of just copied from the Tree control as part of a drag-and-drop operation.\par + true\par + false\par + \par + \par + iconField\par + java.lang.String\par + false\par + The name of the field in the data provider object that determines what to display as the icon.\par + The name of the field in the data provider object that determines what to display as the icon.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + rollOverColor\par + java.lang.String\par + false\par + The rollOverColor of the drop-down list.\par + The rollOverColor of the drop-down list.\par + true\par + false\par + \par + \par + selectionColor\par + java.lang.String\par + false\par + The selectionColor of the drop-down list.\par + The selectionColor of the drop-down list.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + false\par + Specifies which corners of the focus rectangle should be rounded. This value is a space-separated String that can contain any combination of tl, tr, bl and br. For example, to specify that the right side corners should be rounded, but the left side corners should be square, use tr br. The cornerRadius style property specifies the radius of the rounded corners. The default value depends on the component class; if not overridden for the class,default value is tl tr bl br.\par + Specifies which corners of the focus rectangle should be rounded. This value is a space-separated String that can contain any combination of tl, tr, bl and br. For example, to specify that the right side corners should be rounded, but the left side corners should be square, use tr br. The cornerRadius style property specifies the radius of the rounded corners. The default value depends on the component class; if not overridden for the class,default value is tl tr bl br.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + selectable\par + java.lang.String\par + false\par + Specifies whether the text can be selected.\par + Specifies whether the text can be selected.\par + true\par + false\par + \par + \par + labelFunction\par + java.lang.String\par + false\par + User-supplied function to run on each item to determine its label.\par + User-supplied function to run on each item to determine its label.\par + true\par + false\par + \par + \par + allowMultipleSelection\par + java.lang.String\par + false\par + A flag that indicates whether you can allow more than one item to be selected at the same time.\par + A flag that indicates whether you can allow more than one item to be selected at the same time.\par + true\par + false\par + \par + \par + selectedItem\par + java.lang.String\par + false\par + The item in the data provider at the selectedIndex.\par + The item in the data provider at the selectedIndex.\par + true\par + false\par + \par + \par + change\par + java.lang.String\par + false\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of userinteraction.\par + true\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + false\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + true\par + false\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + leading\par + java.lang.String\par + false\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + true\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + false\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + true\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + false\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + true\par + false\par + \par + \par + columnCount\par + java.lang.String\par + false\par + The number of columns to be displayed in a TileList control or items in aHorizontalList control.\par + The number of columns to be displayed in a TileList control or items in aHorizontalList control.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + border\par + java.lang.String\par + false\par + The border object.\par + The border object.\par + true\par + false\par + \par + \par + liveScrolling\par + java.lang.String\par + false\par + A flag that indicates whether scrolling is live as the scrollbar thumb is moved or the view is not updated until the thumb is released.\par + A flag that indicates whether scrolling is live as the scrollbar thumb is moved or the view is not updated until the thumb is released.\par + true\par + false\par + \par + \par + maxHorizontalScrollPosition\par + java.lang.String\par + false\par + The maximum value for the horizontalScrollPosition property.\par + The maximum value for the horizontalScrollPosition property.\par + true\par + false\par + \par + \par + maxVerticalScrollPosition\par + java.lang.String\par + false\par + The maximum value for the verticalScrollPosition property.\par + The maximum value for the verticalScrollPosition property.\par + true\par + false\par + \par + \par + scrollTipFunction\par + java.lang.String\par + false\par + A function that computes the string to be displayed as the ScrollTip.\par + A function that computes the string to be displayed as the ScrollTip.\par + true\par + false\par + \par + \par + showScrollTips\par + java.lang.String\par + false\par + A flagthat indicates whether a tooltip should appear near the scroll thumb when it is being dragged.\par + A flagthat indicates whether a tooltip should appear near the scroll thumb when it is being dragged.\par + true\par + false\par + \par + \par + editable\par + java.lang.String\par + A flag that indicates whether the control is editable.\par + A flag that indicates whether the control is editable.\par + false\par + \par + \par + editedItemPosition\par + java.lang.String\par + The column and row index of the item renderer for the data provider item being edited, if any.\par + The column and row index of the item renderer for the data provider item being edited, if any.\par + false\par + \par + \par + itemEditorInstance\par + java.lang.String\par + A reference to the currently active instance of the item editor, if it exists.\par + A reference to the currently active instance of the item editor, if it exists.\par + false\par + \par + \par + itemFocusIn\par + java.lang.String\par + Dispatched when an item renderer gets focus, which can occur if the user clicks on an item in the List control or navigates to the item using a keyboard.\par + Dispatched when an item renderer gets focus, which can occur if the user clicks on an item in the List control or navigates to the item using a keyboard.\par + false\par + \par + \par + itemEditBegin\par + java.lang.String\par + Dispatched when the editedItemPosition property is set and the item can be edited.\par + Dispatched when the editedItemPosition property is set and the item can be edited.\par + false\par + \par + \par + itemEditEnd\par + java.lang.String\par + Dispatched when an item editing session is ending for any reason.\par + Dispatched when an item editing session is ending for any reason.\par + false\par + \par + \par + itemFocusOut\par + java.lang.String\par + Dispatched when an item renderer loses the focus, which can occur if the user clicks another item in the List control or outside the list, or uses the keyboard to navigate to another item in the List control or outside the List control.\par + Dispatched when an item renderer loses the focus, which can occur if the user clicks another item in the List control or outside the list, or uses the keyboard to navigate to another item in the List control or outside the List control.\par + false\par + \par + \par + editorDataField\par + java.lang.String\par + The name of the property of the item editor that contains the new data for the list item.\par + The name of the property of the item editor that contains the new data for the list item.\par + false\par + \par + \par + editorHeightOffset\par + java.lang.String\par + The height of the item editor, in pixels, relative to the size of the item renderer.\par + The height of the item editor, in pixels, relative to the size of the item renderer.\par + false\par + \par + \par + editorUsesEnterKey\par + java.lang.String\par + A flag that indicates whether the item editor uses Enter key.\par + A flag that indicates whether the item editor uses Enter key.\par + false\par + \par + \par + editorWidthOffset\par + java.lang.String\par + The width of the item editor, in pixels, relative to the size of the item renderer.\par + The width of the item editor, in pixels, relative to the size of the item renderer.\par + false\par + \par + \par + editorXOffset\par + java.lang.String\par + The x location of the upper-left corner of the item editor, in pixels, relative to the upper-left corner of the item.\par + The x location of the upper-left corner of the item editor, in pixels, relative to the upper-left corner of the item.\par + false\par + \par + \par + editorYOffset\par + java.lang.String\par + The y location of the upper-left corner of the item editor, in pixels, relative to the upper-left corner of the item.\par + The y location of the upper-left corner of the item editor, in pixels, relative to the upper-left corner of the item.\par + false\par + \par + \par + itemEditor\par + java.lang.String\par + The class factory for the item editor to use for the control, if the editable property is set to true.\par + The class factory for the item editor to use for the control, if the editable property is set to true.\par + false\par + \par + \par + rendererIsEditor\par + java.lang.String\par + Specifies whether the item renderer is also an item editor.\par + Specifies whether the item renderer is also an item editor.\par + false\par + \par + \par + itemEditBeginning\par + java.lang.String\par + Dispatched when the user releases the mouse button while over an item, tabs to the List or within the List, or in any other way attempts to edit an item.\par + Dispatched when the user releases the mouse button while over an item, tabs to the List or within the List, or in any other way attempts to edit an item.\par + false\par + \par + \par + imeMode\par + java.lang.String\par + Specifies the IME (input method editor) mode.\par + Specifies the IME (input method editor) mode.\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIMenuBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIMenuBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlMenuBar\par + com.googlecode.jsfFlex.MXMLUIMenuBar\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIMenuBarTag\par + com.googlecode.jsfFlex.MXMLMenuBar\par + true\par + true\par + no description\par + \par + \par + selectedIndex\par + java.lang.Integer\par + false\par + The index in the data provider of the selected item.\par + The index in the data provider of the selected item.\par + true\par + true\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + menubarItems\par + java.lang.String\par + An Array of MenuBarItem objects that populate this MenuBar.\par + An Array of MenuBarItem objects that populate this MenuBar.\par + false\par + \par + \par + menus\par + java.lang.String\par + An Array containing the Menu objects for this MenuBar.\par + An Array containing the Menu objects for this MenuBar.\par + false\par + \par + \par + backgroundSkin\par + java.lang.String\par + The background skin of the MenuBar control.\par + The background skin of the MenuBar control.\par + false\par + \par + \par + itemDownSkin\par + java.lang.String\par + The skin when a MenuBar item is selected.\par + The skin when a MenuBar item is selected.\par + false\par + \par + \par + itemOverSkin\par + java.lang.String\par + The skin when focus is over a MenuBar item either.\par + The skin when focus is over a MenuBar item either.\par + false\par + \par + \par + itemUpSkin\par + java.lang.String\par + The skin when a MenuBar item is not selected.\par + The skin when a MenuBar item is not selected.\par + false\par + \par + \par + menuHide\par + java.lang.String\par + Dispatched when a menu or submenu closes.\par + Dispatched when a menu or submenu closes.\par + false\par + \par + \par + menuShow\par + java.lang.String\par + Dispatched when a menu or submenu opens, or the mouse pointer rolls over an item with no drop-down menu.\par + Dispatched when a menu or submenu opens, or the mouse pointer rolls over an item with no drop-down menu.\par + false\par + \par + \par + showRoot\par + java.lang.String\par + A Boolean flag that specifies whether to display the data provider's root node.\par + A Boolean flag that specifies whether to display the data provider's root node.\par + false\par + \par + \par + dataDescriptor\par + java.lang.String\par + The object that accesses and manipulates data in the data provider.\par + The object that accesses and manipulates data in the data provider.\par + false\par + \par + \par + iconField\par + java.lang.String\par + The name of the field in the data provider object that determines what to display as the icon.\par + The name of the field in the data provider object that determines what to display as the icon.\par + false\par + \par + \par + labelField\par + java.lang.String\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + false\par + \par + \par + labelFunction\par + java.lang.String\par + User-supplied function to run on each item to determine its label.\par + User-supplied function to run on each item to determine its label.\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + Background color of a component.\par + Background color of a component.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + Radius of component corners.\par + Radius of component corners.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + false\par + \par + \par + fillColors\par + java.lang.String\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + leading\par + java.lang.String\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + false\par + \par + \par + rollOverColor\par + java.lang.String\par + The rollOverColor of the drop-down list.\par + The rollOverColor of the drop-down list.\par + false\par + \par + \par + selectionColor\par + java.lang.String\par + The selectionColor of the drop-down list.\par + The selectionColor of the drop-down list.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + itemClick\par + java.lang.String\par + Dispatched when the user clicks on an item in the control.\par + Dispatched when the user clicks on an item in the control.\par + false\par + \par + \par + itemRollOver\par + java.lang.String\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + false\par + \par + \par + itemRollOut\par + java.lang.String\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUINumericStepper\par + com.googlecode.jsfFlex.component.MXMLUIValueBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUINumericStepper\par + com.googlecode.jsfFlex.component.MXMLUIValueBase\par + jf:mxmlNumericStepper\par + com.googlecode.jsfFlex.MXMLUINumericStepper\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUINumericStepperTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLNumericStepper\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + stepSize\par + java.lang.String\par + Non-zero unit of change between values.\par + Non-zero unit of change between values.\par + false\par + \par + \par + borderCapColor\par + java.lang.String\par + Specifies borderCapColor.\par + Specifies borderCapColor.\par + false\par + \par + \par + imeMode\par + java.lang.String\par + Specifies the IME (input method editor) mode.\par + Specifies the IME (input method editor) mode.\par + false\par + \par + \par + maxChars\par + java.lang.String\par + Maximum number of characters that users can enter in the text field.\par + Maximum number of characters that users can enter in the text field.\par + false\par + \par + \par + minimum\par + java.lang.String\par + Minimum value of the NumericStepper.\par + Minimum value of the NumericStepper.\par + false\par + \par + \par + maximum\par + java.lang.String\par + Maximum value of the NumericStepper.\par + Maximum value of the NumericStepper.\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + Background color of a component.\par + Background color of a component.\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + Background image of a component.\par + Background image of a component.\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + Color of the drop shadow.\par + Color of the drop shadow.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + borderSides\par + java.lang.String\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + Bounding box style.\par + Bounding box style.\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + The border skin of the component.\par + The border skin of the component.\par + false\par + \par + \par + borderThickness\par + java.lang.String\par + Bounding box thickness.\par + Bounding box thickness.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + Radius of component corners.\par + Radius of component corners.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + downArrowDisabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the Up arrow when the arrow is disabled.\par + Name of the class to use as the skin for the Up arrow when the arrow is disabled.\par + false\par + \par + \par + downArrowDownSkin\par + java.lang.String\par + Name of the class to use as the skin for the up arrow when the arrow is enabled and a user presses the mouse button over the arrow.\par + Name of the class to use as the skin for the up arrow when the arrow is enabled and a user presses the mouse button over the arrow.\par + false\par + \par + \par + downArrowUpSkin\par + java.lang.String\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is not on the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is not on the arrow.\par + false\par + \par + \par + upArrowOverSkin\par + java.lang.String\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is over the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is over the arrow.\par + false\par + \par + \par + upArrowDownSkin\par + java.lang.String\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and a user presses the mouse button over the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and a user presses the mouse button over the arrow.\par + false\par + \par + \par + upArrowDisabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the Up arrow when the arrow is disabled.\par + Name of the class to use as the skin for the Up arrow when the arrow is disabled.\par + false\par + \par + \par + downArrowOverSkin\par + java.lang.String\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is over the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is over the arrow.\par + false\par + \par + \par + upArrowUpSkin\par + java.lang.String\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is not on the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is not on the arrow.\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + leading\par + java.lang.String\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + dataChange\par + java.lang.String\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIPanel\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIPanel\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlPanel\par + com.googlecode.jsfFlex.MXMLUIPanel\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIPanelTag\par + com.googlecode.jsfFlex.MXMLPanel\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + layout\par + java.lang.String\par + Specifies the layout mechanism used for this application.\par + Specifies the layout mechanism used for this application.\par + false\par + \par + \par + status\par + java.lang.String\par + Text in the status area of the title bar.\par + Text in the status area of the title bar.\par + false\par + \par + \par + titleIcon\par + java.lang.String\par + The icon displayed in the title bar.\par + The icon displayed in the title bar.\par + false\par + \par + \par + borderAlpha\par + java.lang.String\par + Alpha of the title bar, control bar and sides of the Panel. The default value is 0.4.\par + Alpha of the title bar, control bar and sides of the Panel. The default value is 0.4.\par + false\par + \par + \par + borderThicknessBottom\par + java.lang.String\par + Thickness of the bottom border of the Panel control.\par + Thickness of the bottom border of the Panel control.\par + false\par + \par + \par + borderThicknessLeft\par + java.lang.String\par + Thickness of the left border of the Panel.\par + Thickness of the left border of the Panel.\par + false\par + \par + \par + borderThicknessRight\par + java.lang.String\par + Thickness of the right border of the Panel.\par + Thickness of the right border of the Panel.\par + false\par + \par + \par + borderThicknessTop\par + java.lang.String\par + Thickness of the top border of the Panel.\par + Thickness of the top border of the Panel.\par + false\par + \par + \par + closeButtonDisabledSkin\par + java.lang.String\par + The close button disabled skin.\par + The close button disabled skin.\par + false\par + \par + \par + closeButtonDownSkin\par + java.lang.String\par + The close button down skin.\par + The close button down skin.\par + false\par + \par + \par + closeButtonOverSkin\par + java.lang.String\par + The close button over skin.\par + The close button over skin.\par + false\par + \par + \par + closeButtonUpSkin\par + java.lang.String\par + The close button up skin.\par + The close button up skin.\par + false\par + \par + \par + controlBarStyleName\par + java.lang.String\par + Name of the CSS style declaration that specifies styles to apply to any control bar child subcontrol.\par + Name of the CSS style declaration that specifies styles to apply to any control bar child subcontrol.\par + false\par + \par + \par + footerColors\par + java.lang.String\par + Array of two colors used to draw the footer background.\par + Array of two colors used to draw the footer background.\par + false\par + \par + \par + roundedBottomCorners\par + java.lang.String\par + Flag to enable rounding for the bottom two corners of the container.\par + Flag to enable rounding for the bottom two corners of the container.\par + false\par + \par + \par + statusStyleName\par + java.lang.String\par + Style declaration name for the status in the title bar.\par + Style declaration name for the status in the title bar.\par + false\par + \par + \par + titleBackgroundSkin\par + java.lang.String\par + The title background skin.\par + The title background skin.\par + false\par + \par + \par + titleStyleName\par + java.lang.String\par + Style declaration name for the text in the title bar.\par + Style declaration name for the text in the title bar.\par + false\par + \par + \par + resizeEndEffect\par + java.lang.String\par + Specifies the effect to play after a Resize effect finishes playing.\par + Specifies the effect to play after a Resize effect finishes playing.\par + false\par + \par + \par + resizeStartEffect\par + java.lang.String\par + Specifies the effect to play before a Resize effect begins playing.\par + Specifies the effect to play before a Resize effect begins playing.\par + false\par + \par + \par + title\par + java.lang.String\par + Title or caption displayed in the title bar.\par + Title or caption displayed in the title bar.\par + false\par + \par + \par + headerColors\par + java.lang.String\par + Colors of the band at the top of the control.\par + Colors of the band at the top of the control.\par + false\par + \par + \par + headerHeight\par + java.lang.String\par + Height of each accordion header, in pixels.\par + Height of each accordion header, in pixels.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + modalTransparencyDuration\par + java.lang.String\par + Duration, in milliseconds, of the modal transparency effect that plays when a modal window opens or closes. The default value is 100.\par + Duration, in milliseconds, of the modal transparency effect that plays when a modal window opens or closes. The default value is 100.\par + false\par + \par + \par + modalTransparency\par + java.lang.String\par + Modality of components launched by the PopUp Manager is simulated by creating a large translucent overlay underneath the component. Because of the way translucent objects are rendered, you may notice a slight dimming of the objects under the overlay. The effective transparency can be set by changing the modalTransparency value from 0.0 (fully transparent) to 1.0 (fully opaque). You can also set the color of the overlay by changing the modalTransparencyColor style. The default value is 0.5.\par + Modality of components launched by the PopUp Manager is simulated by creating a large translucent overlay underneath the component. Because of the way translucent objects are rendered, you may notice a slight dimming of the objects under the overlay. The effective transparency can be set by changing the modalTransparency value from 0.0 (fully transparent) to 1.0 (fully opaque). You can also set the color of the overlay by changing the modalTransparencyColor style. The default value is 0.5.\par + false\par + \par + \par + modalTransparencyColor\par + java.lang.String\par + Color of the modal overlay layer. This style is used in conjunction with the modalTransparency style to determine the colorization applied to the application when a modal window is open. The default value is #DDDDDD.\par + Color of the modal overlay layer. This style is used in conjunction with the modalTransparency style to determine the colorization applied to the application when a modal window is open. The default value is #DDDDDD.\par + false\par + \par + \par + modalTransparencyBlur\par + java.lang.String\par + The blur applied to the application while a modal window is open. A Blur effects oftens the details of an image. The default value is 3.\par + The blur applied to the application while a modal window is open. A Blur effects oftens the details of an image. The default value is 3.\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + false\par + \par + \par + close\par + java.lang.String\par + Dispatched when the drop-down list is dismissed for any reason.\par + Dispatched when the drop-down list is dismissed for any reason.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIPopUpButton\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIPopUpButton\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + jf:mxmlPopUpButton\par + com.googlecode.jsfFlex.MXMLUIPopUpButton\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIPopUpButtonTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLPopUpButton\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + openAlways\par + java.lang.String\par + If true, specifies to pop up the popUp when you click the main button.\par + If true, specifies to pop up the popUp when you click the main button.\par + false\par + \par + \par + popUp\par + java.lang.String\par + Specifies the UIComponent object, or object defined by a subclass of UIComponent, to pop up.\par + Specifies the UIComponent object, or object defined by a subclass of UIComponent, to pop up.\par + false\par + \par + \par + popUpDownSkin\par + java.lang.String\par + Skin class for the popUpDown state (when arrowButton is in down state) of the background and border.\par + Skin class for the popUpDown state (when arrowButton is in down state) of the background and border.\par + false\par + \par + \par + popUpGap\par + java.lang.String\par + Number of vertical pixels between the PopUpButton and the specified popup UIComponent.\par + Number of vertical pixels between the PopUpButton and the specified popup UIComponent.\par + false\par + \par + \par + popUpIcon\par + java.lang.String\par + The icon used for the right button of PopUpButton.\par + The icon used for the right button of PopUpButton.\par + false\par + \par + \par + popUpOverSkin\par + java.lang.String\par + Skin class for the popUpOver state (over arrowButton) of the background and border.\par + Skin class for the popUpOver state (over arrowButton) of the background and border.\par + false\par + \par + \par + arrowButtonWidth\par + java.lang.String\par + Width of the arrow button in pixels.\par + Width of the arrow button in pixels.\par + false\par + \par + \par + closeEasingFunction\par + java.lang.String\par + Easing function to control component tweening.\par + Easing function to control component tweening.\par + false\par + \par + \par + closeDuration\par + java.lang.String\par + Length of a close transition, in milliseconds.\par + Length of a close transition, in milliseconds.\par + false\par + \par + \par + openDuration\par + java.lang.String\par + Length of an open or close transition, in milliseconds.\par + Length of an open or close transition, in milliseconds.\par + false\par + \par + \par + openEasingFunction\par + java.lang.String\par + Easing function to control component tweening.\par + Easing function to control component tweening.\par + false\par + \par + \par + open\par + java.lang.String\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + false\par + \par + \par + close\par + java.lang.String\par + Dispatched when the drop-down list is dismissed for any reason.\par + Dispatched when the drop-down list is dismissed for any reason.\par + false\par + \par + \par + autoRepeat\par + java.lang.String\par + Specifies whether to dispatch repeated buttonDown events if the user holds down the mouse button.\par + Specifies whether to dispatch repeated buttonDown events if the user holds down the mouse button.\par + false\par + \par + \par + emphasized\par + java.lang.String\par + Draws a thick border around the Button control when the control is in its upstate if emphasized is set to true.\par + Draws a thick border around the Button control when the control is in its upstate if emphasized is set to true.\par + false\par + \par + \par + selectedField\par + java.lang.String\par + The name of the field in the data property which specifies the value of the Button control's selected property.\par + The name of the field in the data property which specifies the value of the Button control's selected property.\par + false\par + \par + \par + stickyHighlighting\par + java.lang.String\par + If false, the Button displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true,the Button displays its down skin when the user presses it, and continues todisplay this skin when the user drags the mouse off of it.\par + If false, the Button displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true,the Button displays its down skin when the user presses it, and continues todisplay this skin when the user drags the mouse off of it.\par + false\par + \par + \par + toggle\par + java.lang.String\par + Controls whether a Button is in a toggle state or not.\par + Controls whether a Button is in a toggle state or not.\par + false\par + \par + \par + disabledIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not disabled.\par + Name of the class to use as the icon when the button is not disabled.\par + false\par + \par + \par + downIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not selected and the mouse button is down.\par + Name of the class to use as the icon when the button is not selected and the mouse button is down.\par + false\par + \par + \par + overIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not selected and the mouse is over the control.\par + Name of the class to use as the icon when the button is not selected and the mouse is over the control.\par + false\par + \par + \par + selectedDisabledIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and disabled.\par + Name of the class to use as the icon when the button is selected and disabled.\par + false\par + \par + \par + selectedDisabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and disabled.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and disabled.\par + false\par + \par + \par + selectedDownIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse button is down.\par + Name of the class to use as the icon when the button is selected and the mouse button is down.\par + false\par + \par + \par + selectedDownSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down.\par + false\par + \par + \par + selectedOverIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse is over the control.\par + Name of the class to use as the icon when the button is selected and the mouse is over the control.\par + false\par + \par + \par + selectedOverSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the control.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the control.\par + false\par + \par + \par + selectedUpIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse button is up.\par + Name of the class to use as the icon when the button is selected and the mouse button is up.\par + false\par + \par + \par + selectedUpSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the control.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the control.\par + false\par + \par + \par + upIcon\par + java.lang.String\par + Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button.\par + Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button.\par + false\par + \par + \par + buttonDown\par + java.lang.String\par + Dispatched when the user presses the Button control.\par + Dispatched when the user presses the Button control.\par + false\par + \par + \par + label\par + java.lang.String\par + Text to appear on the control.\par + Text to appear on the control.\par + false\par + \par + \par + labelPlacement\par + java.lang.String\par + Placement of the label.\par + Placement of the label.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + Radius of component corners.\par + Radius of component corners.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + upSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the mouse is not over the control.\par + Name of the class to use as the skin for the background and border when the mouse is not over the control.\par + false\par + \par + \par + disabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + false\par + \par + \par + downSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button.\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button.\par + false\par + \par + \par + overSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the mouse is over the control.\par + Name of the class to use as the skin for the background and border when the mouse is over the control.\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + false\par + \par + \par + fillColors\par + java.lang.String\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + icon\par + java.lang.String\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + false\par + \par + \par + leading\par + java.lang.String\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + repeatDelay\par + java.lang.String\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + dataChange\par + java.lang.String\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIPopUpMenuButton\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIPopUpMenuButton\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + jf:mxmlPopUpMenuButton\par + com.googlecode.jsfFlex.MXMLUIPopUpMenuButton\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIPopUpMenuButtonTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLPopUpMenuButton\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + showRoot\par + java.lang.String\par + A Boolean flag that specifies whether to display the data provider's root node.\par + A Boolean flag that specifies whether to display the data provider's root node.\par + false\par + \par + \par + dataDescriptor\par + java.lang.String\par + The object that accesses and manipulates data in the data provider.\par + The object that accesses and manipulates data in the data provider.\par + false\par + \par + \par + labelField\par + java.lang.String\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + false\par + \par + \par + labelFunction\par + java.lang.String\par + User-supplied function to run on each item to determine its label.\par + User-supplied function to run on each item to determine its label.\par + false\par + \par + \par + autoRepeat\par + java.lang.String\par + Specifies whether to dispatch repeated buttonDown events if the user holds down the mouse button.\par + Specifies whether to dispatch repeated buttonDown events if the user holds down the mouse button.\par + false\par + \par + \par + emphasized\par + java.lang.String\par + Draws a thick border around the Button control when the control is in its upstate if emphasized is set to true.\par + Draws a thick border around the Button control when the control is in its upstate if emphasized is set to true.\par + false\par + \par + \par + selectedField\par + java.lang.String\par + The name of the field in the data property which specifies the value of the Button control's selected property.\par + The name of the field in the data property which specifies the value of the Button control's selected property.\par + false\par + \par + \par + stickyHighlighting\par + java.lang.String\par + If false, the Button displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true,the Button displays its down skin when the user presses it, and continues todisplay this skin when the user drags the mouse off of it.\par + If false, the Button displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true,the Button displays its down skin when the user presses it, and continues todisplay this skin when the user drags the mouse off of it.\par + false\par + \par + \par + toggle\par + java.lang.String\par + Controls whether a Button is in a toggle state or not.\par + Controls whether a Button is in a toggle state or not.\par + false\par + \par + \par + disabledIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not disabled.\par + Name of the class to use as the icon when the button is not disabled.\par + false\par + \par + \par + downIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not selected and the mouse button is down.\par + Name of the class to use as the icon when the button is not selected and the mouse button is down.\par + false\par + \par + \par + overIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not selected and the mouse is over the control.\par + Name of the class to use as the icon when the button is not selected and the mouse is over the control.\par + false\par + \par + \par + selectedDisabledIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and disabled.\par + Name of the class to use as the icon when the button is selected and disabled.\par + false\par + \par + \par + selectedDisabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and disabled.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and disabled.\par + false\par + \par + \par + selectedDownIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse button is down.\par + Name of the class to use as the icon when the button is selected and the mouse button is down.\par + false\par + \par + \par + selectedDownSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down.\par + false\par + \par + \par + selectedOverIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse is over the control.\par + Name of the class to use as the icon when the button is selected and the mouse is over the control.\par + false\par + \par + \par + selectedOverSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the control.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the control.\par + false\par + \par + \par + selectedUpIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse button is up.\par + Name of the class to use as the icon when the button is selected and the mouse button is up.\par + false\par + \par + \par + selectedUpSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the control.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the control.\par + false\par + \par + \par + upIcon\par + java.lang.String\par + Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button.\par + Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button.\par + false\par + \par + \par + buttonDown\par + java.lang.String\par + Dispatched when the user presses the Button control.\par + Dispatched when the user presses the Button control.\par + false\par + \par + \par + label\par + java.lang.String\par + Text to appear on the control.\par + Text to appear on the control.\par + false\par + \par + \par + labelPlacement\par + java.lang.String\par + Placement of the label.\par + Placement of the label.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + Radius of component corners.\par + Radius of component corners.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + upSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the mouse is not over the control.\par + Name of the class to use as the skin for the background and border when the mouse is not over the control.\par + false\par + \par + \par + disabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + false\par + \par + \par + downSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button.\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button.\par + false\par + \par + \par + overSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the mouse is over the control.\par + Name of the class to use as the skin for the background and border when the mouse is over the control.\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + false\par + \par + \par + fillColors\par + java.lang.String\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + icon\par + java.lang.String\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + false\par + \par + \par + leading\par + java.lang.String\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + repeatDelay\par + java.lang.String\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + dataChange\par + java.lang.String\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + false\par + \par + \par + openAlways\par + java.lang.String\par + If true, specifies to pop up the popUp when you click the main button.\par + If true, specifies to pop up the popUp when you click the main button.\par + false\par + \par + \par + popUp\par + java.lang.String\par + Specifies the UIComponent object, or object defined by a subclass of UIComponent, to pop up.\par + Specifies the UIComponent object, or object defined by a subclass of UIComponent, to pop up.\par + false\par + \par + \par + popUpDownSkin\par + java.lang.String\par + Skin class for the popUpDown state (when arrowButton is in down state) of the background and border.\par + Skin class for the popUpDown state (when arrowButton is in down state) of the background and border.\par + false\par + \par + \par + popUpGap\par + java.lang.String\par + Number of vertical pixels between the PopUpButton and the specified popup UIComponent.\par + Number of vertical pixels between the PopUpButton and the specified popup UIComponent.\par + false\par + \par + \par + popUpIcon\par + java.lang.String\par + The icon used for the right button of PopUpButton.\par + The icon used for the right button of PopUpButton.\par + false\par + \par + \par + popUpOverSkin\par + java.lang.String\par + Skin class for the popUpOver state (over arrowButton) of the background and border.\par + Skin class for the popUpOver state (over arrowButton) of the background and border.\par + false\par + \par + \par + arrowButtonWidth\par + java.lang.String\par + Width of the arrow button in pixels.\par + Width of the arrow button in pixels.\par + false\par + \par + \par + closeEasingFunction\par + java.lang.String\par + Easing function to control component tweening.\par + Easing function to control component tweening.\par + false\par + \par + \par + closeDuration\par + java.lang.String\par + Length of a close transition, in milliseconds.\par + Length of a close transition, in milliseconds.\par + false\par + \par + \par + openDuration\par + java.lang.String\par + Length of an open or close transition, in milliseconds.\par + Length of an open or close transition, in milliseconds.\par + false\par + \par + \par + openEasingFunction\par + java.lang.String\par + Easing function to control component tweening.\par + Easing function to control component tweening.\par + false\par + \par + \par + open\par + java.lang.String\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + false\par + \par + \par + close\par + java.lang.String\par + Dispatched when the drop-down list is dismissed for any reason.\par + Dispatched when the drop-down list is dismissed for any reason.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIProgressBar\par + com.googlecode.jsfFlex.component.MXMLUIValueBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIProgressBar\par + com.googlecode.jsfFlex.component.MXMLUIValueBase\par + jf:mxmlProgressBar\par + com.googlecode.jsfFlex.MXMLUIProgressBar\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIProgressBarTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLProgressBar\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + conversion\par + java.lang.String\par + Number used to convert incoming current bytes loaded value and the total bytes loaded values.\par + Number used to convert incoming current bytes loaded value and the total bytes loaded values.\par + false\par + \par + \par + indeterminate\par + java.lang.String\par + Whether the ProgressBar control has a determinate or indeterminate appearance.\par + Whether the ProgressBar control has a determinate or indeterminate appearance.\par + false\par + \par + \par + mode\par + java.lang.String\par + Specifies the method used to update the bar.\par + Specifies the method used to update the bar.\par + false\par + \par + \par + barSkin\par + java.lang.String\par + Skin style for a determinate progress bar.\par + Skin style for a determinate progress bar.\par + false\par + \par + \par + indeterminateSkin\par + java.lang.String\par + Skin style for an indeterminate progress bar.\par + Skin style for an indeterminate progress bar.\par + false\par + \par + \par + labelWidth\par + java.lang.String\par + The width of the label in pixels.\par + The width of the label in pixels.\par + false\par + \par + \par + trackHeight\par + java.lang.String\par + The height of the track in pixels.\par + The height of the track in pixels.\par + false\par + \par + \par + direction\par + java.lang.String\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + false\par + \par + \par + label\par + java.lang.String\par + Text to appear on the control.\par + Text to appear on the control.\par + false\par + \par + \par + labelPlacement\par + java.lang.String\par + Placement of the label.\par + Placement of the label.\par + false\par + \par + \par + minimum\par + java.lang.String\par + Minimum value of the NumericStepper.\par + Minimum value of the NumericStepper.\par + false\par + \par + \par + maximum\par + java.lang.String\par + Maximum value of the NumericStepper.\par + Maximum value of the NumericStepper.\par + false\par + \par + \par + source\par + java.lang.String\par + Specifies the content to load.\par + Specifies the content to load.\par + false\par + \par + \par + progress\par + java.lang.String\par + Dispatched when content is loading.\par + Dispatched when content is loading.\par + false\par + \par + \par + complete\par + java.lang.String\par + Dispatched when content loading is complete.\par + Dispatched when content loading is complete.\par + false\par + \par + \par + barColor\par + java.lang.String\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + leading\par + java.lang.String\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + themeColor\par + java.lang.String\par + Theme color of a component.\par + Theme color of a component.\par + false\par + \par + \par + trackColors\par + java.lang.String\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + false\par + \par + \par + hide\par + java.lang.String\par + Dispatched when an object's state changes from visible to invisible.\par + Dispatched when an object's state changes from visible to invisible.\par + false\par + \par + \par + show\par + java.lang.String\par + Dispatched when an object's state changes from invisible to visible.\par + Dispatched when an object's state changes from invisible to visible.\par + false\par + \par + \par + completeEffect\par + java.lang.String\par + Effect called when Flex dispatches the complete event, which occurs when the load completes.\par + Effect called when Flex dispatches the complete event, which occurs when the load completes.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIRadioButton\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIRadioButton\par + com.googlecode.jsfFlex.component.MXMLUISelectedBase\par + jf:mxmlRadioButton\par + com.googlecode.jsfFlex.MXMLUIRadioButton\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIRadioButtonTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLRadioButton\par + true\par + true\par + no description\par + \par + \par + groupName\par + java.lang.String\par + true\par + Specifies the name of the group to which this RadioButton control belongs, or specifies the value of the id property of a RadioButtonGroup control if this RadioButton is part of agroup defined by a RadioButtonGroup control.\par + Specifies the name of the group to which this RadioButton control belongs, or specifies the value of the id property of a RadioButtonGroup control if this RadioButton is part of agroup defined by a RadioButtonGroup control.\par + true\par + false\par + \par + \par + selectedValue\par + java.lang.String\par + false\par + This will represent the selectedValue chosen for the RadioButtonGroup. It should be used for databinding, so to figure out which radioButton within the same groupNamehas been chosen. Meaning it serves no purpose for display, so rationally you shouldhave databinded to ONE of the RadioButton with the same groupName.\par + This will represent the selectedValue chosen for the RadioButtonGroup. It should be used for databinding, so to figure out which radioButton within the same groupNamehas been chosen. Meaning it serves no purpose for display, so rationally you shouldhave databinded to ONE of the RadioButton with the same groupName.\par + true\par + true\par + \par + \par + value\par + java.lang.Object\par + false\par + Current value.\par + Current value.\par + true\par + true\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + autoRepeat\par + java.lang.String\par + Specifies whether to dispatch repeated buttonDown events if the user holds down the mouse button.\par + Specifies whether to dispatch repeated buttonDown events if the user holds down the mouse button.\par + false\par + \par + \par + emphasized\par + java.lang.String\par + Draws a thick border around the Button control when the control is in its upstate if emphasized is set to true.\par + Draws a thick border around the Button control when the control is in its upstate if emphasized is set to true.\par + false\par + \par + \par + selectedField\par + java.lang.String\par + The name of the field in the data property which specifies the value of the Button control's selected property.\par + The name of the field in the data property which specifies the value of the Button control's selected property.\par + false\par + \par + \par + stickyHighlighting\par + java.lang.String\par + If false, the Button displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true,the Button displays its down skin when the user presses it, and continues todisplay this skin when the user drags the mouse off of it.\par + If false, the Button displays its down skin when the user presses it but changes to its over skin when the user drags the mouse off of it. If true,the Button displays its down skin when the user presses it, and continues todisplay this skin when the user drags the mouse off of it.\par + false\par + \par + \par + toggle\par + java.lang.String\par + Controls whether a Button is in a toggle state or not.\par + Controls whether a Button is in a toggle state or not.\par + false\par + \par + \par + disabledIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not disabled.\par + Name of the class to use as the icon when the button is not disabled.\par + false\par + \par + \par + downIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not selected and the mouse button is down.\par + Name of the class to use as the icon when the button is not selected and the mouse button is down.\par + false\par + \par + \par + overIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is not selected and the mouse is over the control.\par + Name of the class to use as the icon when the button is not selected and the mouse is over the control.\par + false\par + \par + \par + selectedDisabledIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and disabled.\par + Name of the class to use as the icon when the button is selected and disabled.\par + false\par + \par + \par + selectedDisabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and disabled.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and disabled.\par + false\par + \par + \par + selectedDownIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse button is down.\par + Name of the class to use as the icon when the button is selected and the mouse button is down.\par + false\par + \par + \par + selectedDownSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down.\par + false\par + \par + \par + selectedOverIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse is over the control.\par + Name of the class to use as the icon when the button is selected and the mouse is over the control.\par + false\par + \par + \par + selectedOverSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the control.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the control.\par + false\par + \par + \par + selectedUpIcon\par + java.lang.String\par + Name of the class to use as the icon when the button is selected and the mouse button is up.\par + Name of the class to use as the icon when the button is selected and the mouse button is up.\par + false\par + \par + \par + selectedUpSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the control.\par + Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the control.\par + false\par + \par + \par + upIcon\par + java.lang.String\par + Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button.\par + Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button.\par + false\par + \par + \par + buttonDown\par + java.lang.String\par + Dispatched when the user presses the Button control.\par + Dispatched when the user presses the Button control.\par + false\par + \par + \par + label\par + java.lang.String\par + Text to appear on the control.\par + Text to appear on the control.\par + false\par + \par + \par + labelPlacement\par + java.lang.String\par + Placement of the label.\par + Placement of the label.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + Radius of component corners.\par + Radius of component corners.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + upSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the mouse is not over the control.\par + Name of the class to use as the skin for the background and border when the mouse is not over the control.\par + false\par + \par + \par + disabledSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + Name of the class to use as the skin for the background and border when the control is disabled.\par + false\par + \par + \par + downSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button.\par + Name of the class to use as the skin for the background and border when the user holds down the mouse button.\par + false\par + \par + \par + overSkin\par + java.lang.String\par + Name of the class to use as the skin for the background and border when the mouse is over the control.\par + Name of the class to use as the skin for the background and border when the mouse is over the control.\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + false\par + \par + \par + fillColors\par + java.lang.String\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + icon\par + java.lang.String\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + false\par + \par + \par + leading\par + java.lang.String\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + repeatDelay\par + java.lang.String\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + dataChange\par + java.lang.String\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIRichTextEditor\par + com.googlecode.jsfFlex.component.MXMLUIHtmlTextInputBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIRichTextEditor\par + com.googlecode.jsfFlex.component.MXMLUIHtmlTextInputBase\par + jf:mxmlRichTextEditor\par + com.googlecode.jsfFlex.MXMLUIRichTextEditor\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIRichTextEditorTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLRichTextEditor\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + displayAsPassword\par + java.lang.String\par + false\par + Indicates whether this control is used for entering passwords.\par + Indicates whether this control is used for entering passwords.\par + true\par + false\par + \par + \par + selectionEndIndex\par + java.lang.String\par + false\par + The zero-based index of the position after the last character in the current selection(equivalent to the one-based index of the last character).\par + The zero-based index of the position after the last character in the current selection (equivalent to the one-based index of the last character).\par + true\par + false\par + \par + \par + selectionBeginIndex\par + java.lang.String\par + false\par + The zero-based character index value of the first character in the current selection.\par + The zero-based character index value of the first character in the current selection.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + defaultLinkProtocol\par + java.lang.String\par + The default protocol string to use at the start of link text.\par + The default protocol string to use at the start of link text.\par + false\par + \par + \par + showControlBar\par + java.lang.String\par + Specifies whether to display the control bar that contains the text formatting controls.\par + Specifies whether to display the control bar that contains the text formatting controls.\par + false\par + \par + \par + showToolTips\par + java.lang.String\par + Specifies whether to display tooltips for the text formatting controls.\par + Specifies whether to display tooltips for the text formatting controls.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + layout\par + java.lang.String\par + Specifies the layout mechanism used for this application.\par + Specifies the layout mechanism used for this application.\par + false\par + \par + \par + status\par + java.lang.String\par + Text in the status area of the title bar.\par + Text in the status area of the title bar.\par + false\par + \par + \par + titleIcon\par + java.lang.String\par + The icon displayed in the title bar.\par + The icon displayed in the title bar.\par + false\par + \par + \par + borderAlpha\par + java.lang.String\par + Alpha of the title bar, control bar and sides of the Panel. The default value is 0.4.\par + Alpha of the title bar, control bar and sides of the Panel. The default value is 0.4.\par + false\par + \par + \par + borderThicknessBottom\par + java.lang.String\par + Thickness of the bottom border of the Panel control.\par + Thickness of the bottom border of the Panel control.\par + false\par + \par + \par + borderThicknessLeft\par + java.lang.String\par + Thickness of the left border of the Panel.\par + Thickness of the left border of the Panel.\par + false\par + \par + \par + borderThicknessRight\par + java.lang.String\par + Thickness of the right border of the Panel.\par + Thickness of the right border of the Panel.\par + false\par + \par + \par + borderThicknessTop\par + java.lang.String\par + Thickness of the top border of the Panel.\par + Thickness of the top border of the Panel.\par + false\par + \par + \par + closeButtonDisabledSkin\par + java.lang.String\par + The close button disabled skin.\par + The close button disabled skin.\par + false\par + \par + \par + closeButtonDownSkin\par + java.lang.String\par + The close button down skin.\par + The close button down skin.\par + false\par + \par + \par + closeButtonOverSkin\par + java.lang.String\par + The close button over skin.\par + The close button over skin.\par + false\par + \par + \par + closeButtonUpSkin\par + java.lang.String\par + The close button up skin.\par + The close button up skin.\par + false\par + \par + \par + controlBarStyleName\par + java.lang.String\par + Name of the CSS style declaration that specifies styles to apply to any control bar child subcontrol.\par + Name of the CSS style declaration that specifies styles to apply to any control bar child subcontrol.\par + false\par + \par + \par + footerColors\par + java.lang.String\par + Array of two colors used to draw the footer background.\par + Array of two colors used to draw the footer background.\par + false\par + \par + \par + roundedBottomCorners\par + java.lang.String\par + Flag to enable rounding for the bottom two corners of the container.\par + Flag to enable rounding for the bottom two corners of the container.\par + false\par + \par + \par + statusStyleName\par + java.lang.String\par + Style declaration name for the status in the title bar.\par + Style declaration name for the status in the title bar.\par + false\par + \par + \par + titleBackgroundSkin\par + java.lang.String\par + The title background skin.\par + The title background skin.\par + false\par + \par + \par + titleStyleName\par + java.lang.String\par + Style declaration name for the text in the title bar.\par + Style declaration name for the text in the title bar.\par + false\par + \par + \par + resizeEndEffect\par + java.lang.String\par + Specifies the effect to play after a Resize effect finishes playing.\par + Specifies the effect to play after a Resize effect finishes playing.\par + false\par + \par + \par + resizeStartEffect\par + java.lang.String\par + Specifies the effect to play before a Resize effect begins playing.\par + Specifies the effect to play before a Resize effect begins playing.\par + false\par + \par + \par + title\par + java.lang.String\par + Title or caption displayed in the title bar.\par + Title or caption displayed in the title bar.\par + false\par + \par + \par + headerColors\par + java.lang.String\par + Colors of the band at the top of the control.\par + Colors of the band at the top of the control.\par + false\par + \par + \par + headerHeight\par + java.lang.String\par + Height of each accordion header, in pixels.\par + Height of each accordion header, in pixels.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + modalTransparencyDuration\par + java.lang.String\par + Duration, in milliseconds, of the modal transparency effect that plays when a modal window opens or closes. The default value is 100.\par + Duration, in milliseconds, of the modal transparency effect that plays when a modal window opens or closes. The default value is 100.\par + false\par + \par + \par + modalTransparency\par + java.lang.String\par + Modality of components launched by the PopUp Manager is simulated by creating a large translucent overlay underneath the component. Because of the way translucent objects are rendered, you may notice a slight dimming of the objects under the overlay. The effective transparency can be set by changing the modalTransparency value from 0.0 (fully transparent) to 1.0 (fully opaque). You can also set the color of the overlay by changing the modalTransparencyColor style. The default value is 0.5.\par + Modality of components launched by the PopUp Manager is simulated by creating a large translucent overlay underneath the component. Because of the way translucent objects are rendered, you may notice a slight dimming of the objects under the overlay. The effective transparency can be set by changing the modalTransparency value from 0.0 (fully transparent) to 1.0 (fully opaque). You can also set the color of the overlay by changing the modalTransparencyColor style. The default value is 0.5.\par + false\par + \par + \par + modalTransparencyColor\par + java.lang.String\par + Color of the modal overlay layer. This style is used in conjunction with the modalTransparency style to determine the colorization applied to the application when a modal window is open. The default value is #DDDDDD.\par + Color of the modal overlay layer. This style is used in conjunction with the modalTransparency style to determine the colorization applied to the application when a modal window is open. The default value is #DDDDDD.\par + false\par + \par + \par + modalTransparencyBlur\par + java.lang.String\par + The blur applied to the application while a modal window is open. A Blur effects oftens the details of an image. The default value is 3.\par + The blur applied to the application while a modal window is open. A Blur effects oftens the details of an image. The default value is 3.\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + false\par + \par + \par + close\par + java.lang.String\par + Dispatched when the drop-down list is dismissed for any reason.\par + Dispatched when the drop-down list is dismissed for any reason.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIScript\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIScript\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlScript\par + com.googlecode.jsfFlex.MXMLUIScript\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIScriptTag\par + com.googlecode.jsfFlex.taglib.MXMLUIComponentBodyTagBase\par + com.googlecode.jsfFlex.MXMLScript\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUISpacer\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUISpacer\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlSpacer\par + com.googlecode.jsfFlex.MXMLUISpacer\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUISpacerTag\par + com.googlecode.jsfFlex.MXMLSpacer\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUISwfLoader\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUISwfLoader\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlSwfLoader\par + com.googlecode.jsfFlex.MXMLUISwfLoader\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUISwfLoaderTag\par + com.googlecode.jsfFlex.MXMLSWFLoader\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + autoLoad\par + java.lang.String\par + If true, the content loads automatically.\par + If true, the content loads automatically.\par + false\par + \par + \par + loaderContext\par + java.lang.String\par + A LoaderContext object to use to load the content.\par + A LoaderContext object to use to load the content.\par + false\par + \par + \par + scaleContent\par + java.lang.String\par + If true, the content scales to fit the SWFLoader control.\par + If true, the content scales to fit the SWFLoader control.\par + false\par + \par + \par + showBusyCursor\par + java.lang.String\par + If true, shows a busy cursor while the content loads.\par + If true, shows a busy cursor while the content loads.\par + false\par + \par + \par + trustContent\par + java.lang.String\par + If true, the content is loaded into your security domain.\par + If true, the content is loaded into your security domain.\par + false\par + \par + \par + brokenImageBorderSkin\par + java.lang.String\par + Name of class to use as the SWFLoader border skin if the control can not load the content.\par + Name of class to use as the SWFLoader border skin if the control can not load the content.\par + false\par + \par + \par + brokenImageSkin\par + java.lang.String\par + Name of the class to use as the SWFLoader skin if the control can not load the content.\par + Name of the class to use as the SWFLoader skin if the control can not load the content.\par + false\par + \par + \par + httpStatus\par + java.lang.String\par + Dispatched when a network request is made over HTTP and Flash Player can detect theHTTP status code.\par + Dispatched when a network request is made over HTTP and Flash Player can detect theHTTP status code.\par + false\par + \par + \par + init\par + java.lang.String\par + Dispatched when the properties and methods of a loaded SWF file are accessible.\par + Dispatched when the properties and methods of a loaded SWF file are accessible.\par + false\par + \par + \par + ioError\par + java.lang.String\par + Dispatched when an input/output error occurs.\par + Dispatched when an input/output error occurs.\par + false\par + \par + \par + securityError\par + java.lang.String\par + Dispatched when a security error occurs while content is loading.\par + Dispatched when a security error occurs while content is loading.\par + false\par + \par + \par + unload\par + java.lang.String\par + Dispatched when a loaded object is removed, or when a second load is performed by the same SWFLoader control and the original content is removed prior to the new load beginning.\par + Dispatched when a loaded object is removed, or when a second load is performed by the same SWFLoader control and the original content is removed prior to the new load beginning.\par + false\par + \par + \par + maintainAspectRatio\par + java.lang.String\par + If true, specifies to display the image with the same ratio of height to width as the original image.\par + If true, specifies to display the image with the same ratio of height to width as the original image.\par + false\par + \par + \par + source\par + java.lang.String\par + Specifies the content to load.\par + Specifies the content to load.\par + false\par + \par + \par + progress\par + java.lang.String\par + Dispatched when content is loading.\par + Dispatched when content is loading.\par + false\par + \par + \par + complete\par + java.lang.String\par + Dispatched when content loading is complete.\par + Dispatched when content loading is complete.\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + false\par + \par + \par + completeEffect\par + java.lang.String\par + Effect called when Flex dispatches the complete event, which occurs when the load completes.\par + Effect called when Flex dispatches the complete event, which occurs when the load completes.\par + false\par + \par + \par + open\par + java.lang.String\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + Dispatched when the user clicks the drop-down button to display the drop-down list.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUITabBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUITabBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlTabBar\par + com.googlecode.jsfFlex.MXMLUITabBar\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUITabBarTag\par + com.googlecode.jsfFlex.MXMLTabBar\par + true\par + true\par + no description\par + \par + \par + selectedIndex\par + java.lang.Integer\par + false\par + The index in the data provider of the selected item.\par + The index in the data provider of the selected item.\par + true\par + true\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + selectedButtonTextStyleName\par + java.lang.String\par + false\par + Name of CSS style declaration that specifies styles for the text of the selected button.\par + Name of CSS style declaration that specifies styles for the text of the selected button.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + toggleOnClick\par + java.lang.String\par + false\par + Specifies whether the currently selected button can be deselected by the user.\par + Specifies whether the currently selected button can be deselected by the user.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + toolTipField\par + java.lang.String\par + false\par + Name of the the field in the dataProvider object to display as the tooltip label.\par + Name of the the field in the dataProvider object to display as the tooltip label.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + itemClick\par + java.lang.String\par + false\par + Dispatched when the user clicks on an item in the control.\par + Dispatched when the user clicks on an item in the control.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + labelField\par + java.lang.String\par + false\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + false\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + iconField\par + java.lang.String\par + false\par + The name of the field in the data provider object that determines what to display as the icon.\par + The name of the field in the data provider object that determines what to display as the icon.\par + true\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + false\par + Horizontal gap.\par + Horizontal gap.\par + true\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + false\par + Vertical gap.\par + Vertical gap.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + false\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + false\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + true\par + false\par + \par + \par + firstTabStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the first tab.\par + Name of CSS style declaration that specifies styles for the first tab.\par + false\par + \par + \par + lastTabStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the last tab.\par + Name of CSS style declaration that specifies styles for the last tab.\par + false\par + \par + \par + selectedTabTextStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the text of the selected tab.\par + Name of CSS style declaration that specifies styles for the text of the selected tab.\par + false\par + \par + \par + tabHeight\par + java.lang.String\par + Height of each tab, in pixels.\par + Height of each tab, in pixels.\par + false\par + \par + \par + tabStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the tabs.\par + Name of CSS style declaration that specifies styles for the tabs.\par + false\par + \par + \par + tabWidth\par + java.lang.String\par + Width of each tab, in pixels.\par + Width of each tab, in pixels.\par + false\par + \par + \par + buttonHeight\par + java.lang.String\par + Height of each button, in pixels.\par + Height of each button, in pixels.\par + false\par + \par + \par + buttonStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the buttons.\par + Name of CSS style declaration that specifies styles for the buttons.\par + false\par + \par + \par + buttonWidth\par + java.lang.String\par + Width of each button, in pixels.\par + Width of each button, in pixels.\par + false\par + \par + \par + firstButtonStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the first button.\par + Name of CSS style declaration that specifies styles for the first button.\par + false\par + \par + \par + lastButtonStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the last button.\par + Name of CSS style declaration that specifies styles for the last button.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUITabNavigator\par + com.googlecode.jsfFlex.component.MXMLUIViewStackBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUITabNavigator\par + com.googlecode.jsfFlex.component.MXMLUIViewStackBase\par + jf:mxmlTabNavigator\par + com.googlecode.jsfFlex.MXMLUITabNavigator\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUITabNavigatorTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLTabNavigator\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + false\par + Horizontal gap.\par + Horizontal gap.\par + true\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + false\par + Vertical gap.\par + Vertical gap.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + resizeToContent\par + java.lang.String\par + false\par + If true, the ViewStack container automatically resizes to the size of its current child.\par + If true, the ViewStack container automatically resizes to the size of its current child.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + change\par + java.lang.String\par + false\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of userinteraction.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + historyManagementEnabled\par + java.lang.String\par + false\par + If true, enables history management within this ViewStack container.\par + If true, enables history management within this ViewStack container.\par + true\par + false\par + \par + \par + firstTabStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the first tab.\par + Name of CSS style declaration that specifies styles for the first tab.\par + false\par + \par + \par + lastTabStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the last tab.\par + Name of CSS style declaration that specifies styles for the last tab.\par + false\par + \par + \par + selectedTabTextStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the text of the selected tab.\par + Name of CSS style declaration that specifies styles for the text of the selected tab.\par + false\par + \par + \par + tabHeight\par + java.lang.String\par + Height of each tab, in pixels.\par + Height of each tab, in pixels.\par + false\par + \par + \par + tabStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the tabs.\par + Name of CSS style declaration that specifies styles for the tabs.\par + false\par + \par + \par + tabWidth\par + java.lang.String\par + Width of each tab, in pixels.\par + Width of each tab, in pixels.\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + false\par + \par + \par + fillColors\par + java.lang.String\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIText\par + com.googlecode.jsfFlex.component.MXMLUIOutputBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIText\par + com.googlecode.jsfFlex.component.MXMLUIOutputBase\par + jf:mxmlText\par + com.googlecode.jsfFlex.MXMLUIText\par + javax.faces.MXMLOutput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUITextTag\par + com.googlecode.jsfFlex.MXMLText\par + true\par + true\par + no description\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + data\par + java.lang.String\par + false\par + Lets you pass a value to the component when you use it in an item renderer or item editor.\par + Lets you pass a value to the component when you use it in an item renderer or item editor.\par + true\par + false\par + \par + \par + listData\par + java.lang.String\par + false\par + When a component is used as a drop-in item renderer or drop-in item editor, Flex initializesthe listData property of the component with the appropriate data from the list control.\par + When a component is used as a drop-in item renderer or drop-in item editor, Flex initializesthe listData property of the component with the appropriate data from the list control.\par + true\par + false\par + \par + \par + condenseWhite\par + java.lang.String\par + false\par + Specifies whether extra white space (spaces, line breaks, and so on) should be removed in a control with HTML text.\par + Specifies whether extra white space (spaces, line breaks, and so on) should be removed in a control with HTML text.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + selectable\par + java.lang.String\par + false\par + Specifies whether the text can be selected.\par + Specifies whether the text can be selected.\par + true\par + false\par + \par + \par + text\par + java.lang.String\par + false\par + Plain text that appears in the control.\par + Plain text that appears in the control.\par + true\par + true\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + htmlText\par + java.lang.String\par + false\par + Specifies the text displayed by the control.\par + Specifies the text displayed by the control.\par + true\par + true\par + \par + \par + truncateToFit\par + java.lang.String\par + false\par + If this propery is true, and the Label control size is smaller than its text, the text of the Label control is truncated using a localizable string, such as ....\par + If this propery is true, and the Label control size is smaller than its text, the text of the Label control is truncated using a localizable string, such as "...".\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUITextArea\par + com.googlecode.jsfFlex.component.MXMLUIHtmlTextInputBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUITextArea\par + com.googlecode.jsfFlex.component.MXMLUIHtmlTextInputBase\par + jf:mxmlTextArea\par + com.googlecode.jsfFlex.MXMLUITextArea\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUITextAreaTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLTextArea\par + true\par + true\par + no description\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + repeatDelay\par + java.lang.String\par + false\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + true\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + false\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + leading\par + java.lang.String\par + false\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + true\par + false\par + \par + \par + border\par + java.lang.String\par + false\par + The border object.\par + The border object.\par + true\par + false\par + \par + \par + liveScrolling\par + java.lang.String\par + false\par + A flag that indicates whether scrolling is live as the scrollbar thumb is moved or the view is not updated until the thumb is released.\par + A flag that indicates whether scrolling is live as the scrollbar thumb is moved or the view is not updated until the thumb is released.\par + true\par + false\par + \par + \par + maxHorizontalScrollPosition\par + java.lang.String\par + false\par + The maximum value for the horizontalScrollPosition property.\par + The maximum value for the horizontalScrollPosition property.\par + true\par + false\par + \par + \par + maxVerticalScrollPosition\par + java.lang.String\par + false\par + The maximum value for the verticalScrollPosition property.\par + The maximum value for the verticalScrollPosition property.\par + true\par + false\par + \par + \par + scrollTipFunction\par + java.lang.String\par + false\par + A function that computes the string to be displayed as the ScrollTip.\par + A function that computes the string to be displayed as the ScrollTip.\par + true\par + false\par + \par + \par + showScrollTips\par + java.lang.String\par + false\par + A flagthat indicates whether a tooltip should appear near the scroll thumb when it is being dragged.\par + A flagthat indicates whether a tooltip should appear near the scroll thumb when it is being dragged.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + styleSheet\par + java.lang.String\par + A flash.text.StyleSheet object that can perform rendering on the TextArea control's text.\par + A flash.text.StyleSheet object that can perform rendering on the TextArea control's text.\par + false\par + \par + \par + data\par + java.lang.String\par + Lets you pass a value to the component when you use it in an item renderer or item editor.\par + Lets you pass a value to the component when you use it in an item renderer or item editor.\par + false\par + \par + \par + listData\par + java.lang.String\par + When a component is used as a drop-in item renderer or drop-in item editor, Flex initializes the listData property of the component with the appropriate data from the list control.\par + When a component is used as a drop-in item renderer or drop-in item editor, Flex initializes the listData property of the component with the appropriate data from the list control.\par + false\par + \par + \par + condenseWhite\par + java.lang.String\par + Specifies whether extra white space (spaces, line breaks, and so on) should be removed in a control with HTML text.\par + Specifies whether extra white space (spaces, line breaks, and so on) should be removed in a control with HTML text.\par + false\par + \par + \par + displayAsPassword\par + java.lang.String\par + Indicates whether this control is used for entering passwords.\par + Indicates whether this control is used for entering passwords.\par + false\par + \par + \par + selectionEndIndex\par + java.lang.String\par + The zero-based index of the position after the last character in the current selection (equivalent to the one-based index of the last character).\par + The zero-based index of the position after the last character in the current selection (equivalent to the one-based index of the last character).\par + false\par + \par + \par + selectionBeginIndex\par + java.lang.String\par + The zero-based character index value of the first character in the current selection.\par + The zero-based character index value of the first character in the current selection.\par + false\par + \par + \par + editable\par + java.lang.String\par + A flag that indicates whether the control is editable.\par + A flag that indicates whether the control is editable.\par + false\par + \par + \par + imeMode\par + java.lang.String\par + Specifies the IME (input method editor) mode.\par + Specifies the IME (input method editor) mode.\par + false\par + \par + \par + maxChars\par + java.lang.String\par + Maximum number of characters that users can enter in the text field.\par + Maximum number of characters that users can enter in the text field.\par + false\par + \par + \par + restrict\par + java.lang.String\par + Set of characters that a user can or cannot enter into the text field.\par + Set of characters that a user can or cannot enter into the text field.\par + false\par + \par + \par + wordWrap\par + java.lang.String\par + A flag that indicates whether text in the row should be word wrapped.\par + A flag that indicates whether text in the row should be word wrapped.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUITextInput\par + com.googlecode.jsfFlex.component.MXMLUIHtmlTextInputBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUITextInput\par + com.googlecode.jsfFlex.component.MXMLUIHtmlTextInputBase\par + jf:mxmlTextInput\par + com.googlecode.jsfFlex.MXMLUITextInput\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUITextInputTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLTextInput\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + textInput\par + java.lang.String\par + Dispatched when the user types, deletes, or pastes text into the control.\par + Dispatched when the user types, deletes, or pastes text into the control.\par + false\par + \par + \par + data\par + java.lang.String\par + Lets you pass a value to the component when you use it in an item renderer or item editor.\par + Lets you pass a value to the component when you use it in an item renderer or item editor.\par + false\par + \par + \par + listData\par + java.lang.String\par + When a component is used as a drop-in item renderer or drop-in item editor, Flex initializes the listData property of the component with the appropriate data from the list control.\par + When a component is used as a drop-in item renderer or drop-in item editor, Flex initializes the listData property of the component with the appropriate data from the list control.\par + false\par + \par + \par + condenseWhite\par + java.lang.String\par + Specifies whether extra white space (spaces, line breaks, and so on) should be removed in a control with HTML text.\par + Specifies whether extra white space (spaces, line breaks, and so on) should be removed in a control with HTML text.\par + false\par + \par + \par + displayAsPassword\par + java.lang.String\par + Indicates whether this control is used for entering passwords.\par + Indicates whether this control is used for entering passwords.\par + false\par + \par + \par + selectionEndIndex\par + java.lang.String\par + The zero-based index of the position after the last character in the current selection (equivalent to the one-based index of the last character).\par + The zero-based index of the position after the last character in the current selection (equivalent to the one-based index of the last character).\par + false\par + \par + \par + selectionBeginIndex\par + java.lang.String\par + The zero-based character index value of the first character in the current selection.\par + The zero-based character index value of the first character in the current selection.\par + false\par + \par + \par + editable\par + java.lang.String\par + A flag that indicates whether the control is editable.\par + A flag that indicates whether the control is editable.\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + false\par + \par + \par + imeMode\par + java.lang.String\par + Specifies the IME (input method editor) mode.\par + Specifies the IME (input method editor) mode.\par + false\par + \par + \par + maxChars\par + java.lang.String\par + Maximum number of characters that users can enter in the text field.\par + Maximum number of characters that users can enter in the text field.\par + false\par + \par + \par + restrict\par + java.lang.String\par + Set of characters that a user can or cannot enter into the text field.\par + Set of characters that a user can or cannot enter into the text field.\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + Background color of a component.\par + Background color of a component.\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + Background image of a component.\par + Background image of a component.\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + Color of the drop shadow.\par + Color of the drop shadow.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + borderSides\par + java.lang.String\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + Bounding box style.\par + Bounding box style.\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + The border skin of the component.\par + The border skin of the component.\par + false\par + \par + \par + borderThickness\par + java.lang.String\par + Bounding box thickness.\par + Bounding box thickness.\par + false\par + \par + \par + color\par + java.lang.String\par + Color of text in the component.\par + Color of text in the component.\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + Radius of component corners.\par + Radius of component corners.\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + false\par + \par + \par + fontSize\par + java.lang.String\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + Name of the font to use.\par + Name of the font to use.\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + false\par + \par + \par + textIndent\par + java.lang.String\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + false\par + \par + \par + textAlign\par + java.lang.String\par + Alignment of text within a container.\par + Alignment of text within a container.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + dataChange\par + java.lang.String\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + false\par + \par + \par + enter\par + java.lang.String\par + Dispatched if the editable property is set to true and the user presses the Enter key while typing in the editable text field.\par + Dispatched if the editable property is set to true and the user presses the Enter key while typing in the editable text field.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUITile\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUITile\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlTile\par + com.googlecode.jsfFlex.MXMLUITile\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUITileTag\par + com.googlecode.jsfFlex.MXMLTile\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + false\par + \par + \par + tileHeight\par + java.lang.String\par + Height of each tile cell, in pixels.\par + Height of each tile cell, in pixels.\par + false\par + \par + \par + tileWidth\par + java.lang.String\par + Width of each tile cell, in pixels.\par + Width of each tile cell, in pixels.\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUITileList\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUITileList\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + jf:mxmlTileList\par + com.googlecode.jsfFlex.MXMLUITileList\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUITileListTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLTileList\par + true\par + true\par + no description\par + \par + \par + alternatingItemColors\par + java.lang.String\par + false\par + The set of BackgroundColors for drop-down list rows in an alternating pattern.\par + The set of BackgroundColors for drop-down list rows in an alternating pattern.\par + true\par + false\par + \par + \par + selectionEasingFunction\par + java.lang.String\par + false\par + The selectionEasingFunction of the drop-down list.\par + The selectionEasingFunction of the drop-down list.\par + true\par + false\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + itemRollOver\par + java.lang.String\par + false\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + true\par + false\par + \par + \par + itemRollOut\par + java.lang.String\par + false\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + allowDragSelection\par + java.lang.String\par + false\par + A flag that indicates whether drag-selection is enabled.\par + A flag that indicates whether drag-selection is enabled.\par + true\par + false\par + \par + \par + columnWidth\par + java.lang.String\par + false\par + The width of the control's columns.\par + The width of the control's columns.\par + true\par + false\par + \par + \par + dataTipField\par + java.lang.String\par + false\par + Name of the field in the data provider items to display as the data tip.\par + Name of the field in the data provider items to display as the data tip.\par + true\par + false\par + \par + \par + dataTipFunction\par + java.lang.String\par + false\par + User-supplied function to run on each item to determine its dataTip.\par + User-supplied function to run on each item to determine its dataTip.\par + true\par + false\par + \par + \par + dragEnabled\par + java.lang.String\par + false\par + A flag that indicates whether you can dragitems out of this control and drop them on other controls.\par + A flag that indicates whether you can dragitems out of this control and drop them on other controls.\par + true\par + false\par + \par + \par + dropEnabled\par + java.lang.String\par + false\par + A flag that indicates whether dragged items can be dropped onto the control.\par + A flag that indicates whether dragged items can be dropped onto the control.\par + true\par + false\par + \par + \par + iconFunction\par + java.lang.String\par + false\par + A user-supplied function to run on each item to determine its icon.\par + A user-supplied function to run on each item to determine its icon.\par + true\par + false\par + \par + \par + lockedColumnCount\par + java.lang.String\par + false\par + The index of the first column in the control that scrolls.\par + The index of the first column in the control that scrolls.\par + true\par + false\par + \par + \par + lockedRowCount\par + java.lang.String\par + false\par + The index of the first row in the control that scrolls.\par + The index of the first row in the control that scrolls.\par + true\par + false\par + \par + \par + menuSelectionMode\par + java.lang.String\par + false\par + A flag that indicates whether menu-style selection should be used.\par + A flag that indicates whether menu-style selection should be used.\par + true\par + false\par + \par + \par + selectedIndices\par + java.lang.String\par + false\par + An array of indices in the data provider of the selected items.\par + An array of indices in the data provider of the selected items.\par + true\par + false\par + \par + \par + selectedItems\par + java.lang.String\par + false\par + An array of references to the selected items in the data provider.\par + An array of references to the selected items in the data provider.\par + true\par + false\par + \par + \par + showDataTips\par + java.lang.String\par + false\par + A flag that indicates whether dataTips are displayed for text in the rows.\par + A flag that indicates whether dataTips are displayed for text in the rows.\par + true\par + false\par + \par + \par + variableRowHeight\par + java.lang.String\par + false\par + A flag that indicates whether the individual rows can have different height.\par + A flag that indicates whether the individual rows can have different height.\par + true\par + false\par + \par + \par + dropIndicatorSkin\par + java.lang.String\par + false\par + The skin to use to indicate where a dragged item can be dropped.\par + The skin to use to indicate where a dragged item can be dropped.\par + true\par + false\par + \par + \par + useRollOver\par + java.lang.String\par + false\par + A flag that controls whether items are highlighted as the mouse rolls over them.\par + A flag that controls whether items are highlighted as the mouse rolls over them.\par + true\par + false\par + \par + \par + itemDoubleClick\par + java.lang.String\par + false\par + Dispatched when the user double-clicks on an item in the control.\par + Dispatched when the user double-clicks on an item in the control.\par + true\par + false\par + \par + \par + rowHeight\par + java.lang.String\par + false\par + The height of the rows in pixels.\par + The height of the rows in pixels.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + false\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + repeatDelay\par + java.lang.String\par + false\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + true\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + false\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + itemClick\par + java.lang.String\par + false\par + Dispatched when the user clicks on an item in the control.\par + Dispatched when the user clicks on an item in the control.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + wordWrap\par + java.lang.String\par + false\par + A flag that indicates whether text in the row should be word wrapped.\par + A flag that indicates whether text in the row should be word wrapped.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + rowCount\par + java.lang.String\par + false\par + Maximum number of rows visible in the control.\par + Maximum number of rows visible in the control.\par + true\par + false\par + \par + \par + itemRenderer\par + java.lang.String\par + false\par + IFactory that generates the instances that displays the data for the drop-down list of the control.\par + IFactory that generates the instances that displays the data for the drop-down list of the control.\par + true\par + false\par + \par + \par + selectionDuration\par + java.lang.String\par + false\par + The selectionDuration of the drop-down list.\par + The selectionDuration of the drop-down list.\par + true\par + false\par + \par + \par + labelField\par + java.lang.String\par + false\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + selectionDisabledColor\par + java.lang.String\par + false\par + Specifies the disabled color of a list item.\par + Specifies the disabled color of a list item.\par + true\par + false\par + \par + \par + dragMoveEnabled\par + java.lang.String\par + false\par + Indicates that items can be moved instead of just copied from the Tree control as part of a drag-and-drop operation.\par + Indicates that items can be moved instead of just copied from the Tree control as part of a drag-and-drop operation.\par + true\par + false\par + \par + \par + iconField\par + java.lang.String\par + false\par + The name of the field in the data provider object that determines what to display as the icon.\par + The name of the field in the data provider object that determines what to display as the icon.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + rollOverColor\par + java.lang.String\par + false\par + The rollOverColor of the drop-down list.\par + The rollOverColor of the drop-down list.\par + true\par + false\par + \par + \par + selectionColor\par + java.lang.String\par + false\par + The selectionColor of the drop-down list.\par + The selectionColor of the drop-down list.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + false\par + Specifies which corners of the focus rectangle should be rounded. This value is a space-separated String that can contain any combination of tl, tr, bl and br. For example, to specify that the right side corners should be rounded, but the left side corners should be square, use tr br. The cornerRadius style property specifies the radius of the rounded corners. The default value depends on the component class; if not overridden for the class,default value is tl tr bl br.\par + Specifies which corners of the focus rectangle should be rounded. This value is a space-separated String that can contain any combination of tl, tr, bl and br. For example, to specify that the right side corners should be rounded, but the left side corners should be square, use tr br. The cornerRadius style property specifies the radius of the rounded corners. The default value depends on the component class; if not overridden for the class,default value is tl tr bl br.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + selectable\par + java.lang.String\par + false\par + Specifies whether the text can be selected.\par + Specifies whether the text can be selected.\par + true\par + false\par + \par + \par + labelFunction\par + java.lang.String\par + false\par + User-supplied function to run on each item to determine its label.\par + User-supplied function to run on each item to determine its label.\par + true\par + false\par + \par + \par + allowMultipleSelection\par + java.lang.String\par + false\par + A flag that indicates whether you can allow more than one item to be selected at the same time.\par + A flag that indicates whether you can allow more than one item to be selected at the same time.\par + true\par + false\par + \par + \par + selectedItem\par + java.lang.String\par + false\par + The item in the data provider at the selectedIndex.\par + The item in the data provider at the selectedIndex.\par + true\par + false\par + \par + \par + change\par + java.lang.String\par + false\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of userinteraction.\par + true\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + false\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + true\par + false\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + false\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + true\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + false\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + true\par + false\par + \par + \par + leading\par + java.lang.String\par + false\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + true\par + false\par + \par + \par + columnCount\par + java.lang.String\par + false\par + The number of columns to be displayed in a TileList control or items in aHorizontalList control.\par + The number of columns to be displayed in a TileList control or items in aHorizontalList control.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + border\par + java.lang.String\par + false\par + The border object.\par + The border object.\par + true\par + false\par + \par + \par + liveScrolling\par + java.lang.String\par + false\par + A flag that indicates whether scrolling is live as the scrollbar thumb is moved or the view is not updated until the thumb is released.\par + A flag that indicates whether scrolling is live as the scrollbar thumb is moved or the view is not updated until the thumb is released.\par + true\par + false\par + \par + \par + maxHorizontalScrollPosition\par + java.lang.String\par + false\par + The maximum value for the horizontalScrollPosition property.\par + The maximum value for the horizontalScrollPosition property.\par + true\par + false\par + \par + \par + maxVerticalScrollPosition\par + java.lang.String\par + false\par + The maximum value for the verticalScrollPosition property.\par + The maximum value for the verticalScrollPosition property.\par + true\par + false\par + \par + \par + scrollTipFunction\par + java.lang.String\par + false\par + A function that computes the string to be displayed as the ScrollTip.\par + A function that computes the string to be displayed as the ScrollTip.\par + true\par + false\par + \par + \par + showScrollTips\par + java.lang.String\par + false\par + A flagthat indicates whether a tooltip should appear near the scroll thumb when it is being dragged.\par + A flagthat indicates whether a tooltip should appear near the scroll thumb when it is being dragged.\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUITitleWindow\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUITitleWindow\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlTitleWindow\par + com.googlecode.jsfFlex.MXMLUITitleWindow\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUITitleWindowTag\par + com.googlecode.jsfFlex.MXMLTitleWindow\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + layout\par + java.lang.String\par + Specifies the layout mechanism used for this application.\par + Specifies the layout mechanism used for this application.\par + false\par + \par + \par + status\par + java.lang.String\par + Text in the status area of the title bar.\par + Text in the status area of the title bar.\par + false\par + \par + \par + titleIcon\par + java.lang.String\par + The icon displayed in the title bar.\par + The icon displayed in the title bar.\par + false\par + \par + \par + borderAlpha\par + java.lang.String\par + Alpha of the title bar, control bar and sides of the Panel. The default value is 0.4.\par + Alpha of the title bar, control bar and sides of the Panel. The default value is 0.4.\par + false\par + \par + \par + borderThicknessBottom\par + java.lang.String\par + Thickness of the bottom border of the Panel control.\par + Thickness of the bottom border of the Panel control.\par + false\par + \par + \par + borderThicknessLeft\par + java.lang.String\par + Thickness of the left border of the Panel.\par + Thickness of the left border of the Panel.\par + false\par + \par + \par + borderThicknessRight\par + java.lang.String\par + Thickness of the right border of the Panel.\par + Thickness of the right border of the Panel.\par + false\par + \par + \par + borderThicknessTop\par + java.lang.String\par + Thickness of the top border of the Panel.\par + Thickness of the top border of the Panel.\par + false\par + \par + \par + closeButtonDisabledSkin\par + java.lang.String\par + The close button disabled skin.\par + The close button disabled skin.\par + false\par + \par + \par + closeButtonDownSkin\par + java.lang.String\par + The close button down skin.\par + The close button down skin.\par + false\par + \par + \par + closeButtonOverSkin\par + java.lang.String\par + The close button over skin.\par + The close button over skin.\par + false\par + \par + \par + closeButtonUpSkin\par + java.lang.String\par + The close button up skin.\par + The close button up skin.\par + false\par + \par + \par + controlBarStyleName\par + java.lang.String\par + Name of the CSS style declaration that specifies styles to apply to any control bar child subcontrol.\par + Name of the CSS style declaration that specifies styles to apply to any control bar child subcontrol.\par + false\par + \par + \par + footerColors\par + java.lang.String\par + Array of two colors used to draw the footer background.\par + Array of two colors used to draw the footer background.\par + false\par + \par + \par + roundedBottomCorners\par + java.lang.String\par + Flag to enable rounding for the bottom two corners of the container.\par + Flag to enable rounding for the bottom two corners of the container.\par + false\par + \par + \par + statusStyleName\par + java.lang.String\par + Style declaration name for the status in the title bar.\par + Style declaration name for the status in the title bar.\par + false\par + \par + \par + titleBackgroundSkin\par + java.lang.String\par + The title background skin.\par + The title background skin.\par + false\par + \par + \par + titleStyleName\par + java.lang.String\par + Style declaration name for the text in the title bar.\par + Style declaration name for the text in the title bar.\par + false\par + \par + \par + resizeEndEffect\par + java.lang.String\par + Specifies the effect to play after a Resize effect finishes playing.\par + Specifies the effect to play after a Resize effect finishes playing.\par + false\par + \par + \par + resizeStartEffect\par + java.lang.String\par + Specifies the effect to play before a Resize effect begins playing.\par + Specifies the effect to play before a Resize effect begins playing.\par + false\par + \par + \par + title\par + java.lang.String\par + Title or caption displayed in the title bar.\par + Title or caption displayed in the title bar.\par + false\par + \par + \par + headerColors\par + java.lang.String\par + Colors of the band at the top of the control.\par + Colors of the band at the top of the control.\par + false\par + \par + \par + headerHeight\par + java.lang.String\par + Height of each accordion header, in pixels.\par + Height of each accordion header, in pixels.\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + modalTransparencyDuration\par + java.lang.String\par + Duration, in milliseconds, of the modal transparency effect that plays when a modal window opens or closes. The default value is 100.\par + Duration, in milliseconds, of the modal transparency effect that plays when a modal window opens or closes. The default value is 100.\par + false\par + \par + \par + modalTransparency\par + java.lang.String\par + Modality of components launched by the PopUp Manager is simulated by creating a large translucent overlay underneath the component. Because of the way translucent objects are rendered, you may notice a slight dimming of the objects under the overlay. The effective transparency can be set by changing the modalTransparency value from 0.0 (fully transparent) to 1.0 (fully opaque). You can also set the color of the overlay by changing the modalTransparencyColor style. The default value is 0.5.\par + Modality of components launched by the PopUp Manager is simulated by creating a large translucent overlay underneath the component. Because of the way translucent objects are rendered, you may notice a slight dimming of the objects under the overlay. The effective transparency can be set by changing the modalTransparency value from 0.0 (fully transparent) to 1.0 (fully opaque). You can also set the color of the overlay by changing the modalTransparencyColor style. The default value is 0.5.\par + false\par + \par + \par + modalTransparencyColor\par + java.lang.String\par + Color of the modal overlay layer. This style is used in conjunction with the modalTransparency style to determine the colorization applied to the application when a modal window is open. The default value is #DDDDDD.\par + Color of the modal overlay layer. This style is used in conjunction with the modalTransparency style to determine the colorization applied to the application when a modal window is open. The default value is #DDDDDD.\par + false\par + \par + \par + modalTransparencyBlur\par + java.lang.String\par + The blur applied to the application while a modal window is open. A Blur effects oftens the details of an image. The default value is 3.\par + The blur applied to the application while a modal window is open. A Blur effects oftens the details of an image. The default value is 3.\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + false\par + \par + \par + close\par + java.lang.String\par + Dispatched when the drop-down list is dismissed for any reason.\par + Dispatched when the drop-down list is dismissed for any reason.\par + false\par + \par + \par + showCloseButton\par + java.lang.String\par + Whether to display a Close button in the TitleWindow container.\par + Whether to display a Close button in the TitleWindow container.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIToggleButtonBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIToggleButtonBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlToggleButtonBar\par + com.googlecode.jsfFlex.MXMLUIToggleButtonBar\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIToggleButtonBarTag\par + com.googlecode.jsfFlex.MXMLToggleButtonBar\par + true\par + true\par + no description\par + \par + \par + selectedIndex\par + java.lang.Integer\par + false\par + The index in the data provider of the selected item.\par + The index in the data provider of the selected item.\par + true\par + true\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + toolTipField\par + java.lang.String\par + false\par + Name of the the field in the dataProvider object to display as the tooltip label.\par + Name of the the field in the dataProvider object to display as the tooltip label.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + itemClick\par + java.lang.String\par + false\par + Dispatched when the user clicks on an item in the control.\par + Dispatched when the user clicks on an item in the control.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + labelField\par + java.lang.String\par + false\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + horizontalAlign\par + java.lang.String\par + false\par + Horizontal alignment of children in the container.\par + Horizontal alignment of children in the container.\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + iconField\par + java.lang.String\par + false\par + The name of the field in the data provider object that determines what to display as the icon.\par + The name of the field in the data provider object that determines what to display as the icon.\par + true\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + false\par + Horizontal gap.\par + Horizontal gap.\par + true\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + false\par + Vertical gap.\par + Vertical gap.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + false\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + false\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + true\par + false\par + \par + \par + toggleOnClick\par + java.lang.String\par + Specifies whether the currently selected button can be deselected by the user.\par + Specifies whether the currently selected button can be deselected by the user.\par + false\par + \par + \par + selectedButtonTextStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the text of the selected button.\par + Name of CSS style declaration that specifies styles for the text of the selected button.\par + false\par + \par + \par + buttonHeight\par + java.lang.String\par + Height of each button, in pixels.\par + Height of each button, in pixels.\par + false\par + \par + \par + buttonStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the buttons.\par + Name of CSS style declaration that specifies styles for the buttons.\par + false\par + \par + \par + buttonWidth\par + java.lang.String\par + Width of each button, in pixels.\par + Width of each button, in pixels.\par + false\par + \par + \par + firstButtonStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the first button.\par + Name of CSS style declaration that specifies styles for the first button.\par + false\par + \par + \par + lastButtonStyleName\par + java.lang.String\par + Name of CSS style declaration that specifies styles for the last button.\par + Name of CSS style declaration that specifies styles for the last button.\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + Specifies which corners of the focus rectangle should be rounded.\par + Specifies which corners of the focus rectangle should be rounded.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUITree\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUITree\par + com.googlecode.jsfFlex.component.MXMLUISelectedIndexBase\par + jf:mxmlTree\par + com.googlecode.jsfFlex.MXMLUITree\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUITreeTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLTree\par + true\par + true\par + no description\par + \par + \par + alternatingItemColors\par + java.lang.String\par + false\par + The set of BackgroundColors for drop-down list rows in an alternating pattern.\par + The set of BackgroundColors for drop-down list rows in an alternating pattern.\par + true\par + false\par + \par + \par + selectionEasingFunction\par + java.lang.String\par + false\par + The selectionEasingFunction of the drop-down list.\par + The selectionEasingFunction of the drop-down list.\par + true\par + false\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + itemRollOver\par + java.lang.String\par + false\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + true\par + false\par + \par + \par + itemRollOut\par + java.lang.String\par + false\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + Dispatched when the user rolls the mouse over a drop-down list item.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + allowDragSelection\par + java.lang.String\par + false\par + A flag that indicates whether drag-selection is enabled.\par + A flag that indicates whether drag-selection is enabled.\par + true\par + false\par + \par + \par + columnWidth\par + java.lang.String\par + false\par + The width of the control's columns.\par + The width of the control's columns.\par + true\par + false\par + \par + \par + dataTipField\par + java.lang.String\par + false\par + Name of the field in the data provider items to display as the data tip.\par + Name of the field in the data provider items to display as the data tip.\par + true\par + false\par + \par + \par + dataTipFunction\par + java.lang.String\par + false\par + User-supplied function to run on each item to determine its dataTip.\par + User-supplied function to run on each item to determine its dataTip.\par + true\par + false\par + \par + \par + dragEnabled\par + java.lang.String\par + false\par + A flag that indicates whether you can dragitems out of this control and drop them on other controls.\par + A flag that indicates whether you can dragitems out of this control and drop them on other controls.\par + true\par + false\par + \par + \par + dropEnabled\par + java.lang.String\par + false\par + A flag that indicates whether dragged items can be dropped onto the control.\par + A flag that indicates whether dragged items can be dropped onto the control.\par + true\par + false\par + \par + \par + iconFunction\par + java.lang.String\par + false\par + A user-supplied function to run on each item to determine its icon.\par + A user-supplied function to run on each item to determine its icon.\par + true\par + false\par + \par + \par + lockedColumnCount\par + java.lang.String\par + false\par + The index of the first column in the control that scrolls.\par + The index of the first column in the control that scrolls.\par + true\par + false\par + \par + \par + lockedRowCount\par + java.lang.String\par + false\par + The index of the first row in the control that scrolls.\par + The index of the first row in the control that scrolls.\par + true\par + false\par + \par + \par + menuSelectionMode\par + java.lang.String\par + false\par + A flag that indicates whether menu-style selection should be used.\par + A flag that indicates whether menu-style selection should be used.\par + true\par + false\par + \par + \par + selectedIndices\par + java.lang.String\par + false\par + An array of indices in the data provider of the selected items.\par + An array of indices in the data provider of the selected items.\par + true\par + false\par + \par + \par + selectedItems\par + java.lang.String\par + false\par + An array of references to the selected items in the data provider.\par + An array of references to the selected items in the data provider.\par + true\par + false\par + \par + \par + showDataTips\par + java.lang.String\par + false\par + A flag that indicates whether dataTips are displayed for text in the rows.\par + A flag that indicates whether dataTips are displayed for text in the rows.\par + true\par + false\par + \par + \par + variableRowHeight\par + java.lang.String\par + false\par + A flag that indicates whether the individual rows can have different height.\par + A flag that indicates whether the individual rows can have different height.\par + true\par + false\par + \par + \par + dropIndicatorSkin\par + java.lang.String\par + false\par + The skin to use to indicate where a dragged item can be dropped.\par + The skin to use to indicate where a dragged item can be dropped.\par + true\par + false\par + \par + \par + useRollOver\par + java.lang.String\par + false\par + A flag that controls whether items are highlighted as the mouse rolls over them.\par + A flag that controls whether items are highlighted as the mouse rolls over them.\par + true\par + false\par + \par + \par + itemDoubleClick\par + java.lang.String\par + false\par + Dispatched when the user double-clicks on an item in the control.\par + Dispatched when the user double-clicks on an item in the control.\par + true\par + false\par + \par + \par + rowHeight\par + java.lang.String\par + false\par + The height of the rows in pixels.\par + The height of the rows in pixels.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + focusAlpha\par + java.lang.String\par + false\par + Specifies the alpha transparency value of the focus skin.\par + Specifies the alpha transparency value of the focus skin.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + repeatDelay\par + java.lang.String\par + false\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + true\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + false\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + itemClick\par + java.lang.String\par + false\par + Dispatched when the user clicks on an item in the control.\par + Dispatched when the user clicks on an item in the control.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + wordWrap\par + java.lang.String\par + false\par + A flag that indicates whether text in the row should be word wrapped.\par + A flag that indicates whether text in the row should be word wrapped.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + rowCount\par + java.lang.String\par + false\par + Maximum number of rows visible in the control.\par + Maximum number of rows visible in the control.\par + true\par + false\par + \par + \par + itemRenderer\par + java.lang.String\par + false\par + IFactory that generates the instances that displays the data for the drop-down list of the control.\par + IFactory that generates the instances that displays the data for the drop-down list of the control.\par + true\par + false\par + \par + \par + selectionDuration\par + java.lang.String\par + false\par + The selectionDuration of the drop-down list.\par + The selectionDuration of the drop-down list.\par + true\par + false\par + \par + \par + labelField\par + java.lang.String\par + false\par + The name of the field in the data provider items to display as the label.\par + The name of the field in the data provider items to display as the label.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + selectionDisabledColor\par + java.lang.String\par + false\par + Specifies the disabled color of a list item.\par + Specifies the disabled color of a list item.\par + true\par + false\par + \par + \par + dragMoveEnabled\par + java.lang.String\par + false\par + Indicates that items can be moved instead of just copied from the Tree control as part of a drag-and-drop operation.\par + Indicates that items can be moved instead of just copied from the Tree control as part of a drag-and-drop operation.\par + true\par + false\par + \par + \par + iconField\par + java.lang.String\par + false\par + The name of the field in the data provider object that determines what to display as the icon.\par + The name of the field in the data provider object that determines what to display as the icon.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + rollOverColor\par + java.lang.String\par + false\par + The rollOverColor of the drop-down list.\par + The rollOverColor of the drop-down list.\par + true\par + false\par + \par + \par + selectionColor\par + java.lang.String\par + false\par + The selectionColor of the drop-down list.\par + The selectionColor of the drop-down list.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + focusRoundedCorners\par + java.lang.String\par + false\par + Specifies which corners of the focus rectangle should be rounded. This value is a space-separated String that can contain any combination of tl, tr, bl and br. For example, to specify that the right side corners should be rounded, but the left side corners should be square, use tr br. The cornerRadius style property specifies the radius of the rounded corners. The default value depends on the component class; if not overridden for the class,default value is tl tr bl br.\par + Specifies which corners of the focus rectangle should be rounded. This value is a space-separated String that can contain any combination of tl, tr, bl and br. For example, to specify that the right side corners should be rounded, but the left side corners should be square, use tr br. The cornerRadius style property specifies the radius of the rounded corners. The default value depends on the component class; if not overridden for the class,default value is tl tr bl br.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + selectable\par + java.lang.String\par + false\par + Specifies whether the text can be selected.\par + Specifies whether the text can be selected.\par + true\par + false\par + \par + \par + allowMultipleSelection\par + java.lang.String\par + false\par + A flag that indicates whether you can allow more than one item to be selected at the same time.\par + A flag that indicates whether you can allow more than one item to be selected at the same time.\par + true\par + false\par + \par + \par + labelFunction\par + java.lang.String\par + false\par + User-supplied function to run on each item to determine its label.\par + User-supplied function to run on each item to determine its label.\par + true\par + false\par + \par + \par + selectedItem\par + java.lang.String\par + false\par + The item in the data provider at the selectedIndex.\par + The item in the data provider at the selectedIndex.\par + true\par + false\par + \par + \par + change\par + java.lang.String\par + false\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of userinteraction.\par + true\par + false\par + \par + \par + verticalAlign\par + java.lang.String\par + false\par + The vertical alignment of a renderer in a row.\par + The vertical alignment of a renderer in a row.\par + true\par + false\par + \par + \par + dataProvider\par + java.lang.String\par + false\par + The set of items this component displays.\par + The set of items this component displays.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + leading\par + java.lang.String\par + false\par + Additional vertical space between lines of text.\par + Additional vertical space between lines of text.\par + true\par + false\par + \par + \par + textSelectedColor\par + java.lang.String\par + false\par + Text color of the label as the user presses it.\par + Text color of the label as the user presses it.\par + true\par + false\par + \par + \par + textRollOverColor\par + java.lang.String\par + false\par + Text color of the label as the user moves the mouse pointer over the button.\par + Text color of the label as the user moves the mouse pointer over the button.\par + true\par + false\par + \par + \par + columnCount\par + java.lang.String\par + false\par + The number of columns to be displayed in a TileList control or items in aHorizontalList control.\par + The number of columns to be displayed in a TileList control or items in aHorizontalList control.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + border\par + java.lang.String\par + false\par + The border object.\par + The border object.\par + true\par + false\par + \par + \par + liveScrolling\par + java.lang.String\par + false\par + A flag that indicates whether scrolling is live as the scrollbar thumb is moved or the view is not updated until the thumb is released.\par + A flag that indicates whether scrolling is live as the scrollbar thumb is moved or the view is not updated until the thumb is released.\par + true\par + false\par + \par + \par + maxHorizontalScrollPosition\par + java.lang.String\par + false\par + The maximum value for the horizontalScrollPosition property.\par + The maximum value for the horizontalScrollPosition property.\par + true\par + false\par + \par + \par + maxVerticalScrollPosition\par + java.lang.String\par + false\par + The maximum value for the verticalScrollPosition property.\par + The maximum value for the verticalScrollPosition property.\par + true\par + false\par + \par + \par + scrollTipFunction\par + java.lang.String\par + false\par + A function that computes the string to be displayed as the ScrollTip.\par + A function that computes the string to be displayed as the ScrollTip.\par + true\par + false\par + \par + \par + showScrollTips\par + java.lang.String\par + false\par + A flagthat indicates whether a tooltip should appear near the scroll thumb when it is being dragged.\par + A flagthat indicates whether a tooltip should appear near the scroll thumb when it is being dragged.\par + true\par + false\par + \par + \par + firstVisibleItem\par + java.lang.String\par + The item that is currently displayed in the top row of the tree.\par + The item that is currently displayed in the top row of the tree.\par + false\par + \par + \par + itemIcons\par + java.lang.String\par + An object that specifies the icons for the items.\par + An object that specifies the icons for the items.\par + false\par + \par + \par + openItems\par + java.lang.String\par + The items that have been opened or set opened.\par + The items that have been opened or set opened.\par + false\par + \par + \par + defaultLeafIcon\par + java.lang.String\par + Specifies the default icon for a leaf item.\par + Specifies the default icon for a leaf item.\par + false\par + \par + \par + depthColors\par + java.lang.String\par + Array of colors used in the Tree control, in descending order.\par + Array of colors used in the Tree control, in descending order.\par + false\par + \par + \par + disclosureClosedIcon\par + java.lang.String\par + Specifies the icon that is displayed next to a parent item that is closed so that its children are not displayed (the subtree is collapsed).\par + Specifies the icon that is displayed next to a parent item that is closed so that its children are not displayed (the subtree is collapsed).\par + false\par + \par + \par + disclosureOpenIcon\par + java.lang.String\par + Specifies the icon that is displayed next to a parent item that is open so that its children are displayed.\par + Specifies the icon that is displayed next to a parent item that is open so that its children are displayed.\par + false\par + \par + \par + folderClosedIcon\par + java.lang.String\par + Specifies the folder closed icon for a branch item of the tree.\par + Specifies the folder closed icon for a branch item of the tree.\par + false\par + \par + \par + folderOpenIcon\par + java.lang.String\par + Specifies the folder open icon for a branch item of the tree.\par + Specifies the folder open icon for a branch item of the tree.\par + false\par + \par + \par + indentation\par + java.lang.String\par + Indentation for each tree level, in pixels.\par + Indentation for each tree level, in pixels.\par + false\par + \par + \par + itemClose\par + java.lang.String\par + Dispatched when a branch is closed or collapsed.\par + Dispatched when a branch is closed or collapsed.\par + false\par + \par + \par + itemOpen\par + java.lang.String\par + Dispatched when a branch is opened or expanded.\par + Dispatched when a branch is opened or expanded.\par + false\par + \par + \par + itemOpening\par + java.lang.String\par + Dispatched when a branch open or close is initiated.\par + Dispatched when a branch open or close is initiated.\par + false\par + \par + \par + showRoot\par + java.lang.String\par + A Boolean flag that specifies whether to display the data provider's root node.\par + A Boolean flag that specifies whether to display the data provider's root node.\par + false\par + \par + \par + dataDescriptor\par + java.lang.String\par + The object that accesses and manipulates data in the data provider.\par + The object that accesses and manipulates data in the data provider.\par + false\par + \par + \par + openDuration\par + java.lang.String\par + Length of an open or close transition, in milliseconds.\par + Length of an open or close transition, in milliseconds.\par + false\par + \par + \par + openEasingFunction\par + java.lang.String\par + Easing function to control component tweening.\par + Easing function to control component tweening.\par + false\par + \par + \par + editable\par + java.lang.String\par + A flag that indicates whether the control is editable.\par + A flag that indicates whether the control is editable.\par + false\par + \par + \par + editedItemPosition\par + java.lang.String\par + The column and row index of the item renderer for the data provider item being edited, if any.\par + The column and row index of the item renderer for the data provider item being edited, if any.\par + false\par + \par + \par + itemEditorInstance\par + java.lang.String\par + A reference to the currently active instance of the item editor, if it exists.\par + A reference to the currently active instance of the item editor, if it exists.\par + false\par + \par + \par + itemFocusIn\par + java.lang.String\par + Dispatched when an item renderer gets focus, which can occur if the user clicks on an item in the List control or navigates to the item using a keyboard.\par + Dispatched when an item renderer gets focus, which can occur if the user clicks on an item in the List control or navigates to the item using a keyboard.\par + false\par + \par + \par + itemEditBegin\par + java.lang.String\par + Dispatched when the editedItemPosition property is set and the item can be edited.\par + Dispatched when the editedItemPosition property is set and the item can be edited.\par + false\par + \par + \par + itemEditEnd\par + java.lang.String\par + Dispatched when an item editing session is ending for any reason.\par + Dispatched when an item editing session is ending for any reason.\par + false\par + \par + \par + itemFocusOut\par + java.lang.String\par + Dispatched when an item renderer loses the focus, which can occur if the user clicks another item in the List control or outside the list, or uses the keyboard to navigate to another item in the List control or outside the List control.\par + Dispatched when an item renderer loses the focus, which can occur if the user clicks another item in the List control or outside the list, or uses the keyboard to navigate to another item in the List control or outside the List control.\par + false\par + \par + \par + editorDataField\par + java.lang.String\par + The name of the property of the item editor that contains the new data for the list item.\par + The name of the property of the item editor that contains the new data for the list item.\par + false\par + \par + \par + editorHeightOffset\par + java.lang.String\par + The height of the item editor, in pixels, relative to the size of the item renderer.\par + The height of the item editor, in pixels, relative to the size of the item renderer.\par + false\par + \par + \par + editorUsesEnterKey\par + java.lang.String\par + A flag that indicates whether the item editor uses Enter key.\par + A flag that indicates whether the item editor uses Enter key.\par + false\par + \par + \par + editorWidthOffset\par + java.lang.String\par + The width of the item editor, in pixels, relative to the size of the item renderer.\par + The width of the item editor, in pixels, relative to the size of the item renderer.\par + false\par + \par + \par + editorXOffset\par + java.lang.String\par + The x location of the upper-left corner of the item editor, in pixels, relative to the upper-left corner of the item.\par + The x location of the upper-left corner of the item editor, in pixels, relative to the upper-left corner of the item.\par + false\par + \par + \par + editorYOffset\par + java.lang.String\par + The y location of the upper-left corner of the item editor, in pixels, relative to the upper-left corner of the item.\par + The y location of the upper-left corner of the item editor, in pixels, relative to the upper-left corner of the item.\par + false\par + \par + \par + itemEditor\par + java.lang.String\par + The class factory for the item editor to use for the control, if the editable property is set to true.\par + The class factory for the item editor to use for the control, if the editable property is set to true.\par + false\par + \par + \par + rendererIsEditor\par + java.lang.String\par + Specifies whether the item renderer is also an item editor.\par + Specifies whether the item renderer is also an item editor.\par + false\par + \par + \par + itemEditBeginning\par + java.lang.String\par + Dispatched when the user releases the mouse button while over an item, tabs to the List or within the List, or in any other way attempts to edit an item.\par + Dispatched when the user releases the mouse button while over an item, tabs to the List or within the List, or in any other way attempts to edit an item.\par + false\par + \par + \par + imeMode\par + java.lang.String\par + Specifies the IME (input method editor) mode.\par + Specifies the IME (input method editor) mode.\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIVRule\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIVRule\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlVRule\par + com.googlecode.jsfFlex.MXMLUIVRule\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIVRuleTag\par + com.googlecode.jsfFlex.MXMLVRule\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + shadowColor\par + java.lang.String\par + The shadow color of the line.\par + The shadow color of the line.\par + false\par + \par + \par + strokeWidth\par + java.lang.String\par + The thickness of the rule in pixels.\par + The thickness of the rule in pixels.\par + false\par + \par + \par + strokeColor\par + java.lang.String\par + The color of the line.\par + The color of the line.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIVScrollBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIVScrollBar\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlVScrollBar\par + com.googlecode.jsfFlex.MXMLUIVScrollBar\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIVScrollBarTag\par + com.googlecode.jsfFlex.MXMLVScrollBar\par + true\par + true\par + no description\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + false\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + true\par + false\par + \par + \par + fillColors\par + java.lang.String\par + false\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + downArrowDisabledSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is disabled.\par + Name of the class to use as the skin for the Up arrow when the arrow is disabled.\par + true\par + false\par + \par + \par + downArrowDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the up arrow when the arrow is enabled and a user presses the mouse button over the arrow.\par + Name of the class to use as the skin for the up arrow when the arrow is enabled and a user presses the mouse button over the arrow.\par + true\par + false\par + \par + \par + downArrowUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is not on the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is not on the arrow.\par + true\par + false\par + \par + \par + upArrowOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is over the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is over the arrow.\par + true\par + false\par + \par + \par + upArrowDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and a user presses the mouse button over the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and a user presses the mouse button over the arrow.\par + true\par + false\par + \par + \par + upArrowDisabledSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is disabled.\par + Name of the class to use as the skin for the Up arrow when the arrow is disabled.\par + true\par + false\par + \par + \par + downArrowOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is over the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is over the arrow.\par + true\par + false\par + \par + \par + upArrowUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is not on the arrow.\par + Name of the class to use as the skin for the Up arrow when the arrow is enabled and the mouse pointer is not on the arrow.\par + true\par + false\par + \par + \par + highlightAlphas\par + java.lang.String\par + false\par + Alphas used for the highlight fill of controls.\par + Alphas used for the highlight fill of controls.\par + true\par + false\par + \par + \par + lineScrollSize\par + java.lang.String\par + false\par + Amount to scroll when an arrow button is pressed, in pixels.\par + Amount to scroll when an arrow button is pressed, in pixels.\par + true\par + false\par + \par + \par + maxScrollPosition\par + java.lang.String\par + false\par + Number which represents the maximum scroll position.\par + Number which represents the maximum scroll position.\par + true\par + false\par + \par + \par + minScrollPosition\par + java.lang.String\par + false\par + Number that represents the minimum scroll position.\par + Number that represents the minimum scroll position.\par + true\par + false\par + \par + \par + pageScrollSize\par + java.lang.String\par + false\par + Amount to move the scroll thumb when the scroll bar track is pressed, in pixels.\par + Amount to move the scroll thumb when the scroll bar track is pressed, in pixels.\par + true\par + false\par + \par + \par + pageSize\par + java.lang.String\par + false\par + The number of lines equivalent to one page.\par + The number of lines equivalent to one page.\par + true\par + false\par + \par + \par + scrollPosition\par + java.lang.String\par + false\par + Number that represents the current scroll position.\par + Number that represents the current scroll position.\par + true\par + false\par + \par + \par + thumbIcon\par + java.lang.String\par + false\par + Name of the class to use as the icon for the thumb of the scroll bar.\par + Name of the class to use as the icon for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + false\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + true\par + false\par + \par + \par + repeatDelay\par + java.lang.String\par + Number of milliseconds to wait.\par + Number of milliseconds to wait.\par + false\par + \par + \par + repeatInterval\par + java.lang.String\par + Number of milliseconds in the actions.\par + Number of milliseconds in the actions.\par + false\par + \par + \par + scroll\par + java.lang.String\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIVSlider\par + com.googlecode.jsfFlex.component.MXMLUIValueBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIVSlider\par + com.googlecode.jsfFlex.component.MXMLUIValueBase\par + jf:mxmlVSlider\par + com.googlecode.jsfFlex.MXMLUIVSlider\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIVSliderTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLVSlider\par + true\par + true\par + no description\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + dataTipPlacement\par + java.lang.String\par + false\par + The location of the data tip relative to the thumb.\par + The location of the data tip relative to the thumb.\par + true\par + false\par + \par + \par + change\par + java.lang.String\par + false\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of userinteraction.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + allowThumbOverlap\par + java.lang.String\par + false\par + If set to false, then each thumb can only be moved to the edge of the adjacent thumb.\par + If set to false, then each thumb can only be moved to the edge of the adjacent thumb.\par + true\par + false\par + \par + \par + allowTrackClick\par + java.lang.String\par + false\par + Specifies whether clicking on the track will move the slider thumb.\par + Specifies whether clicking on the track will move the slider thumb.\par + true\par + false\par + \par + \par + dataTipFormatFunction\par + java.lang.String\par + false\par + Callback function that formats the data tip text.\par + Callback function that formats the data tip text.\par + true\par + false\par + \par + \par + labels\par + java.lang.String\par + false\par + An array of strings used for the slider labels.\par + An array of strings used for the slider labels.\par + true\par + false\par + \par + \par + showDataTip\par + java.lang.String\par + false\par + If set to true, show a data tip during user interaction containing the current value of the slider.\par + If set to true, show a data tip during user interaction containing the current value of the slider.\par + true\par + false\par + \par + \par + sliderDataTipClass\par + java.lang.String\par + false\par + A reference to the class to use for the data tip.\par + A reference to the class to use for the data tip.\par + true\par + false\par + \par + \par + sliderThumbClass\par + java.lang.String\par + false\par + A reference to the class to use for each thumb.\par + A reference to the class to use for each thumb.\par + true\par + false\par + \par + \par + snapInterval\par + java.lang.String\par + false\par + Specifies the increment value of the slider thumb as the user moves the thumb.\par + Specifies the increment value of the slider thumb as the user moves the thumb.\par + true\par + false\par + \par + \par + thumbCount\par + java.lang.String\par + false\par + The number of thumbs allowed on the slider.\par + The number of thumbs allowed on the slider.\par + true\par + false\par + \par + \par + tickInterval\par + java.lang.String\par + false\par + The spacing of the tick marks relative to the maximum value of the control.\par + The spacing of the tick marks relative to the maximum value of the control.\par + true\par + false\par + \par + \par + dataTipOffset\par + java.lang.String\par + false\par + The offset, in pixels, of the data tip relative to the thumb.\par + The offset, in pixels, of the data tip relative to the thumb.\par + true\par + false\par + \par + \par + dataTipPrecision\par + java.lang.String\par + false\par + Number of decimal places to use for the data tip text.\par + Number of decimal places to use for the data tip text.\par + true\par + false\par + \par + \par + dataTipStyleName\par + java.lang.String\par + false\par + The name of the style declaration to use for the data tip.\par + The name of the style declaration to use for the data tip.\par + true\par + false\par + \par + \par + labelOffset\par + java.lang.String\par + false\par + The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the labels relative to the track.\par + The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the labels relative to the track.\par + true\par + false\par + \par + \par + labelStyleName\par + java.lang.String\par + false\par + The name of the style to use for the slider label.\par + The name of the style to use for the slider label.\par + true\par + false\par + \par + \par + showTrackHighlight\par + java.lang.String\par + false\par + Specifies whether to enable track highlighting between thumbs (or a single thumb and the beginning of the track).\par + Specifies whether to enable track highlighting between thumbs (or a single thumb and the beginning of the track).\par + true\par + false\par + \par + \par + slideDuration\par + java.lang.String\par + false\par + Duration in milliseconds for the sliding animation when you click on the track to move a thumb.\par + Duration in milliseconds for the sliding animation when you click on the track to move a thumb.\par + true\par + false\par + \par + \par + slideEasingFunction\par + java.lang.String\par + false\par + Tweening function used by the sliding animation when you click on the track to move a thumb.\par + Tweening function used by the sliding animation when you click on the track to move a thumb.\par + true\par + false\par + \par + \par + thumbDisabledSkin\par + java.lang.String\par + false\par + The skin for the slider thumb disabled state.\par + The skin for the slider thumb disabled state.\par + true\par + false\par + \par + \par + thumbOffset\par + java.lang.String\par + false\par + The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the thumb relative to the track.\par + The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the thumb relative to the track.\par + true\par + false\par + \par + \par + tickColor\par + java.lang.String\par + false\par + The color of the tick marks.\par + The color of the tick marks.\par + true\par + false\par + \par + \par + tickLength\par + java.lang.String\par + false\par + The length in pixels of the tick marks.\par + The length in pixels of the tick marks.\par + true\par + false\par + \par + \par + tickOffset\par + java.lang.String\par + false\par + The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the tick marks relative to the track.\par + The y-position offset (if direction is horizontal) or x-position offset (if direction is vertical) of the tick marks relative to the track.\par + true\par + false\par + \par + \par + tickThickness\par + java.lang.String\par + false\par + The thickness in pixels of the tick marks.\par + The thickness in pixels of the tick marks.\par + true\par + false\par + \par + \par + trackHighlightSkin\par + java.lang.String\par + false\par + The skin for the slider track when it is selected.\par + The skin for the slider track when it is selected.\par + true\par + false\par + \par + \par + trackMargin\par + java.lang.String\par + false\par + The size of the track margins, in pixels.\par + The size of the track margins, in pixels.\par + true\par + false\par + \par + \par + thumbDrag\par + java.lang.String\par + false\par + Dispatched when the slider's thumb is pressed and then moved by the mouse.\par + Dispatched when the slider's thumb is pressed and then moved by the mouse.\par + true\par + false\par + \par + \par + thumbPress\par + java.lang.String\par + false\par + Dispatched when the slider's thumb is pressed, meaning the user presses the mouse button over the thumb.\par + Dispatched when the slider's thumb is pressed, meaning the user presses the mouse button over the thumb.\par + true\par + false\par + \par + \par + thumbRelease\par + java.lang.String\par + false\par + Dispatched when the slider's thumb is released, meaning the user releases the mouse button after a thumbPress event.\par + Dispatched when the slider's thumb is released, meaning the user releases the mouse button after a thumbPress event.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + fillAlphas\par + java.lang.String\par + false\par + Alphas used for the background fill of controls.\par + Alphas used for the background fill of controls.\par + true\par + false\par + \par + \par + fillColors\par + java.lang.String\par + false\par + Colors used to tint the background of the control.\par + Colors used to tint the background of the control.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + liveDragging\par + java.lang.String\par + false\par + If true, the children adjacent to a divider are continuously resized while the user drags it.\par + If true, the children adjacent to a divider are continuously resized while the user drags it.\par + true\par + false\par + \par + \par + minimum\par + java.lang.String\par + false\par + Minimum value of the NumericStepper.\par + Minimum value of the NumericStepper.\par + true\par + false\par + \par + \par + maximum\par + java.lang.String\par + false\par + Maximum value of the NumericStepper.\par + Maximum value of the NumericStepper.\par + true\par + false\par + \par + \par + direction\par + java.lang.String\par + false\par + Direction in which the fill of the ProgressBar expands toward completion.\par + Direction in which the fill of the ProgressBar expands toward completion.\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIVideoDisplay\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIVideoDisplay\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlVideoDisplay\par + com.googlecode.jsfFlex.MXMLUIVideoDisplay\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIVideoDisplayTag\par + com.googlecode.jsfFlex.MXMLVideoDisplay\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + autoBandWidthDetection\par + java.lang.String\par + Specifies whether the VideoDisplay control should use the built-in automatic bandwidth detection feature.\par + Specifies whether the VideoDisplay control should use the built-in automatic bandwidth detection feature.\par + false\par + \par + \par + autoPlay\par + java.lang.String\par + Specifies whether the video should start playing immediately when the source property is set.\par + Specifies whether the video should start playing immediately when the source property is set.\par + false\par + \par + \par + autoRewind\par + java.lang.String\par + Specifies whether the FLV file should be rewound to the first frame when play stops, either by calling the stop() method or by reaching the end of the stream.\par + Specifies whether the FLV file should be rewound to the first frame when play stops, either by calling the stop() method or by reaching the end of the stream.\par + false\par + \par + \par + bufferTime\par + java.lang.String\par + Number of seconds of video to buffer in memory before starting to play the video file.\par + Number of seconds of video to buffer in memory before starting to play the video file.\par + false\par + \par + \par + cuePointManagerClass\par + java.lang.String\par + Cue point manager to use.\par + Cue point manager to use.\par + false\par + \par + \par + cuePoints\par + java.lang.String\par + The Array of cue points associated with the control.\par + The Array of cue points associated with the control.\par + false\par + \par + \par + idleTimeout\par + java.lang.String\par + Specifies the amount of time, in milliseconds, that the connection is idle (playing is paused or stopped) before the connection to the Flash Media Server is stopped.\par + Specifies the amount of time, in milliseconds, that the connection is idle (playing is paused or stopped) before the connection to the Flash Media Server is stopped.\par + false\par + \par + \par + live\par + java.lang.String\par + Specifies whether the control is streaming a live feed.\par + Specifies whether the control is streaming a live feed.\par + false\par + \par + \par + playheadTime\par + java.lang.String\par + Playhead position, measured in seconds, since the video starting playing.\par + Playhead position, measured in seconds, since the video starting playing.\par + false\par + \par + \par + playheadUpdateInterval\par + java.lang.String\par + Specifies the amount of time, in milliseconds, between each playheadUpdate event.\par + Specifies the amount of time, in milliseconds, between each playheadUpdate event.\par + false\par + \par + \par + progressInterval\par + java.lang.String\par + Specifies the amount of time, in milliseconds, between each progress event.\par + Specifies the amount of time, in milliseconds, between each progress event.\par + false\par + \par + \par + totalTime\par + java.lang.String\par + Total length of the media, in seconds.\par + Total length of the media, in seconds.\par + false\par + \par + \par + volume\par + java.lang.String\par + The volume level, specified as an value between 0 and 1.\par + The volume level, specified as an value between 0 and 1.\par + false\par + \par + \par + cuePoint\par + java.lang.String\par + Dispatched when the value of a cue point's time property is equal to the current playhead location.\par + Dispatched when the value of a cue point's time property is equal to the current playhead location.\par + false\par + \par + \par + playheadUpdate\par + java.lang.String\par + Dispatched every 0.25 seconds while the video is playing.\par + Dispatched every 0.25 seconds while the video is playing.\par + false\par + \par + \par + ready\par + java.lang.String\par + Dispatched when the FLV file is loaded and ready to play.\par + Dispatched when the FLV file is loaded and ready to play.\par + false\par + \par + \par + rewind\par + java.lang.String\par + Dispatched when the control autorewinds.\par + Dispatched when the control autorewinds.\par + false\par + \par + \par + stateChange\par + java.lang.String\par + Dispatched when the state of the control changes.\par + Dispatched when the state of the control changes.\par + false\par + \par + \par + maintainAspectRatio\par + java.lang.String\par + If true, specifies to display the image with the same ratio of height to width as the original image.\par + If true, specifies to display the image with the same ratio of height to width as the original image.\par + false\par + \par + \par + source\par + java.lang.String\par + Specifies the content to load.\par + Specifies the content to load.\par + false\par + \par + \par + progress\par + java.lang.String\par + Dispatched when content is loading.\par + Dispatched when content is loading.\par + false\par + \par + \par + complete\par + java.lang.String\par + Dispatched when content loading is complete.\par + Dispatched when content loading is complete.\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + Background color of a component.\par + Background color of a component.\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + Background image of a component.\par + Background image of a component.\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + Color of the drop shadow.\par + Color of the drop shadow.\par + false\par + \par + \par + borderColor\par + java.lang.String\par + Color of the border.\par + Color of the border.\par + false\par + \par + \par + borderSides\par + java.lang.String\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + Bounding box style.\par + Bounding box style.\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + The border skin of the component.\par + The border skin of the component.\par + false\par + \par + \par + borderThickness\par + java.lang.String\par + Bounding box thickness.\par + Bounding box thickness.\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + Radius of component corners.\par + Radius of component corners.\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + false\par + \par + \par + close\par + java.lang.String\par + Dispatched when the drop-down list is dismissed for any reason.\par + Dispatched when the drop-down list is dismissed for any reason.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.MXMLUIViewStack\par + com.googlecode.jsfFlex.component.MXMLUIViewStackBase\par + com.googlecode.jsfFlex.component.ext.AbstractMXMLUIViewStack\par + com.googlecode.jsfFlex.component.MXMLUIViewStackBase\par + jf:mxmlViewStack\par + com.googlecode.jsfFlex.MXMLUIViewStack\par + javax.faces.MXMLInput\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIViewStackTag\par + com.googlecode.jsfFlex.taglib.MXMLUIInputTagBase\par + com.googlecode.jsfFlex.MXMLViewStack\par + true\par + true\par + no description\par + \par + \par + borderThickness\par + java.lang.String\par + false\par + Bounding box thickness.\par + Bounding box thickness.\par + true\par + false\par + \par + \par + fontStyle\par + java.lang.String\par + false\par + Determines whether the text is italic font.\par + Determines whether the text is italic font.\par + true\par + false\par + \par + \par + fontWeight\par + java.lang.String\par + false\par + Determines whether the text is boldface.\par + Determines whether the text is boldface.\par + true\par + false\par + \par + \par + fontSize\par + java.lang.String\par + false\par + Height of the text, in pixels.\par + Height of the text, in pixels.\par + true\par + false\par + \par + \par + backgroundDisabledColor\par + java.lang.String\par + false\par + Background color of the component when it is disabled.\par + Background color of the component when it is disabled.\par + true\par + false\par + \par + \par + dropShadowEnabled\par + java.lang.String\par + false\par + Boolean property that specifies whether the component has a visible drop shadow.\par + Boolean property that specifies whether the component has a visible drop shadow.\par + true\par + false\par + \par + \par + shadowDirection\par + java.lang.String\par + false\par + Direction of the drop shadow.\par + Direction of the drop shadow.\par + true\par + false\par + \par + \par + shadowDistance\par + java.lang.String\par + false\par + Distance of the drop shadow.\par + Distance of the drop shadow.\par + true\par + false\par + \par + \par + dataChange\par + java.lang.String\par + false\par + Dispatched when the data property changes.\par + Dispatched when the data property changes.\par + true\par + false\par + \par + \par + horizontalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the horizontal scrollbar style.\par + The name of the horizontal scrollbar style.\par + true\par + false\par + \par + \par + verticalScrollBarStyleName\par + java.lang.String\par + false\par + The name of the vertical scrollbar style.\par + The name of the vertical scrollbar style.\par + true\par + false\par + \par + \par + icon\par + java.lang.String\par + false\par + Name of the class to use as the default icon.\par + Name of the class to use as the default icon.\par + true\par + false\par + \par + \par + fontFamily\par + java.lang.String\par + false\par + Name of the font to use.\par + Name of the font to use.\par + true\par + false\par + \par + \par + borderColor\par + java.lang.String\par + false\par + Color of the border.\par + Color of the border.\par + true\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + true\par + \par + \par + height\par + java.lang.String\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + Number that specifies the height of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + styleName\par + java.lang.String\par + The class style used by this component.\par + The class style used by this component.\par + true\par + \par + \par + width\par + java.lang.String\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + Number that specifies the width of the component, in pixels, in the parent's coordinates.\par + true\par + \par + \par + x\par + java.lang.String\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + Number that specifies the component's horizontal position, in pixels, within its parent container.\par + true\par + \par + \par + y\par + java.lang.String\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + Number that specifies the component's vertical position, in pixels, within its parent container.\par + true\par + \par + \par + creationComplete\par + java.lang.String\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.\par + true\par + \par + \par + label\par + java.lang.String\par + false\par + Text to appear on the control.\par + Text to appear on the control.\par + true\par + false\par + \par + \par + thumbDownSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.\par + true\par + false\par + \par + \par + thumbOverSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar whenthe mouse pointer is over the thumb.\par + Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.\par + true\par + false\par + \par + \par + thumbUpSkin\par + java.lang.String\par + false\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + Name of the class to use as the skin for the thumb of the scroll bar.\par + true\par + false\par + \par + \par + backgroundAlpha\par + java.lang.String\par + false\par + Alpha level of the color defined by the backgroundColor property.\par + Alpha level of the color defined by the backgroundColor property.\par + true\par + false\par + \par + \par + scroll\par + java.lang.String\par + false\par + Dispatched when the user manually scrolls the container.\par + Dispatched when the user manually scrolls the container.\par + true\par + false\par + \par + \par + trackColors\par + java.lang.String\par + false\par + The colors of the track, as an array of two colors.\par + The colors of the track, as an array of two colors.\par + true\par + false\par + \par + \par + trackSkin\par + java.lang.String\par + false\par + Skin style for the progress indicator track.\par + Skin style for the progress indicator track.\par + true\par + false\par + \par + \par + color\par + java.lang.String\par + false\par + Color of text in the component\par + Color of text in the component\par + true\par + false\par + \par + \par + paddingBottom\par + java.lang.String\par + false\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + Number of pixels between the container's bottom border and the bottom of its content area.\par + true\par + false\par + \par + \par + paddingTop\par + java.lang.String\par + false\par + Number of pixels between the container's top border and the top of its content area.\par + Number of pixels between the container's top border and the top of its content area.\par + true\par + false\par + \par + \par + textIndent\par + java.lang.String\par + false\par + Offset of first line of text from the left side of the container, in pixels.\par + Offset of first line of text from the left side of the container, in pixels.\par + true\par + false\par + \par + \par + textDecoration\par + java.lang.String\par + false\par + Determines whether the text is underlined.\par + Determines whether the text is underlined.\par + true\par + false\par + \par + \par + textAlign\par + java.lang.String\par + false\par + Alignment of text within a container.\par + Alignment of text within a container.\par + true\par + false\par + \par + \par + barColor\par + java.lang.String\par + false\par + Determines the color of a ProgressBar.\par + Determines the color of a ProgressBar.\par + true\par + false\par + \par + \par + cornerRadius\par + java.lang.String\par + false\par + Radius of component corners.\par + Radius of component corners.\par + true\par + false\par + \par + \par + verticalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + Specifies whether the vertical scroll bar is always present, always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + verticalScrollPosition\par + java.lang.String\par + false\par + The current position of the vertical scroll bar.\par + The current position of the vertical scroll bar.\par + true\par + false\par + \par + \par + horizontalScrollPolicy\par + java.lang.String\par + false\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + Specifies whether the horizontal scroll bar is always present,always absent, or automatically added when needed.\par + true\par + false\par + \par + \par + autoLayout\par + java.lang.String\par + false\par + If true, measurement and layout are done when the position or size of a child is changed.\par + If true, measurement and layout are done when the position or size of a child is changed.\par + true\par + false\par + \par + \par + clipContent\par + java.lang.String\par + false\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + Whether to apply a clip mask if the positions and/or sizes of this container's children extend outside the borders of this container.\par + true\par + false\par + \par + \par + creationIndex\par + java.lang.String\par + false\par + Specifies the order to instantiate and draw the children of the container.\par + Specifies the order to instantiate and draw the children of the container.\par + true\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + false\par + The child creation policy for this Container.\par + The child creation policy for this Container.\par + true\par + false\par + \par + \par + defaultButton\par + java.lang.String\par + false\par + The Button control designated as the default button for the container.\par + The Button control designated as the default button for the container.\par + true\par + false\par + \par + \par + horizontalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + Number of pixels to move when the left- or right-arrow button in the horizontalscroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + Number of pixels to move when the track in the horizontal scroll bar is pressed.\par + true\par + false\par + \par + \par + horizontalScrollBar\par + java.lang.String\par + false\par + The horizontal scrollbar used in this container.\par + The horizontal scrollbar used in this container.\par + true\par + false\par + \par + \par + verticalLineScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + Number of pixels to scroll when the up- or down-arrow button in the verticalscroll bar is pressed.\par + true\par + false\par + \par + \par + verticalPageScrollSize\par + java.lang.String\par + false\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + Number of pixels to scroll when the track in the vertical scroll bar is pressed.\par + true\par + false\par + \par + \par + verticalScrollBar\par + java.lang.String\par + false\par + The vertical scrollbar used in this container.\par + The vertical scrollbar used in this container.\par + true\par + false\par + \par + \par + backgroundAttachment\par + java.lang.String\par + false\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + If a background image is specified, this style specifies whether it is fixed with regard to the viewport (fixed) or scrolls along with the content (scroll).The default value is scroll.\par + true\par + false\par + \par + \par + disabledOverlayAlpha\par + java.lang.String\par + false\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + The alpha value for the overlay that is placed on top of the container when it is disabled.\par + true\par + false\par + \par + \par + childAdd\par + java.lang.String\par + false\par + Dispatched after a child has been added to a container.\par + Dispatched after a child has been added to a container.\par + true\par + false\par + \par + \par + childIndexChange\par + java.lang.String\par + false\par + Dispatched after the index (among the container children) of a container child changes.\par + Dispatched after the index (among the container children) of a container child changes.\par + true\par + false\par + \par + \par + childRemove\par + java.lang.String\par + false\par + Dispatched before a child of a container is removed.\par + Dispatched before a child of a container is removed.\par + true\par + false\par + \par + \par + fontGridFitType\par + java.lang.String\par + false\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + Sets the gridFitType property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontSharpness\par + java.lang.String\par + false\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + Sets the sharpness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + fontAntiAliasType\par + java.lang.String\par + false\par + Sets the antiAliasType property of internal TextFields.\par + Sets the antiAliasType property of internal TextFields.\par + true\par + false\par + \par + \par + fontThickness\par + java.lang.String\par + false\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + Sets the thickness property of internal TextFields that represent text in Flex controls.\par + true\par + false\par + \par + \par + borderSides\par + java.lang.String\par + false\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + Bounding box sides. A space-delimited String that specifies the sides of the border to show.\par + true\par + false\par + \par + \par + borderStyle\par + java.lang.String\par + false\par + Bounding box style.\par + Bounding box style.\par + true\par + false\par + \par + \par + borderSkin\par + java.lang.String\par + false\par + The border skin of the component.\par + The border skin of the component.\par + true\par + false\par + \par + \par + horizontalScrollPosition\par + java.lang.String\par + false\par + The current position of the horizontal scroll bar.\par + The current position of the horizontal scroll bar.\par + true\par + false\par + \par + \par + backgroundColor\par + java.lang.String\par + false\par + Background color of a component.\par + Background color of a component.\par + true\par + false\par + \par + \par + disabledColor\par + java.lang.String\par + false\par + Color of text in the component if it is disabled.\par + Color of text in the component if it is disabled.\par + true\par + false\par + \par + \par + paddingLeft\par + java.lang.String\par + false\par + Number of pixels between the container's left border and the left edge of its content area.\par + Number of pixels between the container's left border and the left edge of its content area.\par + true\par + false\par + \par + \par + paddingRight\par + java.lang.String\par + false\par + Number of pixels between the container's right border and the right edge of its content area.\par + Number of pixels between the container's right border and the right edge of its content area.\par + true\par + false\par + \par + \par + backgroundImage\par + java.lang.String\par + false\par + Background image of a component.\par + Background image of a component.\par + true\par + false\par + \par + \par + backgroundSize\par + java.lang.String\par + false\par + Scales the image specified by backgroundImage to different percentage sizes.\par + Scales the image specified by backgroundImage to different percentage sizes.\par + true\par + false\par + \par + \par + dropShadowColor\par + java.lang.String\par + false\par + Color of the drop shadow.\par + Color of the drop shadow.\par + true\par + false\par + \par + \par + historyManagementEnabled\par + java.lang.String\par + If true, enables history management within this ViewStack container.\par + If true, enables history management within this ViewStack container.\par + false\par + \par + \par + resizeToContent\par + java.lang.String\par + If true, the ViewStack container automatically resizes to the size of its current child.\par + If true, the ViewStack container automatically resizes to the size of its current child.\par + false\par + \par + \par + horizontalGap\par + java.lang.String\par + Horizontal gap.\par + Horizontal gap.\par + false\par + \par + \par + verticalGap\par + java.lang.String\par + Vertical gap.\par + Vertical gap.\par + false\par + \par + \par + change\par + java.lang.String\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + Dispatched when the selectedIndex or selectedItem property changes as a result of user interaction.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.MXMLUIObject\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.data.ext.AbstractMXMLUIObject\par + com.googlecode.jsfFlex.component.ext.data.MXMLUIDataContainerBase\par + jf:mxmlObject\par + com.googlecode.jsfFlex.MXMLUIObject\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.data.MXMLUIObjectTag\par + com.googlecode.jsfFlex.MXMLObject\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.MXMLUIArray\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.data.ext.AbstractMXMLUIArray\par + com.googlecode.jsfFlex.component.ext.data.ext.AbstractMXMLUIObject\par + jf:mxmlArray\par + com.googlecode.jsfFlex.MXMLUIArray\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.data.MXMLUIArrayTag\par + com.googlecode.jsfFlex.MXMLArray\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.MXMLUIArrayCollection\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.data.ext.AbstractMXMLUIArrayCollection\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlArrayCollection\par + com.googlecode.jsfFlex.MXMLUIArrayCollection\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.data.MXMLUIArrayCollectionTag\par + com.googlecode.jsfFlex.MXMLArrayCollection\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + \par + \par + filterFunction\par + java.lang.String\par + A function that the view will use to eliminate items that do not match the function's criteria.\par + A function that the view will use to eliminate items that do not match the function's criteria.\par + false\par + \par + \par + list\par + java.lang.String\par + The IList that this collection view wraps.\par + The IList that this collection view wraps.\par + false\par + \par + \par + sort\par + java.lang.String\par + The Sort that will be applied to the ICollectionView.\par + The Sort that will be applied to the ICollectionView.\par + false\par + \par + \par + source\par + java.lang.String\par + The source of data in the ArrayCollection.\par + The source of data in the ArrayCollection.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.MXMLUIListCollectionView\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.data.ext.AbstractMXMLUIListCollectionView\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlListCollectionView\par + com.googlecode.jsfFlex.MXMLUIListCollectionView\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.data.MXMLUIListCollectionViewTag\par + com.googlecode.jsfFlex.MXMLListCollectionView\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + \par + \par + filterFunction\par + java.lang.String\par + A function that the view will use to eliminate items that do not match the function's criteria.\par + A function that the view will use to eliminate items that do not match the function's criteria.\par + false\par + \par + \par + list\par + java.lang.String\par + The IList that this collection view wraps.\par + The IList that this collection view wraps.\par + false\par + \par + \par + sort\par + java.lang.String\par + The Sort that will be applied to the ICollectionView.\par + The Sort that will be applied to the ICollectionView.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.MXMLUIXML\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.data.ext.AbstractMXMLUIXML\par + com.googlecode.jsfFlex.component.ext.data.MXMLUIXMLContainerBase\par + jf:mxmlXML\par + com.googlecode.jsfFlex.MXMLUIXML\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.data.MXMLUIXMLTag\par + com.googlecode.jsfFlex.MXMLXML\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.MXMLUIXMLList\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.data.ext.AbstractMXMLUIXMLList\par + com.googlecode.jsfFlex.component.ext.data.MXMLUIXMLContainerBase\par + jf:mxmlXMLList\par + com.googlecode.jsfFlex.MXMLUIXMLList\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.data.MXMLUIXMLListTag\par + com.googlecode.jsfFlex.MXMLXMLList\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.MXMLUIXMLListCollection\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.data.ext.AbstractMXMLUIXMLListCollection\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlXMLListCollection\par + com.googlecode.jsfFlex.MXMLUIXMLListCollection\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.data.MXMLUIXMLListCollectionTag\par + com.googlecode.jsfFlex.MXMLXMLListCollection\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + \par + \par + filterFunction\par + java.lang.String\par + A function that the view will use to eliminate items that do not match the function's criteria.\par + A function that the view will use to eliminate items that do not match the function's criteria.\par + false\par + \par + \par + list\par + java.lang.String\par + The IList that this collection view wraps.\par + The IList that this collection view wraps.\par + false\par + \par + \par + sort\par + java.lang.String\par + The Sort that will be applied to the ICollectionView.\par + The Sort that will be applied to the ICollectionView.\par + false\par + \par + \par + source\par + java.lang.String\par + The underlying XMLList for this collection.\par + The underlying XMLList for this collection.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIDataListEntriesBase\par + com.googlecode.jsfFlex.component.ext.data.ext.properties._MXMLUIDataListEntriesBase\par + javax.faces.component.UIComponentBase\par + com.googlecode.jsfFlex.MXMLUIDataListEntriesBase\par + javax.faces.MXMLProperty\par + true\par + \par + Base component for DataList Entries MXMLProperty component\par + \par + \par + bindingBeanList\par + java.util.List\par + false\par + List of beans for data binding to the component.\par + List of beans for data binding to the component.\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIDynamicPropertyBase\par + com.googlecode.jsfFlex.component.ext.data.ext.properties._MXMLUIDynamicPropertyBase\par + javax.faces.component.UIComponentBase\par + com.googlecode.jsfFlex.MXMLUIDynamicPropertyBase\par + javax.faces.MXMLProperty\par + true\par + \par + Base component for dynamic/reflected MXMLProperty component\par + \par + \par + property\par + java.lang.String\par + true\par + Property of the object. This will allow fetching of the property name and property value dynamically [property provided as a static string representing the property name and its value being the reflected value of this static string].\par + Property of the object. This will allow fetching of the property name and property value dynamically [property provided as a static string representing the property name and its value being the reflected value of this static string].\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIStaticPropertyBase\par + com.googlecode.jsfFlex.component.ext.data.ext.properties._MXMLUIStaticPropertyBase\par + javax.faces.component.UIComponentBase\par + com.googlecode.jsfFlex.MXMLUIStaticPropertyBase\par + javax.faces.MXMLProperty\par + true\par + \par + Base component for static MXMLProperty component\par + \par + \par + staticPropertyName\par + java.lang.String\par + true\par + Static name of the property.\par + Static name of the property.\par + true\par + false\par + \par + \par + staticPropertyValue\par + java.lang.String\par + true\par + Static value of the property.\par + Static value of the property.\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.MXMLUIObjectElement\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.AbstractMXMLUIObjectElement\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIDataObjectBase\par + jf:mxmlObjectElement\par + com.googlecode.jsfFlex.MXMLUIObjectElement\par + javax.faces.MXMLProperty\par + com.googlecode.jsfFlex.taglib.ext.data.properties.MXMLUIObjectElementTag\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.MXMLUIObjectListEntries\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIDataListEntriesBase\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.AbstractMXMLUIObjectListEntries\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIDataListEntriesBase\par + jf:mxmlObjectListEntries\par + com.googlecode.jsfFlex.MXMLUIObjectListEntries\par + javax.faces.MXMLProperty\par + com.googlecode.jsfFlex.taglib.ext.data.MXMLUIObjectListEntriesTag\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.MXMLUIObjectProperty\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIDynamicPropertyBase\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.AbstractMXMLUIObjectProperty\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIDynamicPropertyBase\par + jf:mxmlObjectProperty\par + com.googlecode.jsfFlex.MXMLUIObjectProperty\par + javax.faces.MXMLProperty\par + com.googlecode.jsfFlex.taglib.ext.data.properties.MXMLUIObjectPropertyTag\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.MXMLUIObjectStaticProperty\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIStaticPropertyBase\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.AbstractMXMLUIObjectStaticProperty\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIStaticPropertyBase\par + jf:mxmlObjectStaticProperty\par + com.googlecode.jsfFlex.MXMLUIObjectStaticProperty\par + javax.faces.MXMLProperty\par + com.googlecode.jsfFlex.taglib.ext.data.properties.MXMLUIObjectStaticPropertyTag\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.MXMLUIXMLAttribute\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIDynamicPropertyBase\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.AbstractMXMLUIXMLAttribute\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIDynamicPropertyBase\par + jf:mxmlXMLAttribute\par + com.googlecode.jsfFlex.MXMLUIXMLAttribute\par + javax.faces.MXMLProperty\par + com.googlecode.jsfFlex.taglib.ext.data.properties.MXMLUIXMLAttributeTag\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.MXMLUIXMLElement\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.AbstractMXMLUIXMLElement\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIXMLElementBase\par + jf:mxmlXMLElement\par + com.googlecode.jsfFlex.MXMLUIXMLElement\par + javax.faces.MXMLProperty\par + com.googlecode.jsfFlex.taglib.ext.data.properties.MXMLUIXMLElementTag\par + true\par + true\par + no description\par + \par + \par + nodeName\par + java.lang.String\par + true\par + Name of the node which will be fetched dynamically using reflection. This field should be a static string representing the name of the field within the binding bean.\par + Name of the node which will be fetched dynamically using reflection. This field should be a static string representing the name of the field within the binding bean.\par + true\par + false\par + \par + \par + nodeValue\par + java.lang.String\par + false\par + Value of the node which will be fetched dynamically using reflection. This field should be a static string representing the value of the field within the binding bean.\par + Value of the node which will be fetched dynamically using reflection. This field should be a static string representing the value of the field within the binding bean.\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.MXMLUIXMLListEntries\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIDataListEntriesBase\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.AbstractMXMLUIXMLListEntries\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIDataListEntriesBase\par + jf:mxmlXMLListEntries\par + com.googlecode.jsfFlex.MXMLUIXMLListEntries\par + javax.faces.MXMLProperty\par + com.googlecode.jsfFlex.taglib.ext.data.MXMLUIXMLListEntriesTag\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.MXMLUIXMLStaticAttribute\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIStaticPropertyBase\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.AbstractMXMLUIXMLStaticAttribute\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIStaticPropertyBase\par + jf:mxmlXMLStaticAttribute\par + com.googlecode.jsfFlex.MXMLUIXMLStaticAttribute\par + javax.faces.MXMLProperty\par + com.googlecode.jsfFlex.taglib.ext.data.properties.MXMLUIXMLStaticAttributeTag\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.MXMLUIXMLStaticElement\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.AbstractMXMLUIXMLStaticElement\par + com.googlecode.jsfFlex.component.ext.data.ext.properties.MXMLUIXMLElementBase\par + jf:mxmlXMLStaticElement\par + com.googlecode.jsfFlex.MXMLUIXMLStaticElement\par + javax.faces.MXMLProperty\par + com.googlecode.jsfFlex.taglib.ext.data.properties.MXMLUIXMLStaticElementTag\par + true\par + true\par + no description\par + \par + \par + staticNodeName\par + java.lang.String\par + true\par + Static name of the node.\par + Static name of the node.\par + true\par + false\par + \par + \par + staticNodeValue\par + java.lang.String\par + false\par + Static value of the node.\par + Static value of the node.\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.properties.ext.MXMLUIColumns\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.properties.ext.AbstractMXMLUIColumns\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlColumns\par + com.googlecode.jsfFlex.MXMLUIColumns\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.properties.MXMLUIColumnsTag\par + com.googlecode.jsfFlex.MXMLColumns\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.properties.ext.MXMLUIDataProvider\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.properties.ext.AbstractMXMLUIDataProvider\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlDataProvider\par + com.googlecode.jsfFlex.MXMLUIDataProvider\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.properties.MXMLUIDataProviderTag\par + com.googlecode.jsfFlex.MXMLDataProvider\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.service.ext.MXMLUIHTTPService\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.service.ext.AbstractMXMLUIHTTPService\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlHTTPService\par + com.googlecode.jsfFlex.MXMLUIHTTPService\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.service.MXMLUIHTTPServiceTag\par + com.googlecode.jsfFlex.MXMLHTTPService\par + true\par + true\par + no description\par + \par + \par + concurrency\par + java.lang.String\par + Value that indicates how to handle multiple calls to the same service.\par + Value that indicates how to handle multiple calls to the same service.\par + false\par + \par + \par + contentType\par + java.lang.String\par + Type of content for service requests.\par + Type of content for service requests.\par + false\par + \par + \par + destination\par + java.lang.String\par + An HTTPService destination name in the services-config.xml file.\par + An HTTPService destination name in the services-config.xml file.\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + false\par + \par + \par + method\par + java.lang.String\par + HTTP method for sending the request.\par + HTTP method for sending the request.\par + false\par + \par + \par + resultFormat\par + java.lang.String\par + Value that indicates how you want to deserialize the result returned by the HTTP call.\par + Value that indicates how you want to deserialize the result returned by the HTTP call.\par + false\par + \par + \par + showBusyCursor\par + java.lang.String\par + If true, a busy cursor is displayed while a service is executing.\par + If true, a busy cursor is displayed while a service is executing.\par + false\par + \par + \par + makeObjectsBindable\par + java.lang.String\par + When this value is true, anonymous objects returned are forced to bindable objects.\par + When this value is true, anonymous objects returned are forced to bindable objects.\par + false\par + \par + \par + url\par + java.lang.String\par + Location of the service.\par + Location of the service.\par + false\par + \par + \par + useProxy\par + java.lang.String\par + Specifies whether to use the Flex proxy service.\par + Specifies whether to use the Flex proxy service.\par + false\par + \par + \par + xmlEncode\par + java.lang.String\par + ActionScript function used to encode a service request as XML.\par + ActionScript function used to encode a service request as XML.\par + false\par + \par + \par + xmlDecode\par + java.lang.String\par + ActionScript function used to decode a service result from XML.\par + ActionScript function used to decode a service result from XML.\par + false\par + \par + \par + fault\par + java.lang.String\par + Dispatched when an HTTPService call fails.\par + Dispatched when an HTTPService call fails.\par + false\par + \par + \par + result\par + java.lang.String\par + Dispatched when an HTTPService call returns successfully.\par + Dispatched when an HTTPService call returns successfully.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.service.ext.MXMLUIRemoteObject\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.service.ext.AbstractMXMLUIRemoteObject\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlRemoteObject\par + com.googlecode.jsfFlex.MXMLUIRemoteObject\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.service.MXMLUIRemoteObjectTag\par + com.googlecode.jsfFlex.MXMLRemoteObject\par + true\par + true\par + no description\par + \par + \par + concurrency\par + java.lang.String\par + Value that indicates how to handle multiple calls to the same service.\par + Value that indicates how to handle multiple calls to the same service.\par + false\par + \par + \par + destination\par + java.lang.String\par + The destination of the service.\par + The destination of the service.\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + false\par + \par + \par + endpoint\par + java.lang.String\par + This property allows the developer to quickly specify an endpoint for a RemoteObject destination without referring to a services configuration file at compile time or programmatically creating a ChannelSet.\par + This property allows the developer to quickly specify an endpoint for a RemoteObject destination without referring to a services configuration file at compile time or programmatically creating a ChannelSet.\par + false\par + \par + \par + showBusyCursor\par + java.lang.String\par + If true, a busy cursor is displayed while a service is executing.\par + If true, a busy cursor is displayed while a service is executing.\par + false\par + \par + \par + source\par + java.lang.String\par + Lets you specify a source value on the client; not supported for destinations that use the JavaAdapter.\par + Lets you specify a source value on the client; not supported for destinations that use the JavaAdapter.\par + false\par + \par + \par + makeObjectsBindable\par + java.lang.String\par + When this value is true, anonymous objects returned are forced to bindable objects.\par + When this value is true, anonymous objects returned are forced to bindable objects.\par + false\par + \par + \par + fault\par + java.lang.String\par + The fault event is dispatched when a service call fails and isn't handled by the Operation itself.\par + The fault event is dispatched when a service call fails and isn't handled by the Operation itself.\par + false\par + \par + \par + result\par + java.lang.String\par + The result event is dispatched when a service call successfully returns and isn't handled by the Operation itself.\par + The result event is dispatched when a service call successfully returns and isn't handled by the Operation itself.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.component.ext.service.ext.MXMLUIWebService\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.component.ext.service.ext.AbstractMXMLUIWebService\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlWebService\par + com.googlecode.jsfFlex.MXMLUIWebService\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.service.MXMLUIWebServiceTag\par + com.googlecode.jsfFlex.MXMLWebService\par + true\par + true\par + no description\par + \par + \par + concurrency\par + java.lang.String\par + Value that indicates how to handle multiple calls to the same service.\par + Value that indicates how to handle multiple calls to the same service.\par + false\par + \par + \par + destination\par + java.lang.String\par + The destination of the service.\par + The destination of the service.\par + false\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + false\par + \par + \par + serviceName\par + java.lang.String\par + Name of the service.\par + Name of the service.\par + false\par + \par + \par + showBusyCursor\par + java.lang.String\par + If true, a busy cursor is displayed while a service is executing.\par + If true, a busy cursor is displayed while a service is executing.\par + false\par + \par + \par + makeObjectsBindable\par + java.lang.String\par + When this value is true, anonymous objects returned are forced to bindable objects.\par + When this value is true, anonymous objects returned are forced to bindable objects.\par + false\par + \par + \par + useProxy\par + java.lang.String\par + Specifies whether to use the Flex proxy service.\par + Specifies whether to use the Flex proxy service.\par + false\par + \par + \par + wsdl\par + java.lang.String\par + The location of the WSDL document for this WebService.\par + The location of the WSDL document for this WebService.\par + false\par + \par + \par + fault\par + java.lang.String\par + The fault event is dispatched when a service call fails and isn't handled by the Operation itself.\par + The fault event is dispatched when a service call fails and isn't handled by the Operation itself.\par + false\par + \par + \par + result\par + java.lang.String\par + The result event is dispatched when a service call successfully returns and isn't handled by the Operation itself.\par + The result event is dispatched when a service call successfully returns and isn't handled by the Operation itself.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.convert.ext.MXMLUICurrencyFormatter\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.convert.ext.AbstractMXMLUICurrencyFormatter\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlCurrencyFormatter\par + com.googlecode.jsfFlex.MXMLUICurrencyFormatter\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUICurrencyFormatterTag\par + com.googlecode.jsfFlex.MXMLCurrencyFormatter\par + true\par + true\par + no description\par + \par + \par + error\par + java.lang.String\par + false\par + Description saved by the formatter when an error occurs.\par + Description saved by the formatter when an error occurs.\par + true\par + false\par + \par + \par + alignSymbol\par + java.lang.String\par + Aligns currency symbol to the left side or the right side of the formatted number.\par + Aligns currency symbol to the left side or the right side of the formatted number.\par + false\par + \par + \par + currencySymbol\par + java.lang.String\par + Character to use as a currency symbol for a formatted number.\par + Character to use as a currency symbol for a formatted number.\par + false\par + \par + \par + decimalSeparatorFrom\par + java.lang.String\par + Decimal separator character to use when parsing an input string.\par + Decimal separator character to use when parsing an input string.\par + false\par + \par + \par + decimalSeparatorTo\par + java.lang.String\par + Decimal separator character to use when outputting formatted decimal numbers.\par + Decimal separator character to use when outputting formatted decimal numbers.\par + false\par + \par + \par + precision\par + java.lang.String\par + Number of decimal places to include in the output String.\par + Number of decimal places to include in the output String.\par + false\par + \par + \par + rounding\par + java.lang.String\par + How to round the number.\par + How to round the number.\par + false\par + \par + \par + thousandsSeparatorFrom\par + java.lang.String\par + Character to use as the thousands separator in the input String.\par + Character to use as the thousands separator in the input String.\par + false\par + \par + \par + thousandsSeparatorTo\par + java.lang.String\par + Character to use as the thousands separator in the output string.\par + Character to use as the thousands separator in the output string.\par + false\par + \par + \par + useNegativeSign\par + java.lang.String\par + If true, format a negative number by preceding it with a minus\par + If true, format a negative number by preceding it with a minus\par + false\par + \par + \par + useThousandsSeparator\par + java.lang.String\par + If true, split the number into thousands increments by using a separator character.\par + If true, split the number into thousands increments by using a separator character.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.convert.ext.MXMLUIDateFormatter\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.convert.ext.AbstractMXMLUIDateFormatter\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlDateFormatter\par + com.googlecode.jsfFlex.MXMLUIDateFormatter\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIDateFormatterTag\par + com.googlecode.jsfFlex.MXMLDateFormatter\par + true\par + true\par + no description\par + \par + \par + error\par + java.lang.String\par + false\par + Description saved by the formatter when an error occurs.\par + Description saved by the formatter when an error occurs.\par + true\par + false\par + \par + \par + formatString\par + java.lang.String\par + The mask pattern.\par + The mask pattern.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.convert.ext.MXMLUINumberFormatter\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.convert.ext.AbstractMXMLUINumberFormatter\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlNumberFormatter\par + com.googlecode.jsfFlex.MXMLUINumberFormatter\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUINumberFormatterTag\par + com.googlecode.jsfFlex.MXMLNumberFormatter\par + true\par + true\par + no description\par + \par + \par + error\par + java.lang.String\par + false\par + Description saved by the formatter when an error occurs.\par + Description saved by the formatter when an error occurs.\par + true\par + false\par + \par + \par + decimalSeparatorFrom\par + java.lang.String\par + Decimal separator character to use when parsing an input string.\par + Decimal separator character to use when parsing an input string.\par + false\par + \par + \par + decimalSeparatorTo\par + java.lang.String\par + Decimal separator character to use when outputting formatted decimal numbers.\par + Decimal separator character to use when outputting formatted decimal numbers.\par + false\par + \par + \par + precision\par + java.lang.String\par + Number of decimal places to include in the output String.\par + Number of decimal places to include in the output String.\par + false\par + \par + \par + rounding\par + java.lang.String\par + How to round the number.\par + How to round the number.\par + false\par + \par + \par + thousandsSeparatorFrom\par + java.lang.String\par + Character to use as the thousands separator in the input String.\par + Character to use as the thousands separator in the input String.\par + false\par + \par + \par + thousandsSeparatorTo\par + java.lang.String\par + Character to use as the thousands separator in the output string.\par + Character to use as the thousands separator in the output string.\par + false\par + \par + \par + useNegativeSign\par + java.lang.String\par + If true, format a negative number by preceding it with a minus\par + If true, format a negative number by preceding it with a minus\par + false\par + \par + \par + useThousandsSeparator\par + java.lang.String\par + If true, split the number into thousands increments by using a separator character.\par + If true, split the number into thousands increments by using a separator character.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.convert.ext.MXMLUIPhoneFormatter\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.convert.ext.AbstractMXMLUIPhoneFormatter\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlPhoneFormatter\par + com.googlecode.jsfFlex.MXMLUIPhoneFormatter\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIPhoneFormatterTag\par + com.googlecode.jsfFlex.MXMLPhoneFormatter\par + true\par + true\par + no description\par + \par + \par + error\par + java.lang.String\par + false\par + Description saved by the formatter when an error occurs.\par + Description saved by the formatter when an error occurs.\par + true\par + false\par + \par + \par + areaCode\par + java.lang.String\par + Area code number added to a seven-digit United States format phone number to form a 10-digit phone number.\par + Area code number added to a seven-digit United States format phone number to form a 10-digit phone number.\par + false\par + \par + \par + areaCodeFormat\par + java.lang.String\par + Default format for the area code when the areacode property is rendered by a seven-digit format.\par + Default format for the area code when the areacode property is rendered by a seven-digit format.\par + false\par + \par + \par + validPatternChars\par + java.lang.String\par + List of valid characters that can be used in the formatString property.\par + List of valid characters that can be used in the formatString property.\par + false\par + \par + \par + formatString\par + java.lang.String\par + The mask pattern.\par + The mask pattern.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.convert.ext.MXMLUIZipCodeFormatter\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.convert.ext.AbstractMXMLUIZipCodeFormatter\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlZipCodeFormatter\par + com.googlecode.jsfFlex.MXMLUIZipCodeFormatter\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIZipCodeFormatterTag\par + com.googlecode.jsfFlex.MXMLZipCodeFormatter\par + true\par + true\par + no description\par + \par + \par + error\par + java.lang.String\par + false\par + Description saved by the formatter when an error occurs.\par + Description saved by the formatter when an error occurs.\par + true\par + false\par + \par + \par + formatString\par + java.lang.String\par + The mask pattern.\par + The mask pattern.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.states.ext.MXMLUIAddChild\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.states.ext.AbstractMXMLUIAddChild\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlAddChild\par + com.googlecode.jsfFlex.MXMLUIAddChild\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIAddChildTag\par + com.googlecode.jsfFlex.MXMLAddChild\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + \par + \par + target\par + java.lang.String\par + The child to be added.\par + The child to be added.\par + false\par + \par + \par + targetFactory\par + java.lang.String\par + The factory that creates the child.\par + The factory that creates the child.\par + false\par + \par + \par + creationPolicy\par + java.lang.String\par + The creation policy for this child.\par + The creation policy for this child.\par + false\par + \par + \par + position\par + java.lang.String\par + The position of the child in the display list, relative to the object specified by the relativeTo property.\par + The position of the child in the display list, relative to the object specified by the relativeTo property.\par + false\par + \par + \par + relativeTo\par + java.lang.String\par + The object relative to which the child is added.\par + The object relative to which the child is added.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.states.ext.MXMLUIRemoveChild\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.states.ext.AbstractMXMLUIRemoveChild\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlRemoveChild\par + com.googlecode.jsfFlex.MXMLUIRemoveChild\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIRemoveChildTag\par + com.googlecode.jsfFlex.MXMLRemoveChild\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + \par + \par + target\par + java.lang.String\par + The child to remove from the view.\par + The child to remove from the view.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.states.ext.MXMLUISetEventHandler\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.states.ext.AbstractMXMLUISetEventHandler\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlSetEventHandler\par + com.googlecode.jsfFlex.MXMLUISetEventHandler\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUISetEventHandlerTag\par + com.googlecode.jsfFlex.MXMLSetEventHandler\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + \par + \par + name\par + java.lang.String\par + The name of the event whose handler is being set.\par + The name of the event whose handler is being set.\par + false\par + \par + \par + handlerFunction\par + java.lang.String\par + The handler function for the event.\par + The handler function for the event.\par + false\par + \par + \par + target\par + java.lang.String\par + The component that dispatches the event.\par + The component that dispatches the event.\par + false\par + \par + \par + handler\par + java.lang.String\par + The event handler function to execute in response to the event that is specified by the name property.\par + The event handler function to execute in response to the event that is specified by the name property.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.states.ext.MXMLUISetProperty\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.states.ext.AbstractMXMLUISetProperty\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlSetProperty\par + com.googlecode.jsfFlex.MXMLUISetProperty\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUISetPropertyTag\par + com.googlecode.jsfFlex.MXMLSetProperty\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + \par + \par + name\par + java.lang.String\par + The name of the property to change.\par + The name of the property to change.\par + false\par + \par + \par + target\par + java.lang.String\par + The object containing the property to be changed.\par + The object containing the property to be changed.\par + false\par + \par + \par + value\par + java.lang.String\par + The new value for the property.\par + The new value for the property.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.states.ext.MXMLUISetStyle\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.states.ext.AbstractMXMLUISetStyle\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlSetStyle\par + com.googlecode.jsfFlex.MXMLUISetStyle\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUISetStyleTag\par + com.googlecode.jsfFlex.MXMLSetStyle\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + \par + \par + name\par + java.lang.String\par + The name of the style to change.\par + The name of the style to change.\par + false\par + \par + \par + target\par + java.lang.String\par + The object whose style is being changed.\par + The object whose style is being changed.\par + false\par + \par + \par + value\par + java.lang.String\par + The new value for the style.\par + The new value for the style.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.states.ext.MXMLUIState\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.states.ext.AbstractMXMLUIState\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlState\par + com.googlecode.jsfFlex.MXMLUIState\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIStateTag\par + com.googlecode.jsfFlex.MXMLState\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + \par + \par + basedOn\par + java.lang.String\par + The name of the view state upon which this view state is based, or null if this view state is not based on a named view state.\par + The name of the view state upon which this view state is based, or null if this view state is not based on a named view state.\par + false\par + \par + \par + name\par + java.lang.String\par + The name of the view state.\par + The name of the view state.\par + false\par + \par + \par + overrides\par + java.lang.String\par + The overrides for this view state, as an Array of objects that implement the IOverride interface.\par + The overrides for this view state, as an Array of objects that implement the IOverride interface.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.states.ext.MXMLUIStates\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.states.ext.AbstractMXMLUIStates\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlStates\par + com.googlecode.jsfFlex.MXMLUIStates\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIStatesTag\par + com.googlecode.jsfFlex.MXMLStates\par + true\par + true\par + no description\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.states.ext.MXMLUITransition\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.states.ext.AbstractMXMLUITransition\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlTransition\par + com.googlecode.jsfFlex.MXMLUITransition\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUITransitionTag\par + com.googlecode.jsfFlex.MXMLTransition\par + true\par + true\par + no description\par + \par + \par + id\par + java.lang.String\par + Id of the component.\par + Id of the component.\par + true\par + \par + \par + effect\par + java.lang.String\par + The Effect object to play when you apply the transition.\par + The Effect object to play when you apply the transition.\par + false\par + \par + \par + fromState\par + java.lang.String\par + A String specifying the view state that your are changing from when you apply the transition.\par + A String specifying the view state that your are changing from when you apply the transition.\par + false\par + \par + \par + toState\par + java.lang.String\par + A String specifying the view state that you are changing to when you apply the transition.\par + A String specifying the view state that you are changing to when you apply the transition.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.validator.ext.MXMLUICreditCardValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.validator.ext.AbstractMXMLUICreditCardValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlCreditCardValidator\par + com.googlecode.jsfFlex.MXMLUICreditCardValidator\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUICreditCardValidatorTag\par + com.googlecode.jsfFlex.MXMLCreditCardValidator\par + true\par + true\par + no description\par + \par + \par + enabled\par + java.lang.String\par + false\par + Setting this value to false will stop the validator from performing validation.\par + Setting this value to false will stop the validator from performing validation.\par + true\par + false\par + \par + \par + listener\par + java.lang.String\par + false\par + Specifies the validation listener.\par + Specifies the validation listener.\par + true\par + false\par + \par + \par + property\par + java.lang.String\par + false\par + A String specifying the name of the property of the source object that contains the value to validate.\par + A String specifying the name of the property of the source object that contains the value to validate.\par + true\par + false\par + \par + \par + required\par + java.lang.String\par + false\par + If true, specifies that a missing or empty value causes a validation error.\par + If true, specifies that a missing or empty value causes a validation error.\par + true\par + false\par + \par + \par + requiredFieldError\par + java.lang.String\par + false\par + Error message when a value is missing and the required property is true.\par + Error message when a value is missing and the required property is true.\par + true\par + false\par + \par + \par + source\par + java.lang.String\par + false\par + Specifies the object containing the property to validate.\par + Specifies the object containing the property to validate.\par + true\par + false\par + \par + \par + trigger\par + java.lang.String\par + false\par + Specifies the component generating the event that triggers the validator.\par + Specifies the component generating the event that triggers the validator.\par + true\par + false\par + \par + \par + triggerEvent\par + java.lang.String\par + false\par + Specifies the event that triggers the validation.\par + Specifies the event that triggers the validation.\par + true\par + false\par + \par + \par + cardNumberListener\par + java.lang.String\par + The component that listens for the validation result for the card number subfield.\par + The component that listens for the validation result for the card number subfield.\par + false\par + \par + \par + cardNumberProperty\par + java.lang.String\par + Name of the card number property to validate.\par + Name of the card number property to validate.\par + false\par + \par + \par + cardNumberSource\par + java.lang.String\par + Object that contains the value of the card number field.\par + Object that contains the value of the card number field.\par + false\par + \par + \par + cardTypeListener\par + java.lang.String\par + The component that listens for the validation result for the card type subfield.\par + The component that listens for the validation result for the card type subfield.\par + false\par + \par + \par + cardTypeProperty\par + java.lang.String\par + Name of the card type property to validate.\par + Name of the card type property to validate.\par + false\par + \par + \par + cardTypeSource\par + java.lang.String\par + Object that contains the value of the card type field.\par + Object that contains the value of the card type field.\par + false\par + \par + \par + invalidNumberError\par + java.lang.String\par + Error message when the credit card number is invalid.\par + Error message when the credit card number is invalid.\par + false\par + \par + \par + noNumError\par + java.lang.String\par + Error message when the cardNumber field is empty.\par + Error message when the cardNumber field is empty.\par + false\par + \par + \par + noTypeError\par + java.lang.String\par + Error message when the cardType field is blank.\par + Error message when the cardType field is blank.\par + false\par + \par + \par + wrongTypeError\par + java.lang.String\par + Error message the cardType field contains an invalid credit card type.\par + Error message the cardType field contains an invalid credit card type.\par + false\par + \par + \par + allowedFormatChars\par + java.lang.String\par + The set of formatting characters allowed.\par + The set of formatting characters allowed.\par + false\par + \par + \par + invalidCharError\par + java.lang.String\par + Error message when the value contains invalid characters.\par + Error message when the value contains invalid characters.\par + false\par + \par + \par + wrongLengthError\par + java.lang.String\par + Error message when the field contains the wrong number of digits for the specified type.\par + Error message when the field contains the wrong number of digits for the specified type.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.validator.ext.MXMLUICurrencyValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.validator.ext.AbstractMXMLUICurrencyValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlCurrencyValidator\par + com.googlecode.jsfFlex.MXMLUICurrencyValidator\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUICurrencyValidatorTag\par + com.googlecode.jsfFlex.MXMLCurrencyValidator\par + true\par + true\par + no description\par + \par + \par + enabled\par + java.lang.String\par + false\par + Setting this value to false will stop the validator from performing validation.\par + Setting this value to false will stop the validator from performing validation.\par + true\par + false\par + \par + \par + listener\par + java.lang.String\par + false\par + Specifies the validation listener.\par + Specifies the validation listener.\par + true\par + false\par + \par + \par + property\par + java.lang.String\par + false\par + A String specifying the name of the property of the source object that contains the value to validate.\par + A String specifying the name of the property of the source object that contains the value to validate.\par + true\par + false\par + \par + \par + required\par + java.lang.String\par + false\par + If true, specifies that a missing or empty value causes a validation error.\par + If true, specifies that a missing or empty value causes a validation error.\par + true\par + false\par + \par + \par + requiredFieldError\par + java.lang.String\par + false\par + Error message when a value is missing and the required property is true.\par + Error message when a value is missing and the required property is true.\par + true\par + false\par + \par + \par + source\par + java.lang.String\par + false\par + Specifies the object containing the property to validate.\par + Specifies the object containing the property to validate.\par + true\par + false\par + \par + \par + trigger\par + java.lang.String\par + false\par + Specifies the component generating the event that triggers the validator.\par + Specifies the component generating the event that triggers the validator.\par + true\par + false\par + \par + \par + triggerEvent\par + java.lang.String\par + false\par + Specifies the event that triggers the validation.\par + Specifies the event that triggers the validation.\par + true\par + false\par + \par + \par + currencySymbolError\par + java.lang.String\par + Error message when the currency symbol, defined by currencySymbol, is in the wrong location.\par + Error message when the currency symbol, defined by currencySymbol, is in the wrong location.\par + false\par + \par + \par + allowNegative\par + java.lang.String\par + Specifies whether negative numbers are permitted.\par + Specifies whether negative numbers are permitted.\par + false\par + \par + \par + decimalPointCountError\par + java.lang.String\par + Error message when the decimal separator character occurs more than once.\par + Error message when the decimal separator character occurs more than once.\par + false\par + \par + \par + decimalSeparator\par + java.lang.String\par + The character used to separate the whole from the fractional part of the number.\par + The character used to separate the whole from the fractional part of the number.\par + false\par + \par + \par + exceedsMaxError\par + java.lang.String\par + Error message when the value exceeds the maxValue property.\par + Error message when the value exceeds the maxValue property.\par + false\par + \par + \par + invalidFormatCharsError\par + java.lang.String\par + Error message when the value contains invalid format characters, which means that it contains a digit or minus sign (-) as a separator character, or it contains two or more consecutive separator characters.\par + Error message when the value contains invalid format characters, which means that it contains a digit or minus sign (-) as a separator character, or it contains two or more consecutive separator characters.\par + false\par + \par + \par + lowerThanMinError\par + java.lang.String\par + Error message when the value is less than minValue.\par + Error message when the value is less than minValue.\par + false\par + \par + \par + maxValue\par + java.lang.String\par + Maximum value for a valid number.\par + Maximum value for a valid number.\par + false\par + \par + \par + minValue\par + java.lang.String\par + Minimum value for a valid number.\par + Minimum value for a valid number.\par + false\par + \par + \par + negativeError\par + java.lang.String\par + Error message when the value is negative and the allowNegative property is false.\par + Error message when the value is negative and the allowNegative property is false.\par + false\par + \par + \par + precisionError\par + java.lang.String\par + Error message when the value has a precision that exceeds the value defined by the precision property.\par + Error message when the value has a precision that exceeds the value defined by the precision property.\par + false\par + \par + \par + separationError\par + java.lang.String\par + Error message when the thousands separator is in the wrong location.\par + Error message when the thousands separator is in the wrong location.\par + false\par + \par + \par + thousandsSeparator\par + java.lang.String\par + The character used to separate thousands in the whole part of the number.\par + The character used to separate thousands in the whole part of the number.\par + false\par + \par + \par + openEasingFunction\par + java.lang.String\par + Easing function to control component tweening.\par + Easing function to control component tweening.\par + false\par + \par + \par + alignSymbol\par + java.lang.String\par + Aligns currency symbol to the left side or the right side of the formatted number.\par + Aligns currency symbol to the left side or the right side of the formatted number.\par + false\par + \par + \par + currencySymbol\par + java.lang.String\par + Character to use as a currency symbol for a formatted number.\par + Character to use as a currency symbol for a formatted number.\par + false\par + \par + \par + invalidCharError\par + java.lang.String\par + Error message when the value contains invalid characters.\par + Error message when the value contains invalid characters.\par + false\par + \par + \par + precision\par + java.lang.String\par + The maximum number of digits allowed to follow the decimal point.\par + The maximum number of digits allowed to follow the decimal point.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.validator.ext.MXMLUIDateValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.validator.ext.AbstractMXMLUIDateValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlDateValidator\par + com.googlecode.jsfFlex.MXMLUIDateValidator\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIDateValidatorTag\par + com.googlecode.jsfFlex.MXMLDateValidator\par + true\par + true\par + no description\par + \par + \par + enabled\par + java.lang.String\par + false\par + Setting this value to false will stop the validator from performing validation.\par + Setting this value to false will stop the validator from performing validation.\par + true\par + false\par + \par + \par + listener\par + java.lang.String\par + false\par + Specifies the validation listener.\par + Specifies the validation listener.\par + true\par + false\par + \par + \par + property\par + java.lang.String\par + false\par + A String specifying the name of the property of the source object that contains the value to validate.\par + A String specifying the name of the property of the source object that contains the value to validate.\par + true\par + false\par + \par + \par + required\par + java.lang.String\par + false\par + If true, specifies that a missing or empty value causes a validation error.\par + If true, specifies that a missing or empty value causes a validation error.\par + true\par + false\par + \par + \par + requiredFieldError\par + java.lang.String\par + false\par + Error message when a value is missing and the required property is true.\par + Error message when a value is missing and the required property is true.\par + true\par + false\par + \par + \par + source\par + java.lang.String\par + false\par + Specifies the object containing the property to validate.\par + Specifies the object containing the property to validate.\par + true\par + false\par + \par + \par + trigger\par + java.lang.String\par + false\par + Specifies the component generating the event that triggers the validator.\par + Specifies the component generating the event that triggers the validator.\par + true\par + false\par + \par + \par + triggerEvent\par + java.lang.String\par + false\par + Specifies the event that triggers the validation.\par + Specifies the event that triggers the validation.\par + true\par + false\par + \par + \par + dayListener\par + java.lang.String\par + The component that listens for the validation result for the day subfield.\par + The component that listens for the validation result for the day subfield.\par + false\par + \par + \par + dayProperty\par + java.lang.String\par + Name of the day property to validate.\par + Name of the day property to validate.\par + false\par + \par + \par + daySource\par + java.lang.String\par + Object that contains the value of the day field.\par + Object that contains the value of the day field.\par + false\par + \par + \par + formatError\par + java.lang.String\par + Error message when the inputFormat property is not in the correct format.\par + Error message when the inputFormat property is not in the correct format.\par + false\par + \par + \par + inputFormat\par + java.lang.String\par + The date format to validate the value against.\par + The date format to validate the value against.\par + false\par + \par + \par + monthListener\par + java.lang.String\par + The component that listens for the validation result for the monthsubfield.\par + The component that listens for the validation result for the monthsubfield.\par + false\par + \par + \par + monthProperty\par + java.lang.String\par + Name of the month property to validate.\par + Name of the month property to validate.\par + false\par + \par + \par + monthSource\par + java.lang.String\par + Object that contains the value of the month field.\par + Object that contains the value of the month field.\par + false\par + \par + \par + validateAsString\par + java.lang.String\par + Determines how to validate the value.\par + Determines how to validate the value.\par + false\par + \par + \par + wrongDayError\par + java.lang.String\par + Error message when the day is invalid.\par + Error message when the day is invalid.\par + false\par + \par + \par + wrongMonthError\par + java.lang.String\par + Error message when the month is invalid.\par + Error message when the month is invalid.\par + false\par + \par + \par + wrongYearError\par + java.lang.String\par + Error message when the year is invalid.\par + Error message when the year is invalid.\par + false\par + \par + \par + yearListener\par + java.lang.String\par + The component that listens for the validation result for the year subfield.\par + The component that listens for the validation result for the year subfield.\par + false\par + \par + \par + yearProperty\par + java.lang.String\par + Name of the year property to validate.\par + Name of the year property to validate.\par + false\par + \par + \par + yearSource\par + java.lang.String\par + Object that contains the value of the year field.\par + Object that contains the value of the year field.\par + false\par + \par + \par + allowedFormatChars\par + java.lang.String\par + The set of formatting characters allowed.\par + The set of formatting characters allowed.\par + false\par + \par + \par + invalidCharError\par + java.lang.String\par + Error message when the value contains invalid characters.\par + Error message when the value contains invalid characters.\par + false\par + \par + \par + wrongLengthError\par + java.lang.String\par + Error message when the field contains the wrong number of digits for the specified type.\par + Error message when the field contains the wrong number of digits for the specified type.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.validator.ext.MXMLUIEmailValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.validator.ext.AbstractMXMLUIEmailValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlEmailValidator\par + com.googlecode.jsfFlex.MXMLUIEmailValidator\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIEmailValidatorTag\par + com.googlecode.jsfFlex.MXMLEmailValidator\par + true\par + true\par + no description\par + \par + \par + enabled\par + java.lang.String\par + false\par + Setting this value to false will stop the validator from performing validation.\par + Setting this value to false will stop the validator from performing validation.\par + true\par + false\par + \par + \par + listener\par + java.lang.String\par + false\par + Specifies the validation listener.\par + Specifies the validation listener.\par + true\par + false\par + \par + \par + property\par + java.lang.String\par + false\par + A String specifying the name of the property of the source object that contains the value to validate.\par + A String specifying the name of the property of the source object that contains the value to validate.\par + true\par + false\par + \par + \par + required\par + java.lang.String\par + false\par + If true, specifies that a missing or empty value causes a validation error.\par + If true, specifies that a missing or empty value causes a validation error.\par + true\par + false\par + \par + \par + requiredFieldError\par + java.lang.String\par + false\par + Error message when a value is missing and the required property is true.\par + Error message when a value is missing and the required property is true.\par + true\par + false\par + \par + \par + source\par + java.lang.String\par + false\par + Specifies the object containing the property to validate.\par + Specifies the object containing the property to validate.\par + true\par + false\par + \par + \par + trigger\par + java.lang.String\par + false\par + Specifies the component generating the event that triggers the validator.\par + Specifies the component generating the event that triggers the validator.\par + true\par + false\par + \par + \par + triggerEvent\par + java.lang.String\par + false\par + Specifies the event that triggers the validation.\par + Specifies the event that triggers the validation.\par + true\par + false\par + \par + \par + invalidIPDomainError\par + java.lang.String\par + Error message when the IP domain is invalid.\par + Error message when the IP domain is invalid.\par + false\par + \par + \par + invalidPeriodsInDomainError\par + java.lang.String\par + Error message when there are continuous periods in the domain.\par + Error message when there are continuous periods in the domain.\par + false\par + \par + \par + missingAtSignError\par + java.lang.String\par + Error message when there is no at sign in the email address.\par + Error message when there is no at sign in the email address.\par + false\par + \par + \par + missingPeriodInDomainError\par + java.lang.String\par + Error message when there is no period in the domain.\par + Error message when there is no period in the domain.\par + false\par + \par + \par + missingUsernameError\par + java.lang.String\par + Error message when there is no username.\par + Error message when there is no username.\par + false\par + \par + \par + tooManyAtSignsError\par + java.lang.String\par + Error message when there is more than one at sign in the e-mail address.\par + Error message when there is more than one at sign in the e-mail address.\par + false\par + \par + \par + invalidCharError\par + java.lang.String\par + Error message when the value contains invalid characters.\par + Error message when the value contains invalid characters.\par + false\par + \par + \par + domain\par + java.lang.String\par + Type to be validated.\par + Type to be validated.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.validator.ext.MXMLUINumberValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.validator.ext.AbstractMXMLUINumberValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlNumberValidator\par + com.googlecode.jsfFlex.MXMLUINumberValidator\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUINumberValidatorTag\par + com.googlecode.jsfFlex.MXMLNumberValidator\par + true\par + true\par + no description\par + \par + \par + enabled\par + java.lang.String\par + false\par + Setting this value to false will stop the validator from performing validation.\par + Setting this value to false will stop the validator from performing validation.\par + true\par + false\par + \par + \par + listener\par + java.lang.String\par + false\par + Specifies the validation listener.\par + Specifies the validation listener.\par + true\par + false\par + \par + \par + property\par + java.lang.String\par + false\par + A String specifying the name of the property of the source object that contains the value to validate.\par + A String specifying the name of the property of the source object that contains the value to validate.\par + true\par + false\par + \par + \par + required\par + java.lang.String\par + false\par + If true, specifies that a missing or empty value causes a validation error.\par + If true, specifies that a missing or empty value causes a validation error.\par + true\par + false\par + \par + \par + requiredFieldError\par + java.lang.String\par + false\par + Error message when a value is missing and the required property is true.\par + Error message when a value is missing and the required property is true.\par + true\par + false\par + \par + \par + source\par + java.lang.String\par + false\par + Specifies the object containing the property to validate.\par + Specifies the object containing the property to validate.\par + true\par + false\par + \par + \par + trigger\par + java.lang.String\par + false\par + Specifies the component generating the event that triggers the validator.\par + Specifies the component generating the event that triggers the validator.\par + true\par + false\par + \par + \par + triggerEvent\par + java.lang.String\par + false\par + Specifies the event that triggers the validation.\par + Specifies the event that triggers the validation.\par + true\par + false\par + \par + \par + integerError\par + java.lang.String\par + Error message when the number must be an integer, as defined by the domain property.\par + Error message when the number must be an integer, as defined by the domain property.\par + false\par + \par + \par + allowNegative\par + java.lang.String\par + Specifies whether negative numbers are permitted.\par + Specifies whether negative numbers are permitted.\par + false\par + \par + \par + decimalPointCountError\par + java.lang.String\par + Error message when the decimal separator character occurs more than once.\par + Error message when the decimal separator character occurs more than once.\par + false\par + \par + \par + decimalSeparator\par + java.lang.String\par + The character used to separate the whole from the fractional part of the number.\par + The character used to separate the whole from the fractional part of the number.\par + false\par + \par + \par + exceedsMaxError\par + java.lang.String\par + Error message when the value exceeds the maxValue property.\par + Error message when the value exceeds the maxValue property.\par + false\par + \par + \par + invalidFormatCharsError\par + java.lang.String\par + Error message when the value contains invalid format characters, which means that it contains a digit or minus sign (-) as a separator character, or it contains two or more consecutive separator characters.\par + Error message when the value contains invalid format characters, which means that it contains a digit or minus sign (-) as a separator character, or it contains two or more consecutive separator characters.\par + false\par + \par + \par + lowerThanMinError\par + java.lang.String\par + Error message when the value is less than minValue.\par + Error message when the value is less than minValue.\par + false\par + \par + \par + maxValue\par + java.lang.String\par + Maximum value for a valid number.\par + Maximum value for a valid number.\par + false\par + \par + \par + minValue\par + java.lang.String\par + Minimum value for a valid number.\par + Minimum value for a valid number.\par + false\par + \par + \par + negativeError\par + java.lang.String\par + Error message when the value is negative and the allowNegative property is false.\par + Error message when the value is negative and the allowNegative property is false.\par + false\par + \par + \par + precisionError\par + java.lang.String\par + Error message when the value has a precision that exceeds the value defined by the precision property.\par + Error message when the value has a precision that exceeds the value defined by the precision property.\par + false\par + \par + \par + separationError\par + java.lang.String\par + Error message when the thousands separator is in the wrong location.\par + Error message when the thousands separator is in the wrong location.\par + false\par + \par + \par + thousandsSeparator\par + java.lang.String\par + The character used to separate thousands in the whole part of the number.\par + The character used to separate thousands in the whole part of the number.\par + false\par + \par + \par + domain\par + java.lang.String\par + Type to be validated.\par + Type to be validated.\par + false\par + \par + \par + invalidCharError\par + java.lang.String\par + Error message when the value contains invalid characters.\par + Error message when the value contains invalid characters.\par + false\par + \par + \par + precision\par + java.lang.String\par + The maximum number of digits allowed to follow the decimal point.\par + The maximum number of digits allowed to follow the decimal point.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.validator.ext.MXMLUIPhoneNumberValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.validator.ext.AbstractMXMLUIPhoneNumberValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlPhoneNumberValidator\par + com.googlecode.jsfFlex.MXMLUIPhoneNumberValidator\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIPhoneNumberValidatorTag\par + com.googlecode.jsfFlex.MXMLPhoneNumberValidator\par + true\par + true\par + no description\par + \par + \par + enabled\par + java.lang.String\par + false\par + Setting this value to false will stop the validator from performing validation.\par + Setting this value to false will stop the validator from performing validation.\par + true\par + false\par + \par + \par + listener\par + java.lang.String\par + false\par + Specifies the validation listener.\par + Specifies the validation listener.\par + true\par + false\par + \par + \par + property\par + java.lang.String\par + false\par + A String specifying the name of the property of the source object that contains the value to validate.\par + A String specifying the name of the property of the source object that contains the value to validate.\par + true\par + false\par + \par + \par + required\par + java.lang.String\par + false\par + If true, specifies that a missing or empty value causes a validation error.\par + If true, specifies that a missing or empty value causes a validation error.\par + true\par + false\par + \par + \par + requiredFieldError\par + java.lang.String\par + false\par + Error message when a value is missing and the required property is true.\par + Error message when a value is missing and the required property is true.\par + true\par + false\par + \par + \par + source\par + java.lang.String\par + false\par + Specifies the object containing the property to validate.\par + Specifies the object containing the property to validate.\par + true\par + false\par + \par + \par + trigger\par + java.lang.String\par + false\par + Specifies the component generating the event that triggers the validator.\par + Specifies the component generating the event that triggers the validator.\par + true\par + false\par + \par + \par + triggerEvent\par + java.lang.String\par + false\par + Specifies the event that triggers the validation.\par + Specifies the event that triggers the validation.\par + true\par + false\par + \par + \par + allowedFormatChars\par + java.lang.String\par + The set of formatting characters allowed.\par + The set of formatting characters allowed.\par + false\par + \par + \par + invalidCharError\par + java.lang.String\par + Error message when the value contains invalid characters.\par + Error message when the value contains invalid characters.\par + false\par + \par + \par + wrongLengthError\par + java.lang.String\par + Error message when the field contains the wrong number of digits for the specified type.\par + Error message when the field contains the wrong number of digits for the specified type.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.validator.ext.MXMLUIRegExpValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.validator.ext.AbstractMXMLUIRegExpValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlRegExpValidator\par + com.googlecode.jsfFlex.MXMLUIRegExpValidator\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIRegExpValidatorTag\par + com.googlecode.jsfFlex.MXMLRegExpValidator\par + true\par + true\par + no description\par + \par + \par + enabled\par + java.lang.String\par + false\par + Setting this value to false will stop the validator from performing validation.\par + Setting this value to false will stop the validator from performing validation.\par + true\par + false\par + \par + \par + listener\par + java.lang.String\par + false\par + Specifies the validation listener.\par + Specifies the validation listener.\par + true\par + false\par + \par + \par + property\par + java.lang.String\par + false\par + A String specifying the name of the property of the source object that contains the value to validate.\par + A String specifying the name of the property of the source object that contains the value to validate.\par + true\par + false\par + \par + \par + required\par + java.lang.String\par + false\par + If true, specifies that a missing or empty value causes a validation error.\par + If true, specifies that a missing or empty value causes a validation error.\par + true\par + false\par + \par + \par + requiredFieldError\par + java.lang.String\par + false\par + Error message when a value is missing and the required property is true.\par + Error message when a value is missing and the required property is true.\par + true\par + false\par + \par + \par + source\par + java.lang.String\par + false\par + Specifies the object containing the property to validate.\par + Specifies the object containing the property to validate.\par + true\par + false\par + \par + \par + trigger\par + java.lang.String\par + false\par + Specifies the component generating the event that triggers the validator.\par + Specifies the component generating the event that triggers the validator.\par + true\par + false\par + \par + \par + triggerEvent\par + java.lang.String\par + false\par + Specifies the event that triggers the validation.\par + Specifies the event that triggers the validation.\par + true\par + false\par + \par + \par + expression\par + java.lang.String\par + The regular expression to use for validation.\par + The regular expression to use for validation.\par + false\par + \par + \par + flags\par + java.lang.String\par + The regular expression flags to use when matching.\par + The regular expression flags to use when matching.\par + false\par + \par + \par + noExpressionError\par + java.lang.String\par + Error message when there is no regular expression specifed.\par + Error message when there is no regular expression specifed.\par + false\par + \par + \par + noMatchError\par + java.lang.String\par + Error message when there are no matches to the regular expression.\par + Error message when there are no matches to the regular expression.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.validator.ext.MXMLUISocialSecurityValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.validator.ext.AbstractMXMLUISocialSecurityValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlSocialSecurityValidator\par + com.googlecode.jsfFlex.MXMLUISocialSecurityValidator\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUISocialSecurityValidatorTag\par + com.googlecode.jsfFlex.MXMLSocialSecurityValidator\par + true\par + true\par + no description\par + \par + \par + enabled\par + java.lang.String\par + false\par + Setting this value to false will stop the validator from performing validation.\par + Setting this value to false will stop the validator from performing validation.\par + true\par + false\par + \par + \par + listener\par + java.lang.String\par + false\par + Specifies the validation listener.\par + Specifies the validation listener.\par + true\par + false\par + \par + \par + property\par + java.lang.String\par + false\par + A String specifying the name of the property of the source object that contains the value to validate.\par + A String specifying the name of the property of the source object that contains the value to validate.\par + true\par + false\par + \par + \par + required\par + java.lang.String\par + false\par + If true, specifies that a missing or empty value causes a validation error.\par + If true, specifies that a missing or empty value causes a validation error.\par + true\par + false\par + \par + \par + requiredFieldError\par + java.lang.String\par + false\par + Error message when a value is missing and the required property is true.\par + Error message when a value is missing and the required property is true.\par + true\par + false\par + \par + \par + source\par + java.lang.String\par + false\par + Specifies the object containing the property to validate.\par + Specifies the object containing the property to validate.\par + true\par + false\par + \par + \par + trigger\par + java.lang.String\par + false\par + Specifies the component generating the event that triggers the validator.\par + Specifies the component generating the event that triggers the validator.\par + true\par + false\par + \par + \par + triggerEvent\par + java.lang.String\par + false\par + Specifies the event that triggers the validation.\par + Specifies the event that triggers the validation.\par + true\par + false\par + \par + \par + wrongFormatError\par + java.lang.String\par + Error message when the value is incorrectly formatted.\par + Error message when the value is incorrectly formatted.\par + false\par + \par + \par + zeroStartError\par + java.lang.String\par + Error message when the value contains an invalid Social Security number.\par + Error message when the value contains an invalid Social Security number.\par + false\par + \par + \par + allowedFormatChars\par + java.lang.String\par + The set of formatting characters allowed.\par + The set of formatting characters allowed.\par + false\par + \par + \par + invalidCharError\par + java.lang.String\par + Error message when the value contains invalid characters.\par + Error message when the value contains invalid characters.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.validator.ext.MXMLUIStringValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.validator.ext.AbstractMXMLUIStringValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlStringValidator\par + com.googlecode.jsfFlex.MXMLUIStringValidator\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIStringValidatorTag\par + com.googlecode.jsfFlex.MXMLStringValidator\par + true\par + true\par + no description\par + \par + \par + enabled\par + java.lang.String\par + false\par + Setting this value to false will stop the validator from performing validation.\par + Setting this value to false will stop the validator from performing validation.\par + true\par + false\par + \par + \par + listener\par + java.lang.String\par + false\par + Specifies the validation listener.\par + Specifies the validation listener.\par + true\par + false\par + \par + \par + property\par + java.lang.String\par + false\par + A String specifying the name of the property of the source object that contains the value to validate.\par + A String specifying the name of the property of the source object that contains the value to validate.\par + true\par + false\par + \par + \par + required\par + java.lang.String\par + false\par + If true, specifies that a missing or empty value causes a validation error.\par + If true, specifies that a missing or empty value causes a validation error.\par + true\par + false\par + \par + \par + requiredFieldError\par + java.lang.String\par + false\par + Error message when a value is missing and the required property is true.\par + Error message when a value is missing and the required property is true.\par + true\par + false\par + \par + \par + source\par + java.lang.String\par + false\par + Specifies the object containing the property to validate.\par + Specifies the object containing the property to validate.\par + true\par + false\par + \par + \par + trigger\par + java.lang.String\par + false\par + Specifies the component generating the event that triggers the validator.\par + Specifies the component generating the event that triggers the validator.\par + true\par + false\par + \par + \par + triggerEvent\par + java.lang.String\par + false\par + Specifies the event that triggers the validation.\par + Specifies the event that triggers the validation.\par + true\par + false\par + \par + \par + maxLength\par + java.lang.String\par + Maximum length for a valid String.\par + Maximum length for a valid String.\par + false\par + \par + \par + minLength\par + java.lang.String\par + Minimum length for a valid String.\par + Minimum length for a valid String.\par + false\par + \par + \par + tooLongError\par + java.lang.String\par + Error message when the String is longer than the maxLength property.\par + Error message when the String is longer than the maxLength property.\par + false\par + \par + \par + tooShortError\par + java.lang.String\par + Error message when the string is shorter than the minLength property.\par + Error message when the string is shorter than the minLength property.\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.validator.ext.MXMLUIValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.validator.ext.AbstractMXMLUIValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlValidator\par + com.googlecode.jsfFlex.MXMLUIValidator\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIValidatorTag\par + com.googlecode.jsfFlex.MXMLValidator\par + true\par + true\par + no description\par + \par + \par + enabled\par + java.lang.String\par + false\par + Setting this value to false will stop the validator from performing validation.\par + Setting this value to false will stop the validator from performing validation.\par + true\par + false\par + \par + \par + listener\par + java.lang.String\par + false\par + Specifies the validation listener.\par + Specifies the validation listener.\par + true\par + false\par + \par + \par + property\par + java.lang.String\par + false\par + A String specifying the name of the property of the source object that contains the value to validate.\par + A String specifying the name of the property of the source object that contains the value to validate.\par + true\par + false\par + \par + \par + required\par + java.lang.String\par + false\par + If true, specifies that a missing or empty value causes a validation error.\par + If true, specifies that a missing or empty value causes a validation error.\par + true\par + false\par + \par + \par + requiredFieldError\par + java.lang.String\par + false\par + Error message when a value is missing and the required property is true.\par + Error message when a value is missing and the required property is true.\par + true\par + false\par + \par + \par + source\par + java.lang.String\par + false\par + Specifies the object containing the property to validate.\par + Specifies the object containing the property to validate.\par + true\par + false\par + \par + \par + trigger\par + java.lang.String\par + false\par + Specifies the component generating the event that triggers the validator.\par + Specifies the component generating the event that triggers the validator.\par + true\par + false\par + \par + \par + triggerEvent\par + java.lang.String\par + false\par + Specifies the event that triggers the validation.\par + Specifies the event that triggers the validation.\par + true\par + false\par + \par + \par + \par + jsf-flex\par + com.googlecode.jsfFlex.validator.ext.MXMLUIZipCodeValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + com.googlecode.jsfFlex.validator.ext.AbstractMXMLUIZipCodeValidator\par + com.googlecode.jsfFlex.component.MXMLUISimpleBase\par + jf:mxmlZipCodeValidator\par + com.googlecode.jsfFlex.MXMLUIZipCodeValidator\par + javax.faces.MXMLSimple\par + com.googlecode.jsfFlex.taglib.ext.MXMLUIZipCodeValidatorTag\par + com.googlecode.jsfFlex.MXMLZipCodeValidator\par + true\par + true\par + no description\par + \par + \par + enabled\par + java.lang.String\par + false\par + Setting this value to false will stop the validator from performing validation.\par + Setting this value to false will stop the validator from performing validation.\par + true\par + false\par + \par + \par + listener\par + java.lang.String\par + false\par + Specifies the validation listener.\par + Specifies the validation listener.\par + true\par + false\par + \par + \par + property\par + java.lang.String\par + false\par + A String specifying the name of the property of the source object that contains the value to validate.\par + A String specifying the name of the property of the source object that contains the value to validate.\par + true\par + false\par + \par + \par + required\par + java.lang.String\par + false\par + If true, specifies that a missing or empty value causes a validation error.\par + If true, specifies that a missing or empty value causes a validation error.\par + true\par + false\par + \par + \par + requiredFieldError\par + java.lang.String\par + false\par + Error message when a value is missing and the required property is true.\par + Error message when a value is missing and the required property is true.\par + true\par + false\par + \par + \par + source\par + java.lang.String\par + false\par + Specifies the object containing the property to validate.\par + Specifies the object containing the property to validate.\par + true\par + false\par + \par + \par + trigger\par + java.lang.String\par + false\par + Specifies the component generating the event that triggers the validator.\par + Specifies the component generating the event that triggers the validator.\par + true\par + false\par + \par + \par + triggerEvent\par + java.lang.String\par + false\par + Specifies the event that triggers the validation.\par + Specifies the event that triggers the validation.\par + true\par + false\par + \par + \par + wrongCAFormatError\par + java.lang.String\par + Error message for an invalid Canadian postal code.\par + Error message for an invalid Canadian postal code.\par + false\par + \par + \par + wrongUSFormatError\par + java.lang.String\par + Error message for an incorrectly formatted ZIP code.\par + Error message for an incorrectly formatted ZIP code.\par + false\par + \par + \par + allowedFormatChars\par + java.lang.String\par + The set of formatting characters allowed.\par + The set of formatting characters allowed.\par + false\par + \par + \par + domain\par + java.lang.String\par + Type to be validated.\par + Type to be validated.\par + false\par + \par + \par + invalidCharError\par + java.lang.String\par + Error message when the value contains invalid characters.\par + Error message when the value contains invalid characters.\par + false\par + \par + \par + invalidDomainError\par + java.lang.String\par + Error message when the domain property contains an invalid value.\par + Error message when the domain property contains an invalid value.\par + false\par + \par + \par + wrongLengthError\par + java.lang.String\par + Error message when the field contains the wrong number of digits for the specified type.\par + Error message when the field contains the wrong number of digits for the specified type.\par + false\par + \par + \par +
    \par +} + \ No newline at end of file diff --git a/jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-tld.css b/jsf-flex-tld.css similarity index 100% rename from jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-tld.css rename to jsf-flex-tld.css diff --git a/jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-tld.xsl b/jsf-flex-tld.xsl similarity index 100% rename from jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex-tld.xsl rename to jsf-flex-tld.xsl diff --git a/jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex.xhtml b/jsf-flex.xhtml similarity index 100% rename from jsf-flex-shared/core/src/main/resources/META-INF/jsf-flex.xhtml rename to jsf-flex.xhtml diff --git a/jsf-flex.xml b/jsf-flex.xml new file mode 100644 index 00000000..87fb6c50 --- /dev/null +++ b/jsf-flex.xml @@ -0,0 +1,9129 @@ + + + + + 1.1.7 + jf + http://jsf-flex.googlecode.com + JSF-Flex tag library. + JSF-Flex goal is to provide users capability in creating Flex components as JSF components. So users would create the components as normal JSF components and the contribution will create the necessary SWF files and etcetera and link the values of the components back to the managed beans using JSON+Javascript and Actionscript. + + + + + + flexAttributeNode + com.googlecode.jsfFlex.taglib.attributes.FlexUIAttributeNodeTag + JSP + + + + name + true + + + + + value + true + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexAdditionalComponent + com.googlecode.jsfFlex.taglib.component.ext.FlexUIAdditionalComponentTag + JSP + + + + componentNameSpace + true + + + + + componentAttributes + + java.util.Map + + + + + componentName + true + + + + + componentAttributesJSONFormat + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexApplication + com.googlecode.jsfFlex.taglib.component.ext.FlexUIApplicationTag + JSP + + + + mxmlPackageName + true + + + + + providedAdditionalXmlnsMap + + java.util.Map + + + + + sourcePath + + java.util.Collection + + + + + providedAdditionalExternalLibaryPath + + java.util.Collection + + + + + defaultBgColor + + + + + maxLvRecursion + + java.lang.Integer + + + + + maxScriptExecTime + + java.lang.Integer + + + + + incremental + + boolean + + + + + loadConfig + + + + + description + + + + + creator + + + + + publisher + + + + + language + + + + + date + + + + + errorColor + + + + + errorFontAntiAliasType + + + + + errorFontFamily + + + + + errorFontGridFitType + + + + + errorFontSharpness + + + + + errorFontSize + + + + + errorFontStyle + + + + + errorFontThickness + + + + + errorFontWeight + + + + + errorPaddingLeft + + + + + errorPaddingRight + + + + + errorTextAlign + + + + + errorTextDecoration + + + + + errorTextIndent + + + + + title + + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + initialize + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexButton + com.googlecode.jsfFlex.taglib.component.ext.FlexUIButtonTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + false + + + + action + + java.lang.Object myMethod( ) + + + +If the value is an expression, it is expected to be a method binding EL expression that identifies +an action method. An action method accepts no parameters and has a String return value, called the +action outcome, that identifies the next view displayed. The phase that this event is fired in +can be controlled via the immediate attribute. +

    +

    +If the value is a string literal, it is treated as a navigation outcome for the current view. This +is functionally equivalent to a reference to an action method that returns the string literal. +

    ]]>
    +
    + + actionListener + + void myMethod( javax.faces.event.ActionEvent ) + + + + + + immediate + + boolean + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexButtonBar + com.googlecode.jsfFlex.taglib.component.ext.FlexUIButtonBarTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexCheckBox + com.googlecode.jsfFlex.taglib.component.ext.FlexUICheckBoxTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selected + + java.lang.Boolean + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexColorPicker + com.googlecode.jsfFlex.taglib.component.ext.FlexUIColorPickerTag + JSP + + + + selectedColor + + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexComboBox + com.googlecode.jsfFlex.taglib.component.ext.FlexUIComboBoxTag + JSP + +is held within the code. Main reason is because it extends FlexUISelectedIndexBase and there exists
    +no reason to create an another base class to preserve both "selectedIndex" + "text".
    ]]>
    + + + dataProviderCollection + + java.util.Collection + + + + + text + + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selectedIndex + + java.lang.Integer + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexDataGrid + com.googlecode.jsfFlex.taglib.component.ext.FlexUIDataGridTag + JSP + + + + editable + + + + + bindingBeanClassName + + 0, then the first entry's className will be used to construct additional beans to be added to the list.]]> + + + rowCount + + + + + bindingBeanList + + java.util.List + + + + + dataProvider + + + + + batchColumnDataRetrievalSize + + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexDataGridColumn + com.googlecode.jsfFlex.taglib.component.ext.FlexUIDataGridColumnTag + JSP + + + + editable + + + + + dataField + + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexDateChooser + com.googlecode.jsfFlex.taglib.component.ext.FlexUIDateChooserTag + JSP + + + + selectedDate + + java.util.Calendar + + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexDateField + com.googlecode.jsfFlex.taglib.component.ext.FlexUIDateFieldTag + JSP + + + + selectedDate + + java.util.Calendar + + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + text + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexDropDownList + com.googlecode.jsfFlex.taglib.component.ext.FlexUIDropDownListTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selectedIndex + + java.lang.Integer + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexHRule + com.googlecode.jsfFlex.taglib.component.ext.FlexUIHRuleTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexHScrollBar + com.googlecode.jsfFlex.taglib.component.ext.FlexUIHScrollBarTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexHSlider + com.googlecode.jsfFlex.taglib.component.ext.FlexUIHSliderTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + value + + java.lang.Object + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexHorizontalList + com.googlecode.jsfFlex.taglib.component.ext.FlexUIHorizontalListTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selectedIndex + + java.lang.Integer + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexImage + com.googlecode.jsfFlex.taglib.component.ext.FlexUIImageTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexLabel + com.googlecode.jsfFlex.taglib.component.ext.FlexUILabelTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + false + + + + converter + + javax.faces.convert.Converter + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexLinkBar + com.googlecode.jsfFlex.taglib.component.ext.FlexUILinkBarTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexLinkButton + com.googlecode.jsfFlex.taglib.component.ext.FlexUILinkButtonTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + false + + + + action + + java.lang.Object myMethod( ) + + + +If the value is an expression, it is expected to be a method binding EL expression that identifies +an action method. An action method accepts no parameters and has a String return value, called the +action outcome, that identifies the next view displayed. The phase that this event is fired in +can be controlled via the immediate attribute. +

    +

    +If the value is a string literal, it is treated as a navigation outcome for the current view. This +is functionally equivalent to a reference to an action method that returns the string literal. +

    ]]>
    +
    + + actionListener + + void myMethod( javax.faces.event.ActionEvent ) + + + + + + immediate + + boolean + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexList + com.googlecode.jsfFlex.taglib.component.ext.FlexUIListTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selectedIndex + + java.lang.Integer + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexMenuBar + com.googlecode.jsfFlex.taglib.component.ext.FlexUIMenuBarTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexNumericStepper + com.googlecode.jsfFlex.taglib.component.ext.FlexUINumericStepperTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + value + + java.lang.Object + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexPopUpAnchor + com.googlecode.jsfFlex.taglib.component.ext.FlexUIPopUpAnchorTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexPopUpButton + com.googlecode.jsfFlex.taglib.component.ext.FlexUIPopUpButtonTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selected + + java.lang.Boolean + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexPopUpMenuButton + com.googlecode.jsfFlex.taglib.component.ext.FlexUIPopUpMenuButtonTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selected + + java.lang.Boolean + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexProgressBar + com.googlecode.jsfFlex.taglib.component.ext.FlexUIProgressBarTag + JSP + +and NOT set the field of the Flex component as this field is read only.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + value + + java.lang.Object + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexRadioButton + com.googlecode.jsfFlex.taglib.component.ext.FlexUIRadioButtonTag + JSP + + + + value + + java.lang.Object + + + + + groupName + true + + + + + selectedValue + + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selected + + java.lang.Boolean + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexRichEditableText + com.googlecode.jsfFlex.taglib.component.ext.FlexUIRichEditableTextTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + text + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexRichText + com.googlecode.jsfFlex.taglib.component.ext.FlexUIRichTextTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + false + + + + converter + + javax.faces.convert.Converter + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexRichTextEditor + com.googlecode.jsfFlex.taglib.component.ext.FlexUIRichTextEditorTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + htmlText + + + + + textBinding + + + + + text + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexScript + com.googlecode.jsfFlex.taglib.component.ext.FlexUIScriptTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexScroller + com.googlecode.jsfFlex.taglib.component.ext.FlexUIScrollerTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexSpacer + com.googlecode.jsfFlex.taglib.component.ext.FlexUISpacerTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexSpinner + com.googlecode.jsfFlex.taglib.component.ext.FlexUISpinnerTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + value + + java.lang.Object + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexSwfLoader + com.googlecode.jsfFlex.taglib.component.ext.FlexUISwfLoaderTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexTabBar + com.googlecode.jsfFlex.taglib.component.ext.FlexUITabBarTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexText + com.googlecode.jsfFlex.taglib.component.ext.FlexUITextTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + false + + + + converter + + javax.faces.convert.Converter + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexTextArea + com.googlecode.jsfFlex.taglib.component.ext.FlexUITextAreaTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + htmlText + + + + + textBinding + + + + + text + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexTextInput + com.googlecode.jsfFlex.taglib.component.ext.FlexUITextInputTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + htmlText + + + + + textBinding + + + + + text + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexTileList + com.googlecode.jsfFlex.taglib.component.ext.FlexUITileListTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selectedIndex + + java.lang.Integer + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexToggleButton + com.googlecode.jsfFlex.taglib.component.ext.FlexUIToggleButtonTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selected + + java.lang.Boolean + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexToggleButtonBar + com.googlecode.jsfFlex.taglib.component.ext.FlexUIToggleButtonBarTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexTree + com.googlecode.jsfFlex.taglib.component.ext.FlexUITreeTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selectedIndex + + java.lang.Integer + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexVRule + com.googlecode.jsfFlex.taglib.component.ext.FlexUIVRuleTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexVScrollBar + com.googlecode.jsfFlex.taglib.component.ext.FlexUIVScrollBarTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexVSlider + com.googlecode.jsfFlex.taglib.component.ext.FlexUIVSliderTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + value + + java.lang.Object + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexVideoDisplay + com.googlecode.jsfFlex.taglib.component.ext.FlexUIVideoDisplayTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexVideoPlayer + com.googlecode.jsfFlex.taglib.component.ext.FlexUIVideoPlayerTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexObject + com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIObjectTag + JSP + +This component can have as its direct children components of : +
  • AbstractFlexUIObjectListEntries
  • +
  • AbstractFlexUIObjectElement
  • + + +To have nesting of objects, one should have jf:flexObjectElement and
    +jf:flexObjectListEntries tags as this component's children which have
    +jf:flexObjectProperty or jf:flexObjectStaticProperty tag for properties.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexArray + com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIArrayTag + JSP + +This component can have as its direct children components of : +
  • AbstractFlexUIObjectListEntries
  • +
  • AbstractFlexUIObjectElement
  • + + +To have nesting of objects, one should have jf:flexObjectElement and
    +jf:flexObjectListEntries tags as this component's children which have
    +jf:flexObjectProperty or jf:flexObjectStaticProperty tag for properties.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexArrayCollection + com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIArrayCollectionTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexListCollectionView + com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIListCollectionViewTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexXML + com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIXMLTag + JSP + +This component can have as its direct children components of : +
  • AbstractFlexUIXMLListEntries
  • +
  • AbstractFlexUIXMLStaticElement
  • +]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexXMLList + com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIXMLListTag + JSP + +This component can have as its direct children components of : +
  • AbstractFlexUIXMLListEntries
  • +
  • AbstractFlexUIXMLStaticElement
  • +]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexXMLListCollection + com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIXMLListCollectionTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexObjectElement + com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIObjectElementTag + JSP + +the write of Flex content within the component rather than within a Renderer [meaning Renderer does
    +not exist for this component]. Also when stated that it is writing Flex content, it technically is
    +writing to AbstractFlexUIDataContainerBase's BufferedWriter.
    + +
      +This component can have following types of children : +
    • AbstractFlexUIObjectProperty
    • +
    • AbstractFlexUIObjectListEntries
    • +
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexObjectListEntries + com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIObjectListEntriesTag + JSP + +and should have AbstractFlexUIObjectElement as its children.]]> + + + bindingBeanList + + java.util.List + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexObjectProperty + com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIObjectPropertyTag + JSP + + + + property + true + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexObjectStaticProperty + com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIObjectStaticPropertyTag + JSP + + + + staticPropertyName + true + + + + + staticPropertyValue + true + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexXMLAttribute + com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIXMLAttributeTag + JSP + + + + property + true + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexXMLElement + com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIXMLElementTag + JSP + +the write of Flex content within the component rather than within a Renderer [meaning Renderer does
    +not exist for this component]. Also when stated that it is writing Flex content, it technically is
    +writing to AbstractFlexUIDataContainerBase's BufferedWriter.
    + +
      +This component can have following type of children : +
    • AbstractFlexUIXMLAttribute
    • +
    • AbstractFlexUIXMLStaticAttribute
    • +
    • AbstractFlexUIXMLListEntries
    • +
    ]]>
    + + + nodeName + true + + + + + nodeValue + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexXMLListEntries + com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIXMLListEntriesTag + JSP + +This should be a child component of : +
  • AbstractFlexUIXMLList
  • +
  • AbstractFlexUIXML
  • +
  • AbstractFlexUIXMLStaticElement
  • + +and should have AbstractFlexUIXMLElementBase as its children.]]> + + + bindingBeanList + + java.util.List + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexXMLStaticAttribute + com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIXMLStaticAttributeTag + JSP + + + + staticPropertyName + true + + + + + staticPropertyValue + true + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexXMLStaticElement + com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIXMLStaticElementTag + JSP + +the write of Flex content within the component rather than within a Renderer [meaning Renderer does
    +not exist for this component]. Also when stated that it is writing Flex content, it technically is
    +writing to AbstractFlexUIDataContainerBase's BufferedWriter.
    + +
      +This component can have following types of children : +
    • AbstractFlexUIXMLStaticAttribute
    • +
    • AbstractFlexUIXMLListEntries
    • +
    ]]>
    + + + staticNodeName + true + + + + + staticNodeValue + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexColumns + com.googlecode.jsfFlex.taglib.component.ext.properties.ext.FlexUIColumnsTag + JSP + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexDataProvider + com.googlecode.jsfFlex.taglib.component.ext.properties.ext.FlexUIDataProviderTag + JSP + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexDeclarations + com.googlecode.jsfFlex.taglib.component.ext.properties.ext.FlexUIDeclarationsTag + JSP + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexHTTPService + com.googlecode.jsfFlex.taglib.component.ext.service.ext.FlexUIHTTPServiceTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexRemoteObject + com.googlecode.jsfFlex.taglib.component.ext.service.ext.FlexUIRemoteObjectTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexWebService + com.googlecode.jsfFlex.taglib.component.ext.service.ext.FlexUIWebServiceTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexAccordion + com.googlecode.jsfFlex.taglib.container.ext.FlexUIAccordionTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selectedIndex + + java.lang.Integer + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexApplicationControlBar + com.googlecode.jsfFlex.taglib.container.ext.FlexUIApplicationControlBarTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexBorderContainer + com.googlecode.jsfFlex.taglib.container.ext.FlexUIBorderContainerTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexBox + com.googlecode.jsfFlex.taglib.container.ext.FlexUIBoxTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexCanvas + com.googlecode.jsfFlex.taglib.container.ext.FlexUICanvasTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexControlBar + com.googlecode.jsfFlex.taglib.container.ext.FlexUIControlBarTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexDataGroup + com.googlecode.jsfFlex.taglib.container.ext.FlexUIDataGroupTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexDividedBox + com.googlecode.jsfFlex.taglib.container.ext.FlexUIDividedBoxTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexGrid + com.googlecode.jsfFlex.taglib.container.ext.FlexUIGridTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexGridItem + com.googlecode.jsfFlex.taglib.container.ext.FlexUIGridItemTag + JSP + + + + direction + + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexGridRow + com.googlecode.jsfFlex.taglib.container.ext.FlexUIGridRowTag + JSP + + + + direction + + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexGroup + com.googlecode.jsfFlex.taglib.container.ext.FlexUIGroupTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexNavigatorContent + com.googlecode.jsfFlex.taglib.container.ext.FlexUINavigatorContentTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexPanel + com.googlecode.jsfFlex.taglib.container.ext.FlexUIPanelTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexSkinnableContainer + com.googlecode.jsfFlex.taglib.container.ext.FlexUISkinnableContainerTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexSkinnableDataContainer + com.googlecode.jsfFlex.taglib.container.ext.FlexUISkinnableDataContainerTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexTabBar + com.googlecode.jsfFlex.taglib.container.ext.FlexUITabBarTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selectedIndex + + java.lang.Integer + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexTabNavigator + com.googlecode.jsfFlex.taglib.container.ext.FlexUITabNavigatorTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selectedIndex + + java.lang.Integer + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexTile + com.googlecode.jsfFlex.taglib.container.ext.FlexUITileTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexTileGroup + com.googlecode.jsfFlex.taglib.container.ext.FlexUITileGroupTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexTitleWindow + com.googlecode.jsfFlex.taglib.container.ext.FlexUITitleWindowTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexViewStack + com.googlecode.jsfFlex.taglib.container.ext.FlexUIViewStackTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + selectedIndex + + java.lang.Integer + + + + + id + false + + + + immediate + + boolean + + + + + required + + boolean + + + + + validator + + void myMethod( javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object ) + + + + + + valueChangeListener + + void myMethod( javax.faces.event.ValueChangeEvent ) + + + + + + converter + + javax.faces.convert.Converter + + + + + converterMessage + + +

    ]]>
    +
    + + requiredMessage + + + + + validatorMessage + + + + + value + + java.lang.Object + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexCurrencyFormatter + com.googlecode.jsfFlex.taglib.convert.ext.FlexUICurrencyFormatterTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexDateFormatter + com.googlecode.jsfFlex.taglib.convert.ext.FlexUIDateFormatterTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexNumberFormatter + com.googlecode.jsfFlex.taglib.convert.ext.FlexUINumberFormatterTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexPhoneFormatter + com.googlecode.jsfFlex.taglib.convert.ext.FlexUIPhoneFormatterTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexZipCodeFormatter + com.googlecode.jsfFlex.taglib.convert.ext.FlexUIZipCodeFormatterTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexAddChildAction + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAddChildActionTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexAddItemAction + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAddItemActionTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexAnimateProperty + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAnimatePropertyTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexBlur + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIBlurTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexDefaultListEffect + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIDefaultListEffectTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexDefaultTileListEffect + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIDefaultTileListEffectTag + JSP + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexDissolve + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIDissolveTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexFade + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIFadeTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexGlow + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIGlowTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexIris + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIIrisTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexMaskEffect + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIMaskEffectTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexMove + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIMoveTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexParallel + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIParallelTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexPause + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIPauseTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexRemoveChildAction + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIRemoveChildActionTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexRemoveItemAction + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIRemoveItemActionTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexResize + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIResizeTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexRotate + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIRotateTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexSequence + com.googlecode.jsfFlex.taglib.effects.ext.FlexUISequenceTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexSetPropertyAction + com.googlecode.jsfFlex.taglib.effects.ext.FlexUISetPropertyActionTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + value + + + + + name + + + + + + flexSetStyleAction + com.googlecode.jsfFlex.taglib.effects.ext.FlexUISetStyleActionTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + value + + + + + name + + + + + + flexSoundEffect + com.googlecode.jsfFlex.taglib.effects.ext.FlexUISoundEffectTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexTweenEffect + com.googlecode.jsfFlex.taglib.effects.ext.FlexUITweenEffectTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexUnconstrainItemAction + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIUnconstrainItemActionTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexWipeDown + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIWipeDownTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexWipeLeft + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIWipeLeftTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexWipeRight + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIWipeRightTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexWipeUp + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIWipeUpTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexZoom + com.googlecode.jsfFlex.taglib.effects.ext.FlexUIZoomTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexAsynchronousDataUpdateEventListener + com.googlecode.jsfFlex.taglib.eventGlue.ext.FlexUIAsynchronousDataUpdateEventListenerTag + JSP + + + + eventHandlerTgtId + true + + + + + eventListener + true + + + + + eventHandlerSrcId + true + + + + + asynchronousEventGlueHandler + true + + java.lang.Object myMethod( java.lang.String, java.lang.String, java.lang.String ) + + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexAddChild + com.googlecode.jsfFlex.taglib.states.ext.FlexUIAddChildTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexRemoveChild + com.googlecode.jsfFlex.taglib.states.ext.FlexUIRemoveChildTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexSetEventHandler + com.googlecode.jsfFlex.taglib.states.ext.FlexUISetEventHandlerTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + name + + + + + + flexSetProperty + com.googlecode.jsfFlex.taglib.states.ext.FlexUISetPropertyTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + value + + + + + name + + + + + + flexSetStyle + com.googlecode.jsfFlex.taglib.states.ext.FlexUISetStyleTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + value + + + + + name + + + + + + flexState + com.googlecode.jsfFlex.taglib.states.ext.FlexUIStateTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + name + + + + + + flexStates + com.googlecode.jsfFlex.taglib.states.ext.FlexUIStatesTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexTransition + com.googlecode.jsfFlex.taglib.states.ext.FlexUITransitionTag + JSP + + + + id + false + + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + + + + flexCreditCardValidator + com.googlecode.jsfFlex.taglib.validator.ext.FlexUICreditCardValidatorTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexCurrencyValidator + com.googlecode.jsfFlex.taglib.validator.ext.FlexUICurrencyValidatorTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexDateValidator + com.googlecode.jsfFlex.taglib.validator.ext.FlexUIDateValidatorTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexEmailValidator + com.googlecode.jsfFlex.taglib.validator.ext.FlexUIEmailValidatorTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexNumberValidator + com.googlecode.jsfFlex.taglib.validator.ext.FlexUINumberValidatorTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexPhoneNumberValidator + com.googlecode.jsfFlex.taglib.validator.ext.FlexUIPhoneNumberValidatorTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexRegExpValidator + com.googlecode.jsfFlex.taglib.validator.ext.FlexUIRegExpValidatorTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexSocialSecurityValidator + com.googlecode.jsfFlex.taglib.validator.ext.FlexUISocialSecurityValidatorTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexStringValidator + com.googlecode.jsfFlex.taglib.validator.ext.FlexUIStringValidatorTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexValidator + com.googlecode.jsfFlex.taglib.validator.ext.FlexUIValidatorTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + flexZipCodeValidator + com.googlecode.jsfFlex.taglib.validator.ext.FlexUIZipCodeValidatorTag + JSP + +respectively but actually are components. This is so because they perform the formatting and validation
    +as Flex components on the client side and not on the server side.
    ]]>
    + + + componentAttributes + + java.util.Map + + + + + componentAttributesJSONFormat + + + + + nameSpaceOverride + + + + + id + true + + + + rendered + + boolean + + + + + binding + + javax.faces.component.UIComponent + + + +
    + + + + diff --git a/jsf-flex/annotations/pom.xml b/jsf-flex/annotations/pom.xml deleted file mode 100644 index 28cf3edc..00000000 --- a/jsf-flex/annotations/pom.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - com.googlecode.jsf-flex - jsf-flex-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex-annotations - jar - JSF Flex Annotations - JSF Flex Annotations if using renderkit15 project - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex/annotations - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex/annotations - - - \ No newline at end of file diff --git a/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/renderkit/annotation/IFlexComponentNodeAttribute.java b/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/renderkit/annotation/IFlexComponentNodeAttribute.java deleted file mode 100644 index 91bc9380..00000000 --- a/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/renderkit/annotation/IFlexComponentNodeAttribute.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * @author Ji Hoon Kim - */ -@Documented -@Target(ElementType.TYPE) -@Retention(RetentionPolicy.SOURCE) -public @interface IFlexComponentNodeAttribute { - - String htmlType(); - - String typeAttributeValue(); - - String valueAttributeValue() default ""; - - boolean isValueDynamic(); - - boolean isValueNested(); - - String[] valueNestedValues(); - - boolean isValueRecurse() default false; - - String nameAttributeValue(); - - boolean isNameDynamic(); - - String nameAppend(); - -} diff --git a/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/renderkit/annotation/IJsfFlexAttribute.java b/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/renderkit/annotation/IJsfFlexAttribute.java deleted file mode 100644 index dd83caaf..00000000 --- a/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/renderkit/annotation/IJsfFlexAttribute.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * @author Ji Hoon Kim - */ -@Documented -@Target(ElementType.TYPE) -@Retention(RetentionPolicy.RUNTIME) -public @interface IJsfFlexAttribute { - - String attribute() default ""; - - boolean byMethod() default false; - -} diff --git a/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/renderkit/annotation/IJsfFlexAttributeProperties.java b/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/renderkit/annotation/IJsfFlexAttributeProperties.java deleted file mode 100644 index 04512635..00000000 --- a/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/renderkit/annotation/IJsfFlexAttributeProperties.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * @author Ji Hoon Kim - */ -@Documented -@Target(ElementType.TYPE) -@Retention(RetentionPolicy.RUNTIME) -public @interface IJsfFlexAttributeProperties { - - IJsfFlexAttribute[] jsfFlexAttributes() default {}; - - IFlexComponentNodeAttribute[] componentNodeAttributes() default {}; - - String[] componentPackages() default {}; - - String componentName() default ""; - - String componentNameSpace() default "mx"; - -} diff --git a/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/shared/util/annotation/ISwcActionScriptFile.java b/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/shared/util/annotation/ISwcActionScriptFile.java deleted file mode 100644 index 833934ad..00000000 --- a/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/shared/util/annotation/ISwcActionScriptFile.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.util.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * @author Ji Hoon Kim - */ -@Documented -@Target(ElementType.TYPE) -@Retention(RetentionPolicy.SOURCE) -public @interface ISwcActionScriptFile { - - String actionScriptFile(); - -} diff --git a/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/shared/util/annotation/ISwcActionScriptFiles.java b/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/shared/util/annotation/ISwcActionScriptFiles.java deleted file mode 100644 index f557f02c..00000000 --- a/jsf-flex/annotations/src/main/java/com/googlecode/jsfFlex/shared/util/annotation/ISwcActionScriptFiles.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.util.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * @author Ji Hoon Kim - */ -@Documented -@Target(ElementType.TYPE) -@Retention(RetentionPolicy.SOURCE) -public @interface ISwcActionScriptFiles { - - ISwcActionScriptFile[] actionScriptFiles(); - -} diff --git a/jsf-flex/core/pom.xml b/jsf-flex/core/pom.xml deleted file mode 100644 index 221e4d3a..00000000 --- a/jsf-flex/core/pom.xml +++ /dev/null @@ -1,214 +0,0 @@ - - - com.googlecode.jsf-flex - jsf-flex-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex - jar - JSF-Flex Core - JSF Flex Core project containing the core JSF components, filters, phaseListeners, and etcetera - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - Mozilla Public License, Version 1.1 - http://www.mozilla.org/MPL/MPL-1.1.html - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex/core - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex/core - - - - - - - com.googlecode.jsf-flex.jsf-flex-shared-project - jsf-flex-shared - - - - - org.apache.myfaces.core - myfaces-api - provided - - - - org.apache.myfaces.buildtools - myfaces-builder-annotations - provided - - - - javax.servlet - jstl - provided - - - - javax.servlet.jsp - javax.servlet.jsp-api - provided - - - - javax.el - javax.el-api - provided - - - - javax.servlet - servlet-api - provided - - - - commons-el - commons-el - 1.0 - - - - commons-logging - commons-logging - - - - org.json - json - - - - - - - - - src/main/resources - true - - **/*.vm - - - - - - - org.apache.myfaces.buildtools - myfaces-builder-plugin - ${myfaces.buildtools.version} - - - - build-metadata - - - - makefacesconfig - - faces-config.vm - META-INF/faces-config.xml - - - make-config - - - - makecomp - - 2.0 - componentClass.vm - - - make-components - - - - makeval - - 2.0 - validatorClass.vm - - - make-validators - - - - make_tags_jsfFlex - - 2.0 - tagClass.vm - - - make-tags - - - - make_validator_tags_jsfFlex - - 2.0 - - - make-validator-tags - make-converter-tags - - - - makejsfFlextld - - META-INF/jsf-flex.tld - src/main/conf/META-INF/jsf-flex.tld - jsf-flex.vm - - jf - http://jsf-flex.googlecode.com - JSF-Flex tag library. - - JSF-Flex goal is to provide users capability in creating Flex components as JSF components. So users would create the components as normal JSF components and the contribution will create the necessary SWF files and etcetera and link the values of the components back to the managed beans using JSON+Javascript and Actionscript. - - - - jsf-flex - - - - make-config - - - - makejsfFlextaglib - - META-INF/jsf-flex.taglib.xml - src/main/conf/META-INF/facelets-taglib-base.xml - facelets-taglib.vm - - jf - http://jsf-flex.googlecode.com - - - jsf-flex - - - - make-config - - - - - - - - - diff --git a/jsf-flex/core/src/main/conf/META-INF/facelets-taglib-base.xml b/jsf-flex/core/src/main/conf/META-INF/facelets-taglib-base.xml deleted file mode 100644 index f1a91d7d..00000000 --- a/jsf-flex/core/src/main/conf/META-INF/facelets-taglib-base.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - \ No newline at end of file diff --git a/jsf-flex/core/src/main/conf/META-INF/faces-config-base.xml b/jsf-flex/core/src/main/conf/META-INF/faces-config-base.xml deleted file mode 100644 index f71b1b10..00000000 --- a/jsf-flex/core/src/main/conf/META-INF/faces-config-base.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - com.googlecode.jsfFlex.phaseListener.JsfFlexHttpServicePhaseListener - - - diff --git a/jsf-flex/core/src/main/conf/META-INF/jsf-flex.tld b/jsf-flex/core/src/main/conf/META-INF/jsf-flex.tld deleted file mode 100644 index 2021cf8f..00000000 --- a/jsf-flex/core/src/main/conf/META-INF/jsf-flex.tld +++ /dev/null @@ -1,25 +0,0 @@ - - - - - \ No newline at end of file diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/AbstractFlexUIAttributeNode.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/AbstractFlexUIAttributeNode.java deleted file mode 100644 index f341129a..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/AbstractFlexUIAttributeNode.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import javax.faces.component.FacesComponent; -import javax.faces.component.UIComponentBase; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.shared.adapter.IFlexAttributeNode; - -/** - * In order to simplify development and focus in bridging of JSF and Flex, all attributes - * of a component that is not specific to the JSF Flex project and not boundable to a bean will be - * provided as a sub-tag of the component. Meaning one can consider the component to be an XML Element - * node and this tag/component to be an Attribute node. - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAttributeNode", - clazz = "com.googlecode.jsfFlex.attributes.FlexUIAttributeNode", - type = "com.googlecode.jsfFlex.FlexAttributeNode", - tagClass = "com.googlecode.jsfFlex.taglib.attributes.FlexUIAttributeNodeTag", - family = "javax.faces.FlexUIAttributeNode", - desc = "Attribute Node component" -) -@FacesComponent("com.googlecode.jsfFlex.FlexAttributeNode") -public abstract class AbstractFlexUIAttributeNode - extends UIComponentBase - implements IFlexAttributeNode { - - /** - * Attribute name. - */ - @JSFProperty( - desc = "Attribute name.", - required = true - ) - public abstract String getName(); - - /** - * Attribute value. - */ - @JSFProperty( - desc = "Attribute value.", - required = true - ) - public abstract String getValue(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousEventDataUpdateGlueHandlerAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousEventDataUpdateGlueHandlerAttribute.java deleted file mode 100644 index da160bce..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousEventDataUpdateGlueHandlerAttribute.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import javax.el.MethodExpression; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true, tagHandler="com.googlecode.jsfFlex.facelet.tagHandler.AsynchronousEventGlueTagHandler") -public interface IFlexUIAsynchronousEventDataUpdateGlueHandlerAttribute { - - @JSFProperty( - stateHolder = true, - jspName = "asynchronousEventDataUpdateGlueHandler", - methodSignature = "com.googlecode.jsfFlex.shared.model.event.AsynchronousDataUpdateEvent", - returnSignature = "java.lang.Object", - desc = "Method to be invoked during the asynchronous event." - ) - MethodExpression getAsynchronousEventDataUpdateGlueHandler(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousEventFilterGlueHandlerAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousEventFilterGlueHandlerAttribute.java deleted file mode 100644 index 3fe6bda8..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousEventFilterGlueHandlerAttribute.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import javax.el.MethodExpression; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true, tagHandler="com.googlecode.jsfFlex.facelet.tagHandler.AsynchronousEventGlueTagHandler") -public interface IFlexUIAsynchronousEventFilterGlueHandlerAttribute { - - @JSFProperty( - stateHolder = true, - jspName = "asynchronousEventFilterGlueHandler", - methodSignature = "com.googlecode.jsfFlex.shared.model.event.AsynchronousFilterEvent", - returnSignature = "java.lang.Object", - desc = "Method to be invoked during the asynchronous event." - ) - MethodExpression getAsynchronousEventFilterGlueHandler(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousEventGlueHandlerAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousEventGlueHandlerAttribute.java deleted file mode 100644 index fff87f6c..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousEventGlueHandlerAttribute.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import javax.el.MethodExpression; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true, tagHandler="com.googlecode.jsfFlex.facelet.tagHandler.AsynchronousEventGlueTagHandler") -public interface IFlexUIAsynchronousEventGlueHandlerAttribute { - - @JSFProperty( - stateHolder = true, - jspName = "asynchronousEventGlueHandler", - methodSignature = "com.googlecode.jsfFlex.shared.model.event.AbstractEvent", - returnSignature = "java.lang.Object", - desc = "Method to be invoked during the asynchronous event." - ) - MethodExpression getAsynchronousEventGlueHandler(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousEventPropertyUpdateGlueHandlerAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousEventPropertyUpdateGlueHandlerAttribute.java deleted file mode 100644 index a7a10769..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousEventPropertyUpdateGlueHandlerAttribute.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import javax.el.MethodExpression; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true, tagHandler="com.googlecode.jsfFlex.facelet.tagHandler.AsynchronousEventGlueTagHandler") -public interface IFlexUIAsynchronousEventPropertyUpdateGlueHandlerAttribute { - - @JSFProperty( - stateHolder = true, - jspName = "asynchronousEventPropertyUpdateGlueHandler", - methodSignature = "com.googlecode.jsfFlex.shared.model.event.AsynchronousPropertyUpdateEvent", - returnSignature = "java.lang.Object", - desc = "Method to be invoked during the asynchronous event." - ) - MethodExpression getAsynchronousEventPropertyUpdateGlueHandler(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousPropertyUpdateDelimAttributes.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousPropertyUpdateDelimAttributes.java deleted file mode 100644 index afeaf34f..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousPropertyUpdateDelimAttributes.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIAsynchronousPropertyUpdateDelimAttributes { - - /** - * This ',' deliminated String is to provide which property the user wishes to fetch from the source component back to the server side. The parameter for this method is in a form of a String deliminated to allow nesting. Meaning if the String is "first, second", then following will be fetched sourceComp["first"]["second"]. This is to allow much flexibility. - */ - @JSFProperty(desc = "This ',' deliminated String is to provide which property the user wishes to fetch from the source component back to the server side. The parameter for this method is in a form of a String deliminated to allow nesting. Meaning if the String is 'first, second', then following will be fetched sourceComp['first']['second']. This is to allow much flexibility.") - String getSourcePropertyDelim(); - - /** - * This ',' deliminated String is to provide which property the user wishes to update for the target component on the client side. The parameter for this method is in a form of a String deliminated to allow nesting. Meaning if the String is "first, second", then following will be set sourceComp["first"]["second"] = val. This is to allow much flexibility. - */ - @JSFProperty(desc = "This ',' deliminated String is to provide which property the user wishes to update for the target component on the client side. The parameter for this method is in a form of a String deliminated to allow nesting. Meaning if the String is 'first, second', then following will be set sourceComp['first']['second'] = val. This is to allow much flexibility.") - String getTargetPropertyDelim(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousPropertyUpdateListAttributes.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousPropertyUpdateListAttributes.java deleted file mode 100644 index 96457464..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIAsynchronousPropertyUpdateListAttributes.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import java.util.List; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIAsynchronousPropertyUpdateListAttributes { - - /** - * This list is to provide which property the user wishes to fetch from the source component back to the server side. The parameter for this method is in a form of a List to allow nesting. Meaning if the list is ["first", "second"], then following will be fetched sourceComp["first"]["second"]. This is to allow much flexibility. - */ - @JSFProperty(desc = "This list is to provide which property the user wishes to fetch from the source component back to the server side. The parameter for this method is in a form of a List to allow nesting. Meaning if the list is ['first', 'second'], then following will be fetched sourceComp['first']['second']. This is to allow much flexibility.") - List getSourcePropertyList(); - - /** - * This list is to provide which property the user wishes to update for the target component on the client side. The parameter for this method is in a form of a List to allow nesting. Meaning if the list is ["first", "second"], then following will be set sourceComp["first"]["second"] = val. This is to allow much flexibility. - */ - @JSFProperty(desc = "This list is to provide which property the user wishes to update for the target component on the client side. The parameter for this method is in a form of a List to allow nesting. Meaning if the list is ['first', 'second'], then following will be set sourceComp['first']['second'] = val. This is to allow much flexibility.") - List getTargetPropertyList(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIBaseAttributes.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIBaseAttributes.java deleted file mode 100644 index 1a769360..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIBaseAttributes.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import java.util.Map; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIBaseAttributes - extends IFlexUINameSpaceOverrideAttribute { - - /** - * Map of attribute names provided as keys and values provided as values. - */ - @JSFProperty(desc = "Map of attribute names provided as keys and values provided as values.") - Map getComponentAttributes(); - - /** - * Component attributes provided in JSON Format. - */ - @JSFProperty(desc = "Component attributes provided in JSON Format.") - String getComponentAttributesJSONFormat(); - - /** - * Component's NameSpace. - */ - @JSFProperty(desc = "Namespace to override for the component. Meaning certain components such as Label are specified to be of 's' namespace [spark component], but user can override the namespace by changing it to such as 'mx'.") - String getNameSpaceOverride(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIBatchColumnDataRetrievalSizeAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIBatchColumnDataRetrievalSizeAttribute.java deleted file mode 100644 index 6c15da4e..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIBatchColumnDataRetrievalSizeAttribute.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * One thing to note is that if rowCount of the DataGrid component is greater
    - * than batchColumnDataRetrievalSize, latter will be set to former. - * - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIBatchColumnDataRetrievalSizeAttribute { - - /** - * Size denoting how many elements to retrieve by http service. If not defined will default to 50. - */ - @JSFProperty( - defaultValue = "50", - desc = "Size denoting how many elements to retrieve by http service. If not defined will default to 50." - ) - String getBatchColumnDataRetrievalSize(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIBindingBeanClassNameAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIBindingBeanClassNameAttribute.java deleted file mode 100644 index 66f95602..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIBindingBeanClassNameAttribute.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIBindingBeanClassNameAttribute { - - /** - * If additional beans can be added to the component and binding bean list size is 0, this attribute will be used to create additional beans to be added to the list. If the bean list size is > 0, then the first entry's className will be used to construct additional beans to be added to the list. - */ - @JSFProperty(desc = "If additional beans can be added to the component and binding bean list size is 0, this attribute will be used to create additional beans to be added to the list. If the bean list size is > 0, then the first entry's className will be used to construct additional beans to be added to the list.") - String getBindingBeanClassName(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIBindingBeanListAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIBindingBeanListAttribute.java deleted file mode 100644 index 8021b615..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIBindingBeanListAttribute.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import java.util.List; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIBindingBeanListAttribute { - - /** - * List of beans for data binding to the component. - */ - @JSFProperty(desc = "List of beans for data binding to the component.") - List> getBindingBeanList(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIComponentNameAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIComponentNameAttribute.java deleted file mode 100644 index 92cff9c0..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIComponentNameAttribute.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIComponentNameAttribute { - - /** - * Component's name. - */ - @JSFProperty(desc = "Component's name.", required = true) - String getComponentName(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIComponentNameSpaceAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIComponentNameSpaceAttribute.java deleted file mode 100644 index ef4163bd..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIComponentNameSpaceAttribute.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIComponentNameSpaceAttribute { - - /** - * Component's NameSpace. - */ - @JSFProperty(desc = "Component's NameSpace.", defaultValue = "mx") - String getComponentNameSpace(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUICreationPolicyAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUICreationPolicyAttribute.java deleted file mode 100644 index 39e7219b..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUICreationPolicyAttribute.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUICreationPolicyAttribute { - - /** - * The creation policy for this child. - */ - @JSFProperty( - tagExcluded = true, - desc = "The creation policy for this child." - ) - String getCreationPolicy(); - - void setCreationPolicy(String creationPolicy); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIDataFieldAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIDataFieldAttribute.java deleted file mode 100644 index 6d9ba955..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIDataFieldAttribute.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIDataFieldAttribute { - - /** - * The name of the field or property in the data provider item associated with the column. - */ - @JSFProperty(desc = "The name of the field or property in the data provider item associated with the column.") - String getDataField(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIDataProviderAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIDataProviderAttribute.java deleted file mode 100644 index 4ada4e7b..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIDataProviderAttribute.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIDataProviderAttribute { - - /** - * The set of items this component displays. - */ - @JSFProperty(desc = "The set of items this component displays.") - String getDataProvider(); - - void setDataProvider(String dataProvider); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIDataProviderCollectionAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIDataProviderCollectionAttribute.java deleted file mode 100644 index a85761d6..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIDataProviderCollectionAttribute.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import java.util.Collection; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIDataProviderCollectionAttribute { - - /** - * Property that allows providing java.util.Collection dataBinding for dataProvider attribute [i.e. ComboBox] - */ - @JSFProperty(desc = "Property that allows providing java.util.Collection dataBinding for dataProvider attribute [i.e. ComboBox].") - Collection getDataProviderCollection(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIDirectionAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIDirectionAttribute.java deleted file mode 100644 index 258f56a2..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIDirectionAttribute.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIDirectionAttribute { - - /** - * Direction of the flow. - */ - @JSFProperty(desc = "Direction of the flow.") - String getDirection(); - - void setDirection(String direction); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIEditableAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIEditableAttribute.java deleted file mode 100644 index 05bb24cc..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIEditableAttribute.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIEditableAttribute { - - /** - * A flag that indicates whether the control is editable. - */ - @JSFProperty(desc = "A flag that indicates whether the control is editable.") - String getEditable(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIEventHandlerSrcIdAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIEventHandlerSrcIdAttribute.java deleted file mode 100644 index ee7c13ae..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIEventHandlerSrcIdAttribute.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIEventHandlerSrcIdAttribute { - - /** - * The id of the source component. - */ - @JSFProperty( - required = true, - desc = "The id of the source component." - ) - String getEventHandlerSrcId(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIEventHandlerTgtIdAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIEventHandlerTgtIdAttribute.java deleted file mode 100644 index f7cac8e4..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIEventHandlerTgtIdAttribute.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIEventHandlerTgtIdAttribute { - - /** - * The id of the target component. - */ - @JSFProperty( - required = true, - desc = "The id of the target component." - ) - String getEventHandlerTgtId(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIEventListenerAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIEventListenerAttribute.java deleted file mode 100644 index 28e608e4..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIEventListenerAttribute.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIEventListenerAttribute { - - /** - * Event to associate this listener for. - */ - @JSFProperty(desc = "Event to associate this listener for.") - String getEventListener(); - - void setEventListener(String eventListener); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIFilterColumnComponentIdAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIFilterColumnComponentIdAttribute.java deleted file mode 100644 index b1d4615a..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIFilterColumnComponentIdAttribute.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIFilterColumnComponentIdAttribute { - - /** - * Provides the id of a component to retrieve the column filter. - */ - @JSFProperty(desc = "Provides the id of a component to retrieve the column filter.") - String getFilterColumnComponentId(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIFilterComponentIdAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIFilterComponentIdAttribute.java deleted file mode 100644 index b43dcb1b..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIFilterComponentIdAttribute.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIFilterComponentIdAttribute { - - /** - * Provides the id of a component to retrieve the filtered value. - */ - @JSFProperty(desc = "Provides the id of a component to retrieve the filtered value.") - String getFilterComponentId(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIFilterEventListenerAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIFilterEventListenerAttribute.java deleted file mode 100644 index fb968280..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIFilterEventListenerAttribute.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIFilterEventListenerAttribute { - - /** - * Event to associate for this Filter Listener. - */ - @JSFProperty(desc = "Event to associate for this Filter Listener.") - String getFilterEventListener(); - - void setFilterEventListener(String filterEventListener); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIGroupNameAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIGroupNameAttribute.java deleted file mode 100644 index ff8a8f13..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIGroupNameAttribute.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIGroupNameAttribute { - - /** - * Specifies the name of the group to which this RadioButton control belongs, or specifies the value of the id property of a RadioButtonGroup control if this RadioButton is part of agroup defined by a RadioButtonGroup control. - */ - @JSFProperty( - required = true, - desc = "Specifies the name of the group to which this RadioButton control belongs, or specifies the value of the id property of a RadioButtonGroup control if this RadioButton is part of agroup defined by a RadioButtonGroup control." - ) - String getGroupName(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIHtmlTextAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIHtmlTextAttribute.java deleted file mode 100644 index b085713d..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIHtmlTextAttribute.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIHtmlTextAttribute { - - /** - * Specifies the text displayed by the control. - */ - @JSFProperty(desc = "Specifies the text displayed by the control.") - String getHtmlText(); - - void setHtmlText(String htmlText); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUINameAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUINameAttribute.java deleted file mode 100644 index 977878b5..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUINameAttribute.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFJspProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFJspProperty(name="name", returnType="java.lang.String", longDesc="The name.") -@JSFComponent(configExcluded=true) -public interface IFlexUINameAttribute { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUINameSpaceOverrideAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUINameSpaceOverrideAttribute.java deleted file mode 100644 index 122dad4b..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUINameSpaceOverrideAttribute.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUINameSpaceOverrideAttribute { - - /** - * Namespace to override for the component. Meaning certain components such as Label are specified to be of 's' namespace [spark component], but user can override the namespace by changing it to such as 'mx'. - */ - @JSFProperty(desc = "Namespace to override for the component. Meaning certain components such as Label are specified to be of 's' namespace [spark component], but user can override the namespace by changing it to such as 'mx'.") - String getNameSpaceOverride(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIQueueFilterThresholdAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIQueueFilterThresholdAttribute.java deleted file mode 100644 index c007f30a..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIQueueFilterThresholdAttribute.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIQueueFilterThresholdAttribute { - - /** - * This value will provide a threshold where if the remaining data to be filtered exceeds it, - * the remaining entries will be queued in an another Thread while returning the current - * Thread with the needed content. - */ - @JSFProperty( - desc = "This value will provide a threshold where if the remaining data to be filtered exceeds it, the remaining entries will be queued in an another Thread while returning the current Thread with the needed content.", - defaultValue = "500" - ) - String getQueueFilterThreshold(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIQueuedFilterListBreakUpSizeAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIQueuedFilterListBreakUpSizeAttribute.java deleted file mode 100644 index 2c790c61..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIQueuedFilterListBreakUpSizeAttribute.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIQueuedFilterListBreakUpSizeAttribute { - - /** - * This value is associated with queueFilterThreshold. It represents the size of the queued list size - * [i.e. 1000 entries and if this entry is 250, then there will be 4 lists or Threads queued up] - */ - @JSFProperty( - desc = "This value is associated with queueFilterThreshold. It represents the size of the queued list size [i.e. 1000 entries and if this entry is 250, then there will be 4 lists or Threads queued up]", - defaultValue = "250" - ) - String getQueuedFilterListBreakUpSize(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIRowCountAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIRowCountAttribute.java deleted file mode 100644 index 9e659155..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIRowCountAttribute.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUIRowCountAttribute { - - /** - * Maximum number of rows visible in the control. - */ - @JSFProperty(desc = "Maximum number of rows visible in the control.") - String getRowCount(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedAttribute.java deleted file mode 100644 index ff5bf62f..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedAttribute.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUISelectedAttribute { - - /** - * Indicates whether a toggle button is toggled on (true) or off (false). - */ - @JSFProperty(desc = "Indicates whether a toggle button is toggled on (true) or off (false).") - Boolean getSelected(); - - void setSelected(Boolean selected); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedColorAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedColorAttribute.java deleted file mode 100644 index 9da272d2..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedColorAttribute.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUISelectedColorAttribute { - - /** - * The value of the currently selected color in the SwatchPanel object. - */ - @JSFProperty(desc = "The value of the currently selected color in the SwatchPanel object.") - String getSelectedColor(); - - void setSelectedColor(String selectedColor); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedDateAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedDateAttribute.java deleted file mode 100644 index 8509b865..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedDateAttribute.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import java.util.Calendar; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUISelectedDateAttribute { - - /** - * Date selected in the control. - */ - @JSFProperty(desc = "Date selected in the control.") - Calendar getSelectedDate(); - - void setSelectedDate(Calendar selectedDate); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedIndexAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedIndexAttribute.java deleted file mode 100644 index 744b4294..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedIndexAttribute.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUISelectedIndexAttribute { - - /** - * The index in the data provider of the selected item. - */ - @JSFProperty(desc = "The index in the data provider of the selected item.") - Integer getSelectedIndex(); - - void setSelectedIndex(Integer selectedIndex); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedLabelAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedLabelAttribute.java deleted file mode 100644 index 50d32c02..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedLabelAttribute.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUISelectedLabelAttribute { - - /** - * Selected Label. - */ - @JSFProperty(desc = "Selected Label.") - String getSelectedLabel(); - - void setSelectedLabel(String selectedLabel); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedValueAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedValueAttribute.java deleted file mode 100644 index 6da17e83..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUISelectedValueAttribute.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUISelectedValueAttribute { - - /** - * This will represent the selectedValue chosen for the RadioButtonGroup. It should be used for databinding, so to figure out which radioButton within the same groupNamehas been chosen. Meaning it serves no purpose for display, so rationally you shouldhave databinded to ONE of the RadioButton with the same groupName. - */ - @JSFProperty(desc = "This will represent the selectedValue chosen for the RadioButtonGroup. It should be used for databinding, so to figure out which radioButton within the same groupNamehas been chosen. Meaning it serves no purpose for display, so rationally you shouldhave databinded to ONE of the RadioButton with the same groupName.") - String getSelectedValue(); - - void setSelectedValue(String selectedValue); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUITextAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUITextAttribute.java deleted file mode 100644 index 742f933d..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUITextAttribute.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUITextAttribute { - - /** - * Plain text that appears in the control. - */ - @JSFProperty(desc = "Plain text that appears in the control.") - String getText(); - - void setText(String text); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUITextBindingAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUITextBindingAttribute.java deleted file mode 100644 index 11db4ade..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUITextBindingAttribute.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUITextBindingAttribute { - - /** - * Specifies the attribute used for binding on the server side for Input components. [i.e. TextInput and RichTextEditor]. Default is text and choices are eithertext or htmlText. - */ - @JSFProperty( - defaultValue = "text", - desc = "Specifies the attribute used for binding on the server side for Input components. [i.e. TextInput and RichTextEditor]. Default is text and choices are eithertext or htmlText." - ) - String getTextBinding(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUITitleAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUITitleAttribute.java deleted file mode 100644 index fef70cca..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUITitleAttribute.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent(configExcluded=true) -public interface IFlexUITitleAttribute { - - /** - * Title or caption displayed in the title bar. - */ - @JSFProperty(desc = "Title or caption displayed in the title bar.") - String getTitle(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIValueAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIValueAttribute.java deleted file mode 100644 index 10a8b807..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/attributes/IFlexUIValueAttribute.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.attributes; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFJspProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFJspProperty(name="value", returnType="java.lang.String", longDesc="The value for the property.") -@JSFComponent(configExcluded=true) -public interface IFlexUIValueAttribute { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUICommandBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUICommandBase.java deleted file mode 100644 index 3b5207ab..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUICommandBase.java +++ /dev/null @@ -1,274 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component; - -import java.io.IOException; -import java.util.EnumSet; -import java.util.Map; - -import javax.el.MethodExpression; -import javax.faces.component.FacesComponent; -import javax.faces.component.UICommand; -import javax.faces.context.FacesContext; -import javax.faces.el.MethodBinding; -import javax.faces.event.ActionEvent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.renderkit.annotationDocletParser.AbstractAnnotationDocletParser; -import com.googlecode.jsfFlex.renderkit.html.util.AbstractJsfFlexResource; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent; -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent.EVENT_HANDLER_TYPE.JAVA_SCRIPT_IMPORT; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.tasks.AbstractRunnerFactory; -import com.googlecode.jsfFlex.shared.util.FlexConstants; -import com.googlecode.jsfFlex.shared.util.FlexJsfUtil; - -/** - * This component should be used as the base action of the component if the component
    - * does not require any preservation of values during the post-back phase and require functionality of
    - * UICommand
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - type = "com.googlecode.jsfFlex.FlexUICommandBase", - family = "javax.faces.FlexCommandBase", - desc = "Base component for FlexCommand components" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUICommandBase") -public abstract class AbstractFlexUICommandBase - extends UICommand - implements IFlexContract, IFlexEvent { - - private AbstractAnnotationDocletParser _annotationDocletParserInstance; - - private String _absolutePathToPreMxmlFile; - - private String _preMxmlIdentifier; - private String _parentPreMxmlIdentifier; - /* - * below two variables dictate the depth and the height of this component - * in reference to the top component which should be of FlexApplication. - */ - private int _majorLevel = -1; - private int _minorLevel = -1; - - public AbstractFlexUICommandBase(){ - super(); - } - - /** - * Usually one does not provide overriding of this method; however there are certain cases where one desires to - * provide additional parameters [i.e. AbstractFlexUIAsynchronousPropertyUpdateEventListener] - * - * @return - */ - public JSONObject getAddtionalArguments(){ - return null; - } - - public JSONObject getComponentInitValues(){ - return null; - } - - public String getEventHandlerSrcId() { - return getId(); - } - - public String getEventHandlerTgtId() { - FacesContext currInstance = FacesContext.getCurrentInstance(); - return FlexJsfUtil.retrieveFormId(getClientId(currInstance)); - } - - public String getNameSpaceOverride(){ - return null; - } - - public synchronized AbstractAnnotationDocletParser getAnnotationDocletParserInstance(){ - - if(_annotationDocletParserInstance == null){ - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - AbstractRunnerFactory runnerFactoryInstance = flexContext.getRunnerFactoryInstance(); - _annotationDocletParserInstance = runnerFactoryInstance.getAnnotationDocletParserImpl(); - } - - return _annotationDocletParserInstance; - } - - @Override - public void encodeBegin(FacesContext context) throws IOException { - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - - if(flexContext.isProductionEnv()){ - //means no need to create preMxml files - setRendered(false); - } - - //need to check whether to add content to AdditionalApplicationScriptContent for submission of form - if(getAction() != null || getActionExpression() != null || getActionListener() != null){ - - EVENT_HANDLER_TYPE eventHandlerType = getEventHandlerType(); - AbstractJsfFlexResource jsfFlexResource = AbstractJsfFlexResource.getInstance(); - EnumSet javaScriptImports = eventHandlerType.getJavaScriptImports(); - - for(JAVA_SCRIPT_IMPORT currJSImport : javaScriptImports){ - jsfFlexResource.addResource(AbstractFlexUICommandBase.class, currJSImport.getJavaScriptImport()); - } - - } - - super.encodeBegin(context); - } - - @Override - public void decode(FacesContext context) { - Map requestMap = context.getExternalContext().getRequestParameterMap(); - String value = requestMap.get(getEventHandlerSrcId()); - if(value != null){ - //must have been triggered - queueEvent(new ActionEvent(this)); - } - } - - @Override - public void processDecodes(FacesContext context) { - String mode = context.getExternalContext().getInitParameter(FlexConstants.CONFIG_MODE_NAME); - if(mode == null || mode.equals(FlexConstants.PRODUCTION_MODE)){ - //need to dataBind so set back to true - setRendered(true); - } - - super.processDecodes(context); - } - - public String getEventHandlerId(){ - return getId(); - } - - public String getAbsolutePathToPreMxmlFile() { - return _absolutePathToPreMxmlFile; - } - public void setAbsolutePathToPreMxmlFile(String absolutePathToPreMxmlFile) { - _absolutePathToPreMxmlFile = absolutePathToPreMxmlFile; - } - public int getMajorLevel() { - return _majorLevel; - } - public void setMajorLevel(int majorLevel) { - _majorLevel = majorLevel; - } - public int getMinorLevel() { - return _minorLevel; - } - public void setMinorLevel(int minorLevel) { - _minorLevel = minorLevel; - } - public String getParentPreMxmlIdentifier() { - return _parentPreMxmlIdentifier; - } - public void setParentPreMxmlIdentifier(String parentPreMxmlIdentifier) { - _parentPreMxmlIdentifier = parentPreMxmlIdentifier; - } - public String getPreMxmlIdentifier() { - return _preMxmlIdentifier; - } - public void setPreMxmlIdentifier(String preMxmlIdentifier) { - _preMxmlIdentifier = preMxmlIdentifier; - } - - /** - * Id of the component. - */ - @JSFProperty( - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - - /** - * The action to take when this command is invoked. - *

    - * If the value is an expression, it is expected to be a method binding EL expression that identifies - * an action method. An action method accepts no parameters and has a String return value, called the - * action outcome, that identifies the next view displayed. The phase that this event is fired in - * can be controlled via the immediate attribute. - *

    - *

    - * If the value is a string literal, it is treated as a navigation outcome for the current view. This - * is functionally equivalent to a reference to an action method that returns the string literal. - *

    - */ - @JSFProperty( - stateHolder = true, - jspName = "action", - returnSignature = "java.lang.Object", - desc = "Specifies the action to take when this command is invoked." - ) - @Override - public MethodExpression getActionExpression(){ - return super.getActionExpression(); - } - - /** - * A method binding EL expression that identifies an action listener method - * to be invoked if this component is activated by the user. An action - * listener method accepts a parameter of type javax.faces.event.ActionEvent - * and returns void. The phase that this event is fired in can be controlled - * via the immediate attribute. - * - */ - @JSFProperty( - stateHolder = true, - returnSignature = "void", - methodSignature = "javax.faces.event.ActionEvent", - desc = "A method binding EL expression that identifies an action listener method to be invoked if this component is activated by the user." - ) - @Override - public MethodBinding getActionListener(){ - return super.getActionListener(); - } - - /** - * A boolean value that identifies the phase during which action events - * should fire. During normal event processing, action methods and - * action listener methods are fired during the "invoke application" - * phase of request processing. If this attribute is set to "true", - * these methods are fired instead at the end of the "apply request - * values" phase. - * - */ - @JSFProperty( - defaultValue = "false", - desc = "A boolean value that identifies the phase during which action events should fire." - ) - @Override - public boolean isImmediate(){ - return super.isImmediate(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIHtmlTextInputBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIHtmlTextInputBase.java deleted file mode 100644 index 10f84477..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIHtmlTextInputBase.java +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIHtmlTextAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUITextBindingAttribute; - -/** - * This class will process the needed actions of setting and retrieving of "htmlText" attribute
    - * within the Flex components. Note that since this class invokes the super method of populateComponentInitValues
    - * it will also set and retrieve values of "text" attribute of the component [if it exists].
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - clazz = "com.googlecode.jsfFlex.component.FlexUIHtmlTextInputBase", - type = "com.googlecode.jsfFlex.FlexUIHtmlTextInputBase", - family = "javax.faces.FlexUIHtmlTextInputBase", - desc = "Base component for FlexInput components that contain htmlText attribute", - template = true -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIHtmlTextInputBase") -public abstract class AbstractFlexUIHtmlTextInputBase - extends com.googlecode.jsfFlex.component.FlexUITextInputBase - implements IFlexUIHtmlTextAttribute, IFlexUITextBindingAttribute { - - private final static org.apache.commons.logging.Log _log = org.apache.commons.logging.LogFactory.getLog(FlexUIHtmlTextInputBase.class); - - private static final String HTML_TEXT_ATTR = "htmlText"; - private static final String HTML_TEXT_ID_APPENDED = "_htmlText"; - - private org.json.JSONObject initValue; - - @Override - protected void populateComponentInitValues(){ - try{ - if(getTextBinding().equals(HTML_TEXT_ATTR) && getHtmlText() != null){ - getInitValue().put(VALUE, com.googlecode.jsfFlex.shared.util.FlexJsfUtil.escapeCharacters( getHtmlText() )); - }else{ - super.populateComponentInitValues(); - } - }catch(org.json.JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - - private synchronized org.json.JSONObject getInitValue(){ - if(initValue == null){ - try{ - initValue = new org.json.JSONObject(); - initValue.put(ATTRIBUTE, HTML_TEXT_ATTR); - - _initValues.put(initValue); - - }catch(org.json.JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - return initValue; - } - - @Override - public void decode(FacesContext context) { - super.decode(context); - - java.util.Map requestMap = context.getExternalContext().getRequestParameterMap(); - /* - * since there exists two possible returned values [text and htmlText], - * the attribute will be appended to the id [i.e. id_text and id_htmlText] - */ - - String htmlTextId = getId() + HTML_TEXT_ID_APPENDED; - String htmlTextUpdateVal = requestMap.get(htmlTextId); - - if(htmlTextUpdateVal != null){ - setHtmlText(htmlTextUpdateVal); - } - - if(getTextBinding().equals(HTML_TEXT_ATTR)){ - setSubmittedValue(getHtmlText()); - } - - } - - @Override - public void processUpdates(FacesContext context) { - super.processUpdates(context); - - if (!isRendered() || !isValid()){ - return; - } - - javax.el.ValueExpression ve = getValueExpression(HTML_TEXT_ATTR); - - if(ve != null && !ve.isReadOnly(context.getELContext())){ - ve.setValue(context.getELContext(), getHtmlText()); - setHtmlText(null); - } - - } -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIInputBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIInputBase.java deleted file mode 100644 index 1c03502f..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIInputBase.java +++ /dev/null @@ -1,281 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component; - -import java.io.IOException; -import java.util.List; - -import javax.faces.component.FacesComponent; -import javax.faces.component.UIInput; -import javax.faces.context.FacesContext; -import javax.faces.convert.Converter; -import javax.faces.el.MethodBinding; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.renderkit.annotationDocletParser.AbstractAnnotationDocletParser; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.tasks.AbstractRunnerFactory; -import com.googlecode.jsfFlex.shared.util.FlexAttributeConstants; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * This class will process the needed actions of creating JSONObject and JSONArray needed
    - * by subclasses to preserve the state of beans during the post back phase.
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - type = "com.googlecode.jsfFlex.FlexUIInputBase", - family = "javax.faces.FlexInputBase", - desc = "Base component for FlexInput components" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIInputBase") -public abstract class AbstractFlexUIInputBase extends UIInput implements IFlexContract { - - private final static Log _log = LogFactory.getLog(AbstractFlexUIInputBase.class); - - protected static final String ATTRIBUTE = "attribute"; - protected static final String VALUE = "value"; - /* - * Below parameter should be inserted into initValue JSONObject when - * specific ActionScript Object needs to be constructed for component's - * initial value [i.e. AbstractFlexUIDateChooser] - */ - protected static final String SPECIFIC_OBJECT_TYPE_INIT = "specificObjectTypeInit"; - - private static final String INIT_VALUES = "initValues"; - - protected JSONArray _initValues; - - private JSONObject _componentInitValueObject; - - private AbstractAnnotationDocletParser _annotationDocletParserInstance; - - private String _absolutePathToPreMxmlFile; - private String _preMxmlIdentifier; - private String _parentPreMxmlIdentifier; - - /* - * below two variables dictate the depth and the height of this component - * in reference to the top component which should be of FlexApplication. - */ - private int _majorLevel = -1; - private int _minorLevel = -1; - - public AbstractFlexUIInputBase(){ - super(); - } - - { - try{ - _componentInitValueObject = new JSONObject(); - _initValues = new JSONArray(); - - _componentInitValueObject.put(INIT_VALUES, _initValues); - - }catch(JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - - public String getNameSpaceOverride(){ - return null; - } - - public JSONObject getComponentInitValues(){ - return _componentInitValueObject; - } - - @Override - public void encodeBegin(FacesContext context) throws IOException { - - try{ - _componentInitValueObject.put(FlexAttributeConstants.ID_ATTR, getId()); - }catch(JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - - populateComponentInitValues(); - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - List applicationInitValueList = flexContext.getApplicationInitValueList(); - if(getComponentInitValues() != null){ - applicationInitValueList.add(getComponentInitValues()); - } - - if(flexContext.isProductionEnv()){ - //means no need to create preMxml files - setRendered(false); - } - - super.encodeBegin(context); - } - - @Override - public void processDecodes(FacesContext context) { - String mode = context.getExternalContext().getInitParameter(FlexConstants.CONFIG_MODE_NAME); - if(mode == null || mode.equals(FlexConstants.PRODUCTION_MODE)){ - //need to dataBind so set back to true - setRendered(true); - } - - super.processDecodes(context); - } - - public synchronized AbstractAnnotationDocletParser getAnnotationDocletParserInstance(){ - - if(_annotationDocletParserInstance == null){ - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - AbstractRunnerFactory runnerFactoryInstance = flexContext.getRunnerFactoryInstance(); - _annotationDocletParserInstance = runnerFactoryInstance.getAnnotationDocletParserImpl(); - } - - return _annotationDocletParserInstance; - } - - protected abstract void populateComponentInitValues(); - - public String getAbsolutePathToPreMxmlFile() { - return _absolutePathToPreMxmlFile; - } - public void setAbsolutePathToPreMxmlFile(String absolutePathToPreMxmlFile) { - _absolutePathToPreMxmlFile = absolutePathToPreMxmlFile; - } - public int getMajorLevel() { - return _majorLevel; - } - public void setMajorLevel(int majorLevel) { - _majorLevel = majorLevel; - } - public int getMinorLevel() { - return _minorLevel; - } - public void setMinorLevel(int minorLevel) { - _minorLevel = minorLevel; - } - public String getParentPreMxmlIdentifier() { - return _parentPreMxmlIdentifier; - } - public void setParentPreMxmlIdentifier(String parentPreMxmlIdentifier) { - _parentPreMxmlIdentifier = parentPreMxmlIdentifier; - } - public String getPreMxmlIdentifier() { - return _preMxmlIdentifier; - } - public void setPreMxmlIdentifier(String preMxmlIdentifier) { - _preMxmlIdentifier = preMxmlIdentifier; - } - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - - /** - * A boolean value that identifies the phase during which value change events should fire. During normal event processing, value change events are fired during the "invoke application" phase of request processing. If this attribute is set to true, these methods are fired instead at the end of the apply request values phase. - */ - @JSFProperty( - inheritedTag = true, - desc = "A boolean value that identifies the phase during which value change events should fire. During normal event processing, value change events are fired during the 'invoke application' phase of request processing. If this attribute is set to true, these methods are fired instead at the end of the apply request values phase." - ) - @Override - public boolean isImmediate(){ - return super.isImmediate(); - } - - /** - * A boolean value that indicates whether an input value is required. - * If this value is true, and no input value is provided, the error - * message javax.faces.component.UIInput.REQUIRED is posted. - */ - @JSFProperty( - inheritedTag = true, - desc = "A boolean value that indicates whether an input value is required. If this value is true, and no input value is provided, the error message javax.faces.component.UIInput.REQUIRED is posted." - ) - @Override - public boolean isRequired(){ - return super.isRequired(); - } - - /** - * A method binding EL expression, accepting FacesContext, UIComponent, - * and Object parameters, and returning void, that validates the - * component's local value. - */ - @JSFProperty( - stateHolder = true, - returnSignature = "void", - inheritedTag = true, - methodSignature = "javax.faces.context.FacesContext,javax.faces.component.UIComponent,java.lang.Object" - ) - @Override - public MethodBinding getValidator(){ - return super.getValidator(); - } - - /** - * A method binding EL expression, accepting a ValueChangeEvent parameter - * and returning void. The specified method is invoked if this component - * is modified. The phase that this handler is fired in can be controlled - * via the immediate attribute. - */ - @JSFProperty( - stateHolder = true, - returnSignature = "void", - inheritedTag = true, - methodSignature = "javax.faces.event.ValueChangeEvent" - ) - @Override - public MethodBinding getValueChangeListener(){ - return super.getValueChangeListener(); - } - - /** - * The value can either be a static value (ID) or an EL expression. When a static id is - * specified, an instance of the converter type registered with that id is used. When this is an - * EL expression, the result of evaluating the expression must be an object that implements the - * Converter interface. - */ - @JSFProperty( - inheritedTag = true, - desc = "The value can either be a static value (ID) or an EL expression. When a static id is specified, an instance of the converter type registered with that id is used. When this is an EL expression, the result of evaluating the expression must be an object that implements the Converter interface." - ) - @Override - public Converter getConverter(){ - return super.getConverter(); - } - -} \ No newline at end of file diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIOutputBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIOutputBase.java deleted file mode 100644 index 17538491..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIOutputBase.java +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component; - -import java.io.IOException; - -import javax.faces.component.FacesComponent; -import javax.faces.component.UIOutput; -import javax.faces.context.FacesContext; -import javax.faces.convert.Converter; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.renderkit.annotationDocletParser.AbstractAnnotationDocletParser; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.tasks.AbstractRunnerFactory; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * This component should be used as the base action of the component if the component
    - * does not require any preservation of values during the post-back phase [i.e. AbstractFlexUILabel], but
    - * require setting of fields of UIOutput [i.e. converter].
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - type = "com.googlecode.jsfFlex.FlexUIOutputBase", - family = "javax.faces.FlexOutputBase", - desc = "Base component for FlexOutput components" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIOutputBase") -public abstract class AbstractFlexUIOutputBase extends UIOutput implements IFlexContract { - - private AbstractAnnotationDocletParser _annotationDocletParserInstance; - - private String _absolutePathToPreMxmlFile; - - private String _preMxmlIdentifier; - private String _parentPreMxmlIdentifier; - /* - * below two variables dictate the depth and the height of this component - * in reference to the top component which should be of FlexApplication. - */ - private int _majorLevel = -1; - private int _minorLevel = -1; - - public AbstractFlexUIOutputBase(){ - super(); - } - - public String getNameSpaceOverride(){ - return null; - } - - public JSONObject getComponentInitValues(){ - return null; - } - - public synchronized AbstractAnnotationDocletParser getAnnotationDocletParserInstance(){ - - if(_annotationDocletParserInstance == null){ - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - AbstractRunnerFactory runnerFactoryInstance = flexContext.getRunnerFactoryInstance(); - _annotationDocletParserInstance = runnerFactoryInstance.getAnnotationDocletParserImpl(); - } - - return _annotationDocletParserInstance; - } - - @Override - public void encodeBegin(FacesContext context) throws IOException { - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - if(flexContext.isProductionEnv()){ - //means no need to create preMxml files - setRendered(false); - } - - super.encodeBegin(context); - } - - @Override - public void processDecodes(FacesContext context) { - String mode = context.getExternalContext().getInitParameter(FlexConstants.CONFIG_MODE_NAME); - if(mode == null || mode.equals(FlexConstants.PRODUCTION_MODE)){ - //need to dataBind so set back to true - setRendered(true); - } - - super.processDecodes(context); - } - - public String getAbsolutePathToPreMxmlFile() { - return _absolutePathToPreMxmlFile; - } - public void setAbsolutePathToPreMxmlFile(String absolutePathToPreMxmlFile) { - _absolutePathToPreMxmlFile = absolutePathToPreMxmlFile; - } - public int getMajorLevel() { - return _majorLevel; - } - public void setMajorLevel(int majorLevel) { - _majorLevel = majorLevel; - } - public int getMinorLevel() { - return _minorLevel; - } - public void setMinorLevel(int minorLevel) { - _minorLevel = minorLevel; - } - public String getParentPreMxmlIdentifier() { - return _parentPreMxmlIdentifier; - } - public void setParentPreMxmlIdentifier(String parentPreMxmlIdentifier) { - _parentPreMxmlIdentifier = parentPreMxmlIdentifier; - } - public String getPreMxmlIdentifier() { - return _preMxmlIdentifier; - } - public void setPreMxmlIdentifier(String preMxmlIdentifier) { - _preMxmlIdentifier = preMxmlIdentifier; - } - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - - /** - * The value can either be a static value (ID) or an EL expression. When a static id is - * specified, an instance of the converter type registered with that id is used. When this is an - * EL expression, the result of evaluating the expression must be an object that implements the - * Converter interface. - */ - @JSFProperty( - inheritedTag = true, - desc = "The value can either be a static value (ID) or an EL expression. When a static id is specified, an instance of the converter type registered with that id is used. When this is an EL expression, the result of evaluating the expression must be an object that implements the Converter interface." - ) - @Override - public Converter getConverter(){ - return super.getConverter(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIPreserveInServer.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIPreserveInServer.java deleted file mode 100644 index 00f997bd..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIPreserveInServer.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component; - -import java.io.IOException; -import java.util.Map; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -/** - * This class will contain code to allow subclasses in performing aynchronous calls - * - * @author Ji Hoon Kim - */ -@JSFComponent( - type = "com.googlecode.jsfFlex.FlexUIPreserveInServer", - family = "javax.faces.FlexUIPreserveInServer", - desc = "Base component for FlexPreserveInServer components" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIPreserveInServer") -public abstract class AbstractFlexUIPreserveInServer extends AbstractFlexUISimpleBase { - - @Override - public void encodeEnd(FacesContext context) throws IOException { - super.encodeEnd(context); - - /* - * adding the component to the session for future asynchronous requests - */ - Map sessionMap = context.getExternalContext().getSessionMap(); - sessionMap.put(getId(), this); - - } - - @Override - public void decode(FacesContext context) { - super.decode(context); - - /* - * No longer needed, so remove the content. - */ - Map sessionMap = context.getExternalContext().getSessionMap(); - sessionMap.remove(getId()); - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUISelectedBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUISelectedBase.java deleted file mode 100644 index b0ea1635..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUISelectedBase.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUISelectedAttribute; - -/** - * This class will process the needed actions of setting and retrieving of "selected" attribute
    - * within the Flex components.
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - clazz = "com.googlecode.jsfFlex.component.FlexUISelectedBase", - type = "com.googlecode.jsfFlex.FlexUISelectedBase", - family = "javax.faces.FlexUISelectedBase", - desc = "Base component for FlexInput components that contain selected attribute", - template = true -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISelectedBase") -public abstract class AbstractFlexUISelectedBase - extends AbstractFlexUIInputBase - implements IFlexUISelectedAttribute { - - private final static org.apache.commons.logging.Log _log = org.apache.commons.logging.LogFactory.getLog(FlexUISelectedBase.class); - - private static final String SELECTED_ID_APPENDED = "_selected"; - private static final String SELECTED_ATTR = "selected"; - - private org.json.JSONObject initValue; - - protected void populateComponentInitValues(){ - try{ - if(getSelected() != null){ - getInitValue().put(VALUE, getSelected()); - } - }catch(org.json.JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - - private synchronized org.json.JSONObject getInitValue(){ - if(initValue == null){ - try{ - initValue = new org.json.JSONObject(); - initValue.put(ATTRIBUTE, SELECTED_ATTR); - - _initValues.put(initValue); - - }catch(org.json.JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - return initValue; - } - - @Override - public void decode(FacesContext context) { - super.decode(context); - - java.util.Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String selectedId = getId() + SELECTED_ID_APPENDED; - String selectedUpdateVal = requestMap.get(selectedId); - - if(selectedUpdateVal != null){ - setSelected(Boolean.valueOf(selectedUpdateVal)); - setSubmittedValue(selectedUpdateVal); - } - - } - - @Override - public void processUpdates(FacesContext context) { - super.processUpdates(context); - - if (!isRendered() || !isValid()){ - return; - } - - javax.el.ValueExpression ve = getValueExpression(SELECTED_ATTR); - - if(ve != null && !ve.isReadOnly(context.getELContext())){ - ve.setValue(context.getELContext(), getSelected()); - setSelected(null); - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUISelectedIndexBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUISelectedIndexBase.java deleted file mode 100644 index fc8fd5eb..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUISelectedIndexBase.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUISelectedIndexAttribute; - -/** - * This class will process the needed actions of setting and retrieving of "selectedIndex" attribute
    - * within the Flex components.
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - clazz = "com.googlecode.jsfFlex.component.FlexUISelectedIndexBase", - type = "com.googlecode.jsfFlex.FlexUISelectedIndexBase", - family = "javax.faces.FlexUISelectedIndexBase", - desc = "Base component for FlexInput components that contain selectedIndex attribute", - template = true -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISelectedIndexBase") -public abstract class AbstractFlexUISelectedIndexBase - extends AbstractFlexUIInputBase - implements IFlexUISelectedIndexAttribute { - - private final static org.apache.commons.logging.Log _log = org.apache.commons.logging.LogFactory.getLog(FlexUISelectedIndexBase.class); - - private static final String SELECTED_INDEX_ID_APPENDED = "_selectedIndex"; - private static final String SELECTED_INDEX_ATTR = "selectedIndex"; - - private org.json.JSONObject initValue; - - protected void populateComponentInitValues(){ - try{ - if(getSelectedIndex() != null){ - getInitValue().put(VALUE, getSelectedIndex()); - } - }catch(org.json.JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - - private synchronized org.json.JSONObject getInitValue(){ - if(initValue == null){ - try{ - initValue = new org.json.JSONObject(); - initValue.put(ATTRIBUTE, SELECTED_INDEX_ATTR); - - _initValues.put(initValue); - - }catch(org.json.JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - return initValue; - } - - @Override - public void decode(FacesContext context) { - super.decode(context); - - java.util.Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String selectedIndexId = getId() + SELECTED_INDEX_ID_APPENDED; - String selectedIndexUpdateVal = requestMap.get(selectedIndexId); - - if(selectedIndexUpdateVal != null){ - setSelectedIndex(Integer.valueOf(selectedIndexUpdateVal)); - setSubmittedValue(selectedIndexUpdateVal); - } - - } - - @Override - public void processUpdates(FacesContext context) { - super.processUpdates(context); - - if (!isRendered() || !isValid()){ - return; - } - - javax.el.ValueExpression ve = getValueExpression(SELECTED_INDEX_ATTR); - - if(ve != null && !ve.isReadOnly(context.getELContext())){ - ve.setValue(context.getELContext(), getSelectedIndex()); - setSelectedIndex(null); - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUISimpleBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUISimpleBase.java deleted file mode 100644 index 81900dbf..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUISimpleBase.java +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component; - -import java.io.IOException; - -import javax.faces.component.FacesComponent; -import javax.faces.component.UIComponentBase; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.renderkit.annotationDocletParser.AbstractAnnotationDocletParser; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.tasks.AbstractRunnerFactory; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * This component should be used as the base action of the component if the component
    - * does not require any preservation of values during the post-back phase [i.e. AbstractFlexUIVideoDisplay].
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - type = "com.googlecode.jsfFlex.FlexUISimpleBase", - family = "javax.faces.FlexUISimpleBase", - desc = "Base component for FlexSimple components" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISimpleBase") -public abstract class AbstractFlexUISimpleBase extends UIComponentBase implements IFlexContract { - - private AbstractAnnotationDocletParser _annotationDocletParserInstance; - - private String _absolutePathToPreMxmlFile; - private String _preMxmlIdentifier; - private String _parentPreMxmlIdentifier; - /* - * below two variables dictate the depth and the height of this component - * in reference to the top component which should be of FlexApplication. - */ - private int _majorLevel = -1; - private int _minorLevel = -1; - - public AbstractFlexUISimpleBase(){ - super(); - } - - public JSONObject getComponentInitValues(){ - return null; - } - - public String getNameSpaceOverride(){ - return null; - } - - public synchronized AbstractAnnotationDocletParser getAnnotationDocletParserInstance(){ - - if(_annotationDocletParserInstance == null){ - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - AbstractRunnerFactory runnerFactoryInstance = flexContext.getRunnerFactoryInstance(); - _annotationDocletParserInstance = runnerFactoryInstance.getAnnotationDocletParserImpl(); - } - - return _annotationDocletParserInstance; - } - - @Override - public void encodeBegin(FacesContext context) throws IOException { - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - if(flexContext.isProductionEnv()){ - //means no need to create preMxml files - setRendered(false); - } - - super.encodeBegin(context); - } - - @Override - public void processDecodes(FacesContext context) { - String mode = context.getExternalContext().getInitParameter(FlexConstants.CONFIG_MODE_NAME); - if(mode == null || mode.equals(FlexConstants.PRODUCTION_MODE)){ - //need to dataBind so set back to true - setRendered(true); - } - - super.processDecodes(context); - } - - public String getAbsolutePathToPreMxmlFile() { - return _absolutePathToPreMxmlFile; - } - public void setAbsolutePathToPreMxmlFile(String absolutePathToPreMxmlFile) { - _absolutePathToPreMxmlFile = absolutePathToPreMxmlFile; - } - public int getMajorLevel() { - return _majorLevel; - } - public void setMajorLevel(int majorLevel) { - _majorLevel = majorLevel; - } - public int getMinorLevel() { - return _minorLevel; - } - public void setMinorLevel(int minorLevel) { - _minorLevel = minorLevel; - } - public String getParentPreMxmlIdentifier() { - return _parentPreMxmlIdentifier; - } - public void setParentPreMxmlIdentifier(String parentPreMxmlIdentifier) { - _parentPreMxmlIdentifier = parentPreMxmlIdentifier; - } - public String getPreMxmlIdentifier() { - return _preMxmlIdentifier; - } - public void setPreMxmlIdentifier(String preMxmlIdentifier) { - _preMxmlIdentifier = preMxmlIdentifier; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUITextInputBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUITextInputBase.java deleted file mode 100644 index de0673d5..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUITextInputBase.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUITextAttribute; - -/** - * This class will process the needed actions of setting and retrieving of "text" attribute
    - * within the Flex components.
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - clazz = "com.googlecode.jsfFlex.component.FlexUITextInputBase", - type = "com.googlecode.jsfFlex.FlexUITextInputBase", - family = "javax.faces.FlexUITextInputBase", - desc = "Base component for FlexInput components that contain text attribute", - template = true -) -@FacesComponent("com.googlecode.jsfFlex.FlexUITextInputBase") -public abstract class AbstractFlexUITextInputBase - extends AbstractFlexUIInputBase - implements IFlexUITextAttribute { - - private final static org.apache.commons.logging.Log _log = org.apache.commons.logging.LogFactory.getLog(FlexUITextInputBase.class); - - private static final String TEXT_ATTR = "text"; - private static final String TEXT_ID_APPENDED = "_text"; - - private org.json.JSONObject initValue; - - protected void populateComponentInitValues(){ - try{ - if(getText() != null){ - getInitValue().put(VALUE, com.googlecode.jsfFlex.shared.util.FlexJsfUtil.escapeCharacters( getText() )); - } - }catch(org.json.JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - throw new com.googlecode.jsfFlex.shared.exception.ComponentBuildException(jsonException); - } - } - - private synchronized org.json.JSONObject getInitValue(){ - if(initValue == null){ - try{ - initValue = new org.json.JSONObject(); - initValue.put(ATTRIBUTE, TEXT_ATTR); - - _initValues.put(initValue); - - }catch(org.json.JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - return initValue; - } - - @Override - public void decode(FacesContext context) { - super.decode(context); - - java.util.Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String textId = getId() + TEXT_ID_APPENDED; - String textUpdateVal = requestMap.get(textId); - - if(textUpdateVal != null){ - setText(textUpdateVal); - setSubmittedValue(textUpdateVal); - } - } - - @Override - public void processUpdates(FacesContext context) { - super.processUpdates(context); - - if (!isRendered() || !isValid()){ - return; - } - - javax.el.ValueExpression ve = getValueExpression(TEXT_ATTR); - - if(ve != null && !ve.isReadOnly(context.getELContext())){ - ve.setValue(context.getELContext(), getText()); - setText(null); - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIValueBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIValueBase.java deleted file mode 100644 index 16568027..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIValueBase.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component; - -import java.util.Map; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; -import org.json.JSONException; -import org.json.JSONObject; - -/** - * This class will process the needed actions of setting and retrieving of "value" attribute
    - * within the Flex components.
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - type = "com.googlecode.jsfFlex.FlexUIValueBase", - family = "javax.faces.FlexUIValueBase", - desc = "Base component for FlexInput components that contain value attribute" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIValueBase") -public abstract class AbstractFlexUIValueBase extends AbstractFlexUIInputBase { - - private final static Log _log = LogFactory.getLog(AbstractFlexUIValueBase.class); - - private static final String VALUE_ATTR = "value"; - private static final String VALUE_ID_APPENDED = "_value"; - - private JSONObject initValue; - - { - try{ - initValue = new JSONObject(); - initValue.put(ATTRIBUTE, VALUE_ATTR); - - _initValues.put(initValue); - - }catch(JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - - protected void populateComponentInitValues(){ - try{ - if(getValue() != null){ - initValue.put(VALUE, (String) getValue()); - } - }catch(JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - - @Override - public void decode(FacesContext context) { - super.decode(context); - - Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String valueId = getId() + VALUE_ID_APPENDED; - String valueUpdateVal = requestMap.get(valueId); - - if(valueUpdateVal != null){ - setValue(valueUpdateVal); - setSubmittedValue(valueUpdateVal); - } - - } - - /** - * Current value. - */ - @JSFProperty( - inheritedTag = true, - desc = "Current value." - ) - @Override - public Object getValue(){ - return super.getValue(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIViewStackBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIViewStackBase.java deleted file mode 100644 index e5e71320..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/AbstractFlexUIViewStackBase.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component; - -import java.io.IOException; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -/** - * This class will extend from FlexUISelectedIndexBase class, so it will process the needed actions
    - * of setting and retrieving of "selectedIndex" and "text" attributes. Additional task taken by the
    - * component is to set the "creationPolicy" to "all", so that the Flex component will be accessible
    - * after it finished its loading.
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - type = "com.googlecode.jsfFlex.FlexUIViewStackBase", - family = "javax.faces.FlexUIViewStackBase", - desc = "Base component for FlexInput components that contain selected attribute AND sets the creationPolicy to all [for setting the initial values]" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIViewStackBase") -public abstract class AbstractFlexUIViewStackBase extends com.googlecode.jsfFlex.component.FlexUISelectedIndexBase { - - @Override - public void encodeBegin(FacesContext context) throws IOException { - /* - * HACK : - * Setting creationPolicy to "all", so the components which are not - * shown by the non-selected Container would be created and can be referred - * during the initialization/value preserving process - * - * I think this is the most prudent choice - */ - setCreationPolicy("all"); - super.encodeBegin(context); - } - - public abstract void setCreationPolicy(String creationPolicy); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIAdditionalComponent.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIAdditionalComponent.java deleted file mode 100644 index c0c43775..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIAdditionalComponent.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIComponentNameAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIComponentNameSpaceAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAdditionalComponent", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIAdditionalComponent", - type = "com.googlecode.jsfFlex.FlexUIAdditionalComponent", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIAdditionalComponentTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexAdditionalComponent" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAdditionalComponent") -public abstract class AbstractFlexUIAdditionalComponent - extends AbstractFlexUISimpleBase - implements IFlexUIComponentNameAttribute, IFlexUIComponentNameSpaceAttribute { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIApplication.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIApplication.java deleted file mode 100644 index 62cec8e2..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIApplication.java +++ /dev/null @@ -1,523 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import java.io.File; -import java.io.IOException; -import java.util.Collection; -import java.util.HashMap; -import java.util.LinkedList; -import java.util.Map; - -import javax.faces.component.FacesComponent; -import javax.faces.component.UIComponentBase; -import javax.faces.context.ExternalContext; -import javax.faces.context.FacesContext; -import javax.servlet.ServletContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFJspProperty; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUITitleAttribute; -import com.googlecode.jsfFlex.renderkit.annotationDocletParser.AbstractAnnotationDocletParser; -import com.googlecode.jsfFlex.renderkit.html.util.AbstractJsfFlexResource; -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.beans.others.JsfFlexFlashApplicationConfiguration; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.context.FlexContextImpl; -import com.googlecode.jsfFlex.shared.tasks.AbstractRunnerFactory; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -@JSFJspProperty(name="initialize", returnType="java.lang.String", longDesc="Function to invoke after initialization.") -@JSFComponent( - name = "jf:flexApplication", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIApplication", - type = "com.googlecode.jsfFlex.FlexUIApplication", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIApplicationTag", - family = "javax.faces.FlexApplication", - defaultRendererType = "com.googlecode.jsfFlex.FlexApplication" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIApplication") -public abstract class AbstractFlexUIApplication - extends UIComponentBase - implements IFlexUIBaseAttributes, IFlexApplicationContract, IFlexUITitleAttribute { - - private static final String JSF_FLEX_COMMUNICATOR_CORE_JS = "jsfFlexCommunicatorCore.js"; - private static final String JSF_FLEX_COMMUNICATOR_LOGGER_JS = "jsfFlexCommunicatorLogger.js"; - - private static final String INITIALIZE_ATTR = "initialize"; - - private static final String MX_XMLNS = "xmlns:mx"; - private static final String S_XMLNS = "xmlns:s"; - private static final String FX_XMLNS = "xmlns:fx"; - private static final String XMLNS_PREFIX = "xmlns:"; - private static final String MX_DEFAULT_XMLNS_URL = "library://ns.adobe.com/flex/mx"; - private static final String S_DEFAULT_XMLNS_URL = "library://ns.adobe.com/flex/spark"; - private static final String FX_DEFAULT_XMLNS_URL = "http://ns.adobe.com/mxml/2009"; - - private static final String INITIALIZE_CALL = "initializeApp(event);"; - - private AbstractAnnotationDocletParser _annotationDocletParserInstance; - - private String _absolutePathToPreMxmlFile; - - private String _preMxmlIdentifier; - private String _parentPreMxmlIdentifier; - /* - * below two variables dictate the depth and the height of this component - * in reference to the top component which should be of FlexApplication. - */ - private int _majorLevel = -1; - private int _minorLevel = -1; - - private String _applicationPath; - private Collection _externalLibraryPath; - private Collection _runtimeSharedLibraries; - private Map _xmlnsMap; - - private boolean _accessible; - - { - _externalLibraryPath = new LinkedList(); - _runtimeSharedLibraries = new LinkedList(); - _xmlnsMap = new HashMap(); - } - - @Override - public void encodeBegin(FacesContext context) throws IOException { - - ExternalContext extContext = context.getExternalContext(); - - ServletContext servContext = ServletContext.class.cast( extContext.getContext() ); - setApplicationPath( servContext.getRealPath("") ); - - Map xmlnsMap = getXmlnsMap(); - xmlnsMap.put(MX_XMLNS, MX_DEFAULT_XMLNS_URL); - xmlnsMap.put(S_XMLNS, S_DEFAULT_XMLNS_URL); - xmlnsMap.put(FX_XMLNS, FX_DEFAULT_XMLNS_URL); - - if(getProvidedAdditionalXmlnsMap() != null){ - Map providedAdditionalXmlnsMap = getProvidedAdditionalXmlnsMap(); - for(String currXmlnsKey : providedAdditionalXmlnsMap.keySet()){ - String currXmlnsUrl = providedAdditionalXmlnsMap.get(currXmlnsKey); - currXmlnsKey = currXmlnsKey.indexOf(':') > -1 ? currXmlnsKey : XMLNS_PREFIX + currXmlnsKey; - xmlnsMap.put(currXmlnsKey, currXmlnsUrl); - } - } - - String mode = extContext.getInitParameter(FlexConstants.CONFIG_MODE_NAME); - AbstractFlexContext flexContext = new FlexContextImpl(getMxmlPackageName(), mode, this); - - String webContextPath = extContext.getRequestContextPath(); - String swfWebPath = webContextPath + "/" + FlexConstants.SWF_DIRECTORY_NAME + "/"; - String applicationSwfWebPath = swfWebPath + getMxmlPackageName() + "/"; - flexContext.setSwfWebPath(swfWebPath); - flexContext.setApplicationSwfWebPath(applicationSwfWebPath); - flexContext.setWebContextPath(webContextPath); - - //setting or appending scripts to execute upon application initialization - String init = String.class.cast( getAttributes().get(INITIALIZE_ATTR) ); - init = (init == null) ? INITIALIZE_CALL : init + " " + INITIALIZE_CALL; - getAttributes().put(INITIALIZE_ATTR, init); - - String localeWebContextRelativePath = extContext.getInitParameter(FlexConstants.LOCALE_WEB_CONTEXT_RELATIVE_PATH); - if(localeWebContextRelativePath != null){ - flexContext.setLocaleWebContextPath(_applicationPath + File.separatorChar + localeWebContextRelativePath + File.separatorChar); - } - - String flexJavaSDKPath = extContext.getInitParameter(FlexConstants.FLEX_JAVA_SDK_PATH); - if(flexJavaSDKPath != null){ - flexContext.setFlexJavaSDKPath(flexJavaSDKPath); - } - - String projectWorkspaceWebFlashDirectory= extContext.getInitParameter(FlexConstants.PROJECT_WORKSPACE_WEB_FLASH_DIRECTORY); - if(projectWorkspaceWebFlashDirectory != null){ - flexContext.setProjectWorkspaceWebFlashDirectory(projectWorkspaceWebFlashDirectory); - } - - //to reflect the correct state when debugging - if(flexContext.isProductionEnv()){ - //do not need to create preMXML, MXML, and SWF files - - }else{ - String mxmlPath = _applicationPath + File.separatorChar + FlexConstants.MXML_DIRECTORY_NAME + File.separatorChar + - getMxmlPackageName() + File.separatorChar; - String swfPath = _applicationPath + File.separatorChar + FlexConstants.SWF_DIRECTORY_NAME + File.separatorChar; - String applicationSwfPath = swfPath + getMxmlPackageName() + File.separatorChar + getMxmlPackageName() + FlexConstants.SWF_FILE_EXT; - - /* - * The above swfBasePath will hold placeholder of where swf-source-files's source-file[s] will be echoed to. - * The files that will be echoed can be found in flexConstants.xml and are simply the contents that will be used - * by the system's ActionScripts. - */ - String flexSDKPath = _applicationPath + File.separatorChar + FlexConstants.FLEX_SDK_DIRECTORY_NAME + File.separatorChar; - String webXmlFlexSDKPath = extContext.getInitParameter(FlexConstants.PROVIDED_FLEX_SDK_PATH); - String swcPath = _applicationPath + File.separatorChar + FlexConstants.SWC_DIRECTORY_NAME + File.separatorChar; - String jsfFlexSwcPath = swcPath + FlexConstants.JSF_FLEX_MAIN_SWC_DIRECTORY_NAME + File.separatorChar; - - //externalLibraryPath will contain .swc file - String swcFileAbsolutePath = jsfFlexSwcPath + FlexConstants.JSF_FLEX_MAIN_SWC_ARCHIVE_NAME + FlexConstants.SWC_FILE_EXT; - addExternalLibraryPath(swcFileAbsolutePath); - - //runtimeSharedLibrary has to be relative to the Web root path file - String jsfFlexMainSwcWebpath = swfWebPath + FlexConstants.JSF_FLEX_MAIN_SWC_ARCHIVE_NAME + FlexConstants.SWF_FILE_EXT; - addRuntimeSharedLibrary(jsfFlexMainSwcWebpath); - - if(getFlexSDKPath() != null && getFlexSDKPath().trim().length() > 0){ - flexContext.setFlexSDKPath(getFlexSDKPath()); - }else if(webXmlFlexSDKPath != null){ - flexContext.setFlexSDKPath(webXmlFlexSDKPath); - }else{ - flexContext.setFlexSDKPath(flexSDKPath); - } - flexContext.setMxmlPath(mxmlPath); - flexContext.setApplicationSwfPath(applicationSwfPath); - flexContext.setSwfPath(swfPath); - flexContext.setJsfFlexSwcPath(jsfFlexSwcPath); - flexContext.setSwcPath(swcPath); - - //set the attributes for jsfFlexFlashApplicationConfiguration - JsfFlexFlashApplicationConfiguration jsfFlexFlashApplicationConfiguration = flexContext.getJsfFlexFlashApplicationConfiguration(); - String flashToJavaScriptLogLevel = extContext.getInitParameter(FlexConstants.FLASH_TO_JAVASCRIPT_LOG_LEVEL_NAME); - if(flashToJavaScriptLogLevel == null){ - - flashToJavaScriptLogLevel = extContext.getInitParameter(FlexConstants.CONFIG_MODE_NAME); - if(flashToJavaScriptLogLevel.equals(FlexConstants.PRODUCTION_MODE)){ - flashToJavaScriptLogLevel = FlexConstants.FLASH_TO_JAVASCRIPT_LOG_WARN_LEVEL; - }else{ - flashToJavaScriptLogLevel = FlexConstants.FLASH_TO_JAVASCRIPT_LOG_LOG_LEVEL; - } - } - - if(flashToJavaScriptLogLevel.equals(FlexConstants.FLASH_TO_JAVASCRIPT_LOG_LOG_LEVEL)){ - jsfFlexFlashApplicationConfiguration.setFlashToJavaScriptLogMode("1"); - }else if(flashToJavaScriptLogLevel.equals(FlexConstants.FLASH_TO_JAVASCRIPT_LOG_DEBUG_LEVEL)){ - jsfFlexFlashApplicationConfiguration.setFlashToJavaScriptLogMode("2"); - }else if(flashToJavaScriptLogLevel.equals(FlexConstants.FLASH_TO_JAVASCRIPT_LOG_INFO_LEVEL)){ - jsfFlexFlashApplicationConfiguration.setFlashToJavaScriptLogMode("3"); - }else if(flashToJavaScriptLogLevel.equals(FlexConstants.FLASH_TO_JAVASCRIPT_LOG_WARN_LEVEL)){ - jsfFlexFlashApplicationConfiguration.setFlashToJavaScriptLogMode("4"); - }else { - jsfFlexFlashApplicationConfiguration.setFlashToJavaScriptLogMode("5"); - } - - String preMxmlPath = _applicationPath + File.separatorChar + FlexConstants.PREMXML_DIRECTORY_NAME + File.separatorChar + - getMxmlPackageName() + File.separatorChar; - flexContext.setPreMxmlPath(preMxmlPath); - - //Does this even need to be present within the JSF-component or should it passed as default within the task? - setAccessible(true); - - } - - super.encodeBegin(context); - } - - @Override - public void encodeEnd(FacesContext context) throws IOException { - - AbstractJsfFlexResource jsfFlexResource = AbstractJsfFlexResource.getInstance(); - jsfFlexResource.addResource(getClass(), JSF_FLEX_COMMUNICATOR_CORE_JS); - jsfFlexResource.addResource(getClass(), JSF_FLEX_COMMUNICATOR_LOGGER_JS); - - super.encodeEnd(context); - } - - public JSONObject getComponentInitValues(){ - return null; - } - - public synchronized AbstractAnnotationDocletParser getAnnotationDocletParserInstance(){ - - if(_annotationDocletParserInstance == null){ - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - AbstractRunnerFactory runnerFactoryInstance = flexContext.getRunnerFactoryInstance(); - _annotationDocletParserInstance = runnerFactoryInstance.getAnnotationDocletParserImpl(); - } - - return _annotationDocletParserInstance; - } - - public String getApplicationPath() { - return _applicationPath; - } - public void setApplicationPath(String applicationPath) { - _applicationPath = applicationPath; - } - public Collection getExternalLibraryPath() { - return _externalLibraryPath; - } - public void addExternalLibraryPath(String externalLibraryPath) { - _externalLibraryPath.add(externalLibraryPath); - } - public Collection getRuntimeSharedLibraries() { - return _runtimeSharedLibraries; - } - public void addRuntimeSharedLibrary(String runtimeSharedLibrary) { - _runtimeSharedLibraries.add(runtimeSharedLibrary); - } - public Map getXmlnsMap() { - return _xmlnsMap; - } - public boolean isAccessible() { - return _accessible; - } - public void setAccessible(boolean accessible) { - _accessible = accessible; - } - - public String getAbsolutePathToPreMxmlFile() { - return _absolutePathToPreMxmlFile; - } - public void setAbsolutePathToPreMxmlFile(String absolutePathToPreMxmlFile) { - _absolutePathToPreMxmlFile = absolutePathToPreMxmlFile; - } - public int getMajorLevel() { - return _majorLevel; - } - public void setMajorLevel(int majorLevel) { - _majorLevel = majorLevel; - } - public int getMinorLevel() { - return _minorLevel; - } - public void setMinorLevel(int minorLevel) { - _minorLevel = minorLevel; - } - public String getParentPreMxmlIdentifier() { - return _parentPreMxmlIdentifier; - } - public void setParentPreMxmlIdentifier(String parentPreMxmlIdentifier) { - _parentPreMxmlIdentifier = parentPreMxmlIdentifier; - } - public String getPreMxmlIdentifier() { - return _preMxmlIdentifier; - } - public void setPreMxmlIdentifier(String preMxmlIdentifier) { - _preMxmlIdentifier = preMxmlIdentifier; - } - - /** - * The mxmlPackageName for the application. - */ - @JSFProperty( - required = true, - desc = "The mxmlPackageName for the application." - ) - public abstract String getMxmlPackageName(); - - /** - * Allows user to provide Swf HTML Wrapper content. First content should have a key as object and value as JSONObject for values such as classid, codebase, and etcetera. - * - * @return - */ - @JSFProperty(desc = "Allows user to provide Swf HTML Wrapper content. First content should have a key as object and value as JSONObject for values such as classid, codebase, and etcetera.") - public abstract JSONObject getSwfHTMLWrapperContent(); - - /** - * Additional xmlns in form of key/value where key is the prefix and the value being the url. - */ - @JSFProperty(desc = "Additional xmlns in form of key/value where key is the prefix and the value being the url.") - public abstract Map getProvidedAdditionalXmlnsMap(); - - /** - * This value will allow users to provide additional mxmlc commands during creation of the swf files. Note that it will be a simple mapping between a key and its value, meaning if there requires an equal sign, it is assumed that it has been provied within the key or its value. - */ - @JSFProperty(desc = "This value will allow users to provide additional mxmlc commands during creation of the swf files. Note that it will be a simple mapping between a key and its value, meaning if there requires an equal sign, it is assumed that it has been provied within the key or its value.") - public abstract Map getAdditionalMxmlcCommandArguments(); - - /** - * This value will allow users to provide additional swc commands during creation of the JSF Flex's system library. - */ - @JSFProperty(desc = "This value will allow users to provide additional swc commands during creation of the JSF Flex's system library.") - public abstract Map getAdditionalSwccCommandArguments(); - - /** - * This value will be passed to the mxmlc compiler when creating a SWF. It must be an absolutePath to a filesystem where additional ActionScript and MXML files that are needed for the current SWF generation are located at. - */ - @JSFProperty(desc = "This value will be passed to the mxmlc compiler when creating a SWF. It must be an absolutePath to a filesystem where additional ActionScript and MXML files that are needed for the current SWF generation are located at.") - public abstract Collection getSourcePath(); - - /** - * This value represents Collection of additional SWC files. For instance, if one wishes to use additional open source projects or self projects that is archived as a SWC file, JSF Flex will unzip those files and place them within the same directory that JSF Flex's SWC file is extracted to to create links for the to be created SWF file. - */ - @JSFProperty(desc = "This value represents Collection of additional SWC files. For instance, if one wishes to use additional open source projects or self projects that is archived as a SWC files, JSF Flex will unzip those files and place them within the same directory that JSF Flex's SWC file is extracted to to create dynamic links for the to be created SWF file.") - public abstract Collection getProvidedAdditionalExternalLibaryPath(); - - /** - * This value will be passed to the mxmlc compiler when creating a SWF. It represents the defaultBgColor, surprise. - */ - @JSFProperty(desc = "This value will be passed to the mxmlc compiler when creating a SWF. It represents the defaultBgColor, surprise.") - public abstract String getDefaultBgColor(); - - /** - * This value will be passed to the mxmlc compiler when creating a SWF. It represents the max level of recursion that the Flash VM will allow. - */ - @JSFProperty(desc = "This value will be passed to the mxmlc compiler when creating a SWF. It represents the max level of recursion that the Flash VM will allow.") - public abstract Integer getMaxLvRecursion(); - - /** - * This value will be passed to the mxmlc compiler when creating a SWF. It represents the max script exec time that the Flash VM will allow. - */ - @JSFProperty(desc = "This value will be passed to the mxmlc compiler when creating a SWF. It represents the max script exec time that the Flash VM will allow.") - public abstract Integer getMaxScriptExecTime(); - - /** - * This value will be passed to the mxmlc compiler when creating a SWF. It represents whether the creation of the SWF files will based incrementally. - */ - @JSFProperty(desc = "This value will be passed to the mxmlc compiler when creating a SWF. It represents whether the creation of the SWF files will based incrementally.") - public abstract boolean isIncremental(); - - /** - * This value will be passed to the mxmlc compiler when creating a SWF. It should bean absolutePath to a loadConfig XML file that specifies attributes for the mxmlc. - */ - @JSFProperty(desc = "This value will be passed to the mxmlc compiler when creating a SWF. It should bean absolutePath to a loadConfig XML file that specifies attributes for the mxmlc.") - public abstract String getLoadConfig(); - - /** - * This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF. - */ - @JSFProperty(desc = "This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.") - public abstract String getDescription(); - - /** - * This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF. - */ - @JSFProperty(desc = "This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.") - public abstract String getCreator(); - - /** - * This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF. - */ - @JSFProperty(desc = "This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.") - public abstract String getPublisher(); - - /** - * This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF. - */ - @JSFProperty(desc = "This value will be passed to the mxmlc compiler when creating a SWF. It simply isa metadata for the SWF.") - public abstract String getLanguage(); - - /** - * This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF. - */ - @JSFProperty(desc = "This value will be passed to the mxmlc compiler when creating a SWF. It simply is a metadata for the SWF.") - public abstract String getDate(); - - /** - * This value will represent the FlexSDK path within user's workspace [i.e. if they wish to use a different Flex SDK or if they do not wish to wait for the long Flex SDK zip extraction]. - */ - @JSFProperty(desc = "This value will represent the FlexSDK path within user's workspace [i.e. if they wish to use a different Flex SDK or if they do not wish to wait for the long Flex SDK zip extraction].") - public abstract String getFlexSDKPath(); - - /* - * Error attributes for ValidationManagerScriptContent.java - */ - - /** - * Color of text for the error component. The default value is 0x0B333C. - */ - @JSFProperty(desc = "Color of text for the error component. The default value is 0x0B333C.") - public abstract String getErrorColor(); - - /** - * Sets the antiAliasType property of internal TextFields for the error component. Possible values are normal and advanced. - */ - @JSFProperty(desc = "Sets the antiAliasType property of internal TextFields for the error component. Possible values are normal and advanced.") - public abstract String getErrorFontAntiAliasType(); - - /** - * Name of the font to use for the error component. The default value is Verdana. - */ - @JSFProperty(desc = "Name of the font to use for the error component. The default value is Verdana.") - public abstract String getErrorFontFamily(); - - /** - * Sets the gridFitType property of internal TextFields for the error component that represent text in Flex controls. The possible values are none, pixel, and subpixel. - */ - @JSFProperty(desc = "Sets the gridFitType property of internal TextFields for the error component that represent text in Flex controls. The possible values are none, pixel, and subpixel.") - public abstract String getErrorFontGridFitType(); - - /** - * Sets the sharpness property of internal TextFields for the error component that represent text in Flex controls. This property specifies the sharpness of the glyph edges. The possible values are Numbers from -400 through 400. - */ - @JSFProperty(desc = "Sets the sharpness property of internal TextFields for the error component that represent text in Flex controls. This property specifies the sharpness of the glyph edges. The possible values are Numbers from -400 through 400.") - public abstract String getErrorFontSharpness(); - - /** - * Height of the text for the error component, in pixels. The default value is 10. - */ - @JSFProperty(desc = "Height of the text for the error component, in pixels. The default value is 10.") - public abstract String getErrorFontSize(); - - /** - * Determines whether the text for the error component is italic font. Recognized values are normal and italic. - */ - @JSFProperty(desc = "Determines whether the text for the error component is italic font. Recognized values are normal and italic.") - public abstract String getErrorFontStyle(); - - /** - * Sets the thickness property of internal TextFields for the error component that represent text in Flex controls. This property specifies the thickness of the glyph edges. The possible values are Numbers from -200 to 200. - */ - @JSFProperty(desc = "Sets the thickness property of internal TextFields for the error component that represent text in Flex controls. This property specifies the thickness of the glyph edges. The possible values are Numbers from -200 to 200.") - public abstract String getErrorFontThickness(); - - /** - * Determines whether the text for the error component is boldface. Recognized values are normal and bold. - */ - @JSFProperty(desc = "Determines whether the text for the error component is boldface. Recognized values are normal and bold.") - public abstract String getErrorFontWeight(); - - /** - * Number of pixels between the error component's container's left border and the left edge of its content area. - */ - @JSFProperty(desc = "Number of pixels between the error component's container's left border and the left edge of its content area.") - public abstract String getErrorPaddingLeft(); - - /** - * Number of pixels between the error component's container's right border and the right edge of its content area. - */ - @JSFProperty(desc = "Number of pixels between the error component's container's right border and the right edge of its content area.") - public abstract String getErrorPaddingRight(); - - /** - * Alignment of text for the error component within a container. Possible values are left, right, or center. - */ - @JSFProperty(desc = "Alignment of text for the error component within a container. Possible values are left, right, or center.") - public abstract String getErrorTextAlign(); - - /** - * Determines whether the text for the error component is underlined. Possible values are none and underline. - */ - @JSFProperty(desc = "Determines whether the text for the error component is underlined. Possible values are none and underline.") - public abstract String getErrorTextDecoration(); - - /** - * Offset of first line of text for the error component from the left side of the container, in pixels. - */ - @JSFProperty(desc = "Offset of first line of text for the error component from the left side of the container, in pixels.") - public abstract String getErrorTextIndent(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIButton.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIButton.java deleted file mode 100644 index 4ca6b8ad..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIButton.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUICommandBase; -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexButton", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIButton", - type = "com.googlecode.jsfFlex.FlexUIButton", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIButtonTag", - family = "javax.faces.FlexCommandBase", - defaultRendererType = "com.googlecode.jsfFlex.FlexButton" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIButton") -public abstract class AbstractFlexUIButton - extends AbstractFlexUICommandBase - implements IFlexUIBaseAttributes { - - private static final String EVENT_HANDLER_EVENT_NAME = "buttonDown"; - - public IFlexEvent.EVENT_HANDLER_TYPE getEventHandlerType() { - return IFlexEvent.EVENT_HANDLER_TYPE.SUBMIT_FORM_EVENT_HANDLER; - } - - public String getEventHandlerEventName() { - return EVENT_HANDLER_EVENT_NAME; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIButtonBar.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIButtonBar.java deleted file mode 100644 index fcfc6fa8..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIButtonBar.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexButtonBar", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIButtonBar", - type = "com.googlecode.jsfFlex.FlexUIButtonBar", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIButtonBarTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexButtonBar" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIButtonBar") -public abstract class AbstractFlexUIButtonBar - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUICheckBox.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUICheckBox.java deleted file mode 100644 index 748fd2a8..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUICheckBox.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexCheckBox", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUICheckBox", - type = "com.googlecode.jsfFlex.FlexUICheckBox", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUICheckBoxTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexCheckBox", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUICheckBox") -public abstract class AbstractFlexUICheckBox - extends com.googlecode.jsfFlex.component.FlexUISelectedBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIColorPicker.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIColorPicker.java deleted file mode 100644 index a8fa15d4..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIColorPicker.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import java.util.Map; - -import javax.el.ValueExpression; -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUISelectedColorAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUIInputBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexColorPicker", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIColorPicker", - type = "com.googlecode.jsfFlex.FlexUIColorPicker", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIColorPickerTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexColorPicker", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIColorPicker") -public abstract class AbstractFlexUIColorPicker - extends AbstractFlexUIInputBase - implements IFlexUIBaseAttributes, IFlexUISelectedColorAttribute { - - private final static Log _log = LogFactory.getLog(AbstractFlexUIColorPicker.class); - - private static final String SELECTED_COLOR_ATTR = "selectedColor"; - private static final String SELECTED_COLOR_ID_APPENDED = "_selectedColor"; - - private JSONObject initValue; - - { - try{ - initValue = new JSONObject(); - initValue.put(ATTRIBUTE, SELECTED_COLOR_ATTR); - - _initValues.put(initValue); - - }catch(JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - - @Override - protected void populateComponentInitValues(){ - try{ - if(getSelectedColor() != null){ - initValue.put(VALUE, getSelectedColor()); - } - }catch(JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - - @Override - public void decode(FacesContext context) { - super.decode(context); - - Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String selectedColorId = getId() + SELECTED_COLOR_ID_APPENDED; - String selectedColorUpdateVal = requestMap.get(selectedColorId); - - if(selectedColorUpdateVal != null){ - setSelectedColor(selectedColorUpdateVal); - setSubmittedValue(selectedColorUpdateVal); - } - - } - - @Override - public void processUpdates(FacesContext context) { - super.processUpdates(context); - - if (!isRendered() || !isValid()){ - return; - } - - ValueExpression ve = getValueExpression(SELECTED_COLOR_ATTR); - - if(ve != null && !ve.isReadOnly(context.getELContext())){ - ve.setValue(context.getELContext(), getSelectedColor()); - setSelectedColor(null); - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIComboBox.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIComboBox.java deleted file mode 100644 index 052d59e6..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIComboBox.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import java.io.IOException; -import java.util.Collection; -import java.util.Map; - -import javax.el.ValueExpression; -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; -import javax.faces.model.SelectItem; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUIDataProviderCollectionAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUITextAttribute; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent.ACTION_SCRIPT_IMPORT; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.SimpleDataProviderSetter.DATA_PROVIDER_TYPE; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.util.FlexJsfUtil; - -/** - * AbstractFlexUIComboBox is a special case where the preserving of the state of the "text" field
    - * is held within the code. Main reason is because it extends FlexUISelectedIndexBase and there exists
    - * no reason to create an another base class to preserve both "selectedIndex" + "text".
    - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexComboBox", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIComboBox", - type = "com.googlecode.jsfFlex.FlexUIComboBox", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIComboBoxTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexComboBox", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIComboBox") -public abstract class AbstractFlexUIComboBox - extends com.googlecode.jsfFlex.component.FlexUISelectedIndexBase - implements IFlexUIBaseAttributes, IFlexUIDataProviderCollectionAttribute, IFlexUITextAttribute { - - private final static Log _log = LogFactory.getLog(AbstractFlexUIComboBox.class); - - private static final String DATA_PROPERTY = "data"; - private static final String LABEL_PROPERTY = "label"; - - private static final String TEXT_ATTR = "text"; - private static final String TEXT_ID_APPENDED = "_text"; - - private JSONObject initValue; - - { - try{ - initValue = new JSONObject(); - initValue.put(ATTRIBUTE, TEXT_ATTR); - - _initValues.put(initValue); - - }catch(JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - - @Override - protected void populateComponentInitValues(){ - super.populateComponentInitValues(); - - try{ - if(getText() != null){ - initValue.put(VALUE, FlexJsfUtil.escapeCharacters( getText() )); - } - }catch(JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - - @Override - public void encodeBegin(FacesContext context) throws IOException { - super.encodeBegin(context); - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - - if(!flexContext.isProductionEnv()){ - Collection dataProviderCollection = getDataProviderCollection(); - if(dataProviderCollection != null && dataProviderCollection.size() > 0){ - //For AbstractFlexUIComboBox, entries within the collection must be of type SelectItem - AdditionalApplicationScriptContent additionalApplicationScriptContent = flexContext.getAdditionalAppScriptContent(); - additionalApplicationScriptContent.addActionScriptImport(ACTION_SCRIPT_IMPORT.COMBO_BOX_COMPONENT_AS); - additionalApplicationScriptContent.addActionScriptImport(ACTION_SCRIPT_IMPORT.MX_COLLECTIONS_ILIST_AS); - additionalApplicationScriptContent.addActionScriptImport(ACTION_SCRIPT_IMPORT.MX_COLLECTIONS_ARRAY_LIST_AS); - - JSONArray comboBoxContent = new JSONArray(); - for(Object currInstace : dataProviderCollection){ - SelectItem currSelectItem = SelectItem.class.cast( currInstace ); - - JSONObject comboBoxEntry = new JSONObject(); - - try{ - comboBoxEntry.put(DATA_PROPERTY, currSelectItem.getValue().toString()); - comboBoxEntry.put(LABEL_PROPERTY, currSelectItem.getLabel()); - comboBoxContent.put(comboBoxEntry); - }catch(JSONException jsonException){ - _log.info("Error setting the following content for dataProviderCollection " + - currSelectItem.getValue() + currSelectItem.getLabel(), jsonException); - throw new ComponentBuildException(jsonException); - } - - } - - additionalApplicationScriptContent.addSimpleDataProviderSetter(getId(), DATA_PROVIDER_TYPE.COMBO_BOX, comboBoxContent.toString()); - - } - } - - } - - @Override - public void decode(FacesContext context) { - super.decode(context); - - Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String textId = getId() + TEXT_ID_APPENDED; - String textUpdateVal = requestMap.get(textId); - - if(textUpdateVal != null){ - setText(textUpdateVal); - } - } - - @Override - public void processUpdates(FacesContext context) { - super.processUpdates(context); - - if (!isRendered() || !isValid()){ - return; - } - - ValueExpression ve = getValueExpression(TEXT_ATTR); - - if(ve != null && !ve.isReadOnly(context.getELContext())){ - ve.setValue(context.getELContext(), getText()); - setText(null); - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDataGrid.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDataGrid.java deleted file mode 100644 index 8d63ea9e..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDataGrid.java +++ /dev/null @@ -1,1183 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collections; -import java.util.Comparator; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; -import java.util.concurrent.FutureTask; - -import javax.el.MethodExpression; -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.attributes.IFlexUIAsynchronousEventFilterGlueHandlerAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUIBatchColumnDataRetrievalSizeAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIBindingBeanClassNameAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIBindingBeanListAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIDataProviderAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIEditableAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIFilterColumnComponentIdAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIFilterComponentIdAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIFilterEventListenerAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIQueueFilterThresholdAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIQueuedFilterListBreakUpSizeAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIRowCountAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUIPreserveInServer; -import com.googlecode.jsfFlex.shared.model.event.AbstractEvent; -import com.googlecode.jsfFlex.shared.model.event.AsynchronousFilterEvent; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDataGrid", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIDataGrid", - type = "com.googlecode.jsfFlex.FlexUIDataGrid", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIDataGridTag", - family = "javax.faces.FlexUIPreserveInServer", - defaultRendererType = "com.googlecode.jsfFlex.FlexDataGrid" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDataGrid") -public abstract class AbstractFlexUIDataGrid - extends AbstractFlexUIPreserveInServer - implements IFlexUIBaseAttributes, IFlexUIBindingBeanListAttribute, IFlexUIBindingBeanClassNameAttribute, - IFlexUIBatchColumnDataRetrievalSizeAttribute, IFlexUIEditableAttribute, IFlexUIDataProviderAttribute, - IFlexUIRowCountAttribute, IFlexUIFilterComponentIdAttribute, IFlexUIFilterEventListenerAttribute, - IFlexUIAsynchronousEventFilterGlueHandlerAttribute, IFlexUIFilterColumnComponentIdAttribute, IFlexUIQueueFilterThresholdAttribute, - IFlexUIQueuedFilterListBreakUpSizeAttribute { - - private final static Log _log = LogFactory.getLog(AbstractFlexUIDataGrid.class); - - private static final Integer ZERO_BATCH_COLUMN_DATA_RETRIEVAL_SIZE = Integer.valueOf(0); - - private static final String COLUMN_DATA_FIELD_KEY = "COLUMN_DATA_FIELD"; - - private static final String DATA_START_INDEX_KEY = "DATA_START_INDEX"; - private static final String DATA_END_INDEX_KEY = "DATA_END_INDEX"; - - private static final String COLUMN_DATA_FIELD_TO_SORT_BY_KEY = "COLUMN_DATA_FIELD_TO_SORT_BY"; - private static final String SORT_ASCENDING_KEY = "SORT_ASCENDING"; - - private static final String BATCH_COLUMN_DATA_RETRIEVAL_SIZE_KEY = "BATCH_COLUMN_DATA_RETRIEVAL_SIZE"; - private static final String MAX_DATA_PARTITION_INDEX_KEY = "MAX_DATA_PARTITION_INDEX"; - - private static final String ADD_DATA_ENTRY_DELIM = "_DELIM_"; - private static final String ADD_ENTRY_START_INDEX_KEY = "ADD_ENTRY_START_INDEX"; - private static final String ADD_ENTRY_END_INDEX_KEY = "ADD_ENTRY_END_INDEX"; - - private static final String DELETE_INDICES_KEY = "DELETE_INDICES"; - - private static final String DELTA_DESELECTED_ENTRIES_KEY = "DELTA_DESELECTED_ENTRIES"; - private static final String DELTA_SELECTED_ENTRIES_KEY = "DELTA_SELECTED_ENTRIES"; - private static final String FETCH_SELECTION_ITEM_PARTITION_INDEX_KEY = "FETCH_SELECTION_ITEM_PARTITION_INDEX"; - private static final String REQUEST_KEYS_KEY = "REQUEST_KEYS"; - private static final String UPDATE_ITEM_PARTITION_INDEX_KEY = "UPDATE_ITEM_PARTITION_INDEX"; - private static final String SELECT_ALL_KEY = "SELECT_ALL"; - private static final String DESELECT_ALL_KEY = "DESELECT_ALL"; - private static final String RETURNED_SELECT_ENTRIES = "RETURNED_SELECT_ENTRIES"; - - private static final String FILTER_VALUE_KEY = "FILTER_VALUE"; - private static final String FILTER_COLUMN_VALUE = "FILTER_COLUMN_VALUE"; - private static final JSONObject ERROR_JSON_OBJECT = new JSONObject(); - - static{ - try{ - ERROR_JSON_OBJECT.put(AbstractEvent.ASYNCHRONOUS_VARIABLES.RESULT_CODE.toString(), "Error"); - }catch(JSONException jsonException){ - _log.error("Error while creating ERROR_JSON_OBJECT"); - } - } - - private Map _dataGridColumnComponentMapping; - private String _filterColumn; - private String _filterValue; - - private List _filteredList; - private List _wrappedList; - - private ExecutorService _queuedService; - private List _queuedFilterTaskList; - - { - _dataGridColumnComponentMapping = new HashMap(); - - _filteredList = new ArrayList(); - _wrappedList = new ArrayList(); - - _queuedFilterTaskList = new ArrayList(); - } - - public boolean isRowSelected(int rowIndex) { - return getCurrentList().get(rowIndex).isSelected(); - } - - public void selectRow(int rowIndex) { - getCurrentList().get(rowIndex).setSelected(true); - } - - public void deselectRow(int rowIndex) { - getCurrentList().get(rowIndex).setSelected(false); - } - - public void selectRows(int beginRowIndex, int endRowIndex) { - List currentList = getCurrentList(); - - for(; beginRowIndex < endRowIndex; beginRowIndex++) { - currentList.get(beginRowIndex).setSelected(true); - } - } - - public void deselectRows(int beginRowIndex, int endRowIndex) { - List currentList = getCurrentList(); - - for(; beginRowIndex < endRowIndex; beginRowIndex++) { - currentList.get(beginRowIndex).setSelected(false); - } - } - - public void deselectAll() { - - for(WrappedBeanEntry currEntry : _wrappedList) { - currEntry.setSelected(false); - } - } - - public void selectAll() { - - for(WrappedBeanEntry currEntry : _wrappedList) { - currEntry.setSelected(true); - } - } - - public JSONObject updateRowSelectionEntry() throws JSONException { - - JSONObject updateRowSelectionResult = new JSONObject(); - boolean success = true; - - FacesContext context = FacesContext.getCurrentInstance(); - Map requestParameterValuesMap = context.getExternalContext().getRequestParameterValuesMap(); - Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String[] deltaDeselectedEntries = requestParameterValuesMap.get(DELTA_DESELECTED_ENTRIES_KEY); - String[] deltaSelectedEntries = requestParameterValuesMap.get(DELTA_SELECTED_ENTRIES_KEY); - - int batchColumnDataRetrievalSize = computeBatchColumnDataRetrievalSize(); - try{ - int updateItemPartitionIndex = Integer.valueOf(requestMap.get(UPDATE_ITEM_PARTITION_INDEX_KEY)); - int updateSelectionStartIndex = updateItemPartitionIndex * batchColumnDataRetrievalSize; - - _log.info("updateRowSelectionEntry: updateItemPartitionIndex is " + updateItemPartitionIndex + ", updateSelectionStartIndex is " + updateSelectionStartIndex); - - boolean selectAll = Boolean.valueOf(requestMap.get(SELECT_ALL_KEY)); - boolean deselectAll = Boolean.valueOf(requestMap.get(DESELECT_ALL_KEY)); - - selectDeselectAllBlock: { - if(selectAll) { - selectAll(); - break selectDeselectAllBlock; - } - - if(deselectAll) { - deselectAll(); - break selectDeselectAllBlock; - } - - if(deltaDeselectedEntries != null){ - for(String deltaDeselectedEntry : deltaDeselectedEntries) { - deselectRow(updateSelectionStartIndex + Integer.valueOf(deltaDeselectedEntry)); - } - } - - if(deltaSelectedEntries != null){ - for(String deltaSelectedEntry : deltaSelectedEntries) { - selectRow(updateSelectionStartIndex + Integer.valueOf(deltaSelectedEntry)); - } - } - } - - }catch(NumberFormatException numberFormatException) { - _log.error("A parsing exception occurred within updateRowSelectionEntry", numberFormatException); - success = false; - } - - if(success){ - int fetchSelectionItemPartitionIndex = Integer.valueOf(requestMap.get(FETCH_SELECTION_ITEM_PARTITION_INDEX_KEY)); - int startIndex = fetchSelectionItemPartitionIndex * batchColumnDataRetrievalSize; - int endIndex = Math.min((fetchSelectionItemPartitionIndex + 1) * batchColumnDataRetrievalSize, getCurrentListSize()); - - _log.info("updateRowSelectionEntry: fetchSelectionItemPartitionIndex is " + fetchSelectionItemPartitionIndex + ", startIndex is " + startIndex - + ", endIndex is " + endIndex); - - if(endIndex < startIndex){ - _log.error("Okay startIndex is greater than endIndex, what went wrong. StartIndex : " + startIndex + ", endIndex : " + endIndex); - success = false; - }else{ - JSONArray selectedEntries = new JSONArray(); - for(; startIndex < endIndex; startIndex++){ - if(isRowSelected(startIndex)){ - selectedEntries.put(startIndex); - } - } - updateRowSelectionResult.put(RETURNED_SELECT_ENTRIES, selectedEntries); - } - } - - updateRowSelectionResult.put(AbstractEvent.ASYNCHRONOUS_VARIABLES.RESULT_CODE.toString(), success); - return updateRowSelectionResult; - } - - /** - * @param filterEvent - * @return if the value is true the row will be filtered - */ - private static Boolean defaultFilterMethod(AsynchronousFilterEvent filterEvent){ - return filterEvent.getFilterValue().length() > 0 && !filterEvent.getComponentValue().contains(filterEvent.getFilterValue()); - } - - private Boolean invokeFilterMethod(String currRowValue, String filterValue) { - Boolean toFilter = false; - - MethodExpression userProvidedFilterMethod = getAsynchronousEventFilterGlueHandler(); - if(userProvidedFilterMethod != null){ - FacesContext context = FacesContext.getCurrentInstance(); - toFilter = Boolean.valueOf( userProvidedFilterMethod.invoke(context.getELContext(), new Object[]{new AsynchronousFilterEvent(this, currRowValue, filterValue)}).toString() ); - }else{ - toFilter = defaultFilterMethod(new AsynchronousFilterEvent(this, currRowValue, filterValue)); - } - - return toFilter; - } - - public JSONObject getGridData() throws JSONException { - - FacesContext context = FacesContext.getCurrentInstance(); - Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String dataStartIndex = requestMap.get(DATA_START_INDEX_KEY); - String dataEndIndex = requestMap.get(DATA_END_INDEX_KEY); - String filterValue = requestMap.get(FILTER_VALUE_KEY); - String filterColumnValue = requestMap.get(FILTER_COLUMN_VALUE); - - _log.info("Requested additional data with dataStartIndex : " + dataStartIndex + " , dataEndIndex : " + dataEndIndex + - ", filterValue: " + filterValue + ", filterColumnValue:" + filterColumnValue + " for component : " + getId()); - - int parsedStartIndex = -1; - int parsedEndIndex = -1; - - try{ - parsedStartIndex = Integer.parseInt(dataStartIndex); - parsedEndIndex = Integer.parseInt(dataEndIndex); - }catch(NumberFormatException parsingException){ - _log.error("Error parsing of following values [" + dataStartIndex + ", " + dataEndIndex + "] to an int", parsingException); - return ERROR_JSON_OBJECT; - } - - if((filterColumnValue.length() > 0 && !filterColumnValue.equals(_filterColumn)) || - !filterValue.equals(getFilterValue())){ - /* - * means that filtering is active and a new value has been requested - * Perform filter and return a list of values requested. Return the result. - */ - boolean independentValue = getFilterValue() == null || (getFilterValue().length() == 0 && filterValue.length() > 0) - || !(filterValue.contains(getFilterValue())); - - boolean filterValueCheck = filterValue.length() > 0 || (filterValue.length() == 0 && (getFilterValue() != null && getFilterValue().length() > 0)); - resetFilterList(filterColumnValue, filterValue, independentValue); - if(filterValueCheck){ - if(independentValue) { - return filterList(parsedStartIndex, parsedEndIndex); - }else { - /* - * Means that the new _filteredList will be a sub set of the previous _filteredList - */ - - return filterSubSet(parsedStartIndex, parsedEndIndex); - } - }else { - - JSONObject nonFilteredData = getNonFilterChangedData(parsedStartIndex, parsedEndIndex); - Integer batchColumnDataRetrievalSize = computeBatchColumnDataRetrievalSize(); - Integer maxDataPartitionIndex = computeMaxDataPartitionIndex(); - - nonFilteredData.put(BATCH_COLUMN_DATA_RETRIEVAL_SIZE_KEY, batchColumnDataRetrievalSize); - nonFilteredData.put(MAX_DATA_PARTITION_INDEX_KEY, maxDataPartitionIndex); - - return nonFilteredData; - } - } - - return getNonFilterChangedData(parsedStartIndex, parsedEndIndex); - } - - private JSONObject getNonFilterChangedData(int parsedStartIndex, int parsedEndIndex) throws JSONException { - - if(_queuedFilterTaskList.size() > 0) { - - /* - * Continue to wait until either the following two conditions are broken: - * 1) Size of the _filteredList is greater than the parsedEndIndex - * 2) Got to the end of _queuedFilterTaskList list - */ - int taskIndexPoint = 0; - while(_filteredList.size() < parsedEndIndex && taskIndexPoint < _queuedFilterTaskList.size()) { - QueuedFilterTask currTask = _queuedFilterTaskList.get(taskIndexPoint); - currTask.waitForCompletion(true); - } - } - - AddDataEntryHelper nonFilterChangedData = new AddDataEntryHelper(parsedStartIndex, parsedEndIndex, getCurrentList(), false, null); - nonFilterChangedData.processEntries(); - - return nonFilterChangedData.getFormatedColumnData(); - } - - - public JSONObject filterList(int parsedStartIndex, int parsedEndIndex) throws JSONException { - - AddDataEntryHelper filterIndependentHelper = null; - synchronized(_wrappedList){ - int dataSize = _wrappedList.size(); - - //change below logic better in the future - parsedEndIndex = Integer.valueOf(getBatchColumnDataRetrievalSize()) * 2; - _log.info("Parsed start + end index are [ " + parsedStartIndex + ", " + parsedEndIndex + " ] with dataSize : " + dataSize + " for component : " + getId()); - - filterIndependentHelper = new AddDataEntryHelper(parsedStartIndex, parsedEndIndex, _wrappedList, true, _wrappedList); - filterIndependentHelper.processEntries(); - } - - final AbstractFlexUIDataGridColumn filterColumnComponent = _dataGridColumnComponentMapping.get(_filterColumn); - int loopParsedStartIndex = filterIndependentHelper.getParsedStartIndex(); - int remainingFilterEntries = _wrappedList.size() - loopParsedStartIndex; - if(remainingFilterEntries > Integer.valueOf(getQueueFilterThreshold())){ - - int filterQueueListSize = Integer.valueOf(getQueuedFilterListBreakUpSize()); - int numberOfFilteringQueuedTasks = (int) Math.ceil(remainingFilterEntries / filterQueueListSize); - _queuedService = Executors.newFixedThreadPool(numberOfFilteringQueuedTasks); - - for(int i=0; i < (numberOfFilteringQueuedTasks - 1); i++, loopParsedStartIndex += filterQueueListSize) { - QueuedFilterTask task = new QueuedFilterTask(loopParsedStartIndex, loopParsedStartIndex + filterQueueListSize, - _wrappedList, filterColumnComponent); - _queuedFilterTaskList.add(task); - task.startTask(); - } - - int remainder = remainingFilterEntries % filterQueueListSize; - QueuedFilterTask finalQueueTask = new QueuedFilterTask(loopParsedStartIndex, loopParsedStartIndex + (remainder == 0 ? filterQueueListSize : remainder), - _wrappedList, filterColumnComponent); - finalQueueTask.startTask(); - - }else{ - - filterRemainingEntriesWithinlist(parsedStartIndex, _wrappedList.size(), _wrappedList, filterColumnComponent, _filteredList); - } - - Integer batchColumnDataRetrievalSize = computeBatchColumnDataRetrievalSize(); - Integer maxDataPartitionIndex = computeMaxDataPartitionIndex(); - - filterIndependentHelper.getFormatedColumnData().put(BATCH_COLUMN_DATA_RETRIEVAL_SIZE_KEY, batchColumnDataRetrievalSize); - filterIndependentHelper.getFormatedColumnData().put(MAX_DATA_PARTITION_INDEX_KEY, maxDataPartitionIndex); - return filterIndependentHelper.getFormatedColumnData(); - } - - - private JSONObject filterSubSet(int parsedStartIndex, int parsedEndIndex) throws JSONException { - _log.info("Filtering with a subset " + parsedStartIndex + " , " + parsedEndIndex); - final AbstractFlexUIDataGridColumn filterColumnComponent = _dataGridColumnComponentMapping.get(_filterColumn); - - int methodEntryFilterQueuedTaskListIndex = _queuedFilterTaskList.size(); - int methodEntryFilterSize = _filteredList.size(); - - if(_queuedService != null){ - for(int i=0; i < _queuedFilterTaskList.size(); i++) { - QueuedFilterTask currTask = _queuedFilterTaskList.get(i); - if(!currTask._queuedFilteringTask.isDone()) { - methodEntryFilterQueuedTaskListIndex = i; - } - } - } - - int dataRequestSize = parsedEndIndex - parsedStartIndex; - - AddDataEntryHelper filterSubsetHelper = new AddDataEntryHelper(parsedStartIndex, parsedEndIndex, _filteredList, true, _filteredList); - AddDataEntryHelper secondFilterSubsetHelper = null; - filterSubsetHelper.processEntries(); - - int dataAdded = filterSubsetHelper.getDataAdded(); - if(dataAdded < dataRequestSize){ - /* - * One has not retrieved enough data so see if one can obtain more from the remaining - * entries within queuedFilter Threads - */ - if(_queuedService != null && methodEntryFilterQueuedTaskListIndex > 0){ - - /* - * Means there are entries within the FutureTask which hasn't possibly been inspected yet - */ - while(methodEntryFilterQueuedTaskListIndex < _queuedFilterTaskList.size() && _filteredList.size() < dataRequestSize) { - /* - * Means filtering is not done, wait until it's completed to the point that it can access - * the data - */ - QueuedFilterTask currTask = _queuedFilterTaskList.get(methodEntryFilterQueuedTaskListIndex); - currTask.waitForCompletion(true); - methodEntryFilterQueuedTaskListIndex++; - } - - //note that parsedStartIndex gets incremented within AddDataEntryHelper, the reason of using it as a start index - secondFilterSubsetHelper = new AddDataEntryHelper(filterSubsetHelper.getParsedStartIndex(), parsedEndIndex, _filteredList, false, null); - secondFilterSubsetHelper.processEntries(); - - } - - }else{ - /* - * Means the condition of the loop prior to the if branch was broken with enough - * data being added to the list, so must check whether to filter the remaining entries - * within _filteredList with range from parsedStartIndex to methodEntryFilterSize - */ - if(parsedStartIndex < methodEntryFilterSize) { - int filterQueueListSize = Integer.valueOf(getQueuedFilterListBreakUpSize()); - int numberOfFilteringQueuedTasks = (int) Math.ceil((methodEntryFilterSize - parsedStartIndex) / filterQueueListSize); - - if(_queuedService == null) { - _queuedService = Executors.newFixedThreadPool(numberOfFilteringQueuedTasks); - } - - for(int i=0; i < (numberOfFilteringQueuedTasks - 1); i++, parsedStartIndex += filterQueueListSize) { - QueuedFilterTask task = new QueuedFilterTask(parsedStartIndex, parsedStartIndex + filterQueueListSize, _filteredList, filterColumnComponent); - _queuedFilterTaskList.add(task); - task.startTask(); - } - } - - } - - Integer batchColumnDataRetrievalSize = computeBatchColumnDataRetrievalSize(); - Integer maxDataPartitionIndex = computeMaxDataPartitionIndex(); - - JSONObject formatedColumnData = filterSubsetHelper.getFormatedColumnData(); - if(secondFilterSubsetHelper != null) { - JSONObject secondFormatedColumnData = secondFilterSubsetHelper.getFormatedColumnData(); - for(Iterator iterate = formatedColumnData.keys(); iterate.hasNext();) { - String currKey = iterate.next(); - JSONArray firstEntry = (JSONArray) formatedColumnData.get(currKey); - JSONArray secondEntry = (JSONArray) secondFormatedColumnData.get(currKey); - - for(int i=0; i < secondEntry.length(); i++){ - firstEntry.put(secondEntry.get(i)); - } - } - } - - formatedColumnData.put(BATCH_COLUMN_DATA_RETRIEVAL_SIZE_KEY, batchColumnDataRetrievalSize); - formatedColumnData.put(MAX_DATA_PARTITION_INDEX_KEY, maxDataPartitionIndex); - - return formatedColumnData; - } - - private void filterRemainingEntriesWithinlist(int queuedFilterStartIndex, int queuedFilterEndIndex, List filterSourceList, - AbstractFlexUIDataGridColumn filterColumnComponent, List targetList) { - _log.debug("Performing remaining filtering [" + queuedFilterStartIndex + ", " + queuedFilterEndIndex + "]"); - - /* - * Now filter through the remaining list - */ - for(int i=queuedFilterStartIndex; i < queuedFilterEndIndex; i++){ - - WrappedBeanEntry currEntry = filterSourceList.get(i); - if(filterTheCurrentEntry(currEntry, filterColumnComponent, null)){ - continue; - }else{ - targetList.add(currEntry); - } - } - - _log.debug("Finished remaining filtering of [" + queuedFilterStartIndex + ", " + queuedFilterEndIndex + "]"); - } - - private boolean filterTheCurrentEntry(WrappedBeanEntry currEntry, AbstractFlexUIDataGridColumn filterColumnComponent, JSONArray filterColumnContent) { - boolean filter = false; - - Object currValue = currEntry.getBeanEntry(); - String filterCheckValue = filterColumnComponent.getFormatedColumnData(currValue); - - if(getFilterComponentId() != null){ - filter = invokeFilterMethod(filterCheckValue, getFilterValue()); - } - - if(filterColumnContent != null && !filter) { - filterColumnContent.put(filterCheckValue); - } - - return filter; - } - - public Map updateModifiedDataField() { - - FacesContext context = FacesContext.getCurrentInstance(); - Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String columnDataField = requestMap.get(COLUMN_DATA_FIELD_KEY); - AbstractFlexUIDataGridColumn dataGridColumnComponent = _dataGridColumnComponentMapping.get(columnDataField); - - Map updateResult = new HashMap(); - boolean success = true; - - String requestKey = requestMap.get(REQUEST_KEYS_KEY); - List requestKeyList = Arrays.asList(requestKey.split(",")); - List currentList = getCurrentList(); - - _log.info("Update requested for dataField : " + columnDataField + " for component : " + getId() + " with requestKey : " + requestKey - + " for dataField : " + dataGridColumnComponent.getDataField()); - - for(String currKey : requestKeyList){ - - Object currValue = requestMap.get(currKey); - int rowIndex; - - try{ - rowIndex = Integer.parseInt(currKey); - }catch(NumberFormatException parsingException){ - _log.error("Error parsing of " + currKey + " to an int", parsingException); - success = false; - break; - } - - synchronized(currentList){ - WrappedBeanEntry currEntry = currentList.get(rowIndex); - Object currDataEntry = currEntry.getBeanEntry(); - success = dataGridColumnComponent.setDataField(context, currDataEntry, currValue); - - _log.debug("Success result code of : " + success + " when setting value of : " + currValue + " to an instance of : " + currDataEntry.getClass().getName()); - - if(!success){ - break; - } - } - } - - updateResult.put(AbstractEvent.ASYNCHRONOUS_VARIABLES.RESULT_CODE.toString(), Boolean.valueOf(success)); - return updateResult; - } - - public Map addDataEntry(){ - - final String BEAN_ENTRY_CLASS_NAME = getBindingBeanList().size() > 0 ? getBindingBeanList().get(0).getClass().getName() : getBindingBeanClassName(); - - Map addDataResult = new HashMap(); - boolean success = true; - - FacesContext context = FacesContext.getCurrentInstance(); - Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String addEntryStartIndex = requestMap.get(ADD_ENTRY_START_INDEX_KEY); - String addEntryEndIndex = requestMap.get(ADD_ENTRY_END_INDEX_KEY); - - int parsedAddEntryStartIndex = -1; - int parsedAddEntryEndIndex = -1; - - try{ - parsedAddEntryStartIndex = Integer.parseInt(addEntryStartIndex); - parsedAddEntryEndIndex = Integer.parseInt(addEntryEndIndex); - }catch(NumberFormatException parsingException){ - _log.error("Error parsing of following values [" + addEntryStartIndex + ", " + addEntryEndIndex + "] to an int", parsingException); - success = false; - addDataResult.put(AbstractEvent.ASYNCHRONOUS_VARIABLES.RESULT_CODE.toString(), Boolean.valueOf(success)); - return addDataResult; - } - - _log.info("Parsed add entry start + end index are [ " + parsedAddEntryStartIndex + ", " + parsedAddEntryEndIndex + " ] for component : " + getId()); - int loopLength = parsedAddEntryEndIndex - parsedAddEntryStartIndex; - try{ - Class beanEntryClass = Class.forName(BEAN_ENTRY_CLASS_NAME); - Comparable beanEntryInstance; - - for(int i=0; i < loopLength; i++){ - - beanEntryInstance = (Comparable) beanEntryClass.newInstance(); - - for(String currDataGridColumnDataField : _dataGridColumnComponentMapping.keySet()){ - String currDataFieldKey = currDataGridColumnDataField + ADD_DATA_ENTRY_DELIM + i; - String currDataFieldValue = requestMap.get(currDataFieldKey); - - _log.debug("Setting dataField : " + currDataGridColumnDataField + " with value : " + currDataFieldValue + - " for class : " + beanEntryInstance.getClass().getName() + " for component : " + getId()); - AbstractFlexUIDataGridColumn currDataGridColumnComponent = _dataGridColumnComponentMapping.get(currDataGridColumnDataField); - currDataGridColumnComponent.setDataField(context, beanEntryInstance, currDataFieldValue); - } - - WrappedBeanEntry currEntry = new WrappedBeanEntry(beanEntryInstance); - if(isFiltered()){ - - AbstractFlexUIDataGridColumn filterColumnComponent = _dataGridColumnComponentMapping.get(_filterColumn); - String filterCheckValue = filterColumnComponent.getFormatedColumnData(beanEntryInstance); - - Boolean filterCurrentRow = false; - if(getFilterComponentId() != null){ - filterCurrentRow = invokeFilterMethod(filterCheckValue, getFilterValue()); - - if(filterCurrentRow){ - _log.debug("Row containing value of " + filterCheckValue + " was filtered"); - }else{ - _filteredList.add(currEntry); - - } - } - - } - - synchronized(_wrappedList) { - _wrappedList.add(_wrappedList.size(), currEntry); - } - - synchronized(getBindingBeanList()) { - getBindingBeanList().add(getBindingBeanList().size(), beanEntryInstance); - } - } - - }catch(ClassNotFoundException classNotFoundException){ - _log.error("Failure in finding className " + BEAN_ENTRY_CLASS_NAME, classNotFoundException); - success = false; - }catch(IllegalAccessException illegalAccessException){ - _log.error("Failure in instantiating " + BEAN_ENTRY_CLASS_NAME, illegalAccessException); - success = false; - }catch(InstantiationException instantiationException){ - _log.error("Failure in instantiating " + BEAN_ENTRY_CLASS_NAME, instantiationException); - success = false; - } - - _log.info("Success result code after adding the entries to bindingBeanList is : " + success + " for component : " + getId() + - "new size of bindingBeanList is : " + getBindingBeanList().size()); - - Integer batchColumnDataRetrievalSize = computeBatchColumnDataRetrievalSize(); - Integer maxDataPartitionIndex = computeMaxDataPartitionIndex(); - - deselectAll(); - selectRows(parsedAddEntryEndIndex, parsedAddEntryEndIndex + loopLength); - - addDataResult.put(BATCH_COLUMN_DATA_RETRIEVAL_SIZE_KEY, batchColumnDataRetrievalSize); - addDataResult.put(MAX_DATA_PARTITION_INDEX_KEY, maxDataPartitionIndex); - addDataResult.put(AbstractEvent.ASYNCHRONOUS_VARIABLES.RESULT_CODE.toString(), Boolean.valueOf(success)); - return addDataResult; - } - - public Map removeDataEntry(){ - - final Comparator DELETE_INDICES_COMPARATOR = new Comparator(){ - - public int compare(String firstInstance, String secondInstance) { - Integer firstCompare = Integer.valueOf(firstInstance); - Integer secondCompare = Integer.valueOf(secondInstance); - return firstCompare.compareTo(secondCompare); - } - }; - - Map removeDataResult = new HashMap(); - boolean success = true; - - FacesContext context = FacesContext.getCurrentInstance(); - Map requestParameterValuesMap = context.getExternalContext().getRequestParameterValuesMap(); - String[] deleteIndices = requestParameterValuesMap.get(DELETE_INDICES_KEY); - List deleteIndicesList = Arrays.asList(deleteIndices); - Collections.sort(deleteIndicesList, DELETE_INDICES_COMPARATOR); - Collections.reverse(deleteIndicesList); - StringBuilder deleteIndicesLog = new StringBuilder("["); - for(String deleteIndex : deleteIndicesList) { - deleteIndicesLog.append(deleteIndex); - deleteIndicesLog.append(", "); - } - deleteIndicesLog.append("]"); - _log.info("Requested deleteIndices are : " + deleteIndices + " for component : " + getId()); - - synchronized(this){ - - for(String currDeleteIndex : deleteIndicesList){ - int parsedDeleteIndex = -1; - - try{ - parsedDeleteIndex = Integer.parseInt(currDeleteIndex); - }catch(NumberFormatException parsingException){ - _log.error("Error parsing of " + currDeleteIndex + " to an int", parsingException); - success = false; - break; - } - - Object removeEntry = null; - if(isFiltered()){ - /* - * Need to remove from _filteredList, _wrappedList, and getBindingBeanList() - */ - WrappedBeanEntry filterEntry = _filteredList.remove(parsedDeleteIndex); - - /* - * Below two are costly operations, try to improve - */ - _wrappedList.remove(filterEntry); - removeEntry = filterEntry.getBeanEntry(); - }else{ - - removeEntry = _wrappedList.remove(parsedDeleteIndex).getBeanEntry(); - } - - getBindingBeanList().remove(removeEntry); - _log.debug("Have removed element at : " + currDeleteIndex + " for component : " + getId()); - } - - } - - Integer batchColumnDataRetrievalSize = computeBatchColumnDataRetrievalSize(); - Integer maxDataPartitionIndex = computeMaxDataPartitionIndex(); - - deselectAll(); - - removeDataResult.put(BATCH_COLUMN_DATA_RETRIEVAL_SIZE_KEY, batchColumnDataRetrievalSize); - removeDataResult.put(MAX_DATA_PARTITION_INDEX_KEY, maxDataPartitionIndex); - removeDataResult.put(AbstractEvent.ASYNCHRONOUS_VARIABLES.RESULT_CODE.toString(), Boolean.valueOf(success)); - return removeDataResult; - } - - public Map sortDataEntry() { - - Map sortResult = new HashMap(); - boolean success = true; - - FacesContext context = FacesContext.getCurrentInstance(); - Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String columnDataFieldToSortBy = requestMap.get(COLUMN_DATA_FIELD_TO_SORT_BY_KEY); - boolean sortAscending = Boolean.valueOf(requestMap.get(SORT_ASCENDING_KEY)).booleanValue(); - _log.info("Requested sort of data entries with columnDataFieldToSortBy : " + columnDataFieldToSortBy + " sortAscending : " + sortAscending + " for component : " + getId()); - - AbstractFlexUIDataGridColumn dataGridColumnComponent = _dataGridColumnComponentMapping.get(columnDataFieldToSortBy); - - Comparator dataFieldComparator = sortAscending ? dataGridColumnComponent.getWrappedEntryAscendingComparator() : - dataGridColumnComponent.getWrappedEntryDescendingComparator(); - - List currentList = getCurrentList(); - synchronized(currentList){ - Collections.sort(currentList, dataFieldComparator); - } - _log.debug("Success result code for sorting is : " + success + " for component : " + getId()); - - sortResult.put(AbstractEvent.ASYNCHRONOUS_VARIABLES.RESULT_CODE.toString(), Boolean.valueOf(success)); - return sortResult; - } - - @Override - public void encodeEnd(FacesContext context) throws IOException { - super.encodeEnd(context); - - syncWrapListToActual(); - } - - public void syncWrapListToActual() { - - List> bindingBeanList = getBindingBeanList(); - - _wrappedList = new ArrayList(); - for(Object currentEntry : bindingBeanList) { - _wrappedList.add(new WrappedBeanEntry(currentEntry)); - } - - } - - public int getUpperLimitOfRemainingFilterSize() { - - int unfinishedPoint = 0; - if((unfinishedPoint = _queuedFilterTaskList.size()) > 0) { - for(QueuedFilterTask currTask : _queuedFilterTaskList) { - /* - * Assume that all the content within each of the list will - * be part of the filtered list, even the last list which - * may not be a complete fill. - */ - if(!currTask._queuedFilteringTask.isDone()){ - break; - } - unfinishedPoint--; - } - } - - int filterQueueListSize = Integer.valueOf(getQueuedFilterListBreakUpSize()); - _log.debug("Returning getUpperLimitOfRemainingFilterSize with " + _queuedFilterTaskList.size() + ", " + (unfinishedPoint * filterQueueListSize)); - return unfinishedPoint * filterQueueListSize; - } - - public Integer computeBatchColumnDataRetrievalSize(){ - - Integer batchColumnDataRetrievalSize = getBatchColumnDataRetrievalSize() != null ? Integer.valueOf(getBatchColumnDataRetrievalSize()) : ZERO_BATCH_COLUMN_DATA_RETRIEVAL_SIZE; - String rowCount = getRowCount(); - - if(rowCount != null){ - int parsedRowCount = Integer.parseInt(rowCount); - if(parsedRowCount > batchColumnDataRetrievalSize.intValue()){ - batchColumnDataRetrievalSize = Integer.valueOf(parsedRowCount); - } - } - - int dataEntrySize = isFiltered() ? _filteredList.size() + getUpperLimitOfRemainingFilterSize() : getBindingBeanList().size(); - if(dataEntrySize < batchColumnDataRetrievalSize.intValue()){ - batchColumnDataRetrievalSize = Integer.valueOf(dataEntrySize); - } - - _log.debug("New computeBatchColumnDataRetrievalSize is " + batchColumnDataRetrievalSize); - return batchColumnDataRetrievalSize; - } - - public Integer computeMaxDataPartitionIndex(){ - - double dataEntrySize = isFiltered() ? _filteredList.size() + getUpperLimitOfRemainingFilterSize() : getBindingBeanList().size(); - Integer batchColumnDataRetrievalSize = computeBatchColumnDataRetrievalSize(); - Integer maxDataPartitionIndex = null; - - if(batchColumnDataRetrievalSize.intValue() > 0){ - maxDataPartitionIndex = Integer.valueOf((int) Math.ceil( dataEntrySize / batchColumnDataRetrievalSize.intValue() )); - }else{ - maxDataPartitionIndex = ZERO_BATCH_COLUMN_DATA_RETRIEVAL_SIZE; - } - - //since index of partition begins with zero, decrement by 1 - if(maxDataPartitionIndex.intValue() > 0){ - maxDataPartitionIndex = Integer.valueOf(maxDataPartitionIndex.intValue() - 1); - } - - _log.debug("New computeMaxDataPartitionIndex is " + maxDataPartitionIndex); - return maxDataPartitionIndex; - } - - public void setFilterColumn(String filterColumn) { - _filterColumn = filterColumn; - } - - private int getCurrentListSize() { - return isFiltered() ? _filteredList.size() + getUpperLimitOfRemainingFilterSize() : _wrappedList.size(); - } - - private List getCurrentList() { - return isFiltered() ? _filteredList : _wrappedList; - } - - private boolean isFiltered() { - return getFilterValue() != null && getFilterValue().length() > 0; - } - - private void resetFilterList(String filterColumnId, String filterValue, boolean independentValue) { - - if(_queuedService != null && independentValue) { - _queuedFilterTaskList = new ArrayList(); - _queuedService.shutdownNow(); - _filteredList = new ArrayList(); - } - - _filterColumn = filterColumnId; - setFilterValue(filterValue); - } - - public synchronized String getFilterValue() { - return _filterValue; - } - public synchronized void setFilterValue(String filterValue) { - _filterValue = filterValue; - } - - public Map getDataGridColumnComponentMapping(){ - return _dataGridColumnComponentMapping; - } - - private class QueuedFilterTask { - - private final int _filterStartIndex; - private final int _filterEndIndex; - private final AbstractFlexUIDataGridColumn _dataGridColumnComponent; - private final List _queuedFilterList; - private final List _filterSourceList; - private FutureTask _queuedFilteringTask; - - private QueuedFilterTask(int filterStartIndex, int filterEndIndex, List filterSourceList, AbstractFlexUIDataGridColumn dataGridColumnComponent) { - super(); - - _filterStartIndex = filterStartIndex; - _filterEndIndex = filterEndIndex; - _filterSourceList = filterSourceList; - _dataGridColumnComponent = dataGridColumnComponent; - _queuedFilterList = new ArrayList(); - _queuedFilteringTask = new FutureTask(new Runnable(){ - public void run() { - filterRemainingEntriesWithinlist(_filterStartIndex, _filterEndIndex, _filterSourceList, _dataGridColumnComponent, _queuedFilterList); - //must wait for previous filter queue tasks, since the entries must be added in order - waitForCompletion(false); - for(WrappedBeanEntry currEntry : _queuedFilterList) { - if(!_filteredList.contains(currEntry)){ - _filteredList.add(currEntry); - } - } - } - }, null); - } - - private void startTask() { - _queuedService.submit(_queuedFilteringTask); - } - - private void waitForCompletion(boolean waitForSelf) { - - if(waitForSelf) { - try{ - _queuedFilteringTask.get(); - }catch(ExecutionException executeExcept){ - _log.error("Execution exception thrown within waitForCompletion for [" + _filterStartIndex + ", " + _filterEndIndex + "]", executeExcept); - _queuedService.shutdownNow(); - }catch(InterruptedException interruptedExcept){ - _queuedService.shutdownNow(); - Thread.currentThread().interrupt(); - }finally{ - _queuedFilteringTask.cancel(true); - } - } - - int currentIndex = _queuedFilterTaskList.indexOf(this); - if(currentIndex > 0){ - _queuedFilterTaskList.get(currentIndex - 1).waitForCompletion(true); - } - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof QueuedFilterTask)) { - return false; - } - - QueuedFilterTask compareInstance = QueuedFilterTask.class.cast( instance ); - return compareInstance._filterStartIndex == _filterStartIndex; - } - - @Override - public int hashCode() { - return _filterStartIndex; - } - - } - - static class WrappedBeanEntry { - - private Object _beanEntry; - private boolean _selected; - - private WrappedBeanEntry(Object beanEntry) { - super(); - - _beanEntry = beanEntry; - } - - private WrappedBeanEntry(Object beanEntry, boolean selected) { - this(beanEntry); - - _selected = selected; - } - - Object getBeanEntry() { - return _beanEntry; - } - void setBeanEntry(Object beanEntry) { - _beanEntry = beanEntry; - } - - boolean isSelected() { - return _selected; - } - void setSelected(boolean selected) { - _selected = selected; - } - - @Override - public String toString() { - return _beanEntry.toString() + "; selected=" + _selected; - } - - @Override - public int hashCode() { - return _beanEntry.hashCode(); - } - - } - - private class AddDataEntryHelper { - - private int _parsedStartIndex; - private int _parsedEndIndex; - private int _dataAdded; - private boolean _filterEntries; - - private List _contentSourceList; - private List _filterSourceList; - private JSONObject _formatedColumnData; - - private AddDataEntryHelper(int parsedStartIndex, int parsedEndIndex, List contentSourceList, boolean filterEntries, - List filterSourceList) { - super(); - - _parsedStartIndex = parsedStartIndex; - _parsedEndIndex = parsedEndIndex; - _filterEntries = filterEntries; - _contentSourceList = contentSourceList; - _filterSourceList = filterSourceList; - } - - private int getDataAdded() { - return _dataAdded; - } - - private int getParsedStartIndex() { - return _parsedStartIndex; - } - - private JSONObject getFormatedColumnData() { - return _formatedColumnData; - } - - private void processEntries() throws JSONException { - - Map traverseDataGridColumnMap = new HashMap(_dataGridColumnComponentMapping); - AbstractFlexUIDataGridColumn filterColumnComponent = null; - JSONArray filterColumnContent = null; - _formatedColumnData = new JSONObject(); - - if(_filterEntries) { - filterColumnComponent = traverseDataGridColumnMap.remove(_filterColumn); - filterColumnContent = new JSONArray(); - _formatedColumnData.put(_filterColumn, filterColumnContent); - } - - for(String currKey : traverseDataGridColumnMap.keySet()) { - _formatedColumnData.put(currKey, new JSONArray()); - } - - if(_filterEntries) { - - int dataRequestSize = _parsedEndIndex - _parsedStartIndex; - /* - * It is assumed that parsedStartIndex is starting from 0 - */ - while(_parsedStartIndex < _filterSourceList.size() && _dataAdded < dataRequestSize) { - WrappedBeanEntry currEntry = _filterSourceList.get(_parsedStartIndex); - if(filterTheCurrentEntry(currEntry, filterColumnComponent, filterColumnContent)){ - if(_filterSourceList == _filteredList) { - //means of a subset filtering, so remove this current entry - _filteredList.remove(_parsedStartIndex); - continue; - } - }else{ - - /* - * Since this row does not need to be filtered, add the entry into the JSONObject - */ - Object currValue = currEntry.getBeanEntry(); - for(String currKey : traverseDataGridColumnMap.keySet()) { - AbstractFlexUIDataGridColumn currDataGridColumn = traverseDataGridColumnMap.get(currKey); - JSONArray currEntryList = JSONArray.class.cast( _formatedColumnData.get(currKey) ); - String currColumnValue = currDataGridColumn.getFormatedColumnData(currValue); - currEntryList.put(currColumnValue); - } - - _dataAdded++; - if(_filterSourceList == _wrappedList) { - //means it's a new independent filter so add the list to the _filteredList - _filteredList.add(currEntry); - } - - } - _parsedStartIndex++; - } - - }else { - - _parsedEndIndex = _parsedEndIndex < _contentSourceList.size() ? _parsedEndIndex : _contentSourceList.size(); - for(; _parsedStartIndex < _parsedEndIndex; _parsedStartIndex++, _dataAdded++) { - WrappedBeanEntry currEntry = _contentSourceList.get(_parsedStartIndex); - Object currValue = currEntry.getBeanEntry(); - - for(String currKey : traverseDataGridColumnMap.keySet()) { - AbstractFlexUIDataGridColumn currDataGridColumn = traverseDataGridColumnMap.get(currKey); - JSONArray currEntryList = JSONArray.class.cast( _formatedColumnData.get(currKey) ); - String currColumnValue = currDataGridColumn.getFormatedColumnData(currValue); - currEntryList.put(currColumnValue); - } - } - } - - } - - @Override - public String toString() { - - StringBuilder content = new StringBuilder(); - content.append("[_parsedStartIndex="); - content.append(_parsedStartIndex); - content.append(", _parsedEndIndex="); - content.append(_parsedEndIndex); - content.append(", _dataAdded="); - content.append(_dataAdded); - content.append(", _filterEntries="); - content.append(_filterEntries); - content.append(", _contentSourceList.size="); - content.append(_contentSourceList == null ? -1 : _contentSourceList.size()); - content.append(", _filterSourceList.size="); - content.append(_filterSourceList == null ? -1 : _filterSourceList.size()); - if(_formatedColumnData != null){ - content.append(", _formatedColumnData="); - content.append(_formatedColumnData); - } - content.append("]"); - - return content.toString(); - } - - @Override - public boolean equals(Object instance) { - //should be an identity check - return super.equals(instance); - } - - @Override - public int hashCode() { - return _parsedEndIndex + (_filterEntries ? 0 : 1); - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDataGridColumn.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDataGridColumn.java deleted file mode 100644 index 3f1b9aa3..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDataGridColumn.java +++ /dev/null @@ -1,195 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import java.util.Comparator; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUIDataFieldAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIEditableAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUIInputBase; -import com.googlecode.jsfFlex.component.ext.AbstractFlexUIDataGrid.WrappedBeanEntry; -import com.googlecode.jsfFlex.shared.util.ReflectionHelperUtil; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDataGridColumn", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIDataGridColumn", - type = "com.googlecode.jsfFlex.FlexUIDataGridColumn", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIDataGridColumnTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexDataGridColumn" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDataGridColumn") -public abstract class AbstractFlexUIDataGridColumn - extends AbstractFlexUIInputBase - implements IFlexUIBaseAttributes, IFlexUIDataFieldAttribute, IFlexUIEditableAttribute { - - private final static Log _log = LogFactory.getLog(AbstractFlexUIDataGridColumn.class); - - private Comparator wrappedEntryAscendingComparator; - private Comparator wrappedEntryDescendingComparator; - - @Override - public JSONObject getComponentInitValues(){ - return null; - } - - @Override - protected void populateComponentInitValues(){ - - } - - public String getFormatedColumnData(Object currDataEntry) { - Object formatedColumnData = ""; - - try{ - formatedColumnData = ReflectionHelperUtil.getValue(currDataEntry, getDataFieldMethodName()); - formatedColumnData = formatedColumnData == null ? "" : formatedColumnData.toString(); - }catch(NoSuchMethodException noSuchMethodException){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("NoSuchMethodException was thrown while invoking method : "); - errorMessage.append(getDataFieldMethodName()); - _log.error(errorMessage.toString(), noSuchMethodException); - return formatedColumnData.toString(); - }catch(Exception additionalAccessException){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Other exception aside from NoSuchMethodException was thrown while invoking method : "); - errorMessage.append(getDataFieldMethodName()); - _log.error(errorMessage.toString(), additionalAccessException); - return formatedColumnData.toString(); - } - - return formatedColumnData.toString(); - } - - public boolean setDataField(FacesContext context, Object currDataEntry, Object currValue){ - - final String SET_DATA_FIELD_METHOD_NAME = "set" + getDataField().substring(0, 1).toUpperCase() + getDataField().substring(1); - - boolean success = true; - - currValue = getConvertedValue(context, currValue); - _log.debug("Converted value's type prior to setting to an instance bean is : " + currValue.getClass().getName()); - - try{ - ReflectionHelperUtil.invokeMethod(currDataEntry, SET_DATA_FIELD_METHOD_NAME, new Class[]{ currValue.getClass() }, new Object[]{ currValue }); - }catch(NoSuchMethodException noSuchMethodException){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("NoSuchMethodException was thrown while invoking method : "); - errorMessage.append(SET_DATA_FIELD_METHOD_NAME); - success = false; - _log.error(errorMessage.toString(), noSuchMethodException); - }catch(Exception additionalAccessException){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Other exception aside from NoSuchMethodException was thrown while invoking method : "); - errorMessage.append(SET_DATA_FIELD_METHOD_NAME); - success = false; - _log.error(errorMessage.toString(), additionalAccessException); - } - - return success; - } - - private synchronized String getDataFieldMethodName(){ - final String GET_DATA_FIELD_METHOD_NAME = "get" + getDataField().substring(0, 1).toUpperCase() + getDataField().substring(1); - - return GET_DATA_FIELD_METHOD_NAME; - } - - public synchronized Comparator getWrappedEntryAscendingComparator() { - if(wrappedEntryAscendingComparator == null) { - wrappedEntryAscendingComparator = new Comparator() { - - public int compare(WrappedBeanEntry entry1, WrappedBeanEntry entry2) { - - Object obj1 = entry1.getBeanEntry(); - Object obj2 = entry2.getBeanEntry(); - - try{ - Comparable act1 = (Comparable) ReflectionHelperUtil.getValue(obj1, getDataFieldMethodName()); - Comparable act2 = (Comparable) ReflectionHelperUtil.getValue(obj2, getDataFieldMethodName()); - - return (act1.compareTo(act2) * -1); - }catch(NoSuchMethodException noSuchMethodException){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("NoSuchMethodException was thrown while invoking method : "); - errorMessage.append(getDataFieldMethodName()); - throw new RuntimeException(errorMessage.toString(), noSuchMethodException); - }catch(Exception additionalAccessException){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Other exception aside from NoSuchMethodException was thrown while invoking method : "); - errorMessage.append(getDataFieldMethodName()); - throw new RuntimeException(errorMessage.toString(), additionalAccessException); - } - } - - }; - - } - - return wrappedEntryAscendingComparator; - } - - public synchronized Comparator getWrappedEntryDescendingComparator() { - if(wrappedEntryDescendingComparator == null) { - wrappedEntryDescendingComparator = new Comparator() { - - public int compare(WrappedBeanEntry entry1, WrappedBeanEntry entry2) { - - Object obj1 = entry1.getBeanEntry(); - Object obj2 = entry2.getBeanEntry(); - - try{ - Comparable act1 = (Comparable) ReflectionHelperUtil.getValue(obj1, getDataFieldMethodName()); - Comparable act2 = (Comparable) ReflectionHelperUtil.getValue(obj2, getDataFieldMethodName()); - - return act1.compareTo(act2); - }catch(NoSuchMethodException noSuchMethodException){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("NoSuchMethodException was thrown while invoking method : "); - errorMessage.append(getDataFieldMethodName()); - throw new RuntimeException(errorMessage.toString(), noSuchMethodException); - }catch(Exception additionalAccessException){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Other exception aside from NoSuchMethodException was thrown while invoking method : "); - errorMessage.append(getDataFieldMethodName()); - throw new RuntimeException(errorMessage.toString(), additionalAccessException); - } - - } - - }; - - } - - return wrappedEntryDescendingComparator; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDateChooser.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDateChooser.java deleted file mode 100644 index d624172e..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDateChooser.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import java.text.DateFormat; -import java.text.ParseException; -import java.text.SimpleDateFormat; -import java.util.Calendar; - -import javax.faces.application.FacesMessage; -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUISelectedDateAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUIInputBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDateChooser", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIDateChooser", - type = "com.googlecode.jsfFlex.FlexUIDateChooser", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIDateChooserTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexDateChooser", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDateChooser") -public abstract class AbstractFlexUIDateChooser - extends AbstractFlexUIInputBase - implements IFlexUIBaseAttributes, IFlexUISelectedDateAttribute { - - private final static org.apache.commons.logging.Log _log = org.apache.commons.logging.LogFactory.getLog(AbstractFlexUIDateChooser.class); - - private static final String SELECTED_DATE_ATTR = "selectedDate"; - private static final String SELECTED_DATE_ID_APPENDED = "_selectedDate"; - - private static final String DATE_TYPE_INIT_VALUE = "Date"; - private static final String DATE_FORMAT_DEFAULT = "EEE MMM dd HH:mm:ss z Z yyyy"; - - private org.json.JSONObject initValue; - - @Override - protected void populateComponentInitValues(){ - try{ - if(getSelectedDate() != null){ - getInitValue().put(VALUE, com.googlecode.jsfFlex.shared.util.JSONConverter.convertJavaDateToASDateConstructorArguments( getSelectedDate() )); - } - }catch(org.json.JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - - private synchronized org.json.JSONObject getInitValue(){ - if(initValue == null){ - try{ - initValue = new org.json.JSONObject(); - initValue.put(ATTRIBUTE, SELECTED_DATE_ATTR); - initValue.put(SPECIFIC_OBJECT_TYPE_INIT, DATE_TYPE_INIT_VALUE); - - _initValues.put(initValue); - - }catch(org.json.JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - } - } - return initValue; - } - - @Override - public void decode(FacesContext context) { - super.decode(context); - - java.util.Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String selectedDateId = getId() + SELECTED_DATE_ID_APPENDED; - String selectedDateUpdateVal = requestMap.get(selectedDateId); - - if(selectedDateUpdateVal != null && selectedDateUpdateVal.length() > 0){ - /* - * HACK: Since ActionScript returns date in format of "Thu Aug 23 00:00:00 GMT-0700 2009" - * and "EEE MMM dd HH:mm:ss zZ yyyy" pattern doesn't seem to match it within SimpleDateFormat, - * place a space between z + Z - */ - int dashIndex = selectedDateUpdateVal.indexOf("-"); - if(dashIndex != -1){ - selectedDateUpdateVal = selectedDateUpdateVal.substring(0, dashIndex) + " " + selectedDateUpdateVal.substring(dashIndex); - } - Calendar instance = Calendar.getInstance(); - try{ - DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT_DEFAULT); - dateFormat.setLenient(true); - instance.setTime( dateFormat.parse(selectedDateUpdateVal) ); - setSelectedDate(instance); - setSubmittedValue(selectedDateUpdateVal); - }catch(ParseException parsingException){ - setValid(false); - context.addMessage(getId(), new FacesMessage("Parsing exception for value : " + selectedDateUpdateVal)); - _log.error("Parsing exception for value : " + selectedDateUpdateVal, parsingException); - } - } - } - - @Override - public void processUpdates(FacesContext context) { - super.processUpdates(context); - - if (!isRendered() || !isValid()){ - return; - } - - javax.el.ValueExpression ve = getValueExpression(SELECTED_DATE_ATTR); - - if(ve != null && !ve.isReadOnly(context.getELContext())){ - ve.setValue(context.getELContext(), getSelectedDate()); - setSelectedDate(null); - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDateField.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDateField.java deleted file mode 100644 index 1c6299b7..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDateField.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import java.text.DateFormat; -import java.text.ParseException; -import java.text.SimpleDateFormat; -import java.util.Calendar; - -import javax.faces.application.FacesMessage; -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUISelectedDateAttribute; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDateField", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIDateField", - type = "com.googlecode.jsfFlex.FlexUIDateField", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIDateFieldTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexDateField", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDateField") -public abstract class AbstractFlexUIDateField - extends com.googlecode.jsfFlex.component.FlexUITextInputBase - implements IFlexUIBaseAttributes, IFlexUISelectedDateAttribute { - - private final static Log _log = LogFactory.getLog(AbstractFlexUIDateField.class); - - private static final String SELECTED_DATE_ATTR = "selectedDate"; - private static final String SELECTED_DATE_ID_APPENDED = "_selectedDate"; - - private static final String DATE_FORMAT_DEFAULT = "EEE MMM dd HH:mm:ss z Z yyyy"; - - @Override - public void decode(FacesContext context) { - super.decode(context); - - java.util.Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String selectedDateId = getId() + SELECTED_DATE_ID_APPENDED; - String selectedDateUpdateVal = requestMap.get(selectedDateId); - - if(selectedDateUpdateVal != null && selectedDateUpdateVal.length() > 0){ - /* - * HACK: Since ActionScript returns date in format of "Thu Aug 23 00:00:00 GMT-0700 2009" - * and "EEE MMM dd HH:mm:ss zZ yyyy" pattern doesn't seem to match it within SimpleDateFormat, - * place a space between z + Z - */ - int dashIndex = selectedDateUpdateVal.indexOf("-"); - if(dashIndex != -1){ - selectedDateUpdateVal = selectedDateUpdateVal.substring(0, dashIndex) + " " + selectedDateUpdateVal.substring(dashIndex); - } - Calendar instance = Calendar.getInstance(); - try{ - DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT_DEFAULT); - dateFormat.setLenient(true); - instance.setTime( dateFormat.parse(selectedDateUpdateVal) ); - setSelectedDate(instance); - }catch(ParseException parsingException){ - setValid(false); - context.addMessage(getId(), new FacesMessage("Parsing exception for value : " + selectedDateUpdateVal)); - _log.error("Parsing exception for value : " + selectedDateUpdateVal, parsingException); - } - } - } - - @Override - public void processUpdates(FacesContext context) { - super.processUpdates(context); - - if (!isRendered() || !isValid()){ - return; - } - - javax.el.ValueExpression ve = getValueExpression(SELECTED_DATE_ATTR); - - if(ve != null && !ve.isReadOnly(context.getELContext())){ - ve.setValue(context.getELContext(), getSelectedDate()); - setSelectedDate(null); - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDropDownList.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDropDownList.java deleted file mode 100644 index 6f2040b3..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIDropDownList.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDropDownList", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIDropDownList", - type = "com.googlecode.jsfFlex.FlexUIDropDownList", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIDropDownListTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexDropDownList", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDropDownList") -public abstract class AbstractFlexUIDropDownList - extends com.googlecode.jsfFlex.component.FlexUISelectedIndexBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIHRule.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIHRule.java deleted file mode 100644 index b0daf6c2..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIHRule.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexHRule", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIHRule", - type = "com.googlecode.jsfFlex.FlexUIHRule", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIHRuleTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexHRule" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIHRule") -public abstract class AbstractFlexUIHRule - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIHScrollBar.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIHScrollBar.java deleted file mode 100644 index 3d497e48..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIHScrollBar.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexHScrollBar", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIHScrollBar", - type = "com.googlecode.jsfFlex.FlexUIHScrollBar", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIHScrollBarTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexHScrollBar" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIHScrollBar") -public abstract class AbstractFlexUIHScrollBar - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIHSlider.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIHSlider.java deleted file mode 100644 index 5ae2cbe3..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIHSlider.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUIValueBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexHSlider", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIHSlider", - type = "com.googlecode.jsfFlex.FlexUIHSlider", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIHSliderTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexHSlider", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIHSlider") -public abstract class AbstractFlexUIHSlider - extends AbstractFlexUIValueBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIHorizontalList.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIHorizontalList.java deleted file mode 100644 index bebcdc7d..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIHorizontalList.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexHorizontalList", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIHorizontalList", - type = "com.googlecode.jsfFlex.FlexUIHorizontalList", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIHorizontalListTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexHorizontalList", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIHorizontalList") -public abstract class AbstractFlexUIHorizontalList - extends com.googlecode.jsfFlex.component.FlexUISelectedIndexBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIImage.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIImage.java deleted file mode 100644 index f380b34d..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIImage.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexImage", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIImage", - type = "com.googlecode.jsfFlex.FlexUIImage", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIImageTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexImage" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIImage") -public abstract class AbstractFlexUIImage - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUILabel.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUILabel.java deleted file mode 100644 index c42982a6..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUILabel.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUIOutputBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexLabel", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUILabel", - type = "com.googlecode.jsfFlex.FlexUILabel", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUILabelTag", - family = "javax.faces.FlexOutput", - defaultRendererType = "com.googlecode.jsfFlex.FlexLabel" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUILabel") -public abstract class AbstractFlexUILabel - extends AbstractFlexUIOutputBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUILinkBar.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUILinkBar.java deleted file mode 100644 index 30b00087..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUILinkBar.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexLinkBar", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUILinkBar", - type = "com.googlecode.jsfFlex.FlexUILinkBar", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUILinkBarTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexLinkBar" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUILinkBar") -public abstract class AbstractFlexUILinkBar - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUILinkButton.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUILinkButton.java deleted file mode 100644 index 96b3d0f4..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUILinkButton.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUICommandBase; -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexLinkButton", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUILinkButton", - type = "com.googlecode.jsfFlex.FlexUILinkButton", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUILinkButtonTag", - family = "javax.faces.FlexCommandBase", - defaultRendererType = "com.googlecode.jsfFlex.FlexLinkButton" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUILinkButton") -public abstract class AbstractFlexUILinkButton - extends AbstractFlexUICommandBase - implements IFlexUIBaseAttributes { - - private static final String EVENT_HANDLER_EVENT_NAME = "buttonDown"; - - public IFlexEvent.EVENT_HANDLER_TYPE getEventHandlerType() { - return IFlexEvent.EVENT_HANDLER_TYPE.SUBMIT_FORM_EVENT_HANDLER; - } - - public String getEventHandlerEventName() { - return EVENT_HANDLER_EVENT_NAME; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIList.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIList.java deleted file mode 100644 index d92f684f..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIList.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexList", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIList", - type = "com.googlecode.jsfFlex.FlexUIList", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIListTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexList", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIList") -public abstract class AbstractFlexUIList - extends com.googlecode.jsfFlex.component.FlexUISelectedIndexBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIMenuBar.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIMenuBar.java deleted file mode 100644 index 7c3f747e..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIMenuBar.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexMenuBar", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIMenuBar", - type = "com.googlecode.jsfFlex.FlexUIMenuBar", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIMenuBarTag", - family = "javax.faces.FlexSimpleBase", - defaultRendererType = "com.googlecode.jsfFlex.FlexMenuBar" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIMenuBar") -public abstract class AbstractFlexUIMenuBar - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUINumericStepper.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUINumericStepper.java deleted file mode 100644 index 4b085efa..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUINumericStepper.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUIValueAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUIValueBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexNumericStepper", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUINumericStepper", - type = "com.googlecode.jsfFlex.FlexUINumericStepper", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUINumericStepperTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexNumericStepper", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUINumericStepper") -public abstract class AbstractFlexUINumericStepper - extends AbstractFlexUIValueBase - implements IFlexUIBaseAttributes, IFlexUIValueAttribute { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIPopUpAnchor.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIPopUpAnchor.java deleted file mode 100644 index eb317857..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIPopUpAnchor.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexPopUpAnchor", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIPopUpAnchor", - type = "com.googlecode.jsfFlex.FlexUIPopUpAnchor", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIPopUpAnchorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexPopUpAnchor" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIPopUpAnchor") -public abstract class AbstractFlexUIPopUpAnchor - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIPopUpButton.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIPopUpButton.java deleted file mode 100644 index 705bb5eb..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIPopUpButton.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexPopUpButton", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIPopUpButton", - type = "com.googlecode.jsfFlex.FlexUIPopUpButton", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIPopUpButtonTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexPopUpButton", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIPopUpButton") -public abstract class AbstractFlexUIPopUpButton - extends com.googlecode.jsfFlex.component.FlexUISelectedBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIPopUpMenuButton.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIPopUpMenuButton.java deleted file mode 100644 index e30ad3b8..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIPopUpMenuButton.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexPopUpMenuButton", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIPopUpMenuButton", - type = "com.googlecode.jsfFlex.FlexUIPopUpMenuButton", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIPopUpMenuButtonTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexPopUpMenuButton", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIPopUpMenuButton") -public abstract class AbstractFlexUIPopUpMenuButton - extends com.googlecode.jsfFlex.component.FlexUISelectedBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIProgressBar.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIProgressBar.java deleted file mode 100644 index 06d799f8..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIProgressBar.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUIValueBase; - -/** - * Note though FlexUIProgressBar extends AbstractFlexUIValueBase, it will simply retrieve the value during the post-back phase
    - * and NOT set the field of the Flex component as this field is read only.
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexProgressBar", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIProgressBar", - type = "com.googlecode.jsfFlex.FlexUIProgressBar", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIProgressBarTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexProgressBar", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIProgressBar") -public abstract class AbstractFlexUIProgressBar - extends AbstractFlexUIValueBase - implements IFlexUIBaseAttributes { - - @Override - protected void populateComponentInitValues(){ - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIRadioButton.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIRadioButton.java deleted file mode 100644 index 0ea9e536..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIRadioButton.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import java.util.Map; - -import javax.el.ValueExpression; -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUIGroupNameAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUISelectedValueAttribute; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRadioButton", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIRadioButton", - type = "com.googlecode.jsfFlex.FlexUIRadioButton", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIRadioButtonTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexRadioButton", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRadioButton") -public abstract class AbstractFlexUIRadioButton - extends com.googlecode.jsfFlex.component.FlexUISelectedBase - implements IFlexUIBaseAttributes, IFlexUIGroupNameAttribute, IFlexUISelectedValueAttribute { - - private static final String SELECTED_VALUE_ATTR = "selectedValue"; - private static final String SELECTED_VALUE_ID_APPENDED = "_selectedValue"; - - @Override - public void decode(FacesContext context) { - super.decode(context); - - Map requestMap = context.getExternalContext().getRequestParameterMap(); - - /* - * So to make it easy for databinding, will utilize groupName + _selectedValue - * as the search parameter when setting the selectedValue variable. - * This way the developer has to simply dataBind on selectedValue per groupName entry - * to check which value was selected by user. - */ - - String selectedValueId = getGroupName() + SELECTED_VALUE_ID_APPENDED; - String selectedValueUpdateVal = requestMap.get(selectedValueId); - if(selectedValueUpdateVal != null){ - setSelectedValue(selectedValueUpdateVal); - setSubmittedValue(selectedValueUpdateVal); - } - - if(getValue() == null){ - setSelected(false); - }else if(getSelectedValue() != null){ - setSelected(Boolean.valueOf(getSelectedValue().equals(getValue()))); - } - - } - - @Override - public void processUpdates(FacesContext context) { - super.processUpdates(context); - - if (!isRendered() || !isValid()){ - return; - } - - ValueExpression ve = getValueExpression(SELECTED_VALUE_ATTR); - - if(ve != null && !ve.isReadOnly(context.getELContext())){ - ve.setValue(context.getELContext(), getSelectedValue()); - setSelectedValue(null); - } - - } - - /** - * Current value. - */ - @JSFProperty( - inheritedTag = true, - desc = "Current value." - ) - @Override - public Object getValue(){ - return super.getValue(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIRichEditableText.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIRichEditableText.java deleted file mode 100644 index 30f2628d..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIRichEditableText.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRichEditableText", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIRichEditableText", - type = "com.googlecode.jsfFlex.FlexUIRichEditableText", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIRichEditableTextTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexRichEditableText", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRichEditableText") -public abstract class AbstractFlexUIRichEditableText - extends com.googlecode.jsfFlex.component.FlexUITextInputBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIRichText.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIRichText.java deleted file mode 100644 index e22a899b..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIRichText.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUIOutputBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRichText", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIRichText", - type = "com.googlecode.jsfFlex.FlexUIRichText", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIRichTextTag", - family = "javax.faces.FlexOutput", - defaultRendererType = "com.googlecode.jsfFlex.FlexRichText" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRichText") -public abstract class AbstractFlexUIRichText - extends AbstractFlexUIOutputBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIRichTextEditor.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIRichTextEditor.java deleted file mode 100644 index 46c5ddbd..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIRichTextEditor.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRichTextEditor", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIRichTextEditor", - type = "com.googlecode.jsfFlex.FlexUIRichTextEditor", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIRichTextEditorTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexRichTextEditor", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRichTextEditor") -public abstract class AbstractFlexUIRichTextEditor - extends com.googlecode.jsfFlex.component.FlexUIHtmlTextInputBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIScript.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIScript.java deleted file mode 100644 index 76e2e1c0..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIScript.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexScript", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIScript", - type = "com.googlecode.jsfFlex.FlexUIScript", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIScriptTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexScript", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIComponentBodyTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIScript") -public abstract class AbstractFlexUIScript - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIScroller.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIScroller.java deleted file mode 100644 index 5f43be6a..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIScroller.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexScroller", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIScroller", - type = "com.googlecode.jsfFlex.FlexUIScroller", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIScrollerTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexScroller" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIScroller") -public abstract class AbstractFlexUIScroller - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUISpacer.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUISpacer.java deleted file mode 100644 index 1c94d2f5..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUISpacer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSpacer", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUISpacer", - type = "com.googlecode.jsfFlex.FlexUISpacer", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUISpacerTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSpacer" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISpacer") -public abstract class AbstractFlexUISpacer - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUISpinner.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUISpinner.java deleted file mode 100644 index 22a99d54..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUISpinner.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUIValueBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSpinner", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUISpinner", - type = "com.googlecode.jsfFlex.FlexUISpinner", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUISpinnerTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexSpinner", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISpinner") -public abstract class AbstractFlexUISpinner - extends AbstractFlexUIValueBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUISwfLoader.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUISwfLoader.java deleted file mode 100644 index 222d961f..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUISwfLoader.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSwfLoader", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUISwfLoader", - type = "com.googlecode.jsfFlex.FlexUISwfLoader", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUISwfLoaderTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSWFLoader" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISwfLoader") -public abstract class AbstractFlexUISwfLoader - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIText.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIText.java deleted file mode 100644 index e9967f37..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIText.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUIOutputBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexText", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIText", - type = "com.googlecode.jsfFlex.FlexUIText", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUITextTag", - family = "javax.faces.FlexOutput", - defaultRendererType = "com.googlecode.jsfFlex.FlexText" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIText") -public abstract class AbstractFlexUIText - extends AbstractFlexUIOutputBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUITextArea.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUITextArea.java deleted file mode 100644 index 461e87b7..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUITextArea.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexTextArea", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUITextArea", - type = "com.googlecode.jsfFlex.FlexUITextArea", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUITextAreaTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexTextArea", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUITextArea") -public abstract class AbstractFlexUITextArea - extends com.googlecode.jsfFlex.component.FlexUIHtmlTextInputBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUITextInput.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUITextInput.java deleted file mode 100644 index bfbf3be3..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUITextInput.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexTextInput", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUITextInput", - type = "com.googlecode.jsfFlex.FlexUITextInput", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUITextInputTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexTextInput", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUITextInput") -public abstract class AbstractFlexUITextInput - extends com.googlecode.jsfFlex.component.FlexUIHtmlTextInputBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUITileList.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUITileList.java deleted file mode 100644 index a84c233a..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUITileList.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexTileList", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUITileList", - type = "com.googlecode.jsfFlex.FlexUITileList", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUITileListTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexTileList", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUITileList") -public abstract class AbstractFlexUITileList - extends com.googlecode.jsfFlex.component.FlexUISelectedIndexBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIToggleButton.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIToggleButton.java deleted file mode 100644 index f0add3aa..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIToggleButton.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexToggleButton", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIToggleButton", - type = "com.googlecode.jsfFlex.FlexUIToggleButton", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIToggleButtonTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexToggleButton", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIToggleButton") -public abstract class AbstractFlexUIToggleButton - extends com.googlecode.jsfFlex.component.FlexUISelectedBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIToggleButtonBar.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIToggleButtonBar.java deleted file mode 100644 index 1af0faa6..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIToggleButtonBar.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexToggleButtonBar", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIToggleButtonBar", - type = "com.googlecode.jsfFlex.FlexUIToggleButtonBar", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIToggleButtonBarTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexToggleButtonBar" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIToggleButtonBar") -public abstract class AbstractFlexUIToggleButtonBar - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUITree.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUITree.java deleted file mode 100644 index d3b797b8..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUITree.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUISelectedLabelAttribute; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexTree", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUITree", - type = "com.googlecode.jsfFlex.FlexUITree", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUITreeTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexTree", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUITree") -public abstract class AbstractFlexUITree - extends com.googlecode.jsfFlex.component.FlexUISelectedIndexBase - implements IFlexUISelectedLabelAttribute, IFlexUIBaseAttributes { - - private static final String SELECTED_LABEL_ID_APPENDED = "_selectedLabel"; - private static final String SELECTED_LABEL_ATTR = "selectedLabel"; - - @Override - public void decode(FacesContext context) { - super.decode(context); - - java.util.Map requestMap = context.getExternalContext().getRequestParameterMap(); - - String selectedLabelId = getId() + SELECTED_LABEL_ID_APPENDED; - String selectedLabelUpdateVal = requestMap.get(selectedLabelId); - - if(selectedLabelUpdateVal != null){ - setSelectedLabel(selectedLabelUpdateVal); - } - - } - - @Override - public void processUpdates(FacesContext context) { - super.processUpdates(context); - - if (!isRendered() || !isValid()){ - return; - } - - javax.el.ValueExpression ve = getValueExpression(SELECTED_LABEL_ATTR); - - if(ve != null && !ve.isReadOnly(context.getELContext())){ - ve.setValue(context.getELContext(), getSelectedIndex()); - setSelectedIndex(null); - } - - } -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVRule.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVRule.java deleted file mode 100644 index 1aaa729d..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVRule.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexVRule", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIVRule", - type = "com.googlecode.jsfFlex.FlexUIVRule", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIVRuleTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexVRule" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIVRule") -public abstract class AbstractFlexUIVRule - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVScrollBar.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVScrollBar.java deleted file mode 100644 index 627af204..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVScrollBar.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexVScrollBar", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIVScrollBar", - type = "com.googlecode.jsfFlex.FlexUIVScrollBar", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIVScrollBarTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexVScrollBar" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIVScrollBar") -public abstract class AbstractFlexUIVScrollBar - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVSlider.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVSlider.java deleted file mode 100644 index 1f392669..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVSlider.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUIValueBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexVSlider", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIVSlider", - type = "com.googlecode.jsfFlex.FlexUIVSlider", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIVSliderTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexVSlider", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIVSlider") -public abstract class AbstractFlexUIVSlider - extends AbstractFlexUIValueBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVideoDisplay.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVideoDisplay.java deleted file mode 100644 index 68437ea2..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVideoDisplay.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexVideoDisplay", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIVideoDisplay", - type = "com.googlecode.jsfFlex.FlexUIVideoDisplay", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIVideoDisplayTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexVideoDisplay" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIVideoDisplay") -public abstract class AbstractFlexUIVideoDisplay - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVideoPlayer.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVideoPlayer.java deleted file mode 100644 index e31f1251..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/AbstractFlexUIVideoPlayer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexVideoPlayer", - clazz = "com.googlecode.jsfFlex.component.ext.FlexUIVideoPlayer", - type = "com.googlecode.jsfFlex.FlexUIVideoPlayer", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.FlexUIVideoPlayerTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexVideoPlayer" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIVideoPlayer") -public abstract class AbstractFlexUIVideoPlayer - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/AbstractFlexUIDataContainerBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/AbstractFlexUIDataContainerBase.java deleted file mode 100644 index 15a222b1..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/AbstractFlexUIDataContainerBase.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data; - -import java.io.BufferedWriter; -import java.io.File; -import java.io.FileWriter; -import java.io.IOException; -import java.util.Map; - -import javax.faces.component.UIComponentBase; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractFlexUIDataContainerBase - extends AbstractFlexUISimpleBase { - - private static final String TO_BE_CREATED_BODY_CONTENT_FILE_SUFFIX = "BodyContent.tmp"; - - private String _currBodyContentFilePath; - private BufferedWriter _currBodyContentBufferedWriter; - - @Override - public void encodeChildren(FacesContext context) throws IOException { - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - - if(!flexContext.isProductionEnv()){ - _currBodyContentFilePath = flexContext.getPreMxmlPath() + getClass().getSimpleName() + getId() + - TO_BE_CREATED_BODY_CONTENT_FILE_SUFFIX; - _currBodyContentBufferedWriter = new BufferedWriter(new FileWriter(new File(_currBodyContentFilePath))); - - Map temporaryResourceMap = flexContext.getTemporaryResourceMap(); - temporaryResourceMap.put(getTemporaryMapDataContainerKey(), this); - - super.encodeChildren(context); - - temporaryResourceMap.remove(getTemporaryMapDataContainerKey()); - }else{ - super.encodeChildren(context); - } - } - - @Override - public boolean getRendersChildren() { - return true; - } - - protected abstract String getTemporaryMapDataContainerKey(); - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - - public String getCurrBodyContentFilePath() { - return _currBodyContentFilePath; - } - public BufferedWriter getCurrBodyContentBufferedWriter() { - return _currBodyContentBufferedWriter; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/AbstractFlexUIXMLContainerBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/AbstractFlexUIXMLContainerBase.java deleted file mode 100644 index eb1d0b64..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/AbstractFlexUIXMLContainerBase.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractFlexUIXMLContainerBase - extends AbstractFlexUIDataContainerBase { - - public static final String CURR_FLEX_UI_XML_CONTAINER_KEY = "currFlexUIXMLContainerKey"; - - @Override - protected String getTemporaryMapDataContainerKey(){ - return CURR_FLEX_UI_XML_CONTAINER_KEY; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIArray.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIArray.java deleted file mode 100644 index 362f9ab0..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIArray.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - *
      - * This component can have as its direct children components of : - *
    • AbstractFlexUIObjectListEntries
    • - *
    • AbstractFlexUIObjectElement
    • - *
    - * - * To have nesting of objects, one should have jf:flexObjectElement and
    - * jf:flexObjectListEntries tags as this component's children which have
    - * jf:flexObjectProperty or jf:flexObjectStaticProperty tag for properties.
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexArray", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.FlexUIArray", - type = "com.googlecode.jsfFlex.FlexUIArray", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIArrayTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexArray" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIArray") -public abstract class AbstractFlexUIArray - extends AbstractFlexUIObject - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIArrayCollection.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIArrayCollection.java deleted file mode 100644 index 09a28ca2..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIArrayCollection.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexArrayCollection", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.FlexUIArrayCollection", - type = "com.googlecode.jsfFlex.FlexUIArrayCollection", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIArrayCollectionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexArrayCollection" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIArrayCollection") -public abstract class AbstractFlexUIArrayCollection - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIListCollectionView.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIListCollectionView.java deleted file mode 100644 index 37c5d2fe..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIListCollectionView.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexListCollectionView", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.FlexUIListCollectionView", - type = "com.googlecode.jsfFlex.FlexUIListCollectionView", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIListCollectionViewTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexListCollectionView" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIListCollectionView") -public abstract class AbstractFlexUIListCollectionView - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIObject.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIObject.java deleted file mode 100644 index a789b82b..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIObject.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.ext.data.AbstractFlexUIDataContainerBase; - -/** - *
      - * This component can have as its direct children components of : - *
    • AbstractFlexUIObjectListEntries
    • - *
    • AbstractFlexUIObjectElement
    • - *
    - * - * To have nesting of objects, one should have jf:flexObjectElement and
    - * jf:flexObjectListEntries tags as this component's children which have
    - * jf:flexObjectProperty or jf:flexObjectStaticProperty tag for properties.
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexObject", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.FlexUIObject", - type = "com.googlecode.jsfFlex.FlexUIObject", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIObjectTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexObject" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIObject") -public abstract class AbstractFlexUIObject - extends AbstractFlexUIDataContainerBase - implements IFlexUIBaseAttributes { - - public static final String CURR_FLEX_UI_OBJECT_CONTAINER_KEY = "currFlexUIObjectContainerKey"; - - @Override - protected String getTemporaryMapDataContainerKey(){ - return CURR_FLEX_UI_OBJECT_CONTAINER_KEY; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIXML.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIXML.java deleted file mode 100644 index 72cb6eca..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIXML.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.ext.data.AbstractFlexUIXMLContainerBase; - -/** - *
      - * This component can have as its direct children components of : - *
    • AbstractFlexUIXMLListEntries
    • - *
    • AbstractFlexUIXMLStaticElement
    • - *
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexXML", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.FlexUIXML", - type = "com.googlecode.jsfFlex.FlexUIXML", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIXMLTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexXML" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIXML") -public abstract class AbstractFlexUIXML - extends AbstractFlexUIXMLContainerBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIXMLList.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIXMLList.java deleted file mode 100644 index d4384d1c..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIXMLList.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.ext.data.AbstractFlexUIXMLContainerBase; - -/** - *
      - * This component can have as its direct children components of : - *
    • AbstractFlexUIXMLListEntries
    • - *
    • AbstractFlexUIXMLStaticElement
    • - *
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexXMLList", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.FlexUIXMLList", - type = "com.googlecode.jsfFlex.FlexUIXMLList", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIXMLListTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexXMLList" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIXMLList") -public abstract class AbstractFlexUIXMLList - extends AbstractFlexUIXMLContainerBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIXMLListCollection.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIXMLListCollection.java deleted file mode 100644 index 20d2b16c..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/AbstractFlexUIXMLListCollection.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexXMLListCollection", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.FlexUIXMLListCollection", - type = "com.googlecode.jsfFlex.FlexUIXMLListCollection", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.FlexUIXMLListCollectionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexXMLListCollection" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIXMLListCollection") -public abstract class AbstractFlexUIXMLListCollection - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIDataListEntriesBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIDataListEntriesBase.java deleted file mode 100644 index 32b1ebee..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIDataListEntriesBase.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties; - -import java.io.IOException; - -import javax.faces.component.FacesComponent; -import javax.faces.component.UIComponentBase; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBindingBeanListAttribute; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.properties.FlexUIDataListEntriesBase", - type = "com.googlecode.jsfFlex.FlexUIDataListEntriesBase", - family = "javax.faces.FlexProperty", - desc = "Base component for DataList Entries FlexProperty component", - template = true -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDataListEntriesBase") -public abstract class AbstractFlexUIDataListEntriesBase - extends UIComponentBase - implements IFlexUIBindingBeanListAttribute { - - public void encodeChildren(FacesContext context) throws IOException { - - com.googlecode.jsfFlex.shared.context.AbstractFlexContext flexContext = com.googlecode.jsfFlex.shared.context.AbstractFlexContext.getCurrentInstance(); - if(!flexContext.isProductionEnv()){ - if(getBindingBeanList().size() > 0){ - - for(Object currBeanRef : getBindingBeanList()){ - - for(javax.faces.component.UIComponent currChild : getChildren()){ - AbstractFlexUIDataObjectBase currComponent = AbstractFlexUIDataObjectBase.class.cast( currChild ); - - currComponent.setCurrBeanRef(currBeanRef); - currComponent.encodeBegin(context); - currComponent.encodeChildren(context); - currComponent.encodeEnd(context); - - } - - } - - } - } - - } - - public boolean getRendersChildren() { - return true; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIDataObjectBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIDataObjectBase.java deleted file mode 100644 index 3726d681..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIDataObjectBase.java +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties; - -import java.io.IOException; -import java.util.LinkedList; -import java.util.List; - -import javax.faces.component.UIComponent; -import javax.faces.component.UIComponentBase; -import javax.faces.context.FacesContext; - -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.util.ReflectionHelperUtil; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractFlexUIDataObjectBase - extends UIComponentBase { - - private List subComponentPropertyList; - - private Object _currBeanRef; - - @Override - public void encodeChildren(FacesContext context) throws IOException { - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - if(!flexContext.isProductionEnv()){ - for(UIComponent currChild : getChildren()){ - - if(!(currChild instanceof FlexUIDynamicPropertyBase || - currChild instanceof FlexUIStaticPropertyBase)){ - currChild.encodeBegin(context); - currChild.encodeChildren(context); - currChild.encodeEnd(context); - } - - } - } - } - - @Override - public boolean getRendersChildren() { - return true; - } - - protected String processDataObjectProperties(){ - - StringBuilder properties = new StringBuilder(); - List subComponentPropertyList = getSubComponentPropertyList(); - - if(subComponentPropertyList != null){ - for(Object currProperty : subComponentPropertyList){ - properties.append(processDataObjectProperty(currProperty)); - } - } - - return properties.toString(); - } - - private String processDataObjectProperty(Object currProperty){ - - StringBuilder property = new StringBuilder(); - - if(currProperty instanceof FlexUIDynamicPropertyBase){ - FlexUIDynamicPropertyBase currDynamicProperty = FlexUIDynamicPropertyBase.class.cast( currProperty ); - - String propertyName = currDynamicProperty.getProperty(); - String propertyMethodName = currDynamicProperty.getPropertyMethodName(); - - try{ - String propertyValue = ReflectionHelperUtil.getValue(_currBeanRef, propertyMethodName).toString(); - - property.append(" "); - property.append(propertyName); - property.append("='"); - property.append(propertyValue); - property.append("'"); - - }catch(Exception reflectionException){ - throw new ComponentBuildException("Exception was triggered while invoking " + propertyMethodName, reflectionException); - } - - }else if(currProperty instanceof FlexUIStaticPropertyBase){ - FlexUIStaticPropertyBase currStaticProperty = FlexUIStaticPropertyBase.class.cast( currProperty ); - - property.append(" "); - property.append(currStaticProperty.getStaticPropertyName()); - property.append("='"); - property.append(currStaticProperty.getStaticPropertyValue()); - property.append("'"); - - } - - return property.toString(); - } - - private synchronized List getSubComponentPropertyList() { - if(subComponentPropertyList == null){ - subComponentPropertyList = new LinkedList(); - - for(UIComponent currInstance : getChildren()){ - if(currInstance instanceof FlexUIDynamicPropertyBase || - currInstance instanceof FlexUIStaticPropertyBase){ - subComponentPropertyList.add(currInstance); - } - } - - } - - return subComponentPropertyList; - } - - public Object getCurrBeanRef() { - return _currBeanRef; - } - public void setCurrBeanRef(Object currBeanRef) { - _currBeanRef = currBeanRef; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIDynamicPropertyBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIDynamicPropertyBase.java deleted file mode 100644 index 13845a86..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIDynamicPropertyBase.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties; - -import javax.faces.component.FacesComponent; -import javax.faces.component.UIComponentBase; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.properties.FlexUIDynamicPropertyBase", - type = "com.googlecode.jsfFlex.FlexUIDynamicPropertyBase", - family = "javax.faces.FlexProperty", - desc = "Base component for dynamic/reflected FlexProperty component", - template = true -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDynamicPropertyBase") -public abstract class AbstractFlexUIDynamicPropertyBase - extends UIComponentBase { - - /** - * Property of the object. This will allow fetching of the property name and property value dynamically [property provided as a static string representing the property name and its value being the reflected value of this static string]. - */ - @JSFProperty( - required = true, - desc = "Property of the object. This will allow fetching of the property name and property value dynamically [property provided as a static string representing the property name and its value being the reflected value of this static string]." - ) - public abstract String getProperty(); - - public synchronized String getPropertyMethodName(){ - final String GET_PROPERTY_METHOD_NAME = "get" + getProperty().substring(0, 1).toUpperCase() + getProperty().substring(1); - - return GET_PROPERTY_METHOD_NAME; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIStaticPropertyBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIStaticPropertyBase.java deleted file mode 100644 index bc5ecee7..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIStaticPropertyBase.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties; - -import javax.faces.component.FacesComponent; -import javax.faces.component.UIComponentBase; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.properties.FlexUIStaticPropertyBase", - type = "com.googlecode.jsfFlex.FlexUIStaticPropertyBase", - family = "javax.faces.FlexProperty", - desc = "Base component for static FlexProperty component", - template = true -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIStaticPropertyBase") -public abstract class AbstractFlexUIStaticPropertyBase - extends UIComponentBase { - - /** - * Static name of the property. - */ - @JSFProperty( - required = true, - desc = "Static name of the property." - ) - public abstract String getStaticPropertyName(); - - /** - * Static value of the property. - */ - @JSFProperty( - required = true, - desc = "Static value of the property." - ) - public abstract String getStaticPropertyValue(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIXMLElementBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIXMLElementBase.java deleted file mode 100644 index 73810b1d..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/AbstractFlexUIXMLElementBase.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties; - -import java.io.IOException; -import java.util.Map; - -import javax.faces.component.UIComponentBase; -import javax.faces.context.FacesContext; - -import com.googlecode.jsfFlex.component.ext.data.AbstractFlexUIXMLContainerBase; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractFlexUIXMLElementBase - extends AbstractFlexUIDataObjectBase { - - protected String _xmlElementEndTag; - - @Override - public void encodeEnd(FacesContext context) throws IOException { - super.encodeEnd(context); - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - if(!flexContext.isProductionEnv()){ - Map temporaryResourceMap = flexContext.getTemporaryResourceMap(); - AbstractFlexUIXMLContainerBase currXMLContainerRef = AbstractFlexUIXMLContainerBase.class.cast( temporaryResourceMap.get(AbstractFlexUIXMLContainerBase.CURR_FLEX_UI_XML_CONTAINER_KEY) ); - - currXMLContainerRef.getCurrBodyContentBufferedWriter().write(_xmlElementEndTag); - } - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIObjectElement.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIObjectElement.java deleted file mode 100644 index c2bf15e2..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIObjectElement.java +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties.ext; - -import java.io.IOException; -import java.util.Map; - -import javax.faces.component.FacesComponent; -import javax.faces.component.UIComponentBase; -import javax.faces.context.FacesContext; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.ext.data.ext.AbstractFlexUIObject; -import com.googlecode.jsfFlex.component.ext.data.ext.properties.AbstractFlexUIDataObjectBase; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * Since this component is out of the norm in relation to writing Flex content, it will perform
    - * the write of Flex content within the component rather than within a Renderer [meaning Renderer does
    - * not exist for this component]. Also when stated that it is writing Flex content, it technically is
    - * writing to AbstractFlexUIDataContainerBase's BufferedWriter.
    - * - *
      - * This component can have following types of children : - *
    • AbstractFlexUIObjectProperty
    • - *
    • AbstractFlexUIObjectListEntries
    • - *
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexObjectElement", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.FlexUIObjectElement", - type = "com.googlecode.jsfFlex.FlexUIObjectElement", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIObjectElementTag", - family = "javax.faces.FlexProperty" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIObjectElement") -public abstract class AbstractFlexUIObjectElement - extends AbstractFlexUIDataObjectBase - implements IFlexUIBaseAttributes { - - private final static Log _log = LogFactory.getLog(AbstractFlexUIObjectElement.class); - - private static final String OBJECT_START_TAG = " temporaryResourceMap = flexContext.getTemporaryResourceMap(); - AbstractFlexUIObject currObjectContainerRef = AbstractFlexUIObject.class.cast( temporaryResourceMap.get(AbstractFlexUIObject.CURR_FLEX_UI_OBJECT_CONTAINER_KEY) ); - - StringBuilder objectStartTagBuffer = new StringBuilder(); - objectStartTagBuffer.append(OBJECT_START_TAG); - - Map componentAttributeMap = getComponentAttributes(); - if(componentAttributeMap != null){ - for(String attributeName : componentAttributeMap.keySet()){ - String attributeValue = componentAttributeMap.get(attributeName).toString(); - appendAttributeNameValue(objectStartTagBuffer, attributeName, attributeValue); - } - } - - String attributesJSONFormat = getComponentAttributesJSONFormat(); - if(attributesJSONFormat != null && attributesJSONFormat.trim().length() > 0){ - try{ - JSONObject parsedJSONObject = new JSONObject(attributesJSONFormat); - JSONArray attributeName = parsedJSONObject.names(); - - for(int i=0; i < attributeName.length(); i++){ - String currKey = attributeName.get(i).toString(); - String currValue = parsedJSONObject.getString(currKey); - - if(currValue != null){ - appendAttributeNameValue(objectStartTagBuffer, currKey, currValue); - } - } - }catch(JSONException jsonException){ - _log.error("Error while parsing the following String to JSONObject : " + attributesJSONFormat); - throw new ComponentBuildException(jsonException); - } - } - - objectStartTagBuffer.append( processDataObjectProperties() ); - - objectStartTagBuffer.append(OBJECT_START_TAG_CLOSER); - - //now the start tag has been generated so write to the buffer - currObjectContainerRef.getCurrBodyContentBufferedWriter().write(objectStartTagBuffer.toString()); - } - } - - @Override - public void encodeEnd(FacesContext context) throws IOException { - super.encodeEnd(context); - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - if(!flexContext.isProductionEnv()){ - Map temporaryResourceMap = flexContext.getTemporaryResourceMap(); - AbstractFlexUIObject currObjectContainerRef = AbstractFlexUIObject.class.cast( temporaryResourceMap.get(AbstractFlexUIObject.CURR_FLEX_UI_OBJECT_CONTAINER_KEY) ); - - currObjectContainerRef.getCurrBodyContentBufferedWriter().write(OBJECT_END_TAG); - } - } - - private void appendAttributeNameValue(StringBuilder content, String attributeName, String attributeValue){ - content.append(" "); - content.append(attributeName); - content.append("="); - content.append(attributeValue); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIObjectListEntries.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIObjectListEntries.java deleted file mode 100644 index 068221b0..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIObjectListEntries.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -/** - * This should be a child component of AbstractFlexUIObject or AbstractFlexUIObjectElement
    - * and should have AbstractFlexUIObjectElement as its children. - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexObjectListEntries", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.FlexUIObjectListEntries", - type = "com.googlecode.jsfFlex.FlexUIObjectListEntries", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIObjectListEntriesTag", - family = "javax.faces.FlexProperty" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIObjectListEntries") -public abstract class AbstractFlexUIObjectListEntries - extends com.googlecode.jsfFlex.component.ext.data.ext.properties.FlexUIDataListEntriesBase { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIObjectProperty.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIObjectProperty.java deleted file mode 100644 index c1cbcedb..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIObjectProperty.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexObjectProperty", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.FlexUIObjectProperty", - type = "com.googlecode.jsfFlex.FlexUIObjectProperty", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIObjectPropertyTag", - family = "javax.faces.FlexProperty" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIObjectProperty") -public abstract class AbstractFlexUIObjectProperty - extends com.googlecode.jsfFlex.component.ext.data.ext.properties.FlexUIDynamicPropertyBase { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIObjectStaticProperty.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIObjectStaticProperty.java deleted file mode 100644 index 3b91b820..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIObjectStaticProperty.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexObjectStaticProperty", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.FlexUIObjectStaticProperty", - type = "com.googlecode.jsfFlex.FlexUIObjectStaticProperty", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIObjectStaticPropertyTag", - family = "javax.faces.FlexProperty" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIObjectStaticProperty") -public abstract class AbstractFlexUIObjectStaticProperty - extends com.googlecode.jsfFlex.component.ext.data.ext.properties.FlexUIStaticPropertyBase { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLAttribute.java deleted file mode 100644 index 00f4ce01..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLAttribute.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexXMLAttribute", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.FlexUIXMLAttribute", - type = "com.googlecode.jsfFlex.FlexUIXMLAttribute", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIXMLAttributeTag", - family = "javax.faces.FlexProperty" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIXMLAttribute") -public abstract class AbstractFlexUIXMLAttribute - extends com.googlecode.jsfFlex.component.ext.data.ext.properties.FlexUIDynamicPropertyBase { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLElement.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLElement.java deleted file mode 100644 index 28d6a4c0..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLElement.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties.ext; - -import java.io.IOException; -import java.util.Map; - -import javax.faces.component.FacesComponent; -import javax.faces.component.UIComponentBase; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.component.ext.data.AbstractFlexUIXMLContainerBase; -import com.googlecode.jsfFlex.component.ext.data.ext.properties.AbstractFlexUIXMLElementBase; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.util.ReflectionHelperUtil; - -/** - * Since this component is out of the norm in relation to writing Flex content, it will perform
    - * the write of Flex content within the component rather than within a Renderer [meaning Renderer does
    - * not exist for this component]. Also when stated that it is writing Flex content, it technically is
    - * writing to AbstractFlexUIDataContainerBase's BufferedWriter.
    - * - *
      - * This component can have following type of children : - *
    • AbstractFlexUIXMLAttribute
    • - *
    • AbstractFlexUIXMLStaticAttribute
    • - *
    • AbstractFlexUIXMLListEntries
    • - *
    - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexXMLElement", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.FlexUIXMLElement", - type = "com.googlecode.jsfFlex.FlexUIXMLElement", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIXMLElementTag", - family = "javax.faces.FlexProperty" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIXMLElement") -public abstract class AbstractFlexUIXMLElement - extends AbstractFlexUIXMLElementBase { - - @Override - public void encodeBegin(FacesContext context) throws IOException { - super.encodeBegin(context); - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - if(!flexContext.isProductionEnv()){ - Map temporaryResourceMap = flexContext.getTemporaryResourceMap(); - AbstractFlexUIXMLContainerBase currXMLContainerBaseRef = AbstractFlexUIXMLContainerBase.class.cast( temporaryResourceMap.get(AbstractFlexUIXMLContainerBase.CURR_FLEX_UI_XML_CONTAINER_KEY) ); - - StringBuilder xmlElementStartTagBuffer = new StringBuilder(); - - xmlElementStartTagBuffer.append( processXMLTagDynamically(currXMLContainerBaseRef) ); - - //now the start tag has been generated so write to the buffer - currXMLContainerBaseRef.getCurrBodyContentBufferedWriter().write(xmlElementStartTagBuffer.toString()); - } - } - - private String processXMLTagDynamically(AbstractFlexUIXMLContainerBase currXMLListRef){ - - final String GET_NODE_NAME_METHOD_NAME = getNodeName() != null ? "get" + getNodeName().substring(0, 1).toUpperCase() + getNodeName().substring(1) : null; - final String GET_NODE_VALUE_METHOD_NAME = getNodeValue() != null ? "get" + getNodeValue().substring(0, 1).toUpperCase() + getNodeName().substring(1) : null; - - StringBuilder xmlElementStartTagBuffer = new StringBuilder(); - StringBuilder xmlElementEndTagBuffer = new StringBuilder(); - - try{ - String nodeName = ReflectionHelperUtil.getValue(getCurrBeanRef(), GET_NODE_NAME_METHOD_NAME).toString(); - String nodeValue = ""; - - if(GET_NODE_VALUE_METHOD_NAME != null){ - nodeValue = ReflectionHelperUtil.getValue(getCurrBeanRef(), GET_NODE_VALUE_METHOD_NAME).toString(); - } - - xmlElementStartTagBuffer.append("<"); - xmlElementStartTagBuffer.append(nodeName); - - xmlElementStartTagBuffer.append( processDataObjectProperties() ); - - xmlElementStartTagBuffer.append(">"); - - //below content will be written within encodeEnd - xmlElementEndTagBuffer.append(nodeValue); - xmlElementEndTagBuffer.append(""); - _xmlElementEndTag = xmlElementEndTagBuffer.toString(); - - }catch(Exception reflectionException){ - throw new ComponentBuildException("Exception was triggered while invoking " + GET_NODE_NAME_METHOD_NAME + " or " + GET_NODE_VALUE_METHOD_NAME, - reflectionException); - } - - return xmlElementStartTagBuffer.toString(); - } - - /** - * Name of the node which will be fetched dynamically using reflection. This field should be a static string representing the name of the field within the binding bean. - */ - @JSFProperty( - required = true, - desc = "Name of the node which will be fetched dynamically using reflection. This field should be a static string representing the name of the field within the binding bean." - ) - public abstract String getNodeName(); - - /** - * Value of the node which will be fetched dynamically using reflection. This field should be a static string representing the value of the field within the binding bean. - */ - @JSFProperty(desc = "Value of the node which will be fetched dynamically using reflection. This field should be a static string representing the value of the field within the binding bean.") - public abstract String getNodeValue(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLListEntries.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLListEntries.java deleted file mode 100644 index 14a5a9fc..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLListEntries.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -/** - *
      - * This should be a child component of : - *
    • AbstractFlexUIXMLList
    • - *
    • AbstractFlexUIXML
    • - *
    • AbstractFlexUIXMLStaticElement
    • - * - * and should have AbstractFlexUIXMLElementBase as its children. - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexXMLListEntries", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.FlexUIXMLListEntries", - type = "com.googlecode.jsfFlex.FlexUIXMLListEntries", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIXMLListEntriesTag", - family = "javax.faces.FlexProperty" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIXMLListEntries") -public abstract class AbstractFlexUIXMLListEntries - extends com.googlecode.jsfFlex.component.ext.data.ext.properties.FlexUIDataListEntriesBase { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLStaticAttribute.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLStaticAttribute.java deleted file mode 100644 index 99eca457..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLStaticAttribute.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexXMLStaticAttribute", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.FlexUIXMLStaticAttribute", - type = "com.googlecode.jsfFlex.FlexUIXMLStaticAttribute", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIXMLStaticAttributeTag", - family = "javax.faces.FlexProperty" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIXMLStaticAttribute") -public abstract class AbstractFlexUIXMLStaticAttribute - extends com.googlecode.jsfFlex.component.ext.data.ext.properties.FlexUIStaticPropertyBase { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLStaticElement.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLStaticElement.java deleted file mode 100644 index bc326dc2..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/data/ext/properties/ext/AbstractFlexUIXMLStaticElement.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.data.ext.properties.ext; - -import java.io.IOException; -import java.util.Map; - -import javax.faces.component.FacesComponent; -import javax.faces.component.UIComponentBase; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.component.ext.data.AbstractFlexUIXMLContainerBase; -import com.googlecode.jsfFlex.component.ext.data.ext.properties.AbstractFlexUIXMLElementBase; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; - -/** - * Since this component is out of the norm in relation to writing Flex content, it will perform
      - * the write of Flex content within the component rather than within a Renderer [meaning Renderer does
      - * not exist for this component]. Also when stated that it is writing Flex content, it technically is
      - * writing to AbstractFlexUIDataContainerBase's BufferedWriter.
      - * - *
        - * This component can have following types of children : - *
      • AbstractFlexUIXMLStaticAttribute
      • - *
      • AbstractFlexUIXMLListEntries
      • - *
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexXMLStaticElement", - clazz = "com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.FlexUIXMLStaticElement", - type = "com.googlecode.jsfFlex.FlexUIXMLStaticElement", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.data.ext.properties.ext.FlexUIXMLStaticElementTag", - family = "javax.faces.FlexProperty" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIXMLStaticElement") -public abstract class AbstractFlexUIXMLStaticElement - extends AbstractFlexUIXMLElementBase { - - @Override - public void encodeBegin(FacesContext context) throws IOException { - super.encodeBegin(context); - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - if(!flexContext.isProductionEnv()){ - Map temporaryResourceMap = flexContext.getTemporaryResourceMap(); - AbstractFlexUIXMLContainerBase currXMLContainerBaseRef = AbstractFlexUIXMLContainerBase.class.cast( temporaryResourceMap.get(AbstractFlexUIXMLContainerBase.CURR_FLEX_UI_XML_CONTAINER_KEY) ); - - StringBuilder xmlElementStartTagBuffer = new StringBuilder(); - - xmlElementStartTagBuffer.append("<"); - xmlElementStartTagBuffer.append(getStaticNodeName()); - - xmlElementStartTagBuffer.append( processDataObjectProperties() ); - - xmlElementStartTagBuffer.append(">"); - - //now need to set xml element's end tag - StringBuilder xmlElementEndTagBuffer = new StringBuilder(); - xmlElementEndTagBuffer.append(getStaticNodeValue() == null ? "" : getStaticNodeValue()); - xmlElementEndTagBuffer.append(""); - _xmlElementEndTag = xmlElementEndTagBuffer.toString(); - - //now the start tag has been generated so write to the buffer - currXMLContainerBaseRef.getCurrBodyContentBufferedWriter().write(xmlElementStartTagBuffer.toString()); - } - } - - /** - * Static name of the node. - */ - @JSFProperty( - required = true, - desc = "Static name of the node." - ) - public abstract String getStaticNodeName(); - - /** - * Static value of the node. - */ - @JSFProperty(desc = "Static value of the node.") - public abstract String getStaticNodeValue(); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/properties/ext/AbstractFlexUIColumns.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/properties/ext/AbstractFlexUIColumns.java deleted file mode 100644 index 710003e8..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/properties/ext/AbstractFlexUIColumns.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.properties.ext; - -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import javax.faces.component.FacesComponent; -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; -import com.googlecode.jsfFlex.component.ext.AbstractFlexUIDataGrid; -import com.googlecode.jsfFlex.component.ext.AbstractFlexUIDataGridColumn; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexColumns", - clazz = "com.googlecode.jsfFlex.component.ext.properties.ext.FlexUIColumns", - type = "com.googlecode.jsfFlex.FlexUIColumns", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.properties.ext.FlexUIColumnsTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexColumns" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIColumns") -public abstract class AbstractFlexUIColumns - extends AbstractFlexUISimpleBase { - - @Override - public void encodeEnd(FacesContext context) throws IOException { - super.encodeEnd(context); - - AbstractFlexUIDataGrid dataGridComponent = AbstractFlexUIDataGrid.class.cast( getParent() ); - Map dataGridColumnComponentMapping = dataGridComponent.getDataGridColumnComponentMapping(); - - List dataGridColumnComponents = getChildren(); - for(UIComponent currChild : dataGridColumnComponents){ - AbstractFlexUIDataGridColumn currDataGridColumnComponent = AbstractFlexUIDataGridColumn.class.cast( currChild ); - dataGridColumnComponentMapping.put(currDataGridColumnComponent.getDataField(), currDataGridColumnComponent); - } - - if(dataGridColumnComponents.size() > 0){ - AbstractFlexUIDataGridColumn currDataGridColumnComponent = AbstractFlexUIDataGridColumn.class.cast( dataGridColumnComponents.get(0) ); - dataGridComponent.setFilterColumn(currDataGridColumnComponent.getDataField()); - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/properties/ext/AbstractFlexUIDataProvider.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/properties/ext/AbstractFlexUIDataProvider.java deleted file mode 100644 index 8f2c52f9..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/properties/ext/AbstractFlexUIDataProvider.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.properties.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDataProvider", - clazz = "com.googlecode.jsfFlex.component.ext.properties.ext.FlexUIDataProvider", - type = "com.googlecode.jsfFlex.FlexUIDataProvider", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.properties.ext.FlexUIDataProviderTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexDataProvider" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDataProvider") -public abstract class AbstractFlexUIDataProvider - extends AbstractFlexUISimpleBase { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/properties/ext/AbstractFlexUIDeclarations.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/properties/ext/AbstractFlexUIDeclarations.java deleted file mode 100644 index 2ba131a2..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/properties/ext/AbstractFlexUIDeclarations.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.properties.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDeclarations", - clazz = "com.googlecode.jsfFlex.component.ext.properties.ext.FlexUIDeclarations", - type = "com.googlecode.jsfFlex.FlexUIDeclarations", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.properties.ext.FlexUIDeclarationsTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexDeclarations" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDeclarations") -public abstract class AbstractFlexUIDeclarations - extends AbstractFlexUISimpleBase { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/service/ext/AbstractFlexUIHTTPService.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/service/ext/AbstractFlexUIHTTPService.java deleted file mode 100644 index 13fcbc23..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/service/ext/AbstractFlexUIHTTPService.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.service.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexHTTPService", - clazz = "com.googlecode.jsfFlex.component.ext.service.ext.FlexUIHTTPService", - type = "com.googlecode.jsfFlex.FlexUIHTTPService", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.service.ext.FlexUIHTTPServiceTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexHTTPService" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIHTTPService") -public abstract class AbstractFlexUIHTTPService - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/service/ext/AbstractFlexUIRemoteObject.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/service/ext/AbstractFlexUIRemoteObject.java deleted file mode 100644 index b57d9a4d..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/service/ext/AbstractFlexUIRemoteObject.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.service.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRemoteObject", - clazz = "com.googlecode.jsfFlex.component.ext.service.ext.FlexUIRemoteObject", - type = "com.googlecode.jsfFlex.FlexUIRemoteObject", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.service.ext.FlexUIRemoteObjectTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexRemoteObject" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRemoteObject") -public abstract class AbstractFlexUIRemoteObject - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/service/ext/AbstractFlexUIWebService.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/service/ext/AbstractFlexUIWebService.java deleted file mode 100644 index 94cd5042..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/component/ext/service/ext/AbstractFlexUIWebService.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.component.ext.service.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexWebService", - clazz = "com.googlecode.jsfFlex.component.ext.service.ext.FlexUIWebService", - type = "com.googlecode.jsfFlex.FlexUIWebService", - tagClass = "com.googlecode.jsfFlex.taglib.component.ext.service.ext.FlexUIWebServiceTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexWebService" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIWebService") -public abstract class AbstractFlexUIWebService - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIAccordion.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIAccordion.java deleted file mode 100644 index 7a684241..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIAccordion.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import java.io.IOException; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUICreationPolicyAttribute; - -/** - * Since Accordion is written to maintain it's state [which container is chosen], it - * will extend directly from FlexUISelectedIndexBase and not of a Container - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAccordion", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIAccordion", - type = "com.googlecode.jsfFlex.FlexUIAccordion", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIAccordionTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexAccordion", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAccordion") -public abstract class AbstractFlexUIAccordion - extends com.googlecode.jsfFlex.component.FlexUISelectedIndexBase - implements IFlexUIBaseAttributes, IFlexUICreationPolicyAttribute { - - @Override - public void encodeBegin(FacesContext context) throws IOException { - /* - * HACK : - * Setting creationPolicy to "all", so the components which are not - * shown by the non-selected Container would be created and can be referred - * during the initialization/value preserving process - * - * I think this is the most prudent choice - */ - setCreationPolicy("all"); - - super.encodeBegin(context); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIApplicationControlBar.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIApplicationControlBar.java deleted file mode 100644 index f8c97ee6..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIApplicationControlBar.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexApplicationControlBar", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIApplicationControlBar", - type = "com.googlecode.jsfFlex.FlexUIApplicationControlBar", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIApplicationControlBarTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexApplicationControlBar" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIApplicationControlBar") -public abstract class AbstractFlexUIApplicationControlBar - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIBorderContainer.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIBorderContainer.java deleted file mode 100644 index 37ac2ebb..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIBorderContainer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexBorderContainer", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIBorderContainer", - type = "com.googlecode.jsfFlex.FlexUIBorderContainer", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIBorderContainerTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexBorderContainer" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIBorderContainer") -public abstract class AbstractFlexUIBorderContainer - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIBox.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIBox.java deleted file mode 100644 index 1dc94a61..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIBox.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexBox", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIBox", - type = "com.googlecode.jsfFlex.FlexUIBox", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIBoxTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexBox" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIBox") -public abstract class AbstractFlexUIBox - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUICanvas.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUICanvas.java deleted file mode 100644 index 63c94e66..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUICanvas.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexCanvas", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUICanvas", - type = "com.googlecode.jsfFlex.FlexUICanvas", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUICanvasTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexCanvas" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUICanvas") -public abstract class AbstractFlexUICanvas - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIControlBar.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIControlBar.java deleted file mode 100644 index f534c4de..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIControlBar.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexControlBar", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIControlBar", - type = "com.googlecode.jsfFlex.FlexUIControlBar", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIControlBarTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexControlBar" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIControlBar") -public abstract class AbstractFlexUIControlBar - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIDataGroup.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIDataGroup.java deleted file mode 100644 index bc04d45c..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIDataGroup.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDataGroup", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIDataGroup", - type = "com.googlecode.jsfFlex.FlexUIDataGroup", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIDataGroupTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexDataGroup" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDataGroup") -public abstract class AbstractFlexUIDataGroup - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIDividedBox.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIDividedBox.java deleted file mode 100644 index ff0da4d0..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIDividedBox.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDividedBox", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIDividedBox", - type = "com.googlecode.jsfFlex.FlexUIDividedBox", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIDividedBoxTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexDividedBox" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDividedBox") -public abstract class AbstractFlexUIDividedBox - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIGrid.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIGrid.java deleted file mode 100644 index 1b775f75..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIGrid.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexGrid", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIGrid", - type = "com.googlecode.jsfFlex.FlexUIGrid", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIGridTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexGrid" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIGrid") -public abstract class AbstractFlexUIGrid - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIGridItem.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIGridItem.java deleted file mode 100644 index e2ed641a..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIGridItem.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import java.io.IOException; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUIDirectionAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexGridItem", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIGridItem", - type = "com.googlecode.jsfFlex.FlexUIGridItem", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIGridItemTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexGridItem" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIGridItem") -public abstract class AbstractFlexUIGridItem - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes, IFlexUIDirectionAttribute { - - @Override - public void encodeBegin(FacesContext context) throws IOException { - /* - * Grid item will have direction set to horizontal - */ - setDirection("horizontal"); - - super.encodeBegin(context); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIGridRow.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIGridRow.java deleted file mode 100644 index 5b512197..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIGridRow.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import java.io.IOException; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUIDirectionAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexGridRow", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIGridRow", - type = "com.googlecode.jsfFlex.FlexUIGridRow", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIGridRowTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexGridRow" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIGridRow") -public abstract class AbstractFlexUIGridRow - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes, IFlexUIDirectionAttribute { - - @Override - public void encodeBegin(FacesContext context) throws IOException { - /* - * Grid row will have direction set to horizontal - */ - setDirection("horizontal"); - - super.encodeBegin(context); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIGroup.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIGroup.java deleted file mode 100644 index a9fc2b05..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIGroup.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexGroup", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIGroup", - type = "com.googlecode.jsfFlex.FlexUIGroup", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIGroupTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexGroup" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIGroup") -public abstract class AbstractFlexUIGroup - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIHGroup.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIHGroup.java deleted file mode 100644 index 8c03bde5..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIHGroup.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexHGroup", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIHGroup", - type = "com.googlecode.jsfFlex.FlexUIHGroup", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIHGroupTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexHGroup" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIHGroup") -public abstract class AbstractFlexUIHGroup - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUINavigatorContent.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUINavigatorContent.java deleted file mode 100644 index bf64ff92..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUINavigatorContent.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexNavigatorContent", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUINavigatorContent", - type = "com.googlecode.jsfFlex.FlexUINavigatorContent", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUINavigatorContentTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexNavigatorContent" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUINavigatorContent") -public abstract class AbstractFlexUINavigatorContent - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIPanel.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIPanel.java deleted file mode 100644 index 216ed1e7..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIPanel.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexPanel", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIPanel", - type = "com.googlecode.jsfFlex.FlexUIPanel", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIPanelTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexPanel" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIPanel") -public abstract class AbstractFlexUIPanel - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUISkinnableContainer.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUISkinnableContainer.java deleted file mode 100644 index ca6b7e27..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUISkinnableContainer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import java.io.IOException; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUICreationPolicyAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSkinnableContainer", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUISkinnableContainer", - type = "com.googlecode.jsfFlex.FlexUISkinnableContainer", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUISkinnableContainerTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSkinnableContainer" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISkinnableContainer") -public abstract class AbstractFlexUISkinnableContainer - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes, IFlexUICreationPolicyAttribute { - - @Override - public void encodeBegin(FacesContext context) throws IOException { - /* - * HACK : - * Setting creationPolicy to "all", so the components which are not - * shown by the non-selected Container would be created and can be referred - * during the initialization/value preserving process - * - * I think this is the most prudent choice - */ - setCreationPolicy("all"); - super.encodeBegin(context); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUISkinnableDataContainer.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUISkinnableDataContainer.java deleted file mode 100644 index 00692ceb..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUISkinnableDataContainer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSkinnableDataContainer", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUISkinnableDataContainer", - type = "com.googlecode.jsfFlex.FlexUISkinnableDataContainer", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUISkinnableDataContainerTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSkinnableDataContainer" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISkinnableDataContainer") -public abstract class AbstractFlexUISkinnableDataContainer - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITabBar.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITabBar.java deleted file mode 100644 index b0c13ebd..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITabBar.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexTabBar", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUITabBar", - type = "com.googlecode.jsfFlex.FlexUITabBar", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUITabBarTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexTabBar", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUITabBar") -public abstract class AbstractFlexUITabBar - extends com.googlecode.jsfFlex.component.FlexUISelectedIndexBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITabNavigator.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITabNavigator.java deleted file mode 100644 index 6fa10b85..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITabNavigator.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUICreationPolicyAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUIViewStackBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexTabNavigator", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUITabNavigator", - type = "com.googlecode.jsfFlex.FlexUITabNavigator", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUITabNavigatorTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexTabNavigator", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUITabNavigator") -public abstract class AbstractFlexUITabNavigator - extends AbstractFlexUIViewStackBase - implements IFlexUIBaseAttributes, IFlexUICreationPolicyAttribute { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITile.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITile.java deleted file mode 100644 index f2564c16..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITile.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexTile", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUITile", - type = "com.googlecode.jsfFlex.FlexUITile", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUITileTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexTile" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUITile") -public abstract class AbstractFlexUITile - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITileGroup.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITileGroup.java deleted file mode 100644 index 37ffe332..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITileGroup.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexTileGroup", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUITileGroup", - type = "com.googlecode.jsfFlex.FlexUITileGroup", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUITileGroupTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexTileGroup" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUITileGroup") -public abstract class AbstractFlexUITileGroup - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITitleWindow.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITitleWindow.java deleted file mode 100644 index c00d0e8c..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUITitleWindow.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexTitleWindow", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUITitleWindow", - type = "com.googlecode.jsfFlex.FlexUITitleWindow", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUITitleWindowTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexTitleWindow" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUITitleWindow") -public abstract class AbstractFlexUITitleWindow - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIVGroup.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIVGroup.java deleted file mode 100644 index cd7016fc..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIVGroup.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexVGroup", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIVGroup", - type = "com.googlecode.jsfFlex.FlexUIVGroup", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIVGroupTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexVGroup" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIVGroup") -public abstract class AbstractFlexUIVGroup - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIViewStack.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIViewStack.java deleted file mode 100644 index 56a3f4ae..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/container/ext/AbstractFlexUIViewStack.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.container.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUICreationPolicyAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUIViewStackBase; - -/** - * Since ViewStack is written to maintain it's state, it will extend directly from AbstractUIViewStackBase - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexViewStack", - clazz = "com.googlecode.jsfFlex.container.ext.FlexUIViewStack", - type = "com.googlecode.jsfFlex.FlexUIViewStack", - tagClass = "com.googlecode.jsfFlex.taglib.container.ext.FlexUIViewStackTag", - family = "javax.faces.FlexInput", - defaultRendererType = "com.googlecode.jsfFlex.FlexViewStack", - tagSuperclass = "com.googlecode.jsfFlex.taglib.AbstractFlexUIInputTagBase" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIViewStack") -public abstract class AbstractFlexUIViewStack - extends AbstractFlexUIViewStackBase - implements IFlexUIBaseAttributes, IFlexUICreationPolicyAttribute { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUICurrencyFormatter.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUICurrencyFormatter.java deleted file mode 100644 index 41965417..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUICurrencyFormatter.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.convert.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexCurrencyFormatter", - clazz = "com.googlecode.jsfFlex.convert.ext.FlexUICurrencyFormatter", - type = "com.googlecode.jsfFlex.FlexUICurrencyFormatter", - tagClass = "com.googlecode.jsfFlex.taglib.convert.ext.FlexUICurrencyFormatterTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexCurrencyFormatter" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUICurrencyFormatter") -public abstract class AbstractFlexUICurrencyFormatter - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUIDateFormatter.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUIDateFormatter.java deleted file mode 100644 index b58d1bcb..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUIDateFormatter.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.convert.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDateFormatter", - clazz = "com.googlecode.jsfFlex.convert.ext.FlexUIDateFormatter", - type = "com.googlecode.jsfFlex.FlexUIDateFormatter", - tagClass = "com.googlecode.jsfFlex.taglib.convert.ext.FlexUIDateFormatterTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexDateFormatter" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDateFormatter") -public abstract class AbstractFlexUIDateFormatter - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUINumberFormatter.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUINumberFormatter.java deleted file mode 100644 index 4799eb5d..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUINumberFormatter.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.convert.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexNumberFormatter", - clazz = "com.googlecode.jsfFlex.convert.ext.FlexUINumberFormatter", - type = "com.googlecode.jsfFlex.FlexUINumberFormatter", - tagClass = "com.googlecode.jsfFlex.taglib.convert.ext.FlexUINumberFormatterTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexNumberFormatter" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUINumberFormatter") -public abstract class AbstractFlexUINumberFormatter - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUIPhoneFormatter.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUIPhoneFormatter.java deleted file mode 100644 index cc12743d..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUIPhoneFormatter.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.convert.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexPhoneFormatter", - clazz = "com.googlecode.jsfFlex.convert.ext.FlexUIPhoneFormatter", - type = "com.googlecode.jsfFlex.FlexUIPhoneFormatter", - tagClass = "com.googlecode.jsfFlex.taglib.convert.ext.FlexUIPhoneFormatterTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexPhoneFormatter" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIPhoneFormatter") -public abstract class AbstractFlexUIPhoneFormatter - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUIZipCodeFormatter.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUIZipCodeFormatter.java deleted file mode 100644 index 9afbc85e..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/convert/ext/AbstractFlexUIZipCodeFormatter.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.convert.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexZipCodeFormatter", - clazz = "com.googlecode.jsfFlex.convert.ext.FlexUIZipCodeFormatter", - type = "com.googlecode.jsfFlex.FlexUIZipCodeFormatter", - tagClass = "com.googlecode.jsfFlex.taglib.convert.ext.FlexUIZipCodeFormatterTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexZipCodeFormatter" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIZipCodeFormatter") -public abstract class AbstractFlexUIZipCodeFormatter - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAddAction.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAddAction.java deleted file mode 100644 index 4f032cf9..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAddAction.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAddAction", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIAddAction", - type = "com.googlecode.jsfFlex.FlexUIAddAction", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAddActionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexAddAction" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAddAction") -public abstract class AbstractFlexUIAddAction - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAddChildAction.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAddChildAction.java deleted file mode 100644 index 5e66c56b..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAddChildAction.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAddChildAction", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIAddChildAction", - type = "com.googlecode.jsfFlex.FlexUIAddChildAction", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAddChildActionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexAddChildAction" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAddChildAction") -public abstract class AbstractFlexUIAddChildAction - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAddItemAction.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAddItemAction.java deleted file mode 100644 index 909b405a..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAddItemAction.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAddItemAction", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIAddItemAction", - type = "com.googlecode.jsfFlex.FlexUIAddItemAction", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAddItemActionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexAddItemAction" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAddItemAction") -public abstract class AbstractFlexUIAddItemAction - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimate.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimate.java deleted file mode 100644 index 1ddd73f2..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimate.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAnimate", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIAnimate", - type = "com.googlecode.jsfFlex.FlexUIAnimate", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAnimateTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexAnimate" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAnimate") -public abstract class AbstractFlexUIAnimate - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateColor.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateColor.java deleted file mode 100644 index ca78097e..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateColor.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAnimateColor", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIAnimateColor", - type = "com.googlecode.jsfFlex.FlexUIAnimateColor", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAnimateColorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexAnimateColor" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAnimateColor") -public abstract class AbstractFlexUIAnimateColor - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateFilter.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateFilter.java deleted file mode 100644 index 49892007..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateFilter.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAnimateFilter", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIAnimateFilter", - type = "com.googlecode.jsfFlex.FlexUIAnimateFilter", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAnimateFilterTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexAnimateFilter" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAnimateFilter") -public abstract class AbstractFlexUIAnimateFilter - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateProperty.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateProperty.java deleted file mode 100644 index d7ce5f1e..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateProperty.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAnimateProperty", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIAnimateProperty", - type = "com.googlecode.jsfFlex.FlexUIAnimateProperty", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAnimatePropertyTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexAnimateProperty" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAnimateProperty") -public abstract class AbstractFlexUIAnimateProperty - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateTransform.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateTransform.java deleted file mode 100644 index 0a44a440..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateTransform.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAnimateTransform", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIAnimateTransform", - type = "com.googlecode.jsfFlex.FlexUIAnimateTransform", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAnimateTransformTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexAnimateTransform" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAnimateTransform") -public abstract class AbstractFlexUIAnimateTransform - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateTransform3D.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateTransform3D.java deleted file mode 100644 index 064b7f92..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateTransform3D.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAnimateTransform3D", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIAnimateTransform3D", - type = "com.googlecode.jsfFlex.FlexUIAnimateTransform3D", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAnimateTransform3DTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexAnimateTransform3D" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAnimateTransform3D") -public abstract class AbstractFlexUIAnimateTransform3D - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateTransitionShader.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateTransitionShader.java deleted file mode 100644 index efc3db78..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIAnimateTransitionShader.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAnimateTransitionShader", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIAnimateTransitionShader", - type = "com.googlecode.jsfFlex.FlexUIAnimateTransitionShader", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIAnimateTransitionShaderTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexAnimateTransitionShader" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAnimateTransitionShader") -public abstract class AbstractFlexUIAnimateTransitionShader - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIBlur.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIBlur.java deleted file mode 100644 index 85688615..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIBlur.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexBlur", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIBlur", - type = "com.googlecode.jsfFlex.FlexUIBlur", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIBlurTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexBlur" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIBlur") -public abstract class AbstractFlexUIBlur - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUICallAction.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUICallAction.java deleted file mode 100644 index ce56bd65..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUICallAction.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexCallAction", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUICallAction", - type = "com.googlecode.jsfFlex.FlexUICallAction", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUICallActionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexCallAction" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUICallAction") -public abstract class AbstractFlexUICallAction - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUICrossFade.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUICrossFade.java deleted file mode 100644 index 618fefe7..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUICrossFade.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexCrossFade", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUICrossFade", - type = "com.googlecode.jsfFlex.FlexUICrossFade", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUICrossFadeTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexCrossFade" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUICrossFade") -public abstract class AbstractFlexUICrossFade - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIDefaultListEffect.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIDefaultListEffect.java deleted file mode 100644 index 6f14b6c1..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIDefaultListEffect.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDefaultListEffect", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIDefaultListEffect", - type = "com.googlecode.jsfFlex.FlexUIDefaultListEffect", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIDefaultListEffectTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexDefaultListEffect" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDefaultListEffect") -public abstract class AbstractFlexUIDefaultListEffect - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIDefaultTileListEffect.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIDefaultTileListEffect.java deleted file mode 100644 index 6a728868..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIDefaultTileListEffect.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDefaultTileListEffect", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIDefaultTileListEffect", - type = "com.googlecode.jsfFlex.FlexUIDefaultTileListEffect", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIDefaultTileListEffectTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexDefaultTileListEffect" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDefaultTileListEffect") -public abstract class AbstractFlexUIDefaultTileListEffect - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIDissolve.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIDissolve.java deleted file mode 100644 index 171a8ec7..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIDissolve.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDissolve", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIDissolve", - type = "com.googlecode.jsfFlex.FlexUIDissolve", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIDissolveTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexDissolve" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDissolve") -public abstract class AbstractFlexUIDissolve - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIFade.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIFade.java deleted file mode 100644 index e5c30805..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIFade.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexFade", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIFade", - type = "com.googlecode.jsfFlex.FlexUIFade", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIFadeTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexFade" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIFade") -public abstract class AbstractFlexUIFade - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIGlow.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIGlow.java deleted file mode 100644 index bf3d66f2..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIGlow.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexGlow", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIGlow", - type = "com.googlecode.jsfFlex.FlexUIGlow", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIGlowTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexGlow" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIGlow") -public abstract class AbstractFlexUIGlow - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIIris.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIIris.java deleted file mode 100644 index 489a57b3..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIIris.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexIris", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIIris", - type = "com.googlecode.jsfFlex.FlexUIIris", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIIrisTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexIris" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIIris") -public abstract class AbstractFlexUIIris - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIMaskEffect.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIMaskEffect.java deleted file mode 100644 index c3cca794..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIMaskEffect.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexMaskEffect", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIMaskEffect", - type = "com.googlecode.jsfFlex.FlexUIMaskEffect", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIMaskEffectTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexMaskEffect" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIMaskEffect") -public abstract class AbstractFlexUIMaskEffect - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIMove.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIMove.java deleted file mode 100644 index e958e0e1..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIMove.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexMove", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIMove", - type = "com.googlecode.jsfFlex.FlexUIMove", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIMoveTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexMove" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIMove") -public abstract class AbstractFlexUIMove - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIMove3D.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIMove3D.java deleted file mode 100644 index 6e8b0cc8..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIMove3D.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexMove3D", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIMove3D", - type = "com.googlecode.jsfFlex.FlexUIMove3D", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIMove3DTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexMove3D" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIMove3D") -public abstract class AbstractFlexUIMove3D - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIParallel.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIParallel.java deleted file mode 100644 index 05b883e7..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIParallel.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexParallel", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIParallel", - type = "com.googlecode.jsfFlex.FlexUIParallel", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIParallelTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexParallel" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIParallel") -public abstract class AbstractFlexUIParallel - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIPause.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIPause.java deleted file mode 100644 index 7609e5b7..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIPause.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexPause", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIPause", - type = "com.googlecode.jsfFlex.FlexUIPause", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIPauseTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexPause" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIPause") -public abstract class AbstractFlexUIPause - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRemoveAction.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRemoveAction.java deleted file mode 100644 index ba8403e5..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRemoveAction.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRemoveAction", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIRemoveAction", - type = "com.googlecode.jsfFlex.FlexUIRemoveAction", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIRemoveActionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexRemoveAction" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRemoveAction") -public abstract class AbstractFlexUIRemoveAction - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRemoveChildAction.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRemoveChildAction.java deleted file mode 100644 index 36bbfc06..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRemoveChildAction.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRemoveChildAction", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIRemoveChildAction", - type = "com.googlecode.jsfFlex.FlexUIRemoveChildAction", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIRemoveChildActionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexRemoveChildAction" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRemoveChildAction") -public abstract class AbstractFlexUIRemoveChildAction - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRemoveItemAction.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRemoveItemAction.java deleted file mode 100644 index fd9a4446..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRemoveItemAction.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRemoveItemAction", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIRemoveItemAction", - type = "com.googlecode.jsfFlex.FlexUIRemoveItemAction", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIRemoveItemActionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexRemoveItemAction" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRemoveItemAction") -public abstract class AbstractFlexUIRemoveItemAction - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIResize.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIResize.java deleted file mode 100644 index f629d7a6..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIResize.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexResize", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIResize", - type = "com.googlecode.jsfFlex.FlexUIResize", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIResizeTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexResize" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIResize") -public abstract class AbstractFlexUIResize - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRotate.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRotate.java deleted file mode 100644 index 1e2fe375..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRotate.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRotate", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIRotate", - type = "com.googlecode.jsfFlex.FlexUIRotate", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIRotateTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexRotate" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRotate") -public abstract class AbstractFlexUIRotate - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRotate3D.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRotate3D.java deleted file mode 100644 index a530ab86..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIRotate3D.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRotate3D", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIRotate3D", - type = "com.googlecode.jsfFlex.FlexUIRotate3D", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIRotate3DTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexRotate3D" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRotate3D") -public abstract class AbstractFlexUIRotate3D - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIScale.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIScale.java deleted file mode 100644 index 9d012622..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIScale.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexScale", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIScale", - type = "com.googlecode.jsfFlex.FlexUIScale", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIScaleTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexScale" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIScale") -public abstract class AbstractFlexUIScale - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIScale3D.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIScale3D.java deleted file mode 100644 index 348ea970..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIScale3D.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexScale3D", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIScale3D", - type = "com.googlecode.jsfFlex.FlexUIScale3D", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIScale3DTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexScale3D" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIScale3D") -public abstract class AbstractFlexUIScale3D - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISequence.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISequence.java deleted file mode 100644 index a14261f2..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISequence.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSequence", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUISequence", - type = "com.googlecode.jsfFlex.FlexUISequence", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUISequenceTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSequence" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISequence") -public abstract class AbstractFlexUISequence - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISetAction.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISetAction.java deleted file mode 100644 index 9484c4c4..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISetAction.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSetAction", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUISetAction", - type = "com.googlecode.jsfFlex.FlexUISetAction", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUISetActionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSetAction" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISetAction") -public abstract class AbstractFlexUISetAction - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISetPropertyAction.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISetPropertyAction.java deleted file mode 100644 index 6ff35695..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISetPropertyAction.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUINameAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIValueAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSetPropertyAction", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUISetPropertyAction", - type = "com.googlecode.jsfFlex.FlexUISetPropertyAction", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUISetPropertyActionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSetPropertyAction" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISetPropertyAction") -public abstract class AbstractFlexUISetPropertyAction - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes, IFlexUINameAttribute, IFlexUIValueAttribute { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISetStyleAction.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISetStyleAction.java deleted file mode 100644 index fffbd7fc..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISetStyleAction.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUINameAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIValueAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSetStyleAction", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUISetStyleAction", - type = "com.googlecode.jsfFlex.FlexUISetStyleAction", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUISetStyleActionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSetStyleAction" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISetStyleAction") -public abstract class AbstractFlexUISetStyleAction - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes, IFlexUINameAttribute, IFlexUIValueAttribute { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISoundEffect.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISoundEffect.java deleted file mode 100644 index 4bb7a4a9..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUISoundEffect.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSoundEffect", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUISoundEffect", - type = "com.googlecode.jsfFlex.FlexUISoundEffect", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUISoundEffectTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSoundEffect" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISoundEffect") -public abstract class AbstractFlexUISoundEffect - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUITweenEffect.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUITweenEffect.java deleted file mode 100644 index 1fcf5612..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUITweenEffect.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexTweenEffect", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUITweenEffect", - type = "com.googlecode.jsfFlex.FlexUITweenEffect", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUITweenEffectTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexTweenEffect" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUITweenEffect") -public abstract class AbstractFlexUITweenEffect - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIUnconstrainItemAction.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIUnconstrainItemAction.java deleted file mode 100644 index 9d7e5796..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIUnconstrainItemAction.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexUnconstrainItemAction", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIUnconstrainItemAction", - type = "com.googlecode.jsfFlex.FlexUIUnconstrainItemAction", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIUnconstrainItemActionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexUnconstrainItemAction" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIUnconstrainItemAction") -public abstract class AbstractFlexUIUnconstrainItemAction - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipe.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipe.java deleted file mode 100644 index 23e92654..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipe.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexWipe", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIWipe", - type = "com.googlecode.jsfFlex.FlexUIWipe", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIWipeTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexWipe" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIWipe") -public abstract class AbstractFlexUIWipe - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeDirection.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeDirection.java deleted file mode 100644 index 602e9b72..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeDirection.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexWipeDirection", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIWipeDirection", - type = "com.googlecode.jsfFlex.FlexUIWipeDirection", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIWipeDirectionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexWipeDirection" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIWipeDirection") -public abstract class AbstractFlexUIWipeDirection - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeDown.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeDown.java deleted file mode 100644 index 1ee6c25a..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeDown.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexWipeDown", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIWipeDown", - type = "com.googlecode.jsfFlex.FlexUIWipeDown", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIWipeDownTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexWipeDown" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIWipeDown") -public abstract class AbstractFlexUIWipeDown - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeLeft.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeLeft.java deleted file mode 100644 index c6dcb05a..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeLeft.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexWipeLeft", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIWipeLeft", - type = "com.googlecode.jsfFlex.FlexUIWipeLeft", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIWipeLeftTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexWipeLeft" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIWipeLeft") -public abstract class AbstractFlexUIWipeLeft - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeRight.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeRight.java deleted file mode 100644 index f88a0f7e..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeRight.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexWipeRight", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIWipeRight", - type = "com.googlecode.jsfFlex.FlexUIWipeRight", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIWipeRightTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexWipeRight" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIWipeRight") -public abstract class AbstractFlexUIWipeRight - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeUp.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeUp.java deleted file mode 100644 index 9aba3025..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIWipeUp.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexWipeUp", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIWipeUp", - type = "com.googlecode.jsfFlex.FlexUIWipeUp", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIWipeUpTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexWipeUp" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIWipeUp") -public abstract class AbstractFlexUIWipeUp - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIZoom.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIZoom.java deleted file mode 100644 index 6a8bdb62..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/effects/ext/AbstractFlexUIZoom.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.effects.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexZoom", - clazz = "com.googlecode.jsfFlex.effects.ext.FlexUIZoom", - type = "com.googlecode.jsfFlex.FlexUIZoom", - tagClass = "com.googlecode.jsfFlex.taglib.effects.ext.FlexUIZoomTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexZoom" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIZoom") -public abstract class AbstractFlexUIZoom - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/eventGlue/AbstractFlexUIAsynchronousEventGlueBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/eventGlue/AbstractFlexUIAsynchronousEventGlueBase.java deleted file mode 100644 index 03b29aba..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/eventGlue/AbstractFlexUIAsynchronousEventGlueBase.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.eventGlue; - -import java.io.IOException; -import java.util.EnumSet; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.attributes.IFlexUIEventListenerAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUIPreserveInServer; -import com.googlecode.jsfFlex.renderkit.html.util.AbstractJsfFlexResource; -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent; -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent.EVENT_HANDLER_TYPE.JAVA_SCRIPT_IMPORT; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - type = "com.googlecode.jsfFlex.FlexUIAsynchronousEventGlueBase", - family = "javax.faces.FlexUIAsynchronousEventGlueBase", - desc = "Base component for FlexAsynchronousEventGlue components." -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAsynchronousEventGlueBase") -public abstract class AbstractFlexUIAsynchronousEventGlueBase - extends AbstractFlexUIPreserveInServer - implements IFlexEvent, IFlexUIEventListenerAttribute { - - public abstract JSONObject ayncProcessRequest() throws JSONException; - - protected abstract boolean isAsynchronousEventGlueEnabled(); - - @Override - public void encodeBegin(FacesContext context) throws IOException { - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - - if(flexContext.isProductionEnv()){ - //means no need to create preMxml files - setRendered(false); - } - - if(isAsynchronousEventGlueEnabled()){ - EVENT_HANDLER_TYPE eventHandlerType = getEventHandlerType(); - AbstractJsfFlexResource jsfFlexResource = AbstractJsfFlexResource.getInstance(); - EnumSet javaScriptImports = eventHandlerType.getJavaScriptImports(); - - for(JAVA_SCRIPT_IMPORT currJSImport : javaScriptImports){ - jsfFlexResource.addResource(getClass(), currJSImport.getJavaScriptImport()); - } - } - - super.encodeBegin(context); - } - - /** - * Usually one does not provide overriding of this method; however there are certain cases where one desires to - * provide additional parameters [i.e. AbstractFlexUIAsynchronousPropertyUpdateEventListener] - * - * @return - */ - public JSONObject getAddtionalArguments(){ - return null; - } - - public String getEventHandlerId(){ - return getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/eventGlue/ext/AbstractFlexUIAsynchronousDataUpdateEventListener.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/eventGlue/ext/AbstractFlexUIAsynchronousDataUpdateEventListener.java deleted file mode 100644 index fc3db8f9..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/eventGlue/ext/AbstractFlexUIAsynchronousDataUpdateEventListener.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.eventGlue.ext; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.attributes.IFlexUIAsynchronousEventDataUpdateGlueHandlerAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIEventHandlerSrcIdAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIEventHandlerTgtIdAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIEventListenerAttribute; -import com.googlecode.jsfFlex.eventGlue.AbstractFlexUIAsynchronousEventGlueBase; -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent; -import com.googlecode.jsfFlex.shared.model.beans.AsynchronousDataUpdateEventBean; -import com.googlecode.jsfFlex.shared.model.event.AsynchronousDataUpdateEvent; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAsynchronousDataUpdateEventListener", - clazz = "com.googlecode.jsfFlex.eventGlue.ext.FlexUIAsynchronousDataUpdateEventListener", - type = "com.googlecode.jsfFlex.FlexUIAsynchronousDataUpdateEventListener", - tagClass = "com.googlecode.jsfFlex.taglib.eventGlue.ext.FlexUIAsynchronousDataUpdateEventListenerTag", - family = "javax.faces.FlexEventListener", - defaultRendererType = "com.googlecode.jsfFlex.FlexAsynchronousDataUpdateEventListener" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAsynchronousDataUpdateEventListener") -public abstract class AbstractFlexUIAsynchronousDataUpdateEventListener - extends AbstractFlexUIAsynchronousEventGlueBase - implements IFlexUIAsynchronousEventDataUpdateGlueHandlerAttribute, IFlexUIEventListenerAttribute, IFlexUIEventHandlerSrcIdAttribute, - IFlexUIEventHandlerTgtIdAttribute { - - private final static Log _log = LogFactory.getLog(AbstractFlexUIAsynchronousDataUpdateEventListener.class); - - private static final String DATA_UPDATE_ATTRIBUTE_ATTR = "DATA_UPDATE_ATTRIBUTE"; - private static final String DATA_UPDATE_VALUE_ATTR = "DATA_UPDATE_VALUE"; - - protected boolean isAsynchronousEventGlueEnabled() { - return getAsynchronousEventDataUpdateGlueHandler() != null; - } - - @Override - public JSONObject ayncProcessRequest() throws JSONException { - - FacesContext currContext = FacesContext.getCurrentInstance(); - javax.el.ELContext elContext = currContext.getELContext(); - - String alteredAttribute = currContext.getExternalContext().getRequestParameterMap().get(DATA_UPDATE_ATTRIBUTE_ATTR); - String alteredValue = currContext.getExternalContext().getRequestParameterMap().get(DATA_UPDATE_VALUE_ATTR); - - StringBuilder logMessage = new StringBuilder(getClass().getSimpleName()); - logMessage.append(" => ayncProcessRequest : alteredAttribute, alteredValue [ "); - logMessage.append(alteredAttribute); - logMessage.append(", "); - logMessage.append(alteredValue); - logMessage.append(" ] "); - _log.info(logMessage.toString()); - - Object[] arguments = new Object[]{ new AsynchronousDataUpdateEvent(alteredAttribute, alteredValue, getEventHandlerSrcId(), getEventHandlerTgtId()) }; - Object methodResult = getAsynchronousEventDataUpdateGlueHandler().invoke(elContext, arguments); - AsynchronousDataUpdateEventBean result = null; - if(!(methodResult instanceof AsynchronousDataUpdateEventBean)){ - result = new AsynchronousDataUpdateEventBean(methodResult.toString(), getEventHandlerSrcId(), getEventHandlerTgtId()); - }else{ - result = AsynchronousDataUpdateEventBean.class.cast( methodResult ); - } - - return result.formatResponseToJSON(); - } - - public IFlexEvent.EVENT_HANDLER_TYPE getEventHandlerType() { - return IFlexEvent.EVENT_HANDLER_TYPE.DATA_UPDATE_EVENT_HANDLER; - } - - public String getEventHandlerEventName() { - return getEventListener(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/eventGlue/ext/AbstractFlexUIAsynchronousPropertyUpdateEventListener.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/eventGlue/ext/AbstractFlexUIAsynchronousPropertyUpdateEventListener.java deleted file mode 100644 index 6173f8d3..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/eventGlue/ext/AbstractFlexUIAsynchronousPropertyUpdateEventListener.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.eventGlue.ext; - -import java.util.Arrays; -import java.util.List; - -import javax.faces.component.FacesComponent; -import javax.faces.context.FacesContext; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.attributes.IFlexUIAsynchronousEventPropertyUpdateGlueHandlerAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIAsynchronousPropertyUpdateDelimAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUIAsynchronousPropertyUpdateListAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUIEventHandlerSrcIdAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIEventHandlerTgtIdAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIEventListenerAttribute; -import com.googlecode.jsfFlex.eventGlue.AbstractFlexUIAsynchronousEventGlueBase; -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.model.beans.AsynchronousPropertyUpdateEventBean; -import com.googlecode.jsfFlex.shared.model.event.AsynchronousPropertyUpdateEvent; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAsynchronousPropertyUpdateEventListener", - clazz = "com.googlecode.jsfFlex.eventGlue.ext.FlexUIAsynchronousPropertyUpdateEventListener", - type = "com.googlecode.jsfFlex.FlexUIAsynchronousPropertyUpdateEventListener", - tagClass = "com.googlecode.jsfFlex.taglib.eventGlue.ext.FlexUIAsynchronousPropertyUpdateEventListenerTag", - family = "javax.faces.FlexEventListener", - defaultRendererType = "com.googlecode.jsfFlex.FlexAsynchronousPropertyUpdateEventListener" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAsynchronousPropertyUpdateEventListener") -public abstract class AbstractFlexUIAsynchronousPropertyUpdateEventListener - extends AbstractFlexUIAsynchronousEventGlueBase - implements IFlexUIAsynchronousEventPropertyUpdateGlueHandlerAttribute, IFlexUIEventListenerAttribute, IFlexUIEventHandlerSrcIdAttribute, - IFlexUIEventHandlerTgtIdAttribute, IFlexUIAsynchronousPropertyUpdateListAttributes, - IFlexUIAsynchronousPropertyUpdateDelimAttributes { - - private final static Log _log = LogFactory.getLog(AbstractFlexUIAsynchronousPropertyUpdateEventListener.class); - - private static final String SOURCE_PROPERTY_CURRENT_VALUE = "SOURCE_PROPERTY_CURRENT_VALUE"; - - protected boolean isAsynchronousEventGlueEnabled() { - return getAsynchronousEventPropertyUpdateGlueHandler() != null; - } - - @Override - public JSONObject ayncProcessRequest() throws JSONException { - - FacesContext currContext = FacesContext.getCurrentInstance(); - javax.el.ELContext elContext = currContext.getELContext(); - - String sourceCurrentValue = currContext.getExternalContext().getRequestParameterMap().get(SOURCE_PROPERTY_CURRENT_VALUE); - - StringBuilder logMessage = new StringBuilder(getClass().getSimpleName()); - logMessage.append(" => ayncProcessRequest : sourceCurrentValue [ "); - logMessage.append(sourceCurrentValue); - logMessage.append(" ] "); - _log.info(logMessage.toString()); - - Object[] arguments = new Object[]{ new AsynchronousPropertyUpdateEvent(sourceCurrentValue, getEventHandlerSrcId(), getEventHandlerTgtId()) }; - Object methodResult = getAsynchronousEventPropertyUpdateGlueHandler().invoke(elContext, arguments); - AsynchronousPropertyUpdateEventBean result = null; - if(!(methodResult instanceof AsynchronousPropertyUpdateEventBean)){ - result = new AsynchronousPropertyUpdateEventBean(methodResult.toString(), getEventHandlerSrcId(), getEventHandlerTgtId()); - }else{ - result = AsynchronousPropertyUpdateEventBean.class.cast( methodResult ); - } - - return result.formatResponseToJSON(); - } - - @Override - public JSONObject getAddtionalArguments(){ - JSONObject additionalArguments = new JSONObject(); - - List sourcePropertyList = getSourcePropertyList(); - List targetPropertyList = getTargetPropertyList(); - - if(sourcePropertyList == null || sourcePropertyList.size() == 0 || targetPropertyList == null || targetPropertyList.size() == 0){ - - String sourceProperty = getSourcePropertyDelim(); - String targetProperty = getTargetPropertyDelim(); - - if(sourceProperty == null){ - throw new IllegalArgumentException("Either sourcePropertyList and targetPropertyList or sourcePropertyDelim and targetPropertyDelim must be provided " - + "[note for convention sourcePropertyList + targetPropertyDelim and vice versa too is not allowed."); - - } - - sourcePropertyList = Arrays.asList(sourceProperty.split(",")); - targetPropertyList = Arrays.asList(targetProperty.split(",")); - } - - try{ - - additionalArguments.put(IFlexEvent.ACTION_SCRIPT_EVENT_FIELDS.SOURCE_PROPERTY.name(), new JSONArray(sourcePropertyList)); - additionalArguments.put(IFlexEvent.ACTION_SCRIPT_EVENT_FIELDS.TARGET_PROPERTY.name(), new JSONArray(targetPropertyList)); - - }catch(JSONException jsonException){ - _log.info("Error while formatting to JSON content", jsonException); - throw new ComponentBuildException(jsonException); - } - - return additionalArguments; - } - - public IFlexEvent.EVENT_HANDLER_TYPE getEventHandlerType() { - return IFlexEvent.EVENT_HANDLER_TYPE.PROPERTY_UPDATE_EVENT_HANDER; - } - - public String getEventHandlerEventName() { - return getEventListener(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/facelet/tagHandler/AsynchronousEventGlueTagHandler.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/facelet/tagHandler/AsynchronousEventGlueTagHandler.java deleted file mode 100644 index 2158abe9..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/facelet/tagHandler/AsynchronousEventGlueTagHandler.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.facelet.tagHandler; - -import javax.faces.view.facelets.ComponentConfig; -import javax.faces.view.facelets.ComponentHandler; -import javax.faces.view.facelets.MetaRuleset; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * @author Ji Hoon Kim - */ -public final class AsynchronousEventGlueTagHandler extends ComponentHandler { - - private final static Log _log = LogFactory.getLog(AsynchronousEventGlueTagHandler.class); - - private static final String ASYNCHRONOUS_GLUE_EVENT = "asynchronousEventGlueHandler"; - private static final String ASYNCHRONOUS_DATA_UPDATE_GLUE_EVENT = "asynchronousEventDataUpdateGlueHandler"; - private static final String ASYNCHRONOUS_FILTER_GLUE_EVENT = "asynchronousEventFilterGlueHandler"; - private static final String ASYNCHRONOUS_PROPERTY_UPDATE_GLUE_EVENT = "asynchronousEventPropertyUpdateGlueHandler"; - - private final static Class[] ASYNCHRONOUS_GLUE_EVENT_LISTENER_SIG = new Class[] { com.googlecode.jsfFlex.shared.model.event.AbstractEvent.class }; - private final static Class[] ASYNCHRONOUS_DATA_UPDATE_GLUE_EVENT_LISTENER_SIG = new Class[] { com.googlecode.jsfFlex.shared.model.event.AsynchronousDataUpdateEvent.class }; - private final static Class[] ASYNCHRONOUS_FILTER_GLUE_EVENT_LISTENER_SIG = new Class[] { com.googlecode.jsfFlex.shared.model.event.AsynchronousFilterEvent.class }; - private final static Class[] ASYNCHRONOUS_PROPERTY_UPDATE_GLUE_EVENT_LISTENER_SIG = new Class[] { com.googlecode.jsfFlex.shared.model.event.AsynchronousPropertyUpdateEvent.class }; - - public AsynchronousEventGlueTagHandler(ComponentConfig config) { - super(config); - } - - protected final static MethodRule asynchronousGlueEventListenerTagRule = new MethodRule( ASYNCHRONOUS_GLUE_EVENT, Object.class , ASYNCHRONOUS_GLUE_EVENT_LISTENER_SIG ); - protected final static MethodRule asynchronousDataUpdateGlueEventListenerTagRule = new MethodRule( ASYNCHRONOUS_DATA_UPDATE_GLUE_EVENT, Object.class , ASYNCHRONOUS_DATA_UPDATE_GLUE_EVENT_LISTENER_SIG ); - protected final static MethodRule asynchronousFilterGlueEventListenerTagRule = new MethodRule( ASYNCHRONOUS_FILTER_GLUE_EVENT, Object.class , ASYNCHRONOUS_FILTER_GLUE_EVENT_LISTENER_SIG ); - protected final static MethodRule asynchronousPropertyUpdateGlueEventListenerTagRule = new MethodRule( ASYNCHRONOUS_PROPERTY_UPDATE_GLUE_EVENT, Object.class , ASYNCHRONOUS_PROPERTY_UPDATE_GLUE_EVENT_LISTENER_SIG ); - - - @Override - protected MetaRuleset createMetaRuleset(Class type) { - _log.warn("Within createMetaRuleset method"); - - return super.createMetaRuleset(type).addRule( asynchronousGlueEventListenerTagRule ).addRule( asynchronousDataUpdateGlueEventListenerTagRule ). - addRule( asynchronousFilterGlueEventListenerTagRule ).addRule( asynchronousPropertyUpdateGlueEventListenerTagRule ); - } - - - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/facelet/tagHandler/MethodRule.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/facelet/tagHandler/MethodRule.java deleted file mode 100644 index bab48241..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/facelet/tagHandler/MethodRule.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.facelet.tagHandler; - -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; - -import javax.el.MethodExpression; -import javax.faces.view.facelets.FaceletContext; -import javax.faces.view.facelets.MetaRule; -import javax.faces.view.facelets.Metadata; -import javax.faces.view.facelets.MetadataTarget; -import javax.faces.view.facelets.TagAttribute; -import javax.faces.view.facelets.TagAttributeException; - -/** - * Optional Rule for binding Method[Binding|Expression] properties - * - * Implementation copied from Myfaces Facelets 1.1.14, as it got hidden by JSF 2.0 - * - * @author Mike Kienenberger - * @author Jacob Hookom - */ -public final class MethodRule extends MetaRule -{ - - private final String methodName; - - private final Class returnTypeClass; - - private final Class[] params; - - public MethodRule(String methodName, Class returnTypeClass, Class[] params) - { - this.methodName = methodName; - this.returnTypeClass = returnTypeClass; - this.params = params; - } - - public Metadata applyRule(String name, TagAttribute attribute, MetadataTarget meta) - { - if (false == name.equals(this.methodName)) - return null; - - if (MethodExpression.class.equals(meta.getPropertyType(name))) - { - Method method = meta.getWriteMethod(name); - if (method != null) - { - return new MethodExpressionMetadata(method, attribute, this.returnTypeClass, this.params); - } - } - - return null; - } - - private class MethodExpressionMetadata extends Metadata - { - private final Method _method; - - private final TagAttribute _attribute; - - private Class[] _paramList; - - private Class _returnType; - - public MethodExpressionMetadata(Method method, TagAttribute attribute, Class returnType, - Class[] paramList) - { - _method = method; - _attribute = attribute; - _paramList = paramList; - _returnType = returnType; - } - - public void applyMetadata(FaceletContext ctx, Object instance) - { - MethodExpression expr = _attribute.getMethodExpression(ctx, _returnType, _paramList); - - try - { - _method.invoke(instance, new Object[] { expr }); - } - catch (InvocationTargetException e) - { - throw new TagAttributeException(_attribute, e.getCause()); - } - catch (Exception e) - { - throw new TagAttributeException(_attribute, e); - } - } - } -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/filter/JsfFlexResourceFilter.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/filter/JsfFlexResourceFilter.java deleted file mode 100644 index b9db7c8f..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/filter/JsfFlexResourceFilter.java +++ /dev/null @@ -1,318 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.filter; - -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.OutputStreamWriter; -import java.io.PrintWriter; -import java.io.UnsupportedEncodingException; -import java.nio.charset.Charset; -import java.util.Collection; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -import javax.servlet.Filter; -import javax.servlet.FilterChain; -import javax.servlet.FilterConfig; -import javax.servlet.ServletException; -import javax.servlet.ServletOutputStream; -import javax.servlet.ServletRequest; -import javax.servlet.ServletResponse; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import javax.servlet.http.HttpServletResponseWrapper; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.xml.sax.InputSource; - -import com.googlecode.jsfFlex.renderkit.html.util.AbstractJsfFlexResource; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * TODO: Implement it better later - * @author Ji Hoon Kim - */ -public final class JsfFlexResourceFilter implements Filter { - - private static final Log _log = LogFactory.getLog(JsfFlexResourceFilter.class); - - private static final String META_HTTP_EQUIV_EXPIRE = ""; - private static final String META_HTTP_EQUIV_PRAGMA_NO_CACHE = ""; - private static final String META_HTTP_EQUIV_CACHE_CONTROL_NO_CACHE = ""; - - private static final String REQUEST_FOR_RESOURCE_SEARCH_PATTERN = "%2F" + AbstractJsfFlexResource.JSF_FLEX_SCRIPT_RESOURCE_REQUEST_PREFIX + "%2F"; - - private static final String HEAD_SEARCH_PATTERN = " resourceCollection = jsfFlexResource.getResources(); - String resourceConvertedToScriptElements = constructResourceToScriptTags(resourceCollection, requestURISplitted); - - actualWriter.write(resourceConvertedToScriptElements); - - actualWriter.write(jsfFlexResponseWrapper.toString().substring(endTagCharIndex+1)); - - }else{ - - Matcher bodyMatcher = BODY_PATTERN.matcher( jsfFlexResponseWrapper.toString() ); - boolean bodyMatched = bodyMatcher.find(); - - if(bodyMatched){ - int bodyMatchIndex = bodyMatcher.start(); - - actualWriter.write( jsfFlexResponseWrapper.toString().substring(0, bodyMatchIndex) ); - - actualWriter.write(HEAD_START_TAG); - - if(isDebugMode){ - actualWriter.write(META_HTTP_EQUIV_EXPIRE); - actualWriter.write(META_HTTP_EQUIV_PRAGMA_NO_CACHE); - actualWriter.write(META_HTTP_EQUIV_CACHE_CONTROL_NO_CACHE); - } - - Collection resourceCollection = jsfFlexResource.getResources(); - String resourceConvertedToScriptElements = constructResourceToScriptTags(resourceCollection, requestURISplitted); - - actualWriter.write(resourceConvertedToScriptElements); - - actualWriter.write(HEAD_END_TAG); - - actualWriter.write( jsfFlexResponseWrapper.toString().substring(bodyMatchIndex) ); - }else{ - //Must not be for mxml components, so flush - actualWriter.write( jsfFlexResponseWrapper.toString() ); - } - } - - actualWriter.flush(); - } - - } - - private boolean isRequestForResource(String requestURI){ - boolean isForResource = true; - - try{ - Matcher requestForResourceMatcher = REQUEST_FOR_RESOURCE_PATTERN.matcher(java.net.URLEncoder.encode(requestURI, FlexConstants.UTF_8_ENCODING)); - isForResource = requestForResourceMatcher.find(); - }catch(java.io.UnsupportedEncodingException unsupportedEncodingExcept){ - isForResource = false; - } - - return isForResource; - } - - /** - * The format of the html script element's src will be : - * AbstractJsfFlexResource.JSF_FLEX_SCRIPT_RESOURCE_REQUEST_PREFIX/[Component Class Name]/[Resource Name within Component Class Name directory] - * - * @param _resources - * @return - */ - public String constructResourceToScriptTags(Collection resources, String[] requestURI){ - StringBuilder scriptElements = new StringBuilder(); - - String webProjectName = (requestURI.length < 2) ? requestURI[0] : requestURI[1]; - - for(String currResource : resources){ - - scriptElements.append(""); - } - - return scriptElements.toString(); - } - - public boolean isValidContentType(String contentType){ - return contentType.startsWith("text/html") || - contentType.startsWith("text/xml") || - contentType.startsWith("application/xhtml+xml") || - contentType.startsWith("application/xml"); - } - - private final class JsfFlexResponseWrapper extends HttpServletResponseWrapper { - - private PrintWriter _printWriter = null; - private String _contentType; - private final ByteArrayOutputStream _outPutStream; - - private JsfFlexResponseWrapper(HttpServletResponse response){ - super(response); - _outPutStream = new ByteArrayOutputStream(); - } - - public byte[] getBytes(){ - return _outPutStream.toByteArray(); - } - - public String toString(){ - try{ - return _outPutStream.toString(getCharacterEncoding()); - }catch(UnsupportedEncodingException unsupportedEncodingException){ - throw new RuntimeException("Invalid character encoding for JsfFlexResponseWrapper toString for : " + getCharacterEncoding()); - } - } - - public PrintWriter getWriter(){ - if( _printWriter == null ){ - OutputStreamWriter streamWriter = new OutputStreamWriter(_outPutStream, Charset.forName(getCharacterEncoding())); - _printWriter = new PrintWriter(streamWriter, true); - } - return _printWriter; - } - - public ServletOutputStream getOutputStream(){ - - return new ServletOutputStream(){ - public void write(int numBytes){ - _outPutStream.write(numBytes); - } - - public void write(byte[] bytes) throws IOException{ - _outPutStream.write( bytes ); - } - - public void write(byte[] bytes, int off, int len){ - _outPutStream.write(bytes, off, len); - } - }; - } - - public InputSource getInputSource(){ - ByteArrayInputStream bais = new ByteArrayInputStream( _outPutStream.toByteArray() ); - return new InputSource( bais ); - } - - public void setContentLength(int contentLength) { - - } - - public void setContentType(String contentType) { - super.setContentType(contentType); - _contentType = contentType; - } - - public String getContentType() { - return _contentType; - } - - public void flushBuffer() throws IOException{ - _outPutStream.flush(); - } - - public void finishResponse() { - try { - if(_printWriter != null) { - _printWriter.close(); - }else { - if (_outPutStream != null) { - _outPutStream.close(); - } - } - }catch (IOException ioException) { - _log.info("ioException thrown while flushing out and closing the writer/stream"); - } - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/myFaces/AttachedDeltaWrapper.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/myFaces/AttachedDeltaWrapper.java deleted file mode 100644 index 60f32b8e..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/myFaces/AttachedDeltaWrapper.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.myFaces; - -import java.io.Serializable; - -/** - * Due to need of certain classes from the MyFaces project for the builder-plugin, this package
      - * will contain classes from MyFaces.
      - * - * @author Leonardo Uribe (latest modification by $Author: lu4242 $) - * @version $Revision: 788877 $ $Date: 2009-06-26 16:30:38 -0500 (vie, 26 jun 2009) $ - */ -public class AttachedDeltaWrapper implements Serializable -{ - private static final long serialVersionUID = 4732389964367986402L; - - private Object _wrappedStateObject; - - /** - * @param clazz - * null means wrappedStateObject is a List of state objects - * @param wrappedStateObject - */ - public AttachedDeltaWrapper(Class clazz, Object wrappedStateObject) - { - if (wrappedStateObject != null && !(wrappedStateObject instanceof Serializable)) - { - throw new IllegalArgumentException("Attached state for Object of type " + clazz + " (Class " - + wrappedStateObject.getClass().getName() + ") is not serializable"); - } - _wrappedStateObject = wrappedStateObject; - } - - public Object getWrappedStateObject() - { - return _wrappedStateObject; - } -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/myFaces/ClassUtils.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/myFaces/ClassUtils.java deleted file mode 100644 index f82bc203..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/myFaces/ClassUtils.java +++ /dev/null @@ -1,360 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.myFaces; - -import org.apache.commons.el.Coercions; -import org.apache.commons.el.Logger; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -import javax.faces.FacesException; -import javax.servlet.jsp.el.ELException; -import java.io.InputStream; -import java.io.IOException; -import java.lang.reflect.Array; -import java.util.*; - - -/** - * Due to need of certain classes from the MyFaces project for the builder-plugin, this package
      - * will contain classes from MyFaces.
      - * - * @author Manfred Geiler (latest modification by $Author: skitching $) - * @author Anton Koinov - * @version $Revision: 711306 $ $Date: 2008-11-04 09:49:37 -0700 (Tue, 04 Nov 2008) $ - */ -public final class ClassUtils -{ - //~ Static fields/initializers ----------------------------------------------------------------- - - private static final Log log = LogFactory.getLog(ClassUtils.class); - private static final Logger COERCION_LOGGER = new Logger(System.out); - - public static final Class BOOLEAN_ARRAY_CLASS = boolean[].class; - public static final Class BYTE_ARRAY_CLASS = byte[].class; - public static final Class CHAR_ARRAY_CLASS = char[].class; - public static final Class SHORT_ARRAY_CLASS = short[].class; - public static final Class INT_ARRAY_CLASS = int[].class; - public static final Class LONG_ARRAY_CLASS = long[].class; - public static final Class FLOAT_ARRAY_CLASS = float[].class; - public static final Class DOUBLE_ARRAY_CLASS = double[].class; - public static final Class OBJECT_ARRAY_CLASS = Object[].class; - public static final Class BOOLEAN_OBJECT_ARRAY_CLASS = Boolean[].class; - public static final Class BYTE_OBJECT_ARRAY_CLASS = Byte[].class; - public static final Class CHARACTER_OBJECT_ARRAY_CLASS = Character[].class; - public static final Class SHORT_OBJECT_ARRAY_CLASS = Short[].class; - public static final Class INTEGER_OBJECT_ARRAY_CLASS = Integer[].class; - public static final Class LONG_OBJECT_ARRAY_CLASS = Long[].class; - public static final Class FLOAT_OBJECT_ARRAY_CLASS = Float[].class; - public static final Class DOUBLE_OBJECT_ARRAY_CLASS = Double[].class; - public static final Class STRING_OBJECT_ARRAY_CLASS = String[].class; - - public static final Map COMMON_TYPES = new HashMap(64); - static - { - COMMON_TYPES.put("byte", Byte.TYPE); - COMMON_TYPES.put("char", Character.TYPE); - COMMON_TYPES.put("double", Double.TYPE); - COMMON_TYPES.put("float", Float.TYPE); - COMMON_TYPES.put("int", Integer.TYPE); - COMMON_TYPES.put("long", Long.TYPE); - COMMON_TYPES.put("short", Short.TYPE); - COMMON_TYPES.put("boolean", Boolean.TYPE); - COMMON_TYPES.put("void", Void.TYPE); - COMMON_TYPES.put("java.lang.Object", Object.class); - COMMON_TYPES.put("java.lang.Boolean", Boolean.class); - COMMON_TYPES.put("java.lang.Byte", Byte.class); - COMMON_TYPES.put("java.lang.Character", Character.class); - COMMON_TYPES.put("java.lang.Short", Short.class); - COMMON_TYPES.put("java.lang.Integer", Integer.class); - COMMON_TYPES.put("java.lang.Long", Long.class); - COMMON_TYPES.put("java.lang.Float", Float.class); - COMMON_TYPES.put("java.lang.Double", Double.class); - COMMON_TYPES.put("java.lang.String", String.class); - - COMMON_TYPES.put("byte[]", BYTE_ARRAY_CLASS); - COMMON_TYPES.put("char[]", CHAR_ARRAY_CLASS); - COMMON_TYPES.put("double[]", DOUBLE_ARRAY_CLASS); - COMMON_TYPES.put("float[]", FLOAT_ARRAY_CLASS); - COMMON_TYPES.put("int[]", INT_ARRAY_CLASS); - COMMON_TYPES.put("long[]", LONG_ARRAY_CLASS); - COMMON_TYPES.put("short[]", SHORT_ARRAY_CLASS); - COMMON_TYPES.put("boolean[]", BOOLEAN_ARRAY_CLASS); - COMMON_TYPES.put("java.lang.Object[]", OBJECT_ARRAY_CLASS); - COMMON_TYPES.put("java.lang.Boolean[]", BOOLEAN_OBJECT_ARRAY_CLASS); - COMMON_TYPES.put("java.lang.Byte[]", BYTE_OBJECT_ARRAY_CLASS); - COMMON_TYPES.put("java.lang.Character[]", CHARACTER_OBJECT_ARRAY_CLASS); - COMMON_TYPES.put("java.lang.Short[]", SHORT_OBJECT_ARRAY_CLASS); - COMMON_TYPES.put("java.lang.Integer[]", INTEGER_OBJECT_ARRAY_CLASS); - COMMON_TYPES.put("java.lang.Long[]", LONG_OBJECT_ARRAY_CLASS); - COMMON_TYPES.put("java.lang.Float[]", FLOAT_OBJECT_ARRAY_CLASS); - COMMON_TYPES.put("java.lang.Double[]", DOUBLE_OBJECT_ARRAY_CLASS); - COMMON_TYPES.put("java.lang.String[]", STRING_OBJECT_ARRAY_CLASS); - // array of void is not a valid type - } - - /** utility class, do not instantiate */ - private ClassUtils() - { - // utility class, disable instantiation - } - - //~ Methods ------------------------------------------------------------------------------------ - - /** - * Tries a Class.loadClass with the context class loader of the current thread first and - * automatically falls back to the ClassUtils class loader (i.e. the loader of the - * myfaces.jar lib) if necessary. - * - * @param type fully qualified name of a non-primitive non-array class - * @return the corresponding Class - * @throws NullPointerException if type is null - * @throws ClassNotFoundException - */ - public static Class classForName(String type) - throws ClassNotFoundException - { - if (type == null) throw new NullPointerException("type"); - try - { - // Try WebApp ClassLoader first - return Class.forName(type, - false, // do not initialize for faster startup - Thread.currentThread().getContextClassLoader()); - } - catch (ClassNotFoundException ignore) - { - // fallback: Try ClassLoader for ClassUtils (i.e. the myfaces.jar lib) - return Class.forName(type, - false, // do not initialize for faster startup - ClassUtils.class.getClassLoader()); - } - } - - - /** - * Same as {@link #classForName(String)}, but throws a RuntimeException - * (FacesException) instead of a ClassNotFoundException. - * - * @return the corresponding Class - * @throws NullPointerException if type is null - * @throws FacesException if class not found - */ - public static Class simpleClassForName(String type) - { - try - { - return classForName(type); - } - catch (ClassNotFoundException e) - { - log.error("Class " + type + " not found", e); - throw new FacesException(e); - } - } - - - /** - * Similar as {@link #classForName(String)}, but also supports primitive types - * and arrays as specified for the JavaType element in the JavaServer Faces Config DTD. - * - * @param type fully qualified class name or name of a primitive type, both optionally - * followed by "[]" to indicate an array type - * @return the corresponding Class - * @throws NullPointerException if type is null - * @throws ClassNotFoundException - */ - public static Class javaTypeToClass(String type) - throws ClassNotFoundException - { - if (type == null) throw new NullPointerException("type"); - - // try common types and arrays of common types first - Class clazz = (Class) COMMON_TYPES.get(type); - if (clazz != null) - { - return clazz; - } - - int len = type.length(); - if (len > 2 && type.charAt(len - 1) == ']' && type.charAt(len - 2) == '[') - { - String componentType = type.substring(0, len - 2); - Class componentTypeClass = classForName(componentType); - return Array.newInstance(componentTypeClass, 0).getClass(); - } - else - { - return classForName(type); - } - } - - - /** - * Same as {@link #javaTypeToClass(String)}, but throws a RuntimeException - * (FacesException) instead of a ClassNotFoundException. - * - * @return the corresponding Class - * @throws NullPointerException if type is null - * @throws FacesException if class not found - */ - public static Class simpleJavaTypeToClass(String type) - { - try - { - return javaTypeToClass(type); - } - catch (ClassNotFoundException e) - { - log.error("Class " + type + " not found", e); - throw new FacesException(e); - } - } - - public static InputStream getResourceAsStream(String resource) - { - InputStream stream = Thread.currentThread().getContextClassLoader() - .getResourceAsStream(resource); - if (stream == null) - { - // fallback - stream = ClassUtils.class.getClassLoader().getResourceAsStream(resource); - } - return stream; - } - - /** - * @param resource Name of resource(s) to find in classpath - * @param defaultObject The default object to use to determine the class loader (if none associated with current thread.) - * @return Iterator over URL Objects - */ - public static Iterator getResources(String resource, Object defaultObject) - { - try - { - Enumeration resources = getCurrentLoader(defaultObject).getResources(resource); - List lst = new ArrayList(); - while (resources.hasMoreElements()) - { - lst.add(resources.nextElement()); - } - return lst.iterator(); - } - catch (IOException e) - { - log.error(e.getMessage(), e); - throw new FacesException(e); - } - } - - - public static Object newInstance(String type) - throws FacesException - { - if (type == null) return null; - return newInstance(simpleClassForName(type)); - } - - public static Object newInstance(String type, Class expectedType) throws FacesException - { - return newInstance(type, expectedType == null ? null : new Class[] {expectedType}); - } - - public static Object newInstance(String type, Class[] expectedTypes) - { - if (type == null) - return null; - - Class clazzForName = simpleClassForName(type); - - if(expectedTypes != null) - { - for (int i = 0, size = expectedTypes.length; i < size; i++) - { - if (!expectedTypes[i].isAssignableFrom(clazzForName)) - { - throw new FacesException("'" + type + "' does not implement expected type '" + expectedTypes[i] - + "'"); - } - } - } - - return newInstance(clazzForName); - } - - public static Object newInstance(Class clazz) - throws FacesException - { - try - { - return clazz.newInstance(); - } - catch(NoClassDefFoundError e) - { - log.error("Class : "+clazz.getName()+" not found.",e); - throw new FacesException(e); - } - catch (InstantiationException e) - { - log.error(e.getMessage(), e); - throw new FacesException(e); - } - catch (IllegalAccessException e) - { - log.error(e.getMessage(), e); - throw new FacesException(e); - } - } - - public static Object convertToType(Object value, Class desiredClass) - { - if (value == null) return null; - - try - { - // Use coersion implemented by JSP EL for consistency with EL - // expressions. Additionally, it caches some of the coersions. - return Coercions.coerce(value, desiredClass, COERCION_LOGGER); - } - catch (ELException e) - { - String message = "Cannot coerce " + value.getClass().getName() - + " to " + desiredClass.getName(); - log.error(message, e); - throw new FacesException(message, e); - } - } - - /** - * Gets the ClassLoader associated with the current thread. Returns the class loader associated with - * the specified default object if no context loader is associated with the current thread. - * - * @param defaultObject The default object to use to determine the class loader (if none associated with current thread.) - * @return ClassLoader - */ - protected static ClassLoader getCurrentLoader(Object defaultObject) - { - ClassLoader loader = Thread.currentThread().getContextClassLoader(); - if(loader == null) - { - loader = defaultObject.getClass().getClassLoader(); - } - return loader; - } -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/myFaces/LocaleUtils.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/myFaces/LocaleUtils.java deleted file mode 100644 index 0a439510..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/myFaces/LocaleUtils.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.myFaces; - -import java.util.Locale; -import java.util.StringTokenizer; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - - -/** - * Due to need of certain classes from the MyFaces project for the builder-plugin, this package
      - * will contain classes from MyFaces.
      - * - * @author Anton Koinov (latest modification by $Author$) - * @version $Revision$ $Date$ - */ -public final class LocaleUtils -{ - private static final Log log = LogFactory.getLog(LocaleUtils.class); - - /** Utility class, do not instatiate */ - private LocaleUtils() - { - // utility class, do not instantiate - } - - /** - * Converts a locale string to Locale class. Accepts both - * '_' and '-' as separators for locale components. - * - * @param localeString string representation of a locale - * @return Locale instance, compatible with the string representation - */ - public static Locale toLocale(String localeString) - { - if ((localeString == null) || (localeString.length() == 0)) - { - Locale locale = Locale.getDefault(); - if(log.isWarnEnabled()) - log.warn("Locale name in faces-config.xml null or empty, setting locale to default locale : "+locale.toString()); - return locale; - } - - int separatorCountry = localeString.indexOf('_'); - char separator; - if (separatorCountry >= 0) { - separator = '_'; - } - else - { - separatorCountry = localeString.indexOf('-'); - separator = '-'; - } - - String language, country, variant; - if (separatorCountry < 0) - { - language = localeString; - country = variant = ""; - } - else - { - language = localeString.substring(0, separatorCountry); - - int separatorVariant = localeString.indexOf(separator, separatorCountry + 1); - if (separatorVariant < 0) - { - country = localeString.substring(separatorCountry + 1); - variant = ""; - } - else - { - country = localeString.substring(separatorCountry + 1, separatorVariant); - variant = localeString.substring(separatorVariant + 1); - } - } - - return new Locale(language, country, variant); - } - - - /** - * Convert locale string used by converter tags to locale. - * - * @param name name of the locale - * @return locale specified by the given String - * - * @see org.apache.myfaces.taglib.core.ConvertDateTimeTag#setConverterLocale - * @see org.apache.myfaces.taglib.core.ConvertNumberTag#setConverterLocale - */ - public static Locale converterTagLocaleFromString(String name) - { - try - { - Locale locale; - StringTokenizer st = new StringTokenizer(name, "_"); - String language = st.nextToken(); - - if(st.hasMoreTokens()) - { - String country = st.nextToken(); - - if(st.hasMoreTokens()) - { - String variant = st.nextToken(); - locale = new Locale(language, country, variant); - } - else - { - locale = new Locale(language, country); - } - } - else - { - locale = new Locale(language); - } - - - return locale; - } - catch(Exception e) - { - throw new IllegalArgumentException("Locale parsing exception - " + - "invalid string representation '" + name + "'"); - } - } -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/myFaces/MyFacesBuilderPlugInUtil.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/myFaces/MyFacesBuilderPlugInUtil.java deleted file mode 100644 index 0dc58923..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/myFaces/MyFacesBuilderPlugInUtil.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.myFaces; - -import java.text.ParseException; -import java.util.ArrayList; -import java.util.List; - -/** - * This class will provide the needed methods + functionality for MyFaces Builder
      - * Plug-in. Namely the implementations are taken from the MyFaces code. Would be nice
      - * if they encapsulated the functionality within the builder, because this is a pain. - * - * @author Ji Hoon Kim - */ -public final class MyFacesBuilderPlugInUtil { - - /** - * These are normally NMTOKEN type in attributes - * String --> String[] - * @param value - * @return - */ - public static String[] getStringArray(Object value) throws ParseException { - if (value == null || value.equals("")){ - return null; - } - - String stringValue = String.class.cast( value ); - List list = new ArrayList(5); - int length = stringValue.length(); - boolean inSpace = true; - int start = 0; - for(int i = 0; i < length; i++) { - char ch = stringValue.charAt(i); - - // We're in whitespace; if we've just departed - // a run of non-whitespace, append a string. - // Now, why do we use the supposedly deprecated "Character.isSpace()" - // function instead of "isWhitespace"? We're following XML rules - // here for the meaning of whitespace, which specifically - // EXCLUDES general Unicode spaces. - if (Character.isWhitespace(ch)) { - if (!inSpace) { - list.add(stringValue.substring(start, i)); - inSpace = true; - } - } else { - //We're out of whitespace; if we've just departed - // a run of whitespace, start keeping track of this string - if (inSpace) { - start = i; - inSpace = false; - } - } - } - - if (!inSpace){ - list.add(stringValue.substring(start)); - } - if (list.isEmpty()){ - return null; - }else{ - return list.toArray(new String[list.size()]); - } - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/AbstractServiceRequestDataRetrieverFlusher.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/AbstractServiceRequestDataRetrieverFlusher.java deleted file mode 100644 index dacfbf69..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/AbstractServiceRequestDataRetrieverFlusher.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.phaseListener; - -import java.io.IOException; -import java.lang.reflect.Method; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.servlet.ServletException; - -/** - * @author Ji Hoon Kim - */ -abstract class AbstractServiceRequestDataRetrieverFlusher { - - static final String XML_CONTENT_TYPE = "text/xml"; - - static final String XML_HEAD = ""; - - static final String XML_RESULT_ROOT_START_TAG = ""; - static final String XML_RESULT_ROOT_END_TAG = ""; - - static final String XML_VALUE_START_TAG = ""; - static final String XML_VALUE_END_TAG = ""; - - abstract void retrieveFlushData(FacesContext context, String componentId, String methodToInvoke) throws ServletException, IOException; - - Object invokeResourceMethod(FacesContext context, String componentId, String methodToInvoke, Class[] methodParameters, Object[] methodArguments) throws Exception { - - UIComponent component = UIComponent.class.cast( context.getExternalContext().getSessionMap().get(componentId) ); - - Object obj = null; - - try{ - Method method = component.getClass().getMethod(methodToInvoke, methodParameters); - obj = method.invoke(component, methodArguments); - }catch(NoSuchMethodException noSuchMethodException){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("NoSuchMethodException was thrown while invoking method : "); - errorMessage.append(methodToInvoke); - errorMessage.append(" for component with id : "); - errorMessage.append(componentId); - throw new Exception(errorMessage.toString(), noSuchMethodException); - }catch(Exception additionalAccessException){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Other exception aside from NoSuchMethodException was thrown while invoking method : "); - errorMessage.append(methodToInvoke); - errorMessage.append(" for component with id : "); - errorMessage.append(componentId); - throw new Exception(errorMessage.toString(), additionalAccessException); - } - - return obj; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/ArrayServiceRequestDataRetrieverFlusher.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/ArrayServiceRequestDataRetrieverFlusher.java deleted file mode 100644 index e5ff230d..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/ArrayServiceRequestDataRetrieverFlusher.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.phaseListener; - -import java.io.IOException; -import java.io.Writer; - -import javax.faces.context.FacesContext; -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletResponse; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.json.JSONArray; -import org.json.JSONException; - -import com.googlecode.jsfFlex.shared.util.JSONConverter; - -/** - * Placing a note here for reference to data on the client side
      - * - * So if the following data is returned to the client side : - * - * First - * Second - * - * - * Then one can refer to the value in the following syntax : - * httpRequest.lastResult[0].root.value[0] - * httpRequest.lastResult[0].root.value[1] - * - * @author Ji Hoon Kim - */ -final class ArrayServiceRequestDataRetrieverFlusher extends AbstractServiceRequestDataRetrieverFlusher { - - private final static Log _log = LogFactory.getLog(ArrayServiceRequestDataRetrieverFlusher.class); - private static final String ERROR_CONVERTING_JSON_ARRAY_TO_XML = "Error while converting JSONArray to XML"; - - ArrayServiceRequestDataRetrieverFlusher(){ - super(); - } - - @Override - void retrieveFlushData(FacesContext context, String componentId, String methodToInvoke) throws ServletException, IOException { - - JSONArray methodResult = null; - - try{ - methodResult = JSONArray.class.cast( invokeResourceMethod(context, componentId, methodToInvoke, null, null) ); - }catch(Exception methodInvocationException){ - throw new ServletException(methodInvocationException); - } - - HttpServletResponse response = HttpServletResponse.class.cast( context.getExternalContext().getResponse() ); - response.setContentType(XML_CONTENT_TYPE); - - StringBuilder responseContent = new StringBuilder(); - responseContent.append(XML_HEAD); - responseContent.append(XML_RESULT_ROOT_START_TAG); - - try{ - responseContent.append( JSONConverter.convertJSONArrayToXMLString(methodResult) ); - }catch(JSONException jsonException){ - throw new ServletException(ERROR_CONVERTING_JSON_ARRAY_TO_XML, jsonException.getCause()); - } - - responseContent.append(XML_RESULT_ROOT_END_TAG); - - _log.info("Flushing content : " + responseContent.toString()); - - Writer writer = response.getWriter(); - writer.write(responseContent.toString()); - writer.flush(); - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/JsfFlexHttpServicePhaseListener.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/JsfFlexHttpServicePhaseListener.java deleted file mode 100644 index a28ba603..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/JsfFlexHttpServicePhaseListener.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.phaseListener; - -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -import javax.faces.context.FacesContext; -import javax.faces.event.PhaseEvent; -import javax.faces.event.PhaseId; -import javax.faces.event.PhaseListener; -import javax.servlet.http.HttpServletRequest; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * @author Ji Hoon Kim - */ -public class JsfFlexHttpServicePhaseListener implements PhaseListener { - - private static final long serialVersionUID = -3131829162091907227L; - - private final static Log _log = LogFactory.getLog(JsfFlexHttpServicePhaseListener.class); - - private static final String JSF_FLEX_HTTP_SERVICE_REQUEST_LISTENER_URL = "/jsfFlexHttpServiceRequestListener/"; - private static final Pattern JSF_FLEX_HTTP_SERVICE_REQUEST_LISTENER_URL_PATTERN = Pattern.compile(JSF_FLEX_HTTP_SERVICE_REQUEST_LISTENER_URL); - - private static final String COMPONENT_ID = "componentId"; - private static final String METHOD_TO_INVOKE = "methodToInvoke"; - private static final String SERVLET_RETURN_METHOD = "servletReturnMethod"; - - private static final String SERVLET_ARRAY_RESULT_FORMAT = "array"; - private static final String SERVLET_NAME_VALUE_RESULT_FORMAT = "nameValue"; - private static final String SERVLET_OBJECT_RESULT_FORMAT = "object"; - private static final String SERVLET_RAW_RESULT_FORMAT = "raw"; - private static final String SERVLET_XML_RESULT_FORMAT = "xml"; - - private static final AbstractServiceRequestDataRetrieverFlusher ARRAY_SERVICE_REQUEST_DATA_RETRIEVER_FLUSHER = new ArrayServiceRequestDataRetrieverFlusher(); - private static final AbstractServiceRequestDataRetrieverFlusher NAME_VALUE_SERVICE_REQUEST_DATA_RETRIEVER_FLUSHER = new NameValueServiceRequestDataRetrieverFlusher(); - private static final AbstractServiceRequestDataRetrieverFlusher OBJECT_SERVICE_REQUEST_DATA_RETRIEVER_FLUSHER = new ObjectServiceRequestDataRetrieverFlusher(); - private static final AbstractServiceRequestDataRetrieverFlusher RAW_SERVICE_REQUEST_DATA_RETRIEVER_FLUSHER = new RawServiceRequestDataRetrieverFlusher(); - private static final AbstractServiceRequestDataRetrieverFlusher XML_SERVICE_REQUEST_DATA_RETRIEVER_FLUSHER = new XMLServiceRequestDataRetrieverFlusher(); - - public void afterPhase(PhaseEvent event) { - FacesContext context = event.getFacesContext(); - HttpServletRequest request = HttpServletRequest.class.cast( context.getExternalContext().getRequest() ); - String urlPath = request.getRequestURI(); - - Matcher jsfFlexHttpServiceRequestListenerUrlMatcher = JSF_FLEX_HTTP_SERVICE_REQUEST_LISTENER_URL_PATTERN.matcher( urlPath ); - boolean matchFound = jsfFlexHttpServiceRequestListenerUrlMatcher.find(); - if(matchFound){ - processServiceRequest(context); - } - - } - - private void processServiceRequest(FacesContext context){ - - String componentId = context.getExternalContext().getRequestParameterMap().get(COMPONENT_ID); - String methodToInvoke = context.getExternalContext().getRequestParameterMap().get(METHOD_TO_INVOKE); - String servletReturnMethod = context.getExternalContext().getRequestParameterMap().get(SERVLET_RETURN_METHOD); - - StringBuilder logMessage = new StringBuilder(getClass().getSimpleName()); - logMessage.append(" => processServiceRequest : componentId, methodToInvoke, servletReturnMethod [ "); - logMessage.append(componentId); - logMessage.append(", "); - logMessage.append(methodToInvoke); - logMessage.append(", "); - logMessage.append(servletReturnMethod); - logMessage.append(" ] "); - _log.info(logMessage.toString()); - AbstractServiceRequestDataRetrieverFlusher serviceRequestDataRetrieverFlusher = null; - - if(servletReturnMethod.equals(SERVLET_ARRAY_RESULT_FORMAT)){ - serviceRequestDataRetrieverFlusher = ARRAY_SERVICE_REQUEST_DATA_RETRIEVER_FLUSHER; - }else if(servletReturnMethod.equals(SERVLET_NAME_VALUE_RESULT_FORMAT)){ - serviceRequestDataRetrieverFlusher = NAME_VALUE_SERVICE_REQUEST_DATA_RETRIEVER_FLUSHER; - }else if(servletReturnMethod.equals(SERVLET_OBJECT_RESULT_FORMAT)){ - serviceRequestDataRetrieverFlusher = OBJECT_SERVICE_REQUEST_DATA_RETRIEVER_FLUSHER; - }else if(servletReturnMethod.equals(SERVLET_RAW_RESULT_FORMAT)){ - serviceRequestDataRetrieverFlusher = RAW_SERVICE_REQUEST_DATA_RETRIEVER_FLUSHER; - }else if(servletReturnMethod.equals(SERVLET_XML_RESULT_FORMAT)){ - serviceRequestDataRetrieverFlusher = XML_SERVICE_REQUEST_DATA_RETRIEVER_FLUSHER; - } - - try{ - serviceRequestDataRetrieverFlusher.retrieveFlushData(context, componentId, methodToInvoke); - }catch(Exception exception){ - exception.printStackTrace(); - }finally{ - context.responseComplete(); - } - - } - - public void beforePhase(PhaseEvent event) { - - } - - public PhaseId getPhaseId() { - return PhaseId.RESTORE_VIEW; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/NameValueServiceRequestDataRetrieverFlusher.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/NameValueServiceRequestDataRetrieverFlusher.java deleted file mode 100644 index bca02131..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/NameValueServiceRequestDataRetrieverFlusher.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.phaseListener; - -import java.io.IOException; -import java.io.Writer; -import java.util.Iterator; -import java.util.Map; - -import javax.faces.context.FacesContext; -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletResponse; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * @author Ji Hoon Kim - */ -final class NameValueServiceRequestDataRetrieverFlusher extends AbstractServiceRequestDataRetrieverFlusher { - - private final static Log _log = LogFactory.getLog(NameValueServiceRequestDataRetrieverFlusher.class); - private static final String PLAIN_CONTENT_TYPE = "text/plain"; - - private static final char EQUAL_CHAR = '='; - private static final char SEPARATOR_CHAR = '&'; - - NameValueServiceRequestDataRetrieverFlusher(){ - super(); - } - - @Override - void retrieveFlushData(FacesContext context, String componentId, String methodToInvoke) throws ServletException, IOException { - - Map objectMap = null; - - try{ - objectMap = (Map) invokeResourceMethod(context, componentId, methodToInvoke, null, null); - }catch(Exception methodInvocationException){ - throw new ServletException(methodInvocationException); - } - - HttpServletResponse response = HttpServletResponse.class.cast( context.getExternalContext().getResponse() ); - response.setContentType(PLAIN_CONTENT_TYPE); - - if(objectMap != null){ - StringBuilder responseContent = new StringBuilder(); - - for(Iterator iterate = objectMap.keySet().iterator(); iterate.hasNext();){ - Object currKey = iterate.next(); - Object currValue = objectMap.get(currKey); - String statementToWrite = currKey.toString() + EQUAL_CHAR + currValue.toString() + SEPARATOR_CHAR; - responseContent.append(statementToWrite); - } - - _log.info("Flushing content : " + responseContent.toString()); - - Writer writer = response.getWriter(); - writer.write(responseContent.toString()); - writer.flush(); - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/ObjectServiceRequestDataRetrieverFlusher.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/ObjectServiceRequestDataRetrieverFlusher.java deleted file mode 100644 index 39f5cc47..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/ObjectServiceRequestDataRetrieverFlusher.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.phaseListener; - -import java.io.IOException; -import java.io.Writer; - -import javax.faces.context.FacesContext; -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletResponse; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.shared.util.JSONConverter; - -/** - * This implementation expects resultFormat to be "object" on the client side and
      - * expects the return value for the method invoked to be of JSONObject.
      - * - * It will parse the JSONObject, creating an XML construct to be returned to the client.
      - * In a nutshell it provides a single point of converting JSONObject to XML string. - * - * @author Ji Hoon Kim - */ -class ObjectServiceRequestDataRetrieverFlusher extends AbstractServiceRequestDataRetrieverFlusher { - - private final static Log _log = LogFactory.getLog(ObjectServiceRequestDataRetrieverFlusher.class); - private static final String ERROR_CONVERTING_JSON_OBJECT_TO_XML = "Error while converting JSONObject to XML"; - - ObjectServiceRequestDataRetrieverFlusher(){ - super(); - } - - @Override - void retrieveFlushData(FacesContext context, String componentId, String methodToInvoke) throws ServletException, IOException { - - JSONObject methodResult = null; - - try{ - methodResult = JSONObject.class.cast( invokeResourceMethod(context, componentId, methodToInvoke, null, null) ); - }catch(Exception methodInvocationException){ - throw new ServletException(methodInvocationException); - } - - HttpServletResponse response = HttpServletResponse.class.cast( context.getExternalContext().getResponse() ); - response.setContentType(XML_CONTENT_TYPE); - - StringBuilder responseContent = new StringBuilder(); - responseContent.append(XML_HEAD); - - try{ - responseContent.append( JSONConverter.convertJSONObjectToXMLString(methodResult) ); - }catch(JSONException jsonException){ - throw new ServletException(ERROR_CONVERTING_JSON_OBJECT_TO_XML, jsonException.getCause()); - } - - _log.info("Flushing content : " + responseContent.toString()); - - Writer writer = response.getWriter(); - writer.write( responseContent.toString() ); - writer.flush(); - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/RawServiceRequestDataRetrieverFlusher.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/RawServiceRequestDataRetrieverFlusher.java deleted file mode 100644 index d535bd34..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/RawServiceRequestDataRetrieverFlusher.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.phaseListener; - -import java.io.IOException; -import java.io.Writer; -import java.util.Collection; - -import javax.faces.context.FacesContext; -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletResponse; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * @author Ji Hoon Kim - */ -final class RawServiceRequestDataRetrieverFlusher extends AbstractServiceRequestDataRetrieverFlusher { - - private final static Log _log = LogFactory.getLog(RawServiceRequestDataRetrieverFlusher.class); - private static final String PLAIN_CONTENT_TYPE = "text/plain"; - - RawServiceRequestDataRetrieverFlusher(){ - super(); - } - - @Override - void retrieveFlushData(FacesContext context, String componentId, String methodToInvoke) throws ServletException, IOException { - - Collection objectCollection = null; - - try{ - objectCollection = (Collection) invokeResourceMethod(context, componentId, methodToInvoke, null, null); - }catch(Exception methodInvocationException){ - throw new ServletException(methodInvocationException); - } - - HttpServletResponse response = HttpServletResponse.class.cast( context.getExternalContext().getResponse() ); - response.setContentType(PLAIN_CONTENT_TYPE); - - if(objectCollection != null){ - StringBuilder responseContent = new StringBuilder(); - - for(Object currObj : objectCollection){ - responseContent.append(currObj.toString()); - } - - _log.info("Flushing content : " + responseContent.toString()); - - Writer writer = response.getWriter(); - writer.write(responseContent.toString()); - writer.flush(); - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/XMLServiceRequestDataRetrieverFlusher.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/XMLServiceRequestDataRetrieverFlusher.java deleted file mode 100644 index 053118a9..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/phaseListener/XMLServiceRequestDataRetrieverFlusher.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.phaseListener; - -import java.io.IOException; -import java.io.Writer; -import java.util.Collection; - -import javax.faces.context.FacesContext; -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletResponse; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * @author Ji Hoon Kim - */ -final class XMLServiceRequestDataRetrieverFlusher extends AbstractServiceRequestDataRetrieverFlusher { - - private final static Log _log = LogFactory.getLog(XMLServiceRequestDataRetrieverFlusher.class); - - XMLServiceRequestDataRetrieverFlusher(){ - super(); - } - - @Override - void retrieveFlushData(FacesContext context, String componentId, String methodToInvoke) throws ServletException, IOException { - - Collection objectCollection = null; - - try{ - objectCollection = (Collection) invokeResourceMethod(context, componentId, methodToInvoke, null, null); - }catch(Exception methodInvocationException){ - throw new ServletException(methodInvocationException); - } - - HttpServletResponse response = HttpServletResponse.class.cast( context.getExternalContext().getResponse() ); - response.setContentType(XML_CONTENT_TYPE); - - StringBuilder responseContent = new StringBuilder(); - responseContent.append(XML_HEAD); - - responseContent.append(XML_RESULT_ROOT_START_TAG); - if(objectCollection != null){ - for(Object currObj : objectCollection){ - responseContent.append(XML_VALUE_START_TAG); - responseContent.append(currObj.toString()); - responseContent.append(XML_VALUE_END_TAG); - } - } - responseContent.append(XML_RESULT_ROOT_END_TAG); - - _log.info("Flushing content : " + responseContent.toString()); - - Writer writer = response.getWriter(); - writer.write(responseContent.toString()); - writer.flush(); - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIBitmapImage.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIBitmapImage.java deleted file mode 100644 index 50407731..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIBitmapImage.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.primitives.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexBitmapImage", - clazz = "com.googlecode.jsfFlex.primitives.ext.FlexUIBitmapImage", - type = "com.googlecode.jsfFlex.FlexUIBitmapImage", - tagClass = "com.googlecode.jsfFlex.taglib.primitives.ext.FlexUIBitmapImageTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexBitmapImage" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIBitmapImage") -public abstract class AbstractFlexUIBitmapImage - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIEllipse.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIEllipse.java deleted file mode 100644 index ddb19d63..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIEllipse.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.primitives.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexEllipse", - clazz = "com.googlecode.jsfFlex.primitives.ext.FlexUIEllipse", - type = "com.googlecode.jsfFlex.FlexUIEllipse", - tagClass = "com.googlecode.jsfFlex.taglib.primitives.ext.FlexUIEllipseTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexEllipse" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIEllipse") -public abstract class AbstractFlexUIEllipse - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIGraphic.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIGraphic.java deleted file mode 100644 index 46614ce8..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIGraphic.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.primitives.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexGraphic", - clazz = "com.googlecode.jsfFlex.primitives.ext.FlexUIGraphic", - type = "com.googlecode.jsfFlex.FlexUIGraphic", - tagClass = "com.googlecode.jsfFlex.taglib.primitives.ext.FlexUIGraphicTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexGraphic" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIGraphic") -public abstract class AbstractFlexUIGraphic - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUILine.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUILine.java deleted file mode 100644 index 267f9106..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUILine.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.primitives.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexLine", - clazz = "com.googlecode.jsfFlex.primitives.ext.FlexUILine", - type = "com.googlecode.jsfFlex.FlexUILine", - tagClass = "com.googlecode.jsfFlex.taglib.primitives.ext.FlexUILineTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexLine" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUILine") -public abstract class AbstractFlexUILine - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIPath.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIPath.java deleted file mode 100644 index c23b6190..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIPath.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.primitives.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexPath", - clazz = "com.googlecode.jsfFlex.primitives.ext.FlexUIPath", - type = "com.googlecode.jsfFlex.FlexUIPath", - tagClass = "com.googlecode.jsfFlex.taglib.primitives.ext.FlexUIPathTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexPath" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIPath") -public abstract class AbstractFlexUIPath - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIRect.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIRect.java deleted file mode 100644 index 863b649a..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIRect.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.primitives.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRect", - clazz = "com.googlecode.jsfFlex.primitives.ext.FlexUIRect", - type = "com.googlecode.jsfFlex.FlexUIRect", - tagClass = "com.googlecode.jsfFlex.taglib.primitives.ext.FlexUIRectTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexRect" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRect") -public abstract class AbstractFlexUIRect - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIRectangularDropShadow.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIRectangularDropShadow.java deleted file mode 100644 index 340f5a35..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/primitives/ext/AbstractFlexUIRectangularDropShadow.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.primitives.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRectangularDropShadow", - clazz = "com.googlecode.jsfFlex.primitives.ext.FlexUIRectangularDropShadow", - type = "com.googlecode.jsfFlex.FlexUIRectangularDropShadow", - tagClass = "com.googlecode.jsfFlex.taglib.primitives.ext.FlexUIRectangularDropShadowTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexRectangularDropShadow" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRectangularDropShadow") -public abstract class AbstractFlexUIRectangularDropShadow - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/flex/FlexRenderKitFactoryWrapper.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/flex/FlexRenderKitFactoryWrapper.java deleted file mode 100644 index b1de6356..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/flex/FlexRenderKitFactoryWrapper.java +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.flex; - -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.Map; -import java.util.Set; - -import javax.faces.context.FacesContext; -import javax.faces.render.RenderKit; -import javax.faces.render.RenderKitFactory; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * @author Ji Hoon Kim - */ -public class FlexRenderKitFactoryWrapper extends RenderKitFactory { - - private final static Log _log = LogFactory.getLog(FlexRenderKitFactoryWrapper.class); - - private static final Map _additionalRenderKitMap = new HashMap(); - - private FlexRenderKitWrapper _flexRenderKit; - private Set renderKitIds; - - public FlexRenderKitFactoryWrapper() { - super(); - - RenderKit htmlBasic = getRenderKit(FacesContext.getCurrentInstance(), HTML_BASIC_RENDER_KIT); - - if(htmlBasic == null){ - - try{ - Class renderKitImplClass = Class.forName("com.sun.faces.renderkit.RenderKitImpl"); - htmlBasic = RenderKit.class.cast( renderKitImplClass.newInstance() ); - - //HACK to allow Mojarra impl to work, but why is it not working properly in comparison to MyFaces - _log.info("Hacking to instantiate HTML_BASIC_RENDER_KIT renderkit to be added to FlexRenderKitFactoryWrapper for Mojarra impl (Would be nice for it to work in the same way as MyFaces"); - if(htmlBasic != null){ - _log.info("htmlBasic is Not NULL so this should be a mojarra implementation"); - addRenderKit(HTML_BASIC_RENDER_KIT, htmlBasic); - } - }catch(Exception mojarraInstantiateException){ - - } - } - } - - @Override - public void addRenderKit(String renderKitId, RenderKit renderKit) { - if(renderKitId == null){ - throw new NullPointerException("addRenderKit : renderKitId is null"); - } - - if(renderKit == null){ - throw new NullPointerException("addRenderKit : renderKit is null"); - } - - //HACK for now, TODO implement it better later. - if(renderKitId.equals(FlexRenderKitWrapper.FLEX_RENDER_KIT_ID)){ - - _flexRenderKit = FlexRenderKitWrapper.class.cast( renderKit ); - _flexRenderKit.addRenderKitSet(_additionalRenderKitMap.values()); - }else{ - - _log.info("Adding renderKitId [ " + renderKitId + " ] as additional search renderKits for " + FlexRenderKitWrapper.FLEX_RENDER_KIT_ID); - - if(_flexRenderKit != null){ - _flexRenderKit.addRenderKit(renderKit); - } - - _additionalRenderKitMap.put(renderKitId, renderKit); - } - - } - - @Override - public RenderKit getRenderKit(FacesContext context, String renderKitId) { - if(renderKitId.equals(FlexRenderKitWrapper.FLEX_RENDER_KIT_ID)){ - return _flexRenderKit; - }else{ - return _additionalRenderKitMap.get(renderKitId); - } - } - - @Override - public synchronized Iterator getRenderKitIds() { - if(renderKitIds == null){ - renderKitIds = new HashSet(_additionalRenderKitMap.keySet()); - renderKitIds.add(FlexRenderKitWrapper.FLEX_RENDER_KIT_ID); - } - return renderKitIds.iterator(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/flex/FlexRenderKitWrapper.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/flex/FlexRenderKitWrapper.java deleted file mode 100644 index 9bef3f09..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/flex/FlexRenderKitWrapper.java +++ /dev/null @@ -1,207 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.flex; - -import java.io.OutputStream; -import java.io.Writer; -import java.util.Arrays; -import java.util.Collection; -import java.util.HashMap; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Map; - -import javax.faces.FactoryFinder; -import javax.faces.context.FacesContext; -import javax.faces.context.ResponseStream; -import javax.faces.context.ResponseWriter; -import javax.faces.render.RenderKit; -import javax.faces.render.RenderKitFactory; -import javax.faces.render.Renderer; -import javax.faces.render.ResponseStateManager; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderKit; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderKit(renderKitId = "FLEX_BASIC") -public class FlexRenderKitWrapper extends RenderKit { - - static final String FLEX_RENDER_KIT_ID = "FLEX_BASIC"; - - private final static Log _log = LogFactory.getLog(FlexRenderKitWrapper.class); - private static final String DEFAULT_CHAR_ENCODING = "ISO-8859-1"; - - private final Collection _additionalRenderKits; - private final Map> _renderers; - - private RenderKit basicHTML; - - { - _additionalRenderKits = new LinkedHashSet(); - _renderers = new HashMap>(); - - RenderKitFactory factory = RenderKitFactory.class.cast( FactoryFinder.getFactory(FactoryFinder.RENDER_KIT_FACTORY) ); - basicHTML = factory.getRenderKit(FacesContext.getCurrentInstance(), RenderKitFactory.HTML_BASIC_RENDER_KIT); - } - - @Override - public Renderer getRenderer(String family, String rendererType) { - - Renderer renderer = null; - Map rendererMap = _renderers.get(family); - if(rendererMap != null){ - renderer = rendererMap.get(rendererType); - } - - if(renderer == null){ - //simple HACK where to search for remaining renderKits, TODO implement it better later - - for(RenderKit currRenderKit : _additionalRenderKits){ - - renderer = currRenderKit.getRenderer(family, rendererType); - - if(renderer != null){ - _log.info("Found Renderer of family [ " + family + " ], rendererType [ " + rendererType + " ] within RenderKit " + currRenderKit.getClass().getSimpleName()); - break; - } - } - - } - - return renderer; - } - - @Override - public void addRenderer(String family, String rendererType, Renderer renderer) { - if(family == null){ - throw new NullPointerException("addRenderer: component family must not be null"); - } - if(rendererType == null){ - throw new NullPointerException("addRenderer: rendererType must not be null"); - } - - Map rendererTypeMap; - /* - * Since there exists many rendererType for a single family - */ - if((rendererTypeMap = _renderers.get(family)) == null){ - rendererTypeMap = new HashMap(); - _renderers.put(family, rendererTypeMap); - } - - rendererTypeMap.put(rendererType, renderer); - - } - - @Override - public ResponseStream createResponseStream(OutputStream outPutStream) { - return basicHTML.createResponseStream(outPutStream); - } - - @Override - public ResponseStateManager getResponseStateManager() { - return basicHTML.getResponseStateManager(); - } - - @Override - public ResponseWriter createResponseWriter(Writer writer, String contentTypeListString, String characterEncoding){ - String selectedContentType = FlexRenderKitImplHelper.selectContentType(contentTypeListString); - - if(characterEncoding==null){ - characterEncoding = DEFAULT_CHAR_ENCODING; - } - - AbstractFlexResponseWriter flexResponseWriter = new FlexResponseWriterImpl(writer, selectedContentType, characterEncoding); - - return flexResponseWriter; - } - - public void addRenderKit(RenderKit renderKit){ - _additionalRenderKits.add(renderKit); - } - - public void addRenderKitSet(Collection renderKits){ - _additionalRenderKits.addAll(renderKits); - } - - private static final class FlexRenderKitImplHelper { - - private static final String HTML_CONTENT_TYPE = "text/html"; - private static final String TEXT_ANY_CONTENT_TYPE = "text/*"; - private static final String ANY_CONTENT_TYPE = "*/*"; - - private static final String XHTML_CONTENT_TYPE = "application/xhtml+xml"; - private static final String APPLICATION_XML_CONTENT_TYPE = "application/xml"; - private static final String TEXT_XML_CONTENT_TYPE = "text/xml"; - - private static final List _htmlAcceptContentType; - private static final List _xhtmlAcceptContentType; - - static{ - _htmlAcceptContentType = Arrays.asList(new String[]{HTML_CONTENT_TYPE, TEXT_ANY_CONTENT_TYPE, ANY_CONTENT_TYPE}); - - _xhtmlAcceptContentType = Arrays.asList(new String[]{XHTML_CONTENT_TYPE, APPLICATION_XML_CONTENT_TYPE, TEXT_XML_CONTENT_TYPE}); - } - - private static final String selectContentType(String contentTypeListString){ - - if(contentTypeListString == null){ - FacesContext currFacesContext = FacesContext.getCurrentInstance(); - - if(currFacesContext != null){ - //if passed in is null, try to fetch it from the requestMap - contentTypeListString = String.class.cast( currFacesContext.getExternalContext().getRequestHeaderMap().get("Accept") ); - } - - if(contentTypeListString == null){ - throw new NullPointerException("Content Type Listing passed into createResponseWriter and within RequestHeaderMap is null!"); - } - - } - - List contentTypeList = Arrays.asList(contentTypeListString.replaceAll("[;\\s]", "").split(",")); - //Always search first as htmlAcceptContentType - - String contentType = null; - for(String currentContentType : contentTypeList){ - - if(_htmlAcceptContentType.contains(currentContentType)){ - contentType = HTML_CONTENT_TYPE; - break; - }else if(_xhtmlAcceptContentType.contains(currentContentType)){ - contentType = XHTML_CONTENT_TYPE; - break; - } - - } - - if(contentType == null){ - throw new NullPointerException("Content type : " + contentTypeListString + " is not one of the supported content Type"); - } - - return contentType; - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/flex/FlexResponseWriterImpl.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/flex/FlexResponseWriterImpl.java deleted file mode 100644 index 243d0117..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/flex/FlexResponseWriterImpl.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.flex; - -import java.io.Writer; - -import javax.faces.FactoryFinder; -import javax.faces.context.FacesContext; -import javax.faces.context.ResponseWriter; -import javax.faces.render.RenderKit; -import javax.faces.render.RenderKitFactory; - -/** - * @author Ji Hoon Kim - */ -class FlexResponseWriterImpl extends AbstractFlexResponseWriter { - - private final ResponseWriter _basicWriter; - private final String _selectedContentType; - private final String _characterEncoding; - - private FlexResponseWriterImpl(){ - super(); - - _basicWriter = null; - _selectedContentType = null; - _characterEncoding = null; - } - - FlexResponseWriterImpl(Writer writer, String selectedContentType, String characterEncoding){ - super(); - - _selectedContentType = selectedContentType; - _characterEncoding = characterEncoding; - - RenderKitFactory factory = RenderKitFactory.class.cast( FactoryFinder.getFactory(FactoryFinder.RENDER_KIT_FACTORY) ); - RenderKit basicHTMLRenderKit = factory.getRenderKit(FacesContext.getCurrentInstance(), RenderKitFactory.HTML_BASIC_RENDER_KIT); - _basicWriter = basicHTMLRenderKit.createResponseWriter(writer, selectedContentType, characterEncoding); - - } - - @Override - public ResponseWriter cloneWithWriter(Writer writer) { - return new FlexResponseWriterImpl(writer, _selectedContentType, _characterEncoding); - } - - @Override - public ResponseWriter getWrapped() { - return _basicWriter; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/html/util/AbstractJsfFlexResource.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/html/util/AbstractJsfFlexResource.java deleted file mode 100644 index 47ed9012..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/html/util/AbstractJsfFlexResource.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.html.util; - -import java.util.Collection; - -import javax.servlet.http.HttpServletResponse; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractJsfFlexResource { - - public static final String JSF_FLEX_SCRIPT_RESOURCE_REQUEST_PREFIX = "jsfFlexResourceRequest"; - - AbstractJsfFlexResource(){ - super(); - } - - private static ThreadLocal _currentResourceInstance = new ThreadLocal() - { - protected AbstractJsfFlexResource initialValue() - { - return null; - } - }; - - public static synchronized AbstractJsfFlexResource getInstance(){ - AbstractJsfFlexResource instance = null; - - if(_currentResourceInstance.get() == null){ - instance = new JsfFlexResourceImpl(); - _currentResourceInstance.set(instance); - }else{ - instance = AbstractJsfFlexResource.class.cast( _currentResourceInstance.get() ); - } - - return instance; - } - - public abstract Collection getResources(); - - public abstract void addResource(Class jsfFlexComponent, String resourceName); - - public abstract void processRequestResource(HttpServletResponse httpResponse, String[] requestURISplitted); - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/html/util/JsfFlexResourceImpl.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/html/util/JsfFlexResourceImpl.java deleted file mode 100644 index fbc024ca..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/renderkit/html/util/JsfFlexResourceImpl.java +++ /dev/null @@ -1,186 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.html.util; - -import java.io.BufferedReader; -import java.io.IOException; -import java.io.InputStream; -import java.io.InputStreamReader; -import java.io.PrintWriter; -import java.util.Collection; -import java.util.LinkedHashSet; -import java.util.LinkedList; -import java.util.List; -import java.util.Set; - -import javax.servlet.http.HttpServletResponse; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -class JsfFlexResourceImpl extends AbstractJsfFlexResource { - - private static final Log _log = LogFactory.getLog(JsfFlexResourceImpl.class); - - private static final String RESOURCE_DIRECTORY_NAME = "resource"; - - private final Set _resourceSet; - - JsfFlexResourceImpl(){ - super(); - _resourceSet = new LinkedHashSet(); - } - - @Override - public void addResource(Class jsfFlexComponent, String resourceName){ - _resourceSet.add(new JsfFlexResourceElement(jsfFlexComponent, resourceName)); - } - - @Override - public Collection getResources(){ - - List resourceList = new LinkedList(); - for(JsfFlexResourceElement currResourceElement : _resourceSet){ - resourceList.add(currResourceElement.generateResourcePath()); - } - - return resourceList; - } - - @Override - public void processRequestResource(HttpServletResponse httpResponse, String[] requestURISplitted){ - - /* - * need to get the resource as stream and flush it out using httpResponse - * The key should be [3] + [4] where : - * [3] = name of the packaged class where the resource lives [use it for loading the resource] - * [4] = name of the resource file - */ - - Class resourceClass = null; - - try{ - resourceClass = Class.forName(requestURISplitted[3]); - }catch(ClassNotFoundException classNotFound){ - _log.debug("Class Not found for " + requestURISplitted[3], classNotFound); - } - - StringBuilder resourcePath = new StringBuilder(RESOURCE_DIRECTORY_NAME); - resourcePath.append("/"); - - for(int i=4; i < requestURISplitted.length; i++){ - resourcePath.append(requestURISplitted[i]); - - if((i+1) < requestURISplitted.length){ - resourcePath.append("/"); - } - } - - InputStream resourceStream = resourceClass.getResourceAsStream(resourcePath.toString()); - - readInputWriteOutput(resourceStream, httpResponse); - - } - - private void readInputWriteOutput(InputStream resourceStream, HttpServletResponse httpResponse){ - - PrintWriter responseWriter = null; - - try{ - responseWriter = httpResponse.getWriter(); - - BufferedReader reader = new BufferedReader(new InputStreamReader(resourceStream)); - - char[] charBuffer = new char[2048]; - int offSet = 0; - while((offSet = reader.read(charBuffer, 0, 2048)) > -1){ - responseWriter.write(charBuffer, 0, offSet); - } - - responseWriter.flush(); - }catch(IOException ioException){ - _log.debug("IOException while writing the script's content to PrintWriter of HttpServletResponse", ioException); - } - - } - - private final class JsfFlexResourceElement{ - - private final Class _jsfFlexComponent; - private final String _resourceName; - - private final int HASH_CODE_VAL; - - private JsfFlexResourceElement(){ - super(); - _jsfFlexComponent = null; - _resourceName = null; - HASH_CODE_VAL = -1; - } - - private JsfFlexResourceElement(Class jsfFlexComponent, String resourceName){ - super(); - _jsfFlexComponent = jsfFlexComponent; - _resourceName = resourceName; - int hashCodeVal = FlexConstants.HASH_CODE_INIT_VALUE; - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _jsfFlexComponent.getPackage().getName().hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _jsfFlexComponent.getName().hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _resourceName.hashCode(); - HASH_CODE_VAL = hashCodeVal; - } - - public String generateResourcePath(){ - StringBuilder resourcePath = new StringBuilder(); - - resourcePath.append(JSF_FLEX_SCRIPT_RESOURCE_REQUEST_PREFIX); - resourcePath.append("/"); - resourcePath.append( _jsfFlexComponent.getPackage().getName() ); - resourcePath.append("."); - resourcePath.append( _jsfFlexComponent.getSimpleName() ); - resourcePath.append("/"); - resourcePath.append( _resourceName ); - - return resourcePath.toString(); - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof JsfFlexResourceElement)){ - return false; - } - - JsfFlexResourceElement jsfFlexResourceElementInstance = JsfFlexResourceElement.class.cast( instance ); - - return _jsfFlexComponent.getPackage().getName().equals( jsfFlexResourceElementInstance._jsfFlexComponent.getPackage().getName() ) && - _resourceName.equals( jsfFlexResourceElementInstance._resourceName ); - } - - @Override - public int hashCode() { - return HASH_CODE_VAL; - } - - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUIAddChild.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUIAddChild.java deleted file mode 100644 index 14254a19..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUIAddChild.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.states.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexAddChild", - clazz = "com.googlecode.jsfFlex.states.ext.FlexUIAddChild", - type = "com.googlecode.jsfFlex.FlexUIAddChild", - tagClass = "com.googlecode.jsfFlex.taglib.states.ext.FlexUIAddChildTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexAddChild" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIAddChild") -public abstract class AbstractFlexUIAddChild - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUIRemoveChild.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUIRemoveChild.java deleted file mode 100644 index 88d191fe..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUIRemoveChild.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.states.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRemoveChild", - clazz = "com.googlecode.jsfFlex.states.ext.FlexUIRemoveChild", - type = "com.googlecode.jsfFlex.FlexUIRemoveChild", - tagClass = "com.googlecode.jsfFlex.taglib.states.ext.FlexUIRemoveChildTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexRemoveChild" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRemoveChild") -public abstract class AbstractFlexUIRemoveChild - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUISetEventHandler.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUISetEventHandler.java deleted file mode 100644 index e58b9292..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUISetEventHandler.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.states.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUINameAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSetEventHandler", - clazz = "com.googlecode.jsfFlex.states.ext.FlexUISetEventHandler", - type = "com.googlecode.jsfFlex.FlexUISetEventHandler", - tagClass = "com.googlecode.jsfFlex.taglib.states.ext.FlexUISetEventHandlerTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSetEventHandler" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISetEventHandler") -public abstract class AbstractFlexUISetEventHandler - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes, IFlexUINameAttribute { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUISetProperty.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUISetProperty.java deleted file mode 100644 index 7430fe1a..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUISetProperty.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.states.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUINameAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIValueAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSetProperty", - clazz = "com.googlecode.jsfFlex.states.ext.FlexUISetProperty", - type = "com.googlecode.jsfFlex.FlexUISetProperty", - tagClass = "com.googlecode.jsfFlex.taglib.states.ext.FlexUISetPropertyTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSetProperty" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISetProperty") -public abstract class AbstractFlexUISetProperty - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes, IFlexUINameAttribute, IFlexUIValueAttribute { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUISetStyle.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUISetStyle.java deleted file mode 100644 index b6fe9426..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUISetStyle.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.states.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUINameAttribute; -import com.googlecode.jsfFlex.attributes.IFlexUIValueAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSetStyle", - clazz = "com.googlecode.jsfFlex.states.ext.FlexUISetStyle", - type = "com.googlecode.jsfFlex.FlexUISetStyle", - tagClass = "com.googlecode.jsfFlex.taglib.states.ext.FlexUISetStyleTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSetStyle" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISetStyle") -public abstract class AbstractFlexUISetStyle - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes, IFlexUINameAttribute, IFlexUIValueAttribute { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUIState.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUIState.java deleted file mode 100644 index 008881c4..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUIState.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.states.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.attributes.IFlexUINameAttribute; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexState", - clazz = "com.googlecode.jsfFlex.states.ext.FlexUIState", - type = "com.googlecode.jsfFlex.FlexUIState", - tagClass = "com.googlecode.jsfFlex.taglib.states.ext.FlexUIStateTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexState" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIState") -public abstract class AbstractFlexUIState - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes, IFlexUINameAttribute { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUIStates.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUIStates.java deleted file mode 100644 index 8f57b897..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUIStates.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.states.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexStates", - clazz = "com.googlecode.jsfFlex.states.ext.FlexUIStates", - type = "com.googlecode.jsfFlex.FlexUIStates", - tagClass = "com.googlecode.jsfFlex.taglib.states.ext.FlexUIStatesTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexStates" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIStates") -public abstract class AbstractFlexUIStates - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUITransition.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUITransition.java deleted file mode 100644 index d6ebc93b..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/states/ext/AbstractFlexUITransition.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.states.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexTransition", - clazz = "com.googlecode.jsfFlex.states.ext.FlexUITransition", - type = "com.googlecode.jsfFlex.FlexUITransition", - tagClass = "com.googlecode.jsfFlex.taglib.states.ext.FlexUITransitionTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexTransition" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUITransition") -public abstract class AbstractFlexUITransition - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - - /** - * Id of the component. - */ - @JSFProperty( - inheritedTag = true, - rtexprvalue = true, - literalOnly = true, - desc = "Id of the component." - ) - @Override - public String getId(){ - return super.getId(); - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/taglib/AbstractFlexUIComponentBodyTagBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/taglib/AbstractFlexUIComponentBodyTagBase.java deleted file mode 100644 index 9d7ed574..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/taglib/AbstractFlexUIComponentBodyTagBase.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.taglib; - -import javax.faces.webapp.UIComponentELTag; -import javax.servlet.jsp.JspException; -import javax.servlet.jsp.tagext.BodyContent; -import javax.servlet.jsp.tagext.BodyTag; - -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * This tag captures the contents of the JSP tag as an attribute of FlexConstants.TAG_BODY_CONTENT_ATTR.
      - * This will enable writing of ActionScript contents as body of mxmlScript JSP tag.
      - * - * @author Ji Hoon Kim - */ -public abstract class AbstractFlexUIComponentBodyTagBase extends UIComponentELTag { - - private String _scriptContent; - - public int doStartTag() throws JspException - { - super.doStartTag(); - return BodyTag.EVAL_BODY_BUFFERED; - } - - public int doAfterBody() throws JspException - { - BodyContent bodyContent = getBodyContent(); - if (bodyContent != null) - { - setScriptContent(bodyContent.getString()); - bodyContent.clearBody(); - getComponentInstance().getAttributes().put(FlexConstants.TAG_BODY_CONTENT_ATTR, _scriptContent); - } - return super.doAfterBody(); - } - - public void release() { - super.release(); - - _scriptContent = null; - - } - - public String getScriptContent() { - return _scriptContent; - } - public void setScriptContent(String scriptContent) { - _scriptContent = scriptContent; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/taglib/AbstractFlexUIComponentTagBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/taglib/AbstractFlexUIComponentTagBase.java deleted file mode 100644 index dc1f1ae0..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/taglib/AbstractFlexUIComponentTagBase.java +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.taglib; - -import javax.el.ExpressionFactory; -import javax.el.ValueExpression; - -import javax.faces.component.UICommand; -import javax.faces.component.UIComponent; -import javax.faces.component.UIGraphic; -import javax.faces.component.UIParameter; -import javax.faces.component.UISelectBoolean; -import javax.faces.component.ValueHolder; -import javax.faces.context.FacesContext; -import javax.faces.convert.Converter; -import javax.faces.webapp.UIComponentELTag; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Implementation of setting UIComponent attributes has been taken from MyFaces. Much Thanks! - * - * @author Ji Hoon Kim - */ -public abstract class AbstractFlexUIComponentTagBase extends UIComponentELTag { - - private final static Log _log = LogFactory.getLog(AbstractFlexUIComponentTagBase.class); - - private static final String CONVERTER_ATTR = "converter"; - private static final String VALUE_ATTR = "value"; - - //Special UIComponent attributes (ValueHolder, ConvertibleValueHolder) - private ValueExpression _value; - private String _converter; - - public void release() { - super.release(); - _value=null; - _converter=null; - } - - protected void setProperties(UIComponent component){ - super.setProperties(component); - - FacesContext context = FacesContext.getCurrentInstance(); - ExpressionFactory expressionFactory = context.getApplication().getExpressionFactory(); - - if (_value != null) { - component.setValueExpression(VALUE_ATTR, _value); - } - - if(_converter != null){ - if(component instanceof ValueHolder){ - ValueExpression ve = expressionFactory.createValueExpression(context.getELContext(), _converter, Object.class); - if(ve != null){ - component.setValueExpression(CONVERTER_ATTR, ve); - }else{ - Converter converter = context.getApplication().createConverter(_converter); - ((ValueHolder)component).setConverter(converter); - } - }else{ - _log.error("Component " + component.getClass().getName() + " is no ValueHolder, cannot set value."); - } - } - - } - - protected void setBooleanProperty(FacesContext context, UIComponent component, String propName, String value) { - - if(value != null){ - ExpressionFactory expressionFactory = context.getApplication().getExpressionFactory(); - ValueExpression ve = expressionFactory.createValueExpression(context.getELContext(), value, Object.class); - if(ve != null){ - component.setValueExpression(propName, ve); - }else{ - component.getAttributes().put(propName, Boolean.valueOf(value)); - } - } - } - - protected void setIntegerProperty(FacesContext context, UIComponent component, String propName, String value) { - - if(value != null){ - ExpressionFactory expressionFactory = context.getApplication().getExpressionFactory(); - ValueExpression ve = expressionFactory.createValueExpression(context.getELContext(), value, Object.class); - if(ve != null){ - component.setValueExpression(propName, ve); - }else{ - component.getAttributes().put(propName, Integer.valueOf(value)); - } - } - } - - protected void setLongProperty(FacesContext context, UIComponent component, String propName, String value) { - - if(value != null){ - ExpressionFactory expressionFactory = context.getApplication().getExpressionFactory(); - ValueExpression ve = expressionFactory.createValueExpression(context.getELContext(), value, Object.class); - if(ve != null){ - component.setValueExpression(propName, ve); - }else{ - component.getAttributes().put(propName, Long.valueOf(value)); - } - } - } - - protected void setStringProperty(FacesContext context, UIComponent component, String propName, String value) { - - if(value != null){ - ExpressionFactory expressionFactory = context.getApplication().getExpressionFactory(); - ValueExpression ve = expressionFactory.createValueExpression(context.getELContext(), value, Object.class); - if(ve != null){ - component.setValueExpression(propName, ve); - }else{ - component.getAttributes().put(propName, value); - } - } - } - - public void setConverter(String converter){ - _converter = converter; - } - - - public void setValue(ValueExpression value){ - - _value = value; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/taglib/AbstractFlexUIInputTagBase.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/taglib/AbstractFlexUIInputTagBase.java deleted file mode 100644 index 1108406f..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/taglib/AbstractFlexUIInputTagBase.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.taglib; - -import javax.el.ExpressionFactory; -import javax.el.MethodExpression; -import javax.faces.component.EditableValueHolder; -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.event.MethodExpressionValueChangeListener; -import javax.faces.event.ValueChangeEvent; -import javax.faces.validator.MethodExpressionValidator; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Implementation of setting UIInput attributes has been taken from MyFaces. Much Thanks! - * - * @author Ji Hoon Kim - */ -public abstract class AbstractFlexUIInputTagBase extends AbstractFlexUIComponentTagBase { - - private final static Log _log = LogFactory.getLog(AbstractFlexUIInputTagBase.class); - - private static final Class[] VALIDATOR_ARGS = {FacesContext.class, UIComponent.class, Object.class}; - private static final Class[] VALUE_LISTENER_ARGS = {ValueChangeEvent.class}; - - private static final String IMMEDIATE_ATTR = "immediate"; - private static final String REQUIRED_ATTR = "required"; - - //UIInput attributes - private String _immediate; - private String _required; - private String _validator; - private String _valueChangeListener; - - public void release() { - super.release(); - - _immediate=null; - _required=null; - _validator=null; - _valueChangeListener=null; - } - - protected void setProperties(UIComponent component){ - super.setProperties(component); - - FacesContext context = FacesContext.getCurrentInstance(); - ExpressionFactory expressionFactory = context.getApplication().getExpressionFactory(); - - setBooleanProperty(context, component, IMMEDIATE_ATTR, _immediate); - setBooleanProperty(context, component, REQUIRED_ATTR, _required); - - if(_validator != null){ - if(!(component instanceof EditableValueHolder)){ - throw new IllegalArgumentException("Component " + component.getClientId(context) + " is no EditableValueHolder"); - } - - MethodExpression me = expressionFactory.createMethodExpression(context.getELContext(), _validator, Object.class, VALIDATOR_ARGS); - if(me != null){ - ((EditableValueHolder)component).addValidator(new MethodExpressionValidator(me)); - }else{ - _log.error("Component " + component.getClientId(context) + " has invalid validation expression " + _validator); - } - } - - if(_valueChangeListener != null){ - if(!(component instanceof EditableValueHolder)){ - throw new IllegalArgumentException("Component " + component.getClientId(context) + " is no EditableValueHolder"); - } - - MethodExpression me = expressionFactory.createMethodExpression(context.getELContext(), _valueChangeListener, Object.class, VALUE_LISTENER_ARGS); - if(me != null){ - ((EditableValueHolder)component).addValueChangeListener(new MethodExpressionValueChangeListener(me)); - }else{ - _log.error("Component " + component.getClientId(context) + " has invalid valueChangedListener expression " + _valueChangeListener); - } - } - - } - - public void setImmediate(String immediate){ - _immediate = immediate; - } - public void setRequired(String required){ - _required = required; - } - public void setValidator(String validator){ - _validator = validator; - } - public void setValueChangeListener(String valueChangeListener){ - _valueChangeListener = valueChangeListener; - } - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUICreditCardValidator.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUICreditCardValidator.java deleted file mode 100644 index 704afc88..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUICreditCardValidator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.validator.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexCreditCardValidator", - clazz = "com.googlecode.jsfFlex.validator.ext.FlexUICreditCardValidator", - type = "com.googlecode.jsfFlex.FlexUICreditCardValidator", - tagClass = "com.googlecode.jsfFlex.taglib.validator.ext.FlexUICreditCardValidatorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexCreditCardValidator" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUICreditCardValidator") -public abstract class AbstractFlexUICreditCardValidator - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUICurrencyValidator.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUICurrencyValidator.java deleted file mode 100644 index d9488d9c..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUICurrencyValidator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.validator.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexCurrencyValidator", - clazz = "com.googlecode.jsfFlex.validator.ext.FlexUICurrencyValidator", - type = "com.googlecode.jsfFlex.FlexUICurrencyValidator", - tagClass = "com.googlecode.jsfFlex.taglib.validator.ext.FlexUICurrencyValidatorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexCurrencyValidator" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUICurrencyValidator") -public abstract class AbstractFlexUICurrencyValidator - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIDateValidator.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIDateValidator.java deleted file mode 100644 index 7afe572b..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIDateValidator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.validator.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexDateValidator", - clazz = "com.googlecode.jsfFlex.validator.ext.FlexUIDateValidator", - type = "com.googlecode.jsfFlex.FlexUIDateValidator", - tagClass = "com.googlecode.jsfFlex.taglib.validator.ext.FlexUIDateValidatorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexDateValidator" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIDateValidator") -public abstract class AbstractFlexUIDateValidator - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIEmailValidator.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIEmailValidator.java deleted file mode 100644 index 12dc8dab..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIEmailValidator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.validator.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexEmailValidator", - clazz = "com.googlecode.jsfFlex.validator.ext.FlexUIEmailValidator", - type = "com.googlecode.jsfFlex.FlexUIEmailValidator", - tagClass = "com.googlecode.jsfFlex.taglib.validator.ext.FlexUIEmailValidatorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexEmailValidator" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIEmailValidator") -public abstract class AbstractFlexUIEmailValidator - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUINumberValidator.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUINumberValidator.java deleted file mode 100644 index 906c7f18..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUINumberValidator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.validator.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexNumberValidator", - clazz = "com.googlecode.jsfFlex.validator.ext.FlexUINumberValidator", - type = "com.googlecode.jsfFlex.FlexUINumberValidator", - tagClass = "com.googlecode.jsfFlex.taglib.validator.ext.FlexUINumberValidatorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexNumberValidator" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUINumberValidator") -public abstract class AbstractFlexUINumberValidator - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIPhoneNumberValidator.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIPhoneNumberValidator.java deleted file mode 100644 index d218d0df..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIPhoneNumberValidator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.validator.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexPhoneNumberValidator", - clazz = "com.googlecode.jsfFlex.validator.ext.FlexUIPhoneNumberValidator", - type = "com.googlecode.jsfFlex.FlexUIPhoneNumberValidator", - tagClass = "com.googlecode.jsfFlex.taglib.validator.ext.FlexUIPhoneNumberValidatorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexPhoneNumberValidator" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIPhoneNumberValidator") -public abstract class AbstractFlexUIPhoneNumberValidator - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIRegExpValidator.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIRegExpValidator.java deleted file mode 100644 index 781d7d27..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIRegExpValidator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.validator.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexRegExpValidator", - clazz = "com.googlecode.jsfFlex.validator.ext.FlexUIRegExpValidator", - type = "com.googlecode.jsfFlex.FlexUIRegExpValidator", - tagClass = "com.googlecode.jsfFlex.taglib.validator.ext.FlexUIRegExpValidatorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexRegExpValidator" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIRegExpValidator") -public abstract class AbstractFlexUIRegExpValidator - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUISocialSecurityValidator.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUISocialSecurityValidator.java deleted file mode 100644 index 0309c9e1..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUISocialSecurityValidator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.validator.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexSocialSecurityValidator", - clazz = "com.googlecode.jsfFlex.validator.ext.FlexUISocialSecurityValidator", - type = "com.googlecode.jsfFlex.FlexUISocialSecurityValidator", - tagClass = "com.googlecode.jsfFlex.taglib.validator.ext.FlexUISocialSecurityValidatorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexSocialSecurityValidator" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUISocialSecurityValidator") -public abstract class AbstractFlexUISocialSecurityValidator - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIStringValidator.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIStringValidator.java deleted file mode 100644 index 327da809..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIStringValidator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.validator.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexStringValidator", - clazz = "com.googlecode.jsfFlex.validator.ext.FlexUIStringValidator", - type = "com.googlecode.jsfFlex.FlexUIStringValidator", - tagClass = "com.googlecode.jsfFlex.taglib.validator.ext.FlexUIStringValidatorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexStringValidator" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIStringValidator") -public abstract class AbstractFlexUIStringValidator - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIValidator.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIValidator.java deleted file mode 100644 index 0417d2e4..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIValidator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.validator.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexValidator", - clazz = "com.googlecode.jsfFlex.validator.ext.FlexUIValidator", - type = "com.googlecode.jsfFlex.FlexUIValidator", - tagClass = "com.googlecode.jsfFlex.taglib.validator.ext.FlexUIValidatorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexValidator" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIValidator") -public abstract class AbstractFlexUIValidator - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIZipCodeValidator.java b/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIZipCodeValidator.java deleted file mode 100644 index f44abf97..00000000 --- a/jsf-flex/core/src/main/java/com/googlecode/jsfFlex/validator/ext/AbstractFlexUIZipCodeValidator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.validator.ext; - -import javax.faces.component.FacesComponent; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent; - -import com.googlecode.jsfFlex.attributes.IFlexUIBaseAttributes; -import com.googlecode.jsfFlex.component.AbstractFlexUISimpleBase; - -/** - * One thing to note about Flex Formatter and Validator is that they are not actually converters or validators
      - * respectively but actually are components. This is so because they perform the formatting and validation
      - * as Flex components on the client side and not on the server side.
      - * - * @author Ji Hoon Kim - */ -@JSFComponent( - name = "jf:flexZipCodeValidator", - clazz = "com.googlecode.jsfFlex.validator.ext.FlexUIZipCodeValidator", - type = "com.googlecode.jsfFlex.FlexUIZipCodeValidator", - tagClass = "com.googlecode.jsfFlex.taglib.validator.ext.FlexUIZipCodeValidatorTag", - family = "javax.faces.FlexSimple", - defaultRendererType = "com.googlecode.jsfFlex.FlexZipCodeValidator" -) -@FacesComponent("com.googlecode.jsfFlex.FlexUIZipCodeValidator") -public abstract class AbstractFlexUIZipCodeValidator - extends AbstractFlexUISimpleBase - implements IFlexUIBaseAttributes { - -} diff --git a/jsf-flex/core/src/main/resources/META-INF/LICENSE.txt b/jsf-flex/core/src/main/resources/META-INF/LICENSE.txt deleted file mode 100644 index c6055ec8..00000000 --- a/jsf-flex/core/src/main/resources/META-INF/LICENSE.txt +++ /dev/null @@ -1,174 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. diff --git a/jsf-flex/core/src/main/resources/META-INF/componentClass.vm b/jsf-flex/core/src/main/resources/META-INF/componentClass.vm deleted file mode 100644 index f447b5f5..00000000 --- a/jsf-flex/core/src/main/resources/META-INF/componentClass.vm +++ /dev/null @@ -1,518 +0,0 @@ -## Velocity template used to generate JSF1.2-compatible component classes -## from component meta-data. -## -## Note that there are two types of component generation: -## * "subclass mode" (use annotated class as a parent class) -## * "template mode" (use annotated class as a template) -## This template file is used for both. -## -## Variable $component refers to a ComponentMeta object to process -## Variable $utils refers to an instance of MyfacesUtils. -## -## When "template mode" is being used then variable $innersource -## holds a String containing all the non-abstract functions defined -## in the annotated class. -## -## The java package of the generated class is always the same as -## the package in which the annotated class exists. -## -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package ${component.packageName}; - -import javax.el.ValueExpression; -import javax.faces.context.FacesContext; -import javax.faces.component.PartialStateHolder; -import javax.faces.component.StateHolder; -import com.googlecode.jsfFlex.myFaces.AttachedDeltaWrapper; -$utils.importTagClasses($component) - -#if ($component.isTemplate()) -#set ($generatedClassParent = $component.sourceClassParentClassName) -#else -#set ($generatedClassParent = $component.sourceClassName) -#end -// Generated from class ${component.sourceClassName}. -// -// WARNING: This file was automatically generated. Do not edit it directly, -// or you will lose your changes. -public class ${utils.getClassFromFullClass($component.className)} extends $generatedClassParent -#if ($component.implements) - implements $component.implements -#end -{ -#if ($component.serialuid) - private static final long serialVersionUID = ${component.serialuid}; -#end - - static public final String COMPONENT_FAMILY = - "$component.family"; - static public final String COMPONENT_TYPE = - "$component.type"; -#if ($component.rendererType) -#if (!($component.rendererType == "")) - static public final String DEFAULT_RENDERER_TYPE = - "$component.rendererType"; -#end -#end - -#if ($innersource) - //BEGIN CODE COPIED FROM $component.sourceClassName -$innersource - //END CODE COPIED FROM $component.sourceClassName -#end - - public ${utils.getClassFromFullClass($component.className)}() - { -#if ($component.rendererType) -#if ($component.rendererType == "") - setRendererType(null); -#else - setRendererType("$component.rendererType"); -#end -#else - setRendererType(null); -#end - } - -## On myfaces 1.1 the family is inherited, so this could be commented -## On other this should not be commented - public String getFamily() - { - return COMPONENT_FAMILY; - } - -## Iterate over full component property list -#set ($propertyList = ${component.propertyList}) - -## TODO: this condition should be checked for parent components -## and csv implements -#if ($component.isClientBehaviorHolder()) -#if ($component.isOverrideEventNames()) - static private final java.util.Collection CLIENT_EVENTS_LIST = - java.util.Collections.unmodifiableCollection( - java.util.Arrays.asList( -#set ($commavar = "") -#foreach( $property in $propertyList ) -#if ($property.clientEvent) -#if ($property.clientEvent != "") - $commavar "$property.clientEvent" -#set ($commavar = ",") -#end -#end -#end - )); - - public java.util.Collection getEventNames() - { - return CLIENT_EVENTS_LIST; - } -#end -#end -#if ($component.defaultEventName) -#if ($component.isOverrideDefaultEventName()) - - //ClientBehaviorHolder default: $component.defaultEventName - public String getDefaultEventName() - { - return "$component.defaultEventName"; - } -#end -#end - -#set ($propertyList = ${component.propertyComponentList}) - -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $utils.getClassFromFullClass($property.className)) -#if($utils.getDefaultValueField($property)) -#set ($defaultValue = $utils.getDefaultValueField($property)) -#else -#set ($defaultValue = false) -#end - // Property: $property.name -#if ($property.isPartialStateHolder()) -#if ($property.isLiteralOnly() || $property.isTagExcluded() ) - private $type $field #if($defaultValue) = $defaultValue;#{else};#{end} - - -#else - private $type $field; - -#end - - private boolean _$utils.getPrefixedPropertyName("isSet", $property.name)() - { - Boolean value = (Boolean) getStateHelper().get(PropertyKeys.${property.name}Set); - return value == null ? false : value; - } - -#if($utils.isPrimitiveClass($type) && !$property.isTagExcluded() - && !$property.isLiteralOnly() ) - private boolean ${field}Set; - -#if ($property.isSetMethod()) - $property.setMethodScope boolean $utils.getPrefixedPropertyName("isSet", $property.name)() - { - return ${field}Set; - } -#end -#end -#if($property.isLocalMethod()) -#if("boolean" == $type) -#set ($methodName = $utils.getPrefixedPropertyName("isLocal", $property.name)) -#else -#set ($methodName = $utils.getPrefixedPropertyName("getLocal", $property.name)) -#end - final $property.localMethodScope $type ${methodName}() - { - return $field; - } - -#end - public $type $utils.getMethodReaderFromProperty($property.name, $type)() - { -#if ($property.isTagExcluded() || $property.isLiteralOnly()) - return $field; -#else -#if ($utils.isPrimitiveClass($type)) - if (${field}Set) -#else - if ($field != null) -#end - { - return $field; - } - ValueExpression vb = getValueExpression("$property.name"); - if (vb != null) - { -#if ($utils.isPrimitiveClass($type)) - return ($utils.castIfNecessary($type) vb.getValue(getFacesContext().getELContext())).${type}Value(); -#else -#set ($pritype = $utils.getPrimitiveType($property.className)) -#if ($utils.isPrimitiveClass($pritype)) - Object value = vb == null ? null : vb.getValue(getFacesContext().getELContext()); - if (!(value instanceof $type)){ - value = ${type}.valueOf(value.toString()); - } - return $utils.castIfNecessary($type) value; -#else - return $utils.castIfNecessary($type) vb.getValue(getFacesContext().getELContext()); -#end -#end - } -#if ($defaultValue) - return $defaultValue; -#elseif ($utils.isPrimitiveClass($type)) - return $utils.primitiveDefaultValue($type); -#else - return null; -#end -#end - } - - public void $utils.getPrefixedPropertyName("set", $property.name)($type $utils.getVariableFromName($property.name)) - { - this.$field = $utils.getVariableFromName($property.name); - if (initialStateMarked()) - { - getStateHelper().put(PropertyKeys.${property.name}Set,Boolean.TRUE); - } -#if ($utils.isPrimitiveClass($type) && !$property.isTagExcluded() ) - this.${field}Set = true; -#end - } -#else -## StateHelper aware property -#if ($property.name == "for") -## To keep compatibility with RI, we should call it forVal -#set ($field = "forVal") -#else -#set ($field = $property.name) -#end -#if ($property.isSetMethod()) - $property.setMethodScope boolean $utils.getPrefixedPropertyName("isSet", $property.name)() - { - return getStateHelper().get(PropertyKeys.$field) != null; - } -#end -#if($property.isLocalMethod()) -#if("boolean" == $type) -#set ($methodName = $utils.getPrefixedPropertyName("isLocal", $property.name)) -#else -#set ($methodName = $utils.getPrefixedPropertyName("getLocal", $property.name)) -#end - final $property.localMethodScope $type ${methodName}() - { - return $utils.castIfNecessary($type) getStateHelper().get(PropertyKeys.$field); - } - -#end - public $type $utils.getMethodReaderFromProperty($property.name, $type)() - { -#if ($property.isLiteralOnly()) -#if ($defaultValue) - Object value = getStateHelper().get(PropertyKeys.$field); - if (value != null) - { - return $utils.castIfNecessary($type) value; - } - return $defaultValue; -#elseif ($utils.isPrimitiveClass($type)) - Object value = getStateHelper().get(PropertyKeys.$field); - if (value != null) - { - return $utils.castIfNecessary($type) value; - } - return $utils.primitiveDefaultValue($type); -#else - return $utils.castIfNecessary($type) getStateHelper().get(PropertyKeys.$field); -#end -#else -#if ($defaultValue) - return $utils.castIfNecessary($type) getStateHelper().eval(PropertyKeys.$field, $defaultValue); -#elseif ($utils.isPrimitiveClass($type)) - Object value = $utils.castIfNecessary($type) getStateHelper().eval(PropertyKeys.$field); - if (value != null) - { - return $utils.castIfNecessary($type) value; - } - return $utils.primitiveDefaultValue($type); -#else - return $utils.castIfNecessary($type) getStateHelper().eval(PropertyKeys.$field); -#end -#end - } - - public void $utils.getPrefixedPropertyName("set", $property.name)($type $utils.getVariableFromName($property.name)) - { - getStateHelper().put(PropertyKeys.$field, $utils.getVariableFromName($property.name) ); - } -#end -#end - - protected enum PropertyKeys - { -#set ($comma = "") -#set ($addc = "false") -#foreach( $property in $propertyList ) -#if ($property.name == "for") -#set ($addc = "true") -## To keep compatibility with RI, we should call it forVal -#set ($field = "forVal") -#else -#set ($field = $property.name) -#end -#set ($type = $utils.getClassFromFullClass($property.className)) -#if($utils.getDefaultValueField($property)) -#set ($defaultValue = $utils.getDefaultValueField($property)) -#else -#set ($defaultValue = false) -#end -#if ($property.name == "for") - $comma $field("for") -#else -#if ($property.isPartialStateHolder()) - $comma ${field}Set -#else - $comma $field -#end -#end -#set($comma = ",") -#end -#if ("true" == $addc) - ; - String c; - - PropertyKeys() - { - } - - //Constructor needed by "for" property - PropertyKeys(String c) - { - this.c = c; - } - - public String toString() - { - return ((this.c != null) ? this.c : super.toString()); - } -#end - } - -#set ($primitiveCount = 1) ## $propertyList.size() + 1 -#foreach( $property in $propertyList ) -#if ($property.isPartialStateHolder()) -#set ($primitiveCount = $primitiveCount + 1) -#if($utils.isPrimitiveClass($property.className)) -#set ($primitiveCount = $primitiveCount + 1) -#end -#end -#end -## saveState and restoreState methods only has sense if we have properties -## that does not use StateHelper class. -#if ($primitiveCount > 1) - - public void markInitialState() - { - super.markInitialState(); -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#if ($property.isPartialStateHolder()) - if ($field != null && - $field instanceof PartialStateHolder) - { - ((PartialStateHolder)$field).markInitialState(); - } -#end -#end - } - - public void clearInitialState() - { - if (initialStateMarked()) - { - super.clearInitialState(); -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#if ($property.isPartialStateHolder()) -## //Only has sense propagate this method if is initialStateMarked - if ($field != null && - $field instanceof PartialStateHolder) - { - ((PartialStateHolder)$field).clearInitialState(); - } -#end -#end - } - } - - @Override - public Object saveState(FacesContext facesContext) - { - if (initialStateMarked()) - { - boolean nullDelta = true; - Object parentSaved = super.saveState(facesContext); -#set ($arrayIndex = 0) -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $property.className) -#if ($property.isPartialStateHolder()) -#set ($arrayIndex = $arrayIndex + 1) - Object ${property.name}Saved = null; - if (!_$utils.getPrefixedPropertyName("isSet", $property.name)() && - $field != null && $field instanceof PartialStateHolder) - { - //Delta - StateHolder holder = (StateHolder) $field; - if (!holder.isTransient()) - { - Object attachedState = holder.saveState(facesContext); - if (attachedState != null) - { - nullDelta = false; - } - ${property.name}Saved = new AttachedDeltaWrapper(${field}.getClass(), - attachedState); - } - } - else if (_$utils.getPrefixedPropertyName("isSet", $property.name)() || $field != null ) - { - //Full - ${property.name}Saved = saveAttachedState(facesContext,$field); - nullDelta = false; - } -## StateHelper Properties does not need save and restore -#end -#end - if (parentSaved == null && nullDelta) - { - //No values - return null; - } - - Object[] values = new Object[$primitiveCount]; - values[0] = parentSaved; -## Save full state -#set ($arrayIndex = 0) -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $property.className) -#if ($property.isPartialStateHolder()) -#set ($arrayIndex = $arrayIndex + 1) - values[$arrayIndex] = ${property.name}Saved; -## StateHelper Properties does not need save and restore -#end -#end - return values; - } - else - { - Object[] values = new Object[$primitiveCount]; - values[0] = super.saveState(facesContext); -## Save full state -#set ($arrayIndex = 0) -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $property.className) -#if ($property.isPartialStateHolder()) -#set ($arrayIndex = $arrayIndex + 1) - values[$arrayIndex] = saveAttachedState(facesContext,$field); -## StateHelper Properties does not need save and restore -#end -#end - return values; - } - } - - @Override - public void restoreState(FacesContext facesContext, Object state) - { - if (state == null) - { - return; - } - - Object[] values = (Object[])state; - super.restoreState(facesContext,values[0]); -#set ($arrayIndex = 0) -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $property.className) -#if ($property.isPartialStateHolder()) -#set ($arrayIndex = $arrayIndex + 1) - if (values[$arrayIndex] instanceof AttachedDeltaWrapper) - { - //Delta - ((StateHolder)$field).restoreState(facesContext, ((AttachedDeltaWrapper) values[$arrayIndex]).getWrappedStateObject()); - } - else - { - //Full - $field = $utils.castIfNecessary($type) restoreAttachedState(facesContext,values[$arrayIndex]); - } -#else -## StateHelper Properties does not need save and restore -#end -#end - } -#end -} diff --git a/jsf-flex/core/src/main/resources/META-INF/facelets-taglib.vm b/jsf-flex/core/src/main/resources/META-INF/facelets-taglib.vm deleted file mode 100644 index 98ddd34c..00000000 --- a/jsf-flex/core/src/main/resources/META-INF/facelets-taglib.vm +++ /dev/null @@ -1,297 +0,0 @@ - - - - - $uri -#if ($compositeLibrary) - $compositeLibrary -#end - -$baseContent - -## ----------------------------- START MACROS ----------------------------- -## -## ------------------------------- -## writeJSFProperty -## ------------------------------- -## -#macro (writeJSFProperty $property) -#if (!$property.isTagExcluded()) - -#if ($property.longDescription) - -#else - -#end - $property.jspName -#if ($property.isRequired()) - $property.isRequired() -#end -#if ($property.isMethodExpression() || $property.isMethodBinding()) -#if ($property.getMethodBindingSignature()) -#set ($sig = $property.getMethodBindingSignature()) - $sig.returnType myMethod( $sig.parameterTypesAsString ) -#end -#elseif($property.deferredValueType) - $property.deferredValueType -#elseif ($type == "String") - java.lang.String -#else - $property.className -#end - -#end -#end -## -## ------------------------------- -## writeJSFAttribute -## ------------------------------- -## -#macro (writeJSFAttribute $attribute) -#if (!$attribute.isTagExcluded()) - -#if ($attribute.longDescription) - -#else - -#end - $attribute.jspName -#if ($attribute.isRequired()) - $attribute.isRequired() -#end -#set ($type = $utils.getClassFromFullClass($attribute.className)) -#if ($type == "MethodExpression") - ${attribute.deferredMethodSignature} -#elseif ($type == "ValueExpression") -#if($attribute.deferredValueType) - $attribute.deferredValueType -#end -#else -#if ($attribute.className) - $attribute.className -#else - java.lang.String -#end -#end - -#end -#end -## ----------------------------- END MACROS ------------------------------- - -#set ($componentList = ${model.getComponents()}) -#foreach( $component in $componentList ) -#if ($modelIds.contains($component.modelId) - && ($component.name)) -#if (!$component.isConfigExcluded() && !$component.isComposite()) -## Check if we don't have a facelet tag taking precedence over this description -#if (! ${model.findFaceletTagByName($component.name)}) - -#if ($component.longDescription) - -#else - -#end - $utils.getTagName($component.name) - - $component.type -#if ($component.rendererType) -#if (!($component.rendererType == "")) - $component.rendererType -#end -#end -#if ($component.tagHandler) - $component.tagHandler -#end - -#set ($attributeList = ${component.propertyList}) -#foreach( $attribute in $attributeList ) -#writeJSFProperty($attribute) -#end - -#end -#end -#end -#end - - -#set ($componentList = ${model.getConverters()}) -#foreach( $component in $componentList ) -#if ($modelIds.contains($component.modelId) - && ($component.name)) -#if ($component.converterId) -## Check if we don't have a facelet tag taking precedence over this description -#if (! ${model.findFaceletTagByName($component.name)}) - -#if ($component.longDescription) - -#else - -#end - $utils.getTagName($component.name) - - $component.converterId -#if ($component.tagHandler) - $component.tagHandler -#end - -#set ($propertyList = ${component.propertyList}) -#foreach( $property in $propertyList ) -#writeJSFProperty($property) -#end - -#end -#end -#end -#end - - -#set ($componentList = ${model.getValidators()}) -#foreach( $component in $componentList ) -#if ($modelIds.contains($component.modelId) - && ($component.name)) -#if ($component.validatorId) -## Check if we don't have a facelet tag taking precedence over this description -#if (! ${model.findFaceletTagByName($component.name)}) - -#if ($component.longDescription) - -#else - -#end - $utils.getTagName($component.name) - - $component.validatorId -#if ($component.tagHandler) - $component.tagHandler -#end - -#set ($propertyList = ${component.propertyList}) -#foreach( $property in $propertyList ) -#writeJSFProperty($property) -#end - -#end -#end -#end -#end - - -#set ($behaviorList = ${model.getBehaviors()}) -#foreach( $behavior in $behaviorList ) -#if ($modelIds.contains($behavior.modelId) - && ($behavior.name)) -#if ($behavior.behaviorId) -## Check if we don't have a facelet tag taking precedence over this description -#if (! ${model.findFaceletTagByName($behavior.name)}) - -#if ($behavior.longDescription) - -#else - -#end - $utils.getTagName($behavior.name) - - $behavior.behaviorId - -#set ($propertyList = ${behavior.propertyList}) -#foreach( $property in $propertyList ) -#writeJSFProperty($property) -#end - -#end -#end -#end -#end - - -#set ($tagList = $model.getTags()) -#foreach( $tag in $tagList ) -#if ($modelIds.contains($tag.modelId)) -#if ($tag.tagHandler) -## Check if we don't have a facelet tag taking precedence over this description -#if (! ${model.findFaceletTagByName($tag.name)}) - -#if ($tag.longDescription) - -#else - -#end - $utils.getTagName($tag.name) - $tag.tagHandler -#foreach( $attribute in $attributeList ) -#writeJSFAttribute($attribute) -#end - -#end -#end -#end -#end - - -#set ($faceletTagList = $model.getFaceletTags()) -#foreach( $faceletTag in $faceletTagList ) -#if ($modelIds.contains($faceletTag.modelId) && ($faceletTag.name)) -#if ($utils.getTagPrefix($faceletTag.name) == $shortname) - -#if ($faceletTag.longDescription) - -#else - -#end - - $utils.getTagName($faceletTag.name) -#if ($faceletTag.componentClass) -#set ($component = ${model.findComponentByClassName($faceletTag.componentClass)}) - - $component.type -#if ($component.rendererType) -#if (!($component.rendererType == "")) - $component.rendererType -#end -#end - $faceletTag.className - -#elseif ($faceletTag.converterClass) -#set ($converter = ${model.findConverterByClassName($faceletTag.converterClass)}) - - $converter.converterId - $faceletTag.className - -#elseif ($faceletTag.behaviorClass) -#set ($behavior = ${model.findBehaviorByClassName($faceletTag.behaviorClass)}) - - $behavior.behaviorId - $faceletTag.className - -#else - $faceletTag.className -#end -#set ($attributeList = ${tag.attributeList}) -#foreach( $attribute in $attributeList ) -#writeJSFAttribute($attribute) -#end - -#end -#end -#end - diff --git a/jsf-flex/core/src/main/resources/META-INF/faces-config.vm b/jsf-flex/core/src/main/resources/META-INF/faces-config.vm deleted file mode 100644 index 213795f1..00000000 --- a/jsf-flex/core/src/main/resources/META-INF/faces-config.vm +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - -$baseContent - -#set ($componentList = ${model.getComponents()}) -#foreach( $component in $componentList ) -#if ($modelIds.contains($component.modelId) - && !($component.className.contains("UIComponent")) - && !($component.isConfigExcluded())) - - $component.type - $component.className - -#end -#end -#set ($converterList = ${model.getConverters()}) -#foreach( $converter in $converterList ) -#if ($modelIds.contains($converter.modelId)) - - $converter.converterId - $converter.className - -#end -#end -#set ($validatorList = ${model.getValidators()}) -#foreach( $validator in $validatorList ) -#if ($modelIds.contains($validator.modelId) && - !($validator.isConfigExcluded().booleanValue()) && - $validator.validatorId) - - $validator.validatorId - $validator.className - -#end -#end -#set ($behaviorList = ${model.getBehaviors()}) -#foreach( $behavior in $behaviorList ) -#if ($modelIds.contains($behavior.modelId)) - - $behavior.behaviorId - $behavior.className - -#end -#end -#set ($renderKitList = ${model.getRenderKits()}) -#foreach( $renderKit in $renderKitList ) - - $renderKit.renderKitId -#if ($renderKit.className) - $renderKit.className -#end -#set ($rendererList = ${renderKit.getRenderers()}) -#foreach( $renderer in $rendererList ) - - $renderer.componentFamily - $renderer.rendererType - $renderer.className - -#end - -#end - diff --git a/jsf-flex/core/src/main/resources/META-INF/jsf-flex.vm b/jsf-flex/core/src/main/resources/META-INF/jsf-flex.vm deleted file mode 100644 index 989c4305..00000000 --- a/jsf-flex/core/src/main/resources/META-INF/jsf-flex.vm +++ /dev/null @@ -1,259 +0,0 @@ - - - - $description - $displayname - 1.1.7 - $shortname - $uri - - - -$baseContent - - -#set ($componentList = ${model.getComponents()}) -#foreach( $component in $componentList ) -#if ($modelIds.contains($component.modelId) - && ($component.name)) -#if ($utils.getTagPrefix($component.name) == $shortname) - - - $utils.getTagName($component.name) - $component.tagClass -#if ($component.bodyContent) - $component.bodyContent -#else - JSP -#end - -#set ($propertyList = ${component.propertyList}) -#foreach( $property in $propertyList ) -#if (!$property.isTagExcluded() && !$property.isFaceletsOnly()) - -#if ($property.longDescription) - -#else - -#end - $property.jspName -#if ($property.isRequired()) - $property.isRequired() -#end -#if ($property.isMethodExpression() || $property.isMethodBinding()) -#if ($property.getMethodBindingSignature()) - -#set ($sig = $property.getMethodBindingSignature()) - $sig.returnType myMethod( $sig.parameterTypesAsString ) - - -#else -## This is a very special case. If a property is MethodBinding or MethodExpression -## this should have a signature. If not, for allow multiple MethodBinding -## simulate a ValueExpression and write a custom code like in -## org.apache.myfaces.custom.suggestajax.AbstractSuggestAjaxTag - -#end -#elseif ($property.isLiteralOnly()) - false -#else -#if ( "$!property.isRtexprvalue()" == "") -#set ($type = $utils.getClassFromFullClass($property.className)) -#if($property.deferredValueType) - - $property.deferredValueType - -#elseif ($type == "String") - - java.lang.String - -#else - - $property.className - -#end -#else - $property.isRtexprvalue().booleanValue() -#end -#end - -#end -#end - -#end -#end -#end - -#set ($componentList = ${model.getConverters()}) -#foreach( $component in $componentList ) -#if ($modelIds.contains($component.modelId) - && ($component.name) && ($component.tagClass)) -#if ($utils.getTagPrefix($component.name) == $shortname) - - - $utils.getTagName($component.name) - $component.tagClass -#if ($component.bodyContent) - $component.bodyContent -#else - empty -#end - -#set ($propertyList = ${component.propertyList}) -#foreach( $property in $propertyList ) -#if (!$property.isTagExcluded() && !$property.isFaceletsOnly()) - -#if ($property.longDescription) - -#else - -#end - $property.name -#if ($property.isRequired()) - $property.isRequired() -#end -#if ($property.isLiteralOnly()) - false -#else -#set ($type = $utils.getClassFromFullClass($property.className)) -#if($property.deferredValueType) - - $property.deferredValueType - -#elseif ($type == "String") - - java.lang.String - -#else - - $property.className - -#end -#end - -#end -#end - -#end -#end -#end - -#set ($componentList = ${model.getValidators()}) -#foreach( $component in $componentList ) -#if ($modelIds.contains($component.modelId) - && ($component.name) && ($component.tagClass)) -#if ($utils.getTagPrefix($component.name) == $shortname) - - - $utils.getTagName($component.name) - $component.tagClass -#if ($component.bodyContent) - $component.bodyContent -#else - empty -#end - -#set ($propertyList = ${component.propertyList}) -#foreach( $property in $propertyList ) -#if (!$property.isTagExcluded() && !$property.isFaceletsOnly()) - -#if ($property.longDescription) - -#else - -#end - $property.name -#if ($property.isRequired()) - $property.isRequired() -#end -#if ($property.isLiteralOnly()) - false -#else -#set ($type = $utils.getClassFromFullClass($property.className)) -#if($property.deferredValueType) - - $property.deferredValueType - -#elseif ($type == "String") - - java.lang.String - -#else - - $property.className - -#end -#end - -#end -#end - -#end -#end -#end - -#set ($tagList = $model.getTags()) -#foreach( $tag in $tagList ) -#if ($modelIds.contains($tag.modelId)) - - - $utils.getTagName($tag.name) - $tag.className - $tag.bodyContent -#set ($attributeList = ${tag.attributeList}) -#foreach( $attribute in $attributeList ) -#if (!$attribute.isFaceletsOnly()) - -#if ($attribute.longDescription) - -#else - -#end - $attribute.name - $attribute.isRequired() -#set ($type = $utils.getClassFromFullClass($attribute.className)) -#if ($type == "MethodExpression") - - ${attribute.deferredMethodSignature} - -#elseif ($type == "ValueExpression") - -#if($attribute.deferredValueType) - $attribute.deferredValueType -#end - -#else - $attribute.isRtexprvalue() -#if ($attribute.className) - $attribute.className -#else - java.lang.String -#end -#end - -#end -#end - -#end -#end - diff --git a/jsf-flex/core/src/main/resources/META-INF/licenses/SDK license.pdf b/jsf-flex/core/src/main/resources/META-INF/licenses/SDK license.pdf deleted file mode 100644 index 251d00bf..00000000 Binary files a/jsf-flex/core/src/main/resources/META-INF/licenses/SDK license.pdf and /dev/null differ diff --git a/jsf-flex/core/src/main/resources/META-INF/licenses/license-mpl.htm b/jsf-flex/core/src/main/resources/META-INF/licenses/license-mpl.htm deleted file mode 100644 index 611a94ee..00000000 --- a/jsf-flex/core/src/main/resources/META-INF/licenses/license-mpl.htm +++ /dev/null @@ -1,388 +0,0 @@ - - - - Mozilla Public License version 1.1 - - - -

      Mozilla Public License Version 1.1

      -

      1. Definitions.

      -
      -
      1.0.1. "Commercial Use" -
      means distribution or otherwise making the Covered Code available to a third party. -
      1.1. "Contributor" -
      means each entity that creates or contributes to the creation of Modifications. -
      1.2. "Contributor Version" -
      means the combination of the Original Code, prior Modifications used by a Contributor, - and the Modifications made by that particular Contributor. -
      1.3. "Covered Code" -
      means the Original Code or Modifications or the combination of the Original Code and - Modifications, in each case including portions thereof. -
      1.4. "Electronic Distribution Mechanism" -
      means a mechanism generally accepted in the software development community for the - electronic transfer of data. -
      1.5. "Executable" -
      means Covered Code in any form other than Source Code. -
      1.6. "Initial Developer" -
      means the individual or entity identified as the Initial Developer in the Source Code - notice required by Exhibit A. -
      1.7. "Larger Work" -
      means a work which combines Covered Code or portions thereof with code not governed - by the terms of this License. -
      1.8. "License" -
      means this document. -
      1.8.1. "Licensable" -
      means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently acquired, any and all of the rights - conveyed herein. -
      1.9. "Modifications" -
      -

      means any addition to or deletion from the substance or structure of either the - Original Code or any previous Modifications. When Covered Code is released as a - series of files, a Modification is: -

        -
      1. Any addition to or deletion from the contents of a file - containing Original Code or previous Modifications. -
      2. Any new file that contains any part of the Original Code or - previous Modifications. -
      -
      1.10. "Original Code" -
      means Source Code of computer software code which is described in the Source Code - notice required by Exhibit A as Original Code, and which, - at the time of its release under this License is not already Covered Code governed - by this License. -
      1.10.1. "Patent Claims" -
      means any patent claim(s), now owned or hereafter acquired, including without - limitation, method, process, and apparatus claims, in any patent Licensable by - grantor. -
      1.11. "Source Code" -
      means the preferred form of the Covered Code for making modifications to it, - including all modules it contains, plus any associated interface definition files, - scripts used to control compilation and installation of an Executable, or source - code differential comparisons against either the Original Code or another well known, - available Covered Code of the Contributor's choice. The Source Code can be in a - compressed or archival form, provided the appropriate decompression or de-archiving - software is widely available for no charge. -
      1.12. "You" (or "Your") -
      means an individual or a legal entity exercising rights under, and complying with - all of the terms of, this License or a future version of this License issued under - Section 6.1. For legal entities, "You" includes any entity - which controls, is controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or otherwise, or (b) - ownership of more than fifty percent (50%) of the outstanding shares or beneficial - ownership of such entity. -
      -

      2. Source Code License.

      -

      2.1. The Initial Developer Grant.

      -

      The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive - license, subject to third party intellectual property claims: -

        -
      1. under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, modify, display, perform, - sublicense and distribute the Original Code (or portions thereof) with or without - Modifications, and/or as part of a Larger Work; and -
      2. under Patents Claims infringed by the making, using or selling - of Original Code, to make, have made, use, practice, sell, and offer for sale, and/or - otherwise dispose of the Original Code (or portions thereof). -
      3. the licenses granted in this Section 2.1 - (a) and (b) are effective on - the date Initial Developer first distributes Original Code under the terms of this - License. -
      4. Notwithstanding Section 2.1 (b) - above, no patent license is granted: 1) for code that You delete from the Original Code; - 2) separate from the Original Code; or 3) for infringements caused by: i) the - modification of the Original Code or ii) the combination of the Original Code with other - software or devices. -
      -

      2.2. Contributor Grant.

      -

      Subject to third party intellectual property claims, each Contributor hereby grants You - a world-wide, royalty-free, non-exclusive license -

        -
      1. under intellectual property rights (other than patent or trademark) - Licensable by Contributor, to use, reproduce, modify, display, perform, sublicense and - distribute the Modifications created by such Contributor (or portions thereof) either on - an unmodified basis, with other Modifications, as Covered Code and/or as part of a Larger - Work; and -
      2. under Patent Claims infringed by the making, using, or selling of - Modifications made by that Contributor either alone and/or in combination with its - Contributor Version (or portions of such combination), to make, use, sell, offer for - sale, have made, and/or otherwise dispose of: 1) Modifications made by that Contributor - (or portions thereof); and 2) the combination of Modifications made by that Contributor - with its Contributor Version (or portions of such combination). -
      3. the licenses granted in Sections 2.2 - (a) and 2.2 (b) are effective - on the date Contributor first makes Commercial Use of the Covered Code. -
      4. Notwithstanding Section 2.2 (b) - above, no patent license is granted: 1) for any code that Contributor has deleted from - the Contributor Version; 2) separate from the Contributor Version; 3) for infringements - caused by: i) third party modifications of Contributor Version or ii) the combination of - Modifications made by that Contributor with other software (except as part of the - Contributor Version) or other devices; or 4) under Patent Claims infringed by Covered Code - in the absence of Modifications made by that Contributor. -
      -

      3. Distribution Obligations.

      -

      3.1. Application of License.

      -

      The Modifications which You create or to which You contribute are governed by the terms - of this License, including without limitation Section 2.2. The - Source Code version of Covered Code may be distributed only under the terms of this License - or a future version of this License released under Section 6.1, - and You must include a copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code version that alters or - restricts the applicable version of this License or the recipients' rights hereunder. - However, You may include an additional document offering the additional rights described in - Section 3.5. -

      3.2. Availability of Source Code.

      -

      Any Modification which You create or to which You contribute must be made available in - Source Code form under the terms of this License either on the same media as an Executable - version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic Distribution Mechanism, - must remain available for at least twelve (12) months after the date it initially became - available, or at least six (6) months after a subsequent version of that particular - Modification has been made available to such recipients. You are responsible for ensuring - that the Source Code version remains available even if the Electronic Distribution - Mechanism is maintained by a third party. -

      3.3. Description of Modifications.

      -

      You must cause all Covered Code to which You contribute to contain a file documenting the - changes You made to create that Covered Code and the date of any change. You must include a - prominent statement that the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the Initial Developer in - (a) the Source Code, and (b) in any notice in an Executable version or related documentation - in which You describe the origin or ownership of the Covered Code. -

      3.4. Intellectual Property Matters

      -

      (a) Third Party Claims

      -

      If Contributor has knowledge that a license under a third party's intellectual property - rights is required to exercise the rights granted by such Contributor under Sections - 2.1 or 2.2, Contributor must include a - text file with the Source Code distribution titled "LEGAL" which describes the claim and the - party making the claim in sufficient detail that a recipient will know whom to contact. If - Contributor obtains such knowledge after the Modification is made available as described in - Section 3.2, Contributor shall promptly modify the LEGAL file in - all copies Contributor makes available thereafter and shall take other steps (such as - notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who - received the Covered Code that new knowledge has been obtained. -

      (b) Contributor APIs

      -

      If Contributor's Modifications include an application programming interface and Contributor - has knowledge of patent licenses which are reasonably necessary to implement that - API, Contributor must also include this information in the - legal file. -

      (c) Representations.

      -

      Contributor represents that, except as disclosed pursuant to Section 3.4 - (a) above, Contributor believes that Contributor's Modifications - are Contributor's original creation(s) and/or Contributor has sufficient rights to grant the - rights conveyed by this License. -

      3.5. Required Notices.

      -

      You must duplicate the notice in Exhibit A in each file of the - Source Code. If it is not possible to put such notice in a particular Source Code file due to - its structure, then You must include such notice in a location (such as a relevant directory) - where a user would be likely to look for such a notice. If You created one or more - Modification(s) You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership rights relating to - Covered Code. You may choose to offer, and to charge a fee for, warranty, support, indemnity - or liability obligations to one or more recipients of Covered Code. However, You may do so - only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You - must make it absolutely clear than any such warranty, support, indemnity or liability - obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer - and every Contributor for any liability incurred by the Initial Developer or such Contributor - as a result of warranty, support, indemnity or liability terms You offer. -

      3.6. Distribution of Executable Versions.

      -

      You may distribute Covered Code in Executable form only if the requirements of Sections - 3.1, 3.2, - 3.3, 3.4 and - 3.5 have been met for that Covered Code, and if You include a - notice stating that the Source Code version of the Covered Code is available under the terms - of this License, including a description of how and where You have fulfilled the obligations - of Section 3.2. The notice must be conspicuously included in any - notice in an Executable version, related documentation or collateral in which You describe - recipients' rights relating to the Covered Code. You may distribute the Executable version of - Covered Code or ownership rights under a license of Your choice, which may contain terms - different from this License, provided that You are in compliance with the terms of this - License and that the license for the Executable version does not attempt to limit or alter the - recipient's rights in the Source Code version from the rights set forth in this License. If - You distribute the Executable version under a different license You must make it absolutely - clear that any terms which differ from this License are offered by You alone, not by the - Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and - every Contributor for any liability incurred by the Initial Developer or such Contributor as - a result of any such terms You offer. -

      3.7. Larger Works.

      -

      You may create a Larger Work by combining Covered Code with other code not governed by the - terms of this License and distribute the Larger Work as a single product. In such a case, - You must make sure the requirements of this License are fulfilled for the Covered Code. -

      4. Inability to Comply Due to Statute or Regulation.

      -

      If it is impossible for You to comply with any of the terms of this License with respect to - some or all of the Covered Code due to statute, judicial order, or regulation then You must: - (a) comply with the terms of this License to the maximum extent possible; and (b) describe - the limitations and the code they affect. Such description must be included in the - legal file described in Section - 3.4 and must be included with all distributions of the Source Code. - Except to the extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to understand it. -

      5. Application of this License.

      -

      This License applies to code to which the Initial Developer has attached the notice in - Exhibit A and to related Covered Code. -

      6. Versions of the License.

      -

      6.1. New Versions

      -

      Netscape Communications Corporation ("Netscape") may publish revised and/or new versions - of the License from time to time. Each version will be given a distinguishing version number. -

      6.2. Effect of New Versions

      -

      Once Covered Code has been published under a particular version of the License, You may - always continue to use it under the terms of that version. You may also choose to use such - Covered Code under the terms of any subsequent version of the License published by Netscape. - No one other than Netscape has the right to modify the terms applicable to Covered Code - created under this License. -

      6.3. Derivative Works

      -

      If You create or use a modified version of this License (which you may only do in order to - apply it to code which is not already Covered Code governed by this License), You must (a) - rename Your license so that the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", "MPL", - "NPL" or any confusingly similar phrase do not appear in your license (except to note that - your license differs from this License) and (b) otherwise make it clear that Your version of - the license contains terms which differ from the Mozilla Public License and Netscape Public - License. (Filling in the name of the Initial Developer, Original Code or Contributor in the - notice described in Exhibit A shall not of themselves be deemed to - be modifications of this License.) -

      7. Disclaimer of warranty

      -

      Covered code is provided under this license on an "as is" - basis, without warranty of any kind, either expressed or implied, including, without - limitation, warranties that the covered code is free of defects, merchantable, fit for a - particular purpose or non-infringing. The entire risk as to the quality and performance of - the covered code is with you. Should any covered code prove defective in any respect, you - (not the initial developer or any other contributor) assume the cost of any necessary - servicing, repair or correction. This disclaimer of warranty constitutes an essential part - of this license. No use of any covered code is authorized hereunder except under this - disclaimer. -

      8. Termination

      -

      8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure such breach - within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which - are properly granted shall survive any termination of this License. Provisions which, by - their nature, must remain in effect beyond the termination of this License shall survive. -

      8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declatory judgment actions) against Initial Developer or a Contributor - (the Initial Developer or Contributor against whom You file such action is referred to - as "Participant") alleging that: -

        -
      1. such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such Participant to You under - Sections 2.1 and/or 2.2 of this - License shall, upon 60 days notice from Participant terminate prospectively, unless if - within 60 days after receipt of notice You either: (i) agree in writing to pay - Participant a mutually agreeable reasonable royalty for Your past and future use of - Modifications made by such Participant, or (ii) withdraw Your litigation claim with - respect to the Contributor Version against such Participant. If within 60 days of - notice, a reasonable royalty and payment arrangement are not mutually agreed upon in - writing by the parties or the litigation claim is not withdrawn, the rights granted by - Participant to You under Sections 2.1 and/or - 2.2 automatically terminate at the expiration of the 60 day - notice period specified above. -
      2. any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then any rights - granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first - made, used, sold, distributed, or had made, Modifications made by that Participant. -
      -

      8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or indirectly infringes - any patent where such claim is resolved (such as by license or settlement) prior to the - initiation of patent infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or - 2.2 shall be taken into account in determining the amount or - value of any payment or license. -

      8.4. In the event of termination under Sections - 8.1 or 8.2 above, all end user - license agreements (excluding distributors and resellers) which have been validly - granted by You or any distributor hereunder prior to termination shall survive - termination. -

      9. Limitation of liability

      -

      Under no circumstances and under no legal theory, whether - tort (including negligence), contract, or otherwise, shall you, the initial developer, - any other contributor, or any distributor of covered code, or any supplier of any of - such parties, be liable to any person for any indirect, special, incidental, or - consequential damages of any character including, without limitation, damages for loss - of goodwill, work stoppage, computer failure or malfunction, or any and all other - commercial damages or losses, even if such party shall have been informed of the - possibility of such damages. This limitation of liability shall not apply to liability - for death or personal injury resulting from such party's negligence to the extent - applicable law prohibits such limitation. Some jurisdictions do not allow the exclusion - or limitation of incidental or consequential damages, so this exclusion and limitation - may not apply to you. -

      10. U.S. government end users

      -

      The Covered Code is a "commercial item," as that term is defined in 48 - C.F.R. 2.101 (Oct. 1995), consisting of - "commercial computer software" and "commercial computer software documentation," as such - terms are used in 48 C.F.R. 12.212 (Sept. - 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. - 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users - acquire Covered Code with only those rights set forth herein. -

      11. Miscellaneous

      -

      This License represents the complete agreement concerning subject matter hereof. If - any provision of this License is held to be unenforceable, such provision shall be - reformed only to the extent necessary to make it enforceable. This License shall be - governed by California law provisions (except to the extent applicable law, if any, - provides otherwise), excluding its conflict-of-law provisions. With respect to - disputes in which at least one party is a citizen of, or an entity chartered or - registered to do business in the United States of America, any litigation relating to - this License shall be subject to the jurisdiction of the Federal Courts of the - Northern District of California, with venue lying in Santa Clara County, California, - with the losing party responsible for costs, including without limitation, court - costs and reasonable attorneys' fees and expenses. The application of the United - Nations Convention on Contracts for the International Sale of Goods is expressly - excluded. Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this License. -

      12. Responsibility for claims

      -

      As between Initial Developer and the Contributors, each party is responsible for - claims and damages arising, directly or indirectly, out of its utilization of rights - under this License and You agree to work with Initial Developer and Contributors to - distribute such responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. -

      13. Multiple-licensed code

      -

      Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial Developer permits - you to utilize portions of the Covered Code under Your choice of the MPL - or the alternative licenses, if any, specified by the Initial Developer in the file - described in Exhibit A. -

      Exhibit A - Mozilla Public License.

      -
      "The contents of this file are subject to the Mozilla Public License
      -Version 1.1 (the "License"); you may not use this file except in
      -compliance with the License. You may obtain a copy of the License at
      -http://www.mozilla.org/MPL/
      -
      -Software distributed under the License is distributed on an "AS IS"
      -basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
      -License for the specific language governing rights and limitations
      -under the License.
      -
      -The Original Code is ______________________________________.
      -
      -The Initial Developer of the Original Code is ________________________.
      -Portions created by ______________________ are Copyright (C) ______
      -_______________________. All Rights Reserved.
      -
      -Contributor(s): ______________________________________.
      -
      -Alternatively, the contents of this file may be used under the terms
      -of the _____ license (the  "[___] License"), in which case the
      -provisions of [______] License are applicable instead of those
      -above. If you wish to allow use of your version of this file only
      -under the terms of the [____] License and not to allow others to use
      -your version of this file under the MPL, indicate your decision by
      -deleting the provisions above and replace them with the notice and
      -other provisions required by the [___] License. If you do not delete
      -the provisions above, a recipient may use your version of this file
      -under either the MPL or the [___] License."
      -

      NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications. - - diff --git a/jsf-flex/core/src/main/resources/META-INF/tagClass.vm b/jsf-flex/core/src/main/resources/META-INF/tagClass.vm deleted file mode 100644 index 54eb08a4..00000000 --- a/jsf-flex/core/src/main/resources/META-INF/tagClass.vm +++ /dev/null @@ -1,192 +0,0 @@ -// WARNING: This file was automatically generated. Do not edit it directly, -// or you will lose your changes. -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package ${component.tagPackage}; - -import javax.faces.component.UIComponent; -import javax.el.ValueExpression; -import javax.el.MethodExpression; -## import javax.faces.context.FacesContext; -$utils.importTagClasses12($component) - -// Generated from class ${component.sourceClassName}. -// -// WARNING: This file was automatically generated. Do not edit it directly, -// or you will lose your changes. -public class $utils.getClassFromFullClass($component.tagClass) -#if (${component.tagSuperclass}) - extends ${component.tagSuperclass} -#else - extends javax.faces.webapp.UIComponentTag -#end -{ - public $utils.getClassFromFullClass($component.tagClass)() - { - } - - @Override - public String getComponentType() - { -#if ($component.type) -## see MYFACES-1790 HtmlColumnTag.getComponentType returns the wrong value -#if ($component.type == "javax.faces.HtmlColumn") - return "javax.faces.Column"; -#else - return "$component.type"; -#end -#else - return null; -#end - } - - public String getRendererType() - { -#if ($component.rendererType && !($component.rendererType == "")) - return "$component.rendererType"; -#else - return null; -#end - } - -#set ($propertyList = ${component.propertyTagList}) -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $utils.getJspPropertyType12($property)) -#if ($property.isLiteralOnly() && $property.className == "boolean") -#set ($type = "String") -#end - private $type $field; - -#set ($var = $utils.getVariableFromName($property.name)) - public void $utils.getPrefixedPropertyName("set", $property.jspName)($type $var) - { - $field = $var; - } -#end - - @Override - protected void setProperties(UIComponent component) - { -## see MYFACES-1790 HtmlColumnTag.getComponentType returns the wrong value -#set ($className = $component.className) -#if($className == "javax.faces.component.html.HtmlColumn") -#set ($className = "javax.faces.component.UIColumn") -#end - if (!(component instanceof $className )) - { - throw new IllegalArgumentException("Component "+ - component.getClass().getName() +" is no $component.className"); - } - - $className comp = ($className) component; - - super.setProperties(component); - -## FacesContext context = getFacesContext(); - -#foreach( $property in $propertyList )## 1 -#set ($field = $property.fieldName) -#set ($type = $utils.getJspPropertyType12($property)) -#if ($property.isLiteralOnly() && $property.className == "boolean") -#set ($type = "String") -#end -#if ($utils.isConverter($property.className))## 2 - if ($field != null) - { - if (!${field}.isLiteralText()) - { - comp.setValueExpression("$property.name", $field); - } - else - { - String s = ${field}.getExpressionString(); - if (s != null) - { - Converter converter = getFacesContext().getApplication().createConverter(s); - comp.setConverter(converter); - } - } - } -#elseif ($property.isMethodBinding())## 2 - if ($field != null) - { -#if ($property.jspName == "actionListener") - comp.addActionListener(new MethodExpressionActionListener($field)); -#elseif ($property.jspName == "valueChangeListener") - comp.addValueChangeListener(new MethodExpressionValueChangeListener($field)); -#elseif ($property.jspName == "validator") - comp.addValidator(new MethodExpressionValidator($field)); -#elseif ($utils.isStringMethodBindingReturnType($property.methodBindingSignature))##3 - MethodBinding mb; - if (isValueReference($field)) - { - mb = context.getApplication().createMethodBinding( - $field, $utils.getSignatureParams($property.methodBindingSignature)); - } - else - { - throw new IllegalStateException("Invalid expression " + $field); - } - comp.${utils.getPrefixedPropertyName("set",$property.name)}(mb); -#else## 3 - MethodBinding mb = context.getApplication().createMethodBinding( - $field, $utils.getSignatureParams($property.methodBindingSignature)); - comp.${utils.getPrefixedPropertyName("set",$property.name)}(mb); -#end## 3 - } -#elseif ($property.isMethodExpression())## 2 - if ($field != null) - { -#if ($property.jspName == "action") - comp.setActionExpression($field); -#elseif ($property.jspName == "actionListener") - comp.addActionListener(new MethodExpressionActionListener($field)); -#else - comp.${utils.getPrefixedPropertyName("set",$property.name)}($field); -#end - } -#else## 2 - if ($field != null) - { -#if ($property.isLiteralOnly())## 3 -#if ($utils.isPrimitiveClass($property.className))## 4 - comp.getAttributes().put("$property.name", ${utils.getBoxedClass($property.className)}.valueOf($field)); -#else## 4 - comp.getAttributes().put("$property.name", $field); -#end## 4 -#else## 3 - comp.setValueExpression("$property.name", $field); -#end## 3 - } -#end## 2 -#end## 1 - } - - @Override - public void release() - { - super.release(); -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($empty = "null") - $field = $empty; -#end - } -} diff --git a/jsf-flex/core/src/main/resources/META-INF/tagConverterClass.vm b/jsf-flex/core/src/main/resources/META-INF/tagConverterClass.vm deleted file mode 100644 index 9ba39d6e..00000000 --- a/jsf-flex/core/src/main/resources/META-INF/tagConverterClass.vm +++ /dev/null @@ -1,172 +0,0 @@ -// WARNING: This file was automatically generated. Do not edit it directly, -// or you will lose your changes. -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package $utils.getPackageFromFullClass($converter.tagClass); - -import javax.faces.context.FacesContext; -import javax.el.ELContext; -import javax.faces.convert.Converter; -import javax.el.ValueExpression; -import javax.faces.webapp.UIComponentTag; -import javax.servlet.jsp.JspException; -import javax.servlet.jsp.PageContext; -$utils.importTagClasses($converter) - -// Generated from class ${converter.sourceClassName}. -// -// WARNING: This file was automatically generated. Do not edit it directly, -// or you will lose your changes. -public class $utils.getClassFromFullClass($converter.tagClass) -#if (${converter.tagSuperclass}) - extends ${converter.tagSuperclass} -#else - extends javax.faces.webapp.ConverterTag -#end -{ -#if ($converter.serialuidtag) - private static final long serialVersionUID = ${converter.serialuidtag}; -#end - - public $utils.getClassFromFullClass($converter.tagClass)() - { - setConverterIdString("$converter.converterId"); - } -#set ($propertyList = ${converter.propertyTagList}) -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $utils.getJspPropertyType12($property)) - - private $type $field; - -#set ($var = $utils.getVariableFromName($property.name)) - public void $utils.getPrefixedPropertyName("set", $property.jspName)($type $var) - { - $field = $var; - } -#end - - public void setPageContext(PageContext context) { - super.setPageContext(context); - setConverterIdString("$converter.converterId"); - } - - protected Converter createConverter() throws JspException { - - ELContext elContext = FacesContext.getCurrentInstance().getELContext(); - $converter.className converter = ($converter.className)super.createConverter(); -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $utils.getJspPropertyType12($property)) -#set ($className = $utils.getPrimitiveType($property.className)) - if ($field != null) - { - if (${field}.isLiteralText()) - { -#if ($utils.isPrimitiveClass($property.className)) - String ${field}Value = ${field}.getExpressionString(); - if (${field}Value != null) - converter.${utils.getPrefixedPropertyName("set",$property.name)}(${utils.getBoxedClass($className)}.valueOf(${field}Value).${property.className}Value()); -#elseif ($utils.isPrimitiveClass($className)) - String ${field}Value = ${field}.getExpressionString(); - if (${field}Value != null) - converter.${utils.getPrefixedPropertyName("set",$property.name)}(${utils.getBoxedClass($className)}.valueOf(${field}Value)); - else - converter.${utils.getPrefixedPropertyName("set",$property.name)}(null); -#elseif ($utils.getClassFromFullClass($property.className) == "String") - converter.${utils.getPrefixedPropertyName("set",$property.name)}(${field}.getExpressionString()); -#elseif ($utils.getClassFromFullClass($property.className) == "Object") - converter.${utils.getPrefixedPropertyName("set",$property.name)}(${field}.getExpressionString()); -#elseif ($utils.getClassFromFullClass($property.className) == "Locale") - converter.${utils.getPrefixedPropertyName("set",$property.name)}( - com.googlecode.jsfFlex.myFaces.LocaleUtils.converterTagLocaleFromString(${field}.getExpressionString())); -#elseif ($utils.getClassFromFullClass($property.className) == "Class") - try - { - converter.${utils.getPrefixedPropertyName("set",$property.name)}( - com.googlecode.jsfFlex.myFaces.ClassUtils.classForName(${field}.getExpressionString())); - } - catch (ClassNotFoundException e) - { - throw new JspException(e); - } -#elseif ($utils.getClassFromFullClass($property.className) == "TimeZone") - converter.${utils.getPrefixedPropertyName("set",$property.name)}( - java.util.TimeZone.getTimeZone(${field}.getExpressionString())); -#else - converter.${utils.getPrefixedPropertyName("set",$property.name)}(($property.className) ${field}.getValue(elContext)); -#end - } - else - { -#if ($utils.isPrimitiveClass($property.className)) - Object ${field}Value = ${field}.getValue(elContext); - if (${field}Value != null) - converter.${utils.getPrefixedPropertyName("set",$property.name)}( ((${utils.getBoxedClass($className)}) ${field}Value ).${property.className}Value()); -#elseif ($utils.isPrimitiveClass($className)) - converter.${utils.getPrefixedPropertyName("set",$property.name)}( (${utils.getBoxedClass($className)}) ${field}.getValue(elContext) ); -#elseif ($utils.getClassFromFullClass($property.className) == "Locale") - Object ${field}Value = ${field}.getValue(elContext); - if (${field}Value == null) - { - ${field}Value = FacesContext.getCurrentInstance().getViewRoot().getLocale(); - } - if(!(${field}Value instanceof java.util.Locale)) - { - ${field}Value = com.googlecode.jsfFlex.myFaces.LocaleUtils.converterTagLocaleFromString(${field}.getExpressionString()); - } - converter.${utils.getPrefixedPropertyName("set",$property.name)}((java.util.Locale)${field}Value); -#elseif ($utils.getClassFromFullClass($property.className) == "TimeZone") - Object ${field}Value = ${field}.getValue(elContext); - if(${field}Value instanceof java.util.TimeZone) - { - converter.${utils.getPrefixedPropertyName("set",$property.name)}( - (java.util.TimeZone) ${field}Value); - } - else - { - converter.${utils.getPrefixedPropertyName("set",$property.name)}( - java.util.TimeZone.getTimeZone(${field}Value.toString())); - } -#elseif ($utils.getClassFromFullClass($property.className) == "String") - converter.${utils.getPrefixedPropertyName("set",$property.name)}( (String) ${field}.getValue(elContext)); -#else - converter.${utils.getPrefixedPropertyName("set",$property.name)}(($property.className) ${field}.getValue(elContext)); -#end - } - } -#end - return converter; - } - - public void release() - { - super.release(); -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#if($utils.getJspPropertyType12($property) == "boolean") -#set ($empty = "false") -#else -#set ($empty = "null") -#end - $field = $empty; -#end - } -} - diff --git a/jsf-flex/core/src/main/resources/META-INF/tagValidatorClass.vm b/jsf-flex/core/src/main/resources/META-INF/tagValidatorClass.vm deleted file mode 100644 index df9dabb1..00000000 --- a/jsf-flex/core/src/main/resources/META-INF/tagValidatorClass.vm +++ /dev/null @@ -1,163 +0,0 @@ -// WARNING: This file was automatically generated. Do not edit it directly, -// or you will lose your changes. -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package $utils.getPackageFromFullClass($validator.tagClass); - -import javax.faces.context.FacesContext; -import javax.el.ValueExpression; -import javax.faces.validator.Validator; -import javax.faces.application.Application; -import javax.servlet.jsp.JspException; -$utils.importTagClasses($validator) - -// Generated from class ${validator.sourceClassName}. -// -// WARNING: This file was automatically generated. Do not edit it directly, -// or you will lose your changes. -public class $utils.getClassFromFullClass($validator.tagClass) -#if (${validator.tagSuperclass}) - extends ${validator.tagSuperclass} -#else - extends javax.faces.webapp.ValidatorELTag -#end -{ -#if ($validator.serialuidtag) - private static final long serialVersionUID = ${validator.serialuidtag}; -#end - - public $utils.getClassFromFullClass($validator.tagClass)() - { - } -#set ($propertyList = ${validator.propertyTagList}) -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $utils.getJspPropertyType12($property)) - - private $type $field; - -#set ($var = $utils.getVariableFromName($property.name)) - public void $utils.getPrefixedPropertyName("set", $property.jspName)($type $var) - { - $field = $var; - } -#end - - protected Validator createValidator() throws JspException { - String validatorId = "$validator.validatorId"; - Application appl = FacesContext.getCurrentInstance().getApplication(); - Validator validator = (Validator)appl.createValidator(validatorId); - _setProperties(validator); - return validator; - } - - protected void _setProperties(Validator val) throws JspException { - super._setProperties(val); - FacesContext facesContext = FacesContext.getCurrentInstance(); - - $validator.className validator = ($validator.className) val; -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $utils.getJspPropertyType12($property)) -#set ($className = $utils.getPrimitiveType($property.className)) - if ($field != null) - { -#if ($property.isLiteralOnly()) -#if ($utils.isPrimitiveClass($property.className)) - validator.${utils.getPrefixedPropertyName("set",$property.name)}(${utils.getBoxedClass($className)}.valueOf($field).${property.className}Value()); -#elseif ($utils.isPrimitiveClass($className)) - validator.${utils.getPrefixedPropertyName("set",$property.name)}(${utils.getBoxedClass($className)}.valueOf($field)); -#else - validator.${utils.getPrefixedPropertyName("set",$property.name)}($field); -#end -#else - if (!${field}.isLiteralText()) - { - validator.setValueExpression("$property.name", $field); - } - else - { -#if ($utils.isPrimitiveClass($property.className)) - Object ${field}Value = ${field}.getValue(facesContext.getELContext()); - if (${field}Value != null){ - if (${field}Value instanceof ${utils.getBoxedClass($className)}){ - validator.${utils.getPrefixedPropertyName("set",$property.name)}( - ((${utils.getBoxedClass($className)})${field}Value).${property.className}Value()); - } - else - { - validator.${utils.getPrefixedPropertyName("set",$property.name)}( - ${utils.getBoxedClass($className)}.valueOf(${field}Value.toString()).${property.className}Value()); - } - } -#elseif ($utils.isPrimitiveClass($className)) - Object ${field}Value = ${field}.getValue(facesContext.getELContext()); - if (${field}Value != null){ - if (${field}Value instanceof ${utils.getBoxedClass($className)}){ - validator.${utils.getPrefixedPropertyName("set",$property.name)}( - ((${utils.getBoxedClass($className)})${field}Value)); - } - else - { - validator.${utils.getPrefixedPropertyName("set",$property.name)}( - ${utils.getBoxedClass($className)}.valueOf(${field}Value.toString())); - } - } -#elseif ($utils.getClassFromFullClass($property.className) == "String") - Object ${field}Value = ${field}.getValue(facesContext.getELContext()); - if (${field}Value != null) - { - validator.${utils.getPrefixedPropertyName("set",$property.name)}( - ($property.className) ${field}Value.toString()); - } -#elseif ($property.className == "java.lang.String[]") - try - { - String[] value = com.googlecode.jsfFlex.myFaces.MyFacesBuilderPlugInUtil.getStringArray(${field}.getValue(facesContext.getELContext())); - validator.${utils.getPrefixedPropertyName("set",$property.name)}(value); - } - catch (java.text.ParseException pe) - { - throw new JspException( - pe.getMessage() + ": " + "Position " + pe.getErrorOffset()); - } -#else - validator.${utils.getPrefixedPropertyName("set",$property.name)}(($property.className) ${field}.getValue(facesContext.getELContext())); -#end - } -#end - } -#end - } - - public void release() - { - super.release(); -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#if($utils.getJspPropertyType12($property) == "boolean") -#set ($empty = "false") -#else -#set ($empty = "null") -#end - $field = $empty; -#end - } -} - diff --git a/jsf-flex/core/src/main/resources/META-INF/validatorClass.vm b/jsf-flex/core/src/main/resources/META-INF/validatorClass.vm deleted file mode 100644 index abf8f8b2..00000000 --- a/jsf-flex/core/src/main/resources/META-INF/validatorClass.vm +++ /dev/null @@ -1,216 +0,0 @@ -## Velocity template used to generate JSF1.2-compatible validator classes -## from validator meta-data. -## -## Note that there are only one type of validator generation: -## * "subclass mode" (use annotated class as a parent class) -## -## Variable $validator refers to a ValidatorMeta object to process -## Variable $utils refers to an instance of MyfacesUtils. -## -## -## The java package of the generated class is always the same as -## the package in which the annotated class exists. -## -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package ${validator.packageName}; - -import javax.el.ValueExpression; -import javax.faces.context.FacesContext; -$utils.importTagClasses($validator) - -#if ($validator.isTemplate()) -#set ($generatedClassParent = $validator.sourceClassParentClassName) -#else -#set ($generatedClassParent = $validator.sourceClassName) -#end -// Generated from class ${validator.sourceClassName}. -// -// WARNING: This file was automatically generated. Do not edit it directly, -// or you will lose your changes. -public class ${utils.getClassFromFullClass($validator.className)} extends $generatedClassParent -#if ($validator.implements) - implements $validator.implements -#end -{ - -#if ($validator.validatorId) - static public final String VALIDATOR_ID = - "$validator.validatorId"; -#end - - public ${utils.getClassFromFullClass($validator.className)}() - { - } - -#set ($propertyList = ${validator.propertyValidatorList}) - -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $utils.getClassFromFullClass($property.className)) -#if($utils.getDefaultValueField($property)) -#set ($defaultValue = $utils.getDefaultValueField($property)) -#else -#set ($defaultValue = false) -#end - // Property: $property.name -#if ($property.isLiteralOnly() || $property.isTagExcluded() ) - private $type $field #if($defaultValue) = $defaultValue;#{else};#{end} - - -#else - private $type $field; - -#end -#if($utils.isPrimitiveClass($type) && !$property.isTagExcluded() ) - private boolean ${field}Set; - -#if ($property.isSetMethod()) - $property.setMethodScope boolean $utils.getPrefixedPropertyName("isSet", $property.name)() - { - return ${field}Set; - } -#end -#end -#if($property.isLocalMethod()) -#if("boolean" == $type) -#set ($methodName = $utils.getPrefixedPropertyName("isLocal", $property.name)) -#else -#set ($methodName = $utils.getPrefixedPropertyName("getLocal", $property.name)) -#end - final $property.localMethodScope $type ${methodName}() - { - return $field; - } - -#end - public $type $utils.getMethodReaderFromProperty($property.name, $type)() - { -#if ($property.isTagExcluded() || $property.isLiteralOnly()) - return $field; -#else -#if ($utils.isPrimitiveClass($type)) - if (${field}Set) -#else - if ($field != null) -#end - { - return $field; - } - ValueExpression vb = getValueExpression("$property.name"); - if (vb != null) - { -#if ($utils.isPrimitiveClass($type)) - return ($utils.castIfNecessary($type) vb.getValue(getFacesContext().getELContext())).${type}Value(); -#else -#set ($pritype = $utils.getPrimitiveType($property.className)) -#if ($utils.isPrimitiveClass($pritype)) - Object value = vb == null ? null : vb.getValue(getFacesContext().getELContext()); - if (!(value instanceof $type)){ - value = ${type}.valueOf(value.toString()); - } - return $utils.castIfNecessary($type) value; -#else - return $utils.castIfNecessary($type) vb.getValue(getFacesContext().getELContext()); -#end -#end - } -#if ($defaultValue) - return $defaultValue; -#elseif ($utils.isPrimitiveClass($type)) - return $utils.primitiveDefaultValue($type); -#else - return null; -#end -#end - } - - public void $utils.getPrefixedPropertyName("set", $property.name)($type $utils.getVariableFromName($property.name)) - { - this.$field = $utils.getVariableFromName($property.name); -#if ($utils.isPrimitiveClass($type) && !$property.isTagExcluded() ) - this.${field}Set = true; -#end - } -#end - - public Object saveState(FacesContext facesContext) - { -#set ($primitiveCount = $propertyList.size() + 1) -#foreach( $property in $propertyList ) -#if($utils.isPrimitiveClass($property.className)) -#set ($primitiveCount = $primitiveCount + 1) -#end -#end - Object[] values = new Object[$primitiveCount]; - values[0] = super.saveState(facesContext); -#set ($arrayIndex = 0) -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $property.className) -#set ($arrayIndex = $arrayIndex + 1) -#if ($property.jspName == "validator" && $property.isMethodBinding() ) - values[$arrayIndex] = saveAttachedState(facesContext,${field}List); -#elseif ( $property.isStateHolder() )## || $utils.isConverter($type) - values[$arrayIndex] = saveAttachedState(facesContext,$field); -#elseif($utils.isPrimitiveClass($type)) - values[$arrayIndex] = ${utils.getBoxedClass($type)}.valueOf($field); -#else - values[$arrayIndex] = $field; -#end -#if($utils.isPrimitiveClass($type) && !$property.isTagExcluded()) -#set ($arrayIndex = $arrayIndex + 1) - values[$arrayIndex] = Boolean.valueOf(${field}Set); -#end -#end - return values; - } - - public void restoreState(FacesContext facesContext, Object state) - { - Object[] values = (Object[])state; - super.restoreState(facesContext,values[0]); -#set ($arrayIndex = 0) -#foreach( $property in $propertyList ) -#set ($field = $property.fieldName) -#set ($type = $property.className) -#set ($arrayIndex = $arrayIndex + 1) -#if ( $property.isStateHolder() ) -#if ($property.jspName == "validator" && $property.isMethodBinding() ) - ${field}List = (List) restoreAttachedState(facesContext,values[$arrayIndex]); -#elseif ($utils.isList($type)) - $field = (List) restoreAttachedState(facesContext,values[$arrayIndex]); -#else - $field = $utils.castIfNecessary($type) restoreAttachedState(facesContext,values[$arrayIndex]); -#end -#elseif ($utils.isConverter($type)) - $field = (Converter) restoreAttachedState(facesContext,values[$arrayIndex]); -#elseif ($utils.isPrimitiveClass($type)) - $field = ($utils.castIfNecessary($type) values[$arrayIndex]).${type}Value(); -#else - $field = $utils.castIfNecessary($type) values[$arrayIndex]; -#end -#if($utils.isPrimitiveClass($type) && !$property.isTagExcluded() ) -#set ($arrayIndex = $arrayIndex + 1) - ${field}Set = ((Boolean) values[$arrayIndex]).booleanValue(); -#end -#end - } -} - diff --git a/jsf-flex/core/src/main/resources/com/googlecode/jsfFlex/component/ext/resource/jsfFlexCommunicatorCore.js b/jsf-flex/core/src/main/resources/com/googlecode/jsfFlex/component/ext/resource/jsfFlexCommunicatorCore.js deleted file mode 100644 index da988192..00000000 --- a/jsf-flex/core/src/main/resources/com/googlecode/jsfFlex/component/ext/resource/jsfFlexCommunicatorCore.js +++ /dev/null @@ -1,433 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * @author Ji Hoon Kim - */ - -if(typeof com == "undefined"){ - com = {}; -}else if(typeof com != "object"){ - throw new Error("com exists but is not of type object"); -} - -if(typeof com.googlecode == "undefined"){ - com.googlecode = {}; -}else if(typeof com.googlecode != "object"){ - throw new Error("com.googlecode exists but is not of type object"); -} - -if(typeof com.googlecode.jsfFlex == "undefined"){ - com.googlecode.jsfFlex = {}; -}else if(typeof com.googlecode.jsfFlex != "object"){ - throw new Error("com.googlecode.jsfFlex exists but is not of type object"); -} - -if(typeof com.googlecode.jsfFlex.communication == "undefined"){ - com.googlecode.jsfFlex.communication = {}; -}else if(typeof com.googlecode.jsfFlex.communication != "object"){ - throw new Error("com.googlecode.jsfFlex.communication exists but is not of type object"); -} - -if(typeof com.googlecode.jsfFlex.communication.core != "undefined"){ - throw new Error("com.googlecode.jsfFlex.communication.core already exists"); -} - -com.googlecode.jsfFlex.communication.core = { - data : { - flashAppsKeyNamingContainer : {}, - flashAppsKeyAppId : {} - }, - addFlashApp : function(flashApp){ - var data = this.data; - var flashAppsKeyNamingContainer = data.flashAppsKeyNamingContainer; - var namingContainerPrefixList = flashAppsKeyNamingContainer[flashApp.namingContainerPrefix]; - if(namingContainerPrefixList == null){ - namingContainerPrefixList = []; - flashAppsKeyNamingContainer[flashApp.namingContainerPrefix] = namingContainerPrefixList; - } - data.flashAppsKeyAppId[flashApp.appId] = flashApp; - namingContainerPrefixList.push(flashApp); - }, - getApplication : function(appId){ - if (navigator.appName.indexOf("Microsoft") != -1) { - this.getApplication = function(appId) { return document.getElementById(appId); }; - }else{ - this.getApplication = function(appId){ - var doc = document; - var initialAttempt = doc[appId]; - return initialAttempt ? initialAttempt : doc.getElementsByName(appId)[0]; - }; - } - return this.getApplication(appId); - }, - getCompValue : function(appId, objectId){ - var access = this.getApplication(appId); - if(access == null){ - throw new Error("appId [" + appId + "] returned a null value during lookup"); - } - var value = null; - try{ - value = access.getCompValue(objectId); - }catch(error){ - com.googlecode.jsfFlex.communication.logger.logMessage("Error while invoking getCompValue for appId, objectId [" + appId + ", " + objectId + "] : " + error, 5); - } - return value; - } -}; - -if(typeof com.googlecode.jsfFlex.communication.core.domHelpers != "undefined"){ - throw new Error("com.googlecode.jsfFlex.communication.core.domHelpers already exists"); -} - -com.googlecode.jsfFlex.communication.core.domHelpers = { - DISPATCH_EVENT_TYPE : { - HTML_EVENTS : { - eventType : "HTMLEvents", - events : ["abort", "blur", "change", "error", "focus", "load", "reset", "resize", - "select", "submit", "unload"] - }, - MOUSE_EVENTS : { - eventType : "MouseEvents", - events : ["click", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup"] - }, - UI_EVENTS : { - eventType : "UIEvents", - events : ["DOMActivate", "DOMFocusIn", "DOMFocusOut"] - } - }, - data : { - eventListenerToRelease : [] - }, - addEventListener : function(element, eventName, objectInstance, functionListener, argument, capturing, removeAtPageUnload){ - element = element == null ? window : element; - removeAtPageUnload = removeAtPageUnload == null ? true : removeAtPageUnload; - - var index = eventName.toUpperCase().indexOf("ON"); - eventName = index == 0 ? eventName.substring(2) : eventName; - - var ieEventName = "on" + eventName; - var functionRef; - if(window.addEventListener){ - functionRef = function(event){ - functionListener.call(objectInstance, event, argument); - }; - element.addEventListener(eventName, functionRef, capturing == null ? false : capturing); - }else if(window.attachEvent){ - functionRef = function(event){ - functionListener.call(objectInstance, event, argument); - }; - element.attachEvent(ieEventName, functionRef); - }else{ - if(window.event){ - var previousIEFunction = element[ieEventName]; - element[ieEventName] = function(event){ - functionListener.call(objectInstance, event, argument); - previousIEFunction(); - }; - }else{ - var previousFunction = element[eventName]; - element[eventName] = function(event){ - functionListener.call(objectInstance, event, argument); - previousFunction(); - }; - } - } - - this.data.eventListenerToRelease.push({element: element, eventName: eventName, releaseFunction: functionRef, capturing: capturing}); - }, - removeEventListener : function(element, eventName, functionRef, capturing){ - element = element == null ? window : element; - - var index = eventName.toUpperCase().indexOf("ON"); - eventName = index == 0 ? eventName.substring(2) : eventName; - - var ieEventName = "on" + eventName; - if(window.removeEventListener){ - element.removeEventListener(eventName, functionRef, capturing); - }else if(window.detachEvent){ - element.detachEvent(ieEventName, functionRef); - } - }, - dispatchEvent : function(element, DISPATCH_EVENT_TYPE, eventTrigger, bubble, cancelable, data){ - var doc = document; - if(typeof element == "string"){ - element = doc.getElementById(element); - } - - bubble = bubble == null ? true : bubble; - cancelable = cancelable == null ? true : cancelable; - data = data == null ? new Object() : data; - if(doc.createEvent){ - var event = doc.createEvent(DISPATCH_EVENT_TYPE.eventType); - - if(DISPATCH_EVENT_TYPE == this.DISPATCH_EVENT_TYPE.HTML_EVENTS){ - event.initEvent(eventTrigger, bubble, cancelable); - }else if(DISPATCH_EVENT_TYPE == this.DISPATCH_EVENT_TYPE.MOUSE_EVENTS){ - event.initMouseEvent(eventTrigger, bubble, cancelable); - }else if(DISPATCH_EVENT_TYPE == this.DISPATCH_EVENT_TYPE.UI_EVENTS){ - event.initUIEvent(eventTrigger, bubble, cancelable); - }else{ - return; - } - event.data = data; - element.dispatchEvent(event); - }else if(doc.createEventObject){ - var index = eventTrigger.toUpperCase().indexOf("ON"); - if(index == -1){ - eventTrigger = "on" + eventTrigger; - } - var event = doc.createEventObject(); - event.data = data; - element.fireEvent(eventTrigger, event); - }else{ - return; - } - }, - appendElement : function(appendToElement, elementType, attributeList){ - var doc = document; - var element = doc.createElement(elementType); - for(var i=0, j=attributeList.length; i < j; i++){ - var attr = doc.createAttribute(attributeList[i].attribute); - attr.nodeValue = attributeList[i].value; - element.setAttributeNode(attr); - } - appendToElement.appendChild(element); - }, - getElementByIdOrName: function(elementId){ - var doc = document; - var element = doc.getElementById(elementId); - if(element == null){ - element = doc.getElementsByName(elementId)[0]; - } - return element; - }, - getEvent : function(event){ - return (window.event) ? window.event : event; - }, - getSrcElement : function(event){ - return (event.target) ? event.target : event.srcElement; - }, - stopEvent : function(event){ - if(event.stopPropagation){ - event.stopPropagation(); - if(event.preventDefault){ - event.preventDefault(); - } - }else{ - event.cancelBubble = true; - event.returnValue = false; - } - } -}; - -if(typeof com.googlecode.jsfFlex.communication.core.util != "undefined"){ - throw new Error("com.googlecode.jsfFlex.communication.core.util already exists"); -} - -com.googlecode.jsfFlex.communication.core.util = { - sliceArguments : function(passedArgs, startIndex, stopIndex){ - if(passedArgs == null){ - passedArgs = []; - } - - if(stopIndex == null){ - stopIndex = passedArgs.length; - } - - if(passedArgs instanceof Array){ - passedArgs = passedArgs.slice(startIndex, stopIndex); - }else if(typeof passedArgs.callee != "undefined"){ - //make a special case for Arguments object - var args = []; - for(var i=startIndex; i < stopIndex; i++){ - args.push(passedArgs[i]); - } - passedArgs = args; - }else{ - var args = []; - args.push(passedArgs); - passedArgs = args; - } - - return passedArgs; - }, - callFunction : function(objectInstance, invokeFunction, argument){ - return invokeFunction.call(objectInstance, argument); - }, - applyFunction : function(objectInstance, invokeFunction, passedArgs){ - //remember arguments within apply are passed as an array - return invokeFunction.apply(objectInstance, this.sliceArguments(arguments, 2)); - } -}; - -//private namespace -(function() { - var VALIDATION_ERROR_RESULT = "validationErrorResult"; - var JSON_RESULT = "jsonResult"; - - var pageLoadSet = false; - var currFormSubmitRef = null; - var jsonResult = []; - - function amReady(readyAmI){ - var flashApp = com.googlecode.jsfFlex.communication.core.data.flashAppsKeyAppId[readyAmI]; - if(flashApp){ - if(flashApp.initValueObjects){ - return flashApp; - } - }else{ - /* Must not have been added yet, so add a simple interval */ - var handle = window.setInterval( function(){ - var flashApp = com.googlecode.jsfFlex.communication.core.data.flashAppsKeyAppId[readyAmI]; - if(flashApp){ - if(flashApp.initValueObjects){ - var access = com.googlecode.jsfFlex.communication.core.getApplication( readyAmI ); - access.populateInitValues( flashApp ); - } - window.clearInterval(handle); - } - }, 500); - } - } - - function appendElement(jsonNodes){ - var htmlType; - var attributeArray; - var ele; - var attr; - var domHelpers = com.googlecode.jsfFlex.communication.core.domHelpers; - for(var i=0, j=jsonNodes.length; i < j; i++){ - htmlType = jsonNodes[i].htmlType; - attributeArray = jsonNodes[i].attributeArray; - if(htmlType != null && htmlType != "null"){ - domHelpers.appendElement(currFormSubmitRef, htmlType, attributeArray); - } - } - } - - function pageLoad(){ - if(pageLoadSet){ - return; - } - - pageLoadSet = true; - var doc = document; - var domHelpers = com.googlecode.jsfFlex.communication.core.domHelpers; - for(var i=0, j=doc.forms.length; i < j; i++){ - domHelpers.addEventListener(doc.forms[i], "submit", null, formSubmit, null, false, true); - } - - domHelpers.addEventListener(window, "unload", null, pageUnLoad, null, false, true); - } - - function pageUnLoad(){ - var domHelpers = com.googlecode.jsfFlex.communication.core.domHelpers; - var eventListenerToRelease = domHelpers.data.eventListenerToRelease; - for(var i=0, j=eventListenerToRelease.length; i < j; i++){ - domHelpers.removeEventListener(eventListenerToRelease[i].element, eventListenerToRelease[i].eventName, - eventListenerToRelease[i].releaseFunction, eventListenerToRelease[i].capturing); - } - } - - function formSubmit(event){ - /* - * during the page creation : - * JSON with => - * appId : applicationId specifying the flash app - * namingContainerPrefix : namingContainerPrefix [i.e. form that this flashApp is affiliated with] - * initValueObjects : an array of... - * id : id of the component - * initValues : an array of... - * attribute : attribute to set for the initValue - * value : value to set as the initValue - * - * will be created - */ - var domHelpers = com.googlecode.jsfFlex.communication.core.domHelpers; - currFormSubmitRef = domHelpers.getSrcElement( domHelpers.getEvent(event) ); - - var core = com.googlecode.jsfFlex.communication.core; - var namingContainerPrefixList = core.data.flashAppsKeyNamingContainer[currFormSubmitRef.id]; - var access; - - var validationError = false; - jsonResult = []; - for(var i=0, j=namingContainerPrefixList.length; i < j; i++){ - /** If there does not exist any value to retrieve of, simply continue */ - if(!namingContainerPrefixList[i].initValueObjects){ - continue; - } - access = core.getApplication(namingContainerPrefixList[i].appId); - try{ - var processedResult = access.formSubmitting(namingContainerPrefixList[i]); - - /* - * will be an Object with : - * type : [validationErrorResult | jsonResult] - * result : [nothing | jsonResult] - * - * For jsonResult : - * will have an array of array => - * array : that will contain array as elements - * arrayElement : will contain htmlType to create and an array of attributes - * htmlType : htmlType to create of [node] - * attributeArray : an array of attributes - * attribute : attribute to create of - * value : value to set to - * - */ - - if(processedResult.type == VALIDATION_ERROR_RESULT){ - validationError = true; - }else if(processedResult.type == JSON_RESULT){ - jsonResult.push(processedResult.result); - } - - }catch(error){ - validationError = true; - com.googlecode.jsfFlex.communication.logger.logMessage("During the formSubmitting process, an error occurred while invoking formSubmitting for appId [" + - namingContainerPrefixList[i].appId + "] : " + error, 5); - domHelpers.stopEvent(event); - return false; - } - } - - var returnValue = true; - - if(validationError){ - domHelpers.stopEvent(event); - returnValue = false; - }else{ - //means all inputs passed validation - for(var i=0, k=jsonResult.length; i < k; i++){ - for(var j=0, l=jsonResult[i].length; j < l; j++){ - appendElement(jsonResult[i][j]); - } - } - } - - return returnValue; - } - - //callers - com.googlecode.jsfFlex.communication.core.amReady = amReady; - com.googlecode.jsfFlex.communication.core.pageLoad = pageLoad; - -})(); \ No newline at end of file diff --git a/jsf-flex/core/src/main/resources/com/googlecode/jsfFlex/component/ext/resource/jsfFlexCommunicatorLogger.js b/jsf-flex/core/src/main/resources/com/googlecode/jsfFlex/component/ext/resource/jsfFlexCommunicatorLogger.js deleted file mode 100644 index 74ea6cdd..00000000 --- a/jsf-flex/core/src/main/resources/com/googlecode/jsfFlex/component/ext/resource/jsfFlexCommunicatorLogger.js +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * @author Ji Hoon Kim - */ - -if(typeof com == "undefined"){ - com = {}; -}else if(typeof com != "object"){ - throw new Error("com exists but is not of type object"); -} - -if(typeof com.googlecode == "undefined"){ - com.googlecode = {}; -}else if(typeof com.googlecode != "object"){ - throw new Error("com.googlecode exists but is not of type object"); -} - -if(typeof com.googlecode.jsfFlex == "undefined"){ - com.googlecode.jsfFlex = {}; -}else if(typeof com.googlecode.jsfFlex != "object"){ - throw new Error("com.googlecode.jsfFlex exists but is not of type object"); -} - -if(typeof com.googlecode.jsfFlex.communication == "undefined"){ - com.googlecode.jsfFlex.communication = {}; -}else if(typeof com.googlecode.jsfFlex.communication != "object"){ - throw new Error("com.googlecode.jsfFlex.communication exists but is not of type object"); -} - -if(typeof com.googlecode.jsfFlex.communication.logger == "undefined"){ - com.googlecode.jsfFlex.communication.logger = {}; -}else if(typeof com.googlecode.jsfFlex.communication.logger != "object"){ - throw new Error("com.googlecode.jsfFlex.communication.logger exists but is not of type object"); -} - -//private namespace -(function() { - function logMessage(className, message, severity){ - if(typeof console != "undefined"){ - var displayAsObject; - if((typeof message == "string") || (message instanceof String)){ - message = className + " : " + message; - } else{ - displayAsObject = message; - message = className + " printing object : "; - } - - switch(severity){ - case 1 : console.log(message); break; - case 2 : console.debug(message); break; - case 3 : console.info(message); break; - case 4 : console.warn(message); break; - case 5 : console.error(message); break; - } - if(displayAsObject != null){ - console.dir(displayAsObject); - } - }else{ - if(severity == 5){ - throw new Error(message); - } - } - } - - //callers - com.googlecode.jsfFlex.communication.logger.logMessage = logMessage; -})(); diff --git a/jsf-flex/core/src/main/resources/com/googlecode/jsfFlex/component/resource/jsfFlexCommunicatorEvent.js b/jsf-flex/core/src/main/resources/com/googlecode/jsfFlex/component/resource/jsfFlexCommunicatorEvent.js deleted file mode 100644 index 42143187..00000000 --- a/jsf-flex/core/src/main/resources/com/googlecode/jsfFlex/component/resource/jsfFlexCommunicatorEvent.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * @author Ji Hoon Kim - */ - -if(typeof com == "undefined"){ - com = {}; -}else if(typeof com != "object"){ - throw new Error("com exists but is not of type object"); -} - -if(typeof com.googlecode == "undefined"){ - com.googlecode = {}; -}else if(typeof com.googlecode != "object"){ - throw new Error("com.googlecode exists but is not of type object"); -} - -if(typeof com.googlecode.jsfFlex == "undefined"){ - com.googlecode.jsfFlex = {}; -}else if(typeof com.googlecode.jsfFlex != "object"){ - throw new Error("com.googlecode.jsfFlex exists but is not of type object"); -} - -if(typeof com.googlecode.jsfFlex.communication == "undefined"){ - com.googlecode.jsfFlex.communication = {}; -}else if(typeof com.googlecode.jsfFlex.communication != "object"){ - throw new Error("com.googlecode.jsfFlex.communication exists but is not of type object"); -} - -if(typeof com.googlecode.jsfFlex.communication.event != "undefined"){ - throw new Error("com.googlecode.jsfFlex.communication.event already exists"); -} - -com.googlecode.jsfFlex.communication.event = { - submitForm : function(submitElementId, formId){ - var domHelpers = com.googlecode.jsfFlex.communication.core.domHelpers; - var formElement = domHelpers.getElementByIdOrName(formId); - var submitElement = domHelpers.getElementByIdOrName(submitElementId); - - /* - * First create an input hidden element as a child of form - * so that one can know which component triggered the submission. - * Then dispatch a submit event - */ - domHelpers.appendElement(formElement, "input", [{attribute: "type", value: "hidden"}, {attribute: "name", value: submitElementId}, - {attribute: "value", value: "submitted"}]); - - domHelpers.dispatchEvent(formElement, domHelpers.DISPATCH_EVENT_TYPE.HTML_EVENTS, "submit"); - if(document.all){ - /* - * since IE does not invoke the submit function of the form HTML element, - * will invoke it here. Note that this is possible because dispatchEvent and - * fireEvent work synchronously rather then deferring the execution until - * all previously pending events have been handled - */ - formElement.submit(); - } - } -}; \ No newline at end of file diff --git a/jsf-flex/examples/pom.xml b/jsf-flex/examples/pom.xml deleted file mode 100644 index 48c64956..00000000 --- a/jsf-flex/examples/pom.xml +++ /dev/null @@ -1,311 +0,0 @@ - - - - com.googlecode.jsf-flex - jsf-flex-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex-examples - war - JSF-Flex Examples - JSF Flex Example WAR project - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - Mozilla Public License, Version 1.1 - http://www.mozilla.org/MPL/MPL-1.1.html - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex/examples - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex/examples - - - - - timestampDoNotAppend - - - !timestampAppend - - - - ${artifactId} - - - - - timestampAppend - - - timestampAppend - true - - - - ${project.artifactId}-${project.version}-${timestamp} - - - - - myfaces - - - !jsf - - - - myFaces-web.xml - MyFaces 2.0 - - - - - org.apache.myfaces.core - myfaces-api - - - - org.apache.myfaces.core - myfaces-impl - runtime - - - - org.apache.myfaces.shared - myfaces-shared-impl - - - - taglibs - standard - 1.1.2 - - - - org.apache.geronimo.specs - geronimo-el_1.0_spec - 1.0-M1 - provided - - - - - - - - mojarra - - - jsf - mojarra - - - - mojarra-web.xml - - - - - com.sun.faces - jsf-api - ${mojarra.jsf.version} - - - - com.sun.faces - jsf-impl - ${mojarra.jsf.version} - - - - taglibs - standard - 1.1.2 - - - - org.apache.geronimo.specs - geronimo-el_1.0_spec - 1.0-M1 - provided - - - - - - - - default_standard_common_impl - - - !standard_common_impl - - - - - com.googlecode.jsf-flex.runner-impl-project.common-runner-project - sdk-standard-common-impl - ${jsf.flex.version} - - - - - - stub_standard_common_impl - - - standard_common_impl - stub - - - - - com.googlecode.jsf-flex.runner-impl-project.common-runner-project - stub-standard-common-impl - ${jsf.flex.version} - - - - - - default_file_manipulator_impl - - - !file_manipulator_impl - - - - - com.googlecode.jsf-flex.runner-impl-project.file-manipulator-runner-project - velocity-file-manipulator-impl - ${jsf.flex.version} - - - - - - default_flex_runner_impl - - - !flex_runner_impl - - - - - com.googlecode.jsf-flex.runner-impl-project.flex-runner-project - ant-flex-impl - ${jsf.flex.version} - - - - - - jython_flex_runner_impl - - - flex_runner_impl - jython - - - - - com.googlecode.jsf-flex.runner-impl-project.flex-runner-project - jython-flex-impl - ${jsf.flex.version} - - - - - - - - - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex - runtime - - - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex-project-renderKit15 - runtime - - - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex-annotations - ${jsf.flex.version} - runtime - - - com.googlecode.jsf-flex.jsf-flex-shared-project - jsf-flex-shared - compile - - - - commons-logging - commons-logging - compile - - - javax.servlet - servlet-api - provided - - - javax.servlet - jstl - - - - - - - src/main/resources - true - - - - - - org.apache.maven.plugins - maven-antrun-plugin - - - webxml-copy - compile - - run - - - - - - - - - - - - - - - - - maven2-repository.java.net - Java.net Repository for Maven - http://download.java.net/maven/2/ - default - - - - diff --git a/jsf-flex/examples/src/main/java/com/googlecode/jsfFlex/examples/flex/multipleRequestDataGridExample/MultipleRequestDataGridExample.java b/jsf-flex/examples/src/main/java/com/googlecode/jsfFlex/examples/flex/multipleRequestDataGridExample/MultipleRequestDataGridExample.java deleted file mode 100644 index 275108b0..00000000 --- a/jsf-flex/examples/src/main/java/com/googlecode/jsfFlex/examples/flex/multipleRequestDataGridExample/MultipleRequestDataGridExample.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.examples.flex.multipleRequestDataGridExample; - -import java.io.Serializable; -import java.util.ArrayList; -import java.util.List; - -import javax.faces.bean.ManagedBean; -import javax.faces.bean.SessionScoped; - -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -@ManagedBean -@SessionScoped -public final class MultipleRequestDataGridExample implements Serializable { - - private static final long serialVersionUID = 4314286014233533157L; - - private static final String LARGE_DATA_STRING_DISPLAY_MESSAGE = "Displaying column data for "; - - private List _largeDataEntries; - private List _largeSecondDataEntries; - - public MultipleRequestDataGridExample(){ - super(); - - _largeDataEntries = new ArrayList(); - _largeSecondDataEntries = new ArrayList(); - - for(int i=0; i < 10000; i++){ - _largeDataEntries.add(new LargeDataEntry(LARGE_DATA_STRING_DISPLAY_MESSAGE + i, Long.valueOf(i))); - } - - } - - public List getLargeDataEntries() { - return _largeDataEntries; - } - public void setLargeDataEntries(List largeDataEntries) { - _largeDataEntries = largeDataEntries; - } - public List getLargeSecondDataEntries() { - return _largeSecondDataEntries; - } - public void setLargeSecondDataEntries(List largeSecondDataEntries) { - _largeSecondDataEntries = largeSecondDataEntries; - } - - public final static class LargeDataEntry implements Serializable, Comparable { - - private static final long serialVersionUID = 8426305474249836025L; - - private String _firstColumnEntry; - private Long _secondColumnEntry; - - /** - * Need to have public modifier, so that it can be instantiated by - * AbstractFlexUIDataGrid when data from one DataGrid component is - * added to an another. - */ - public LargeDataEntry(){ - super(); - } - - private LargeDataEntry(String firstColumnEntry, Long secondColumnEntry){ - super(); - _firstColumnEntry = firstColumnEntry; - _secondColumnEntry = secondColumnEntry; - } - - public String getFirstColumnEntry() { - return _firstColumnEntry; - } - public void setFirstColumnEntry(String firstColumnEntry) { - _firstColumnEntry = firstColumnEntry; - } - public Long getSecondColumnEntry() { - return _secondColumnEntry; - } - public void setSecondColumnEntry(Long secondColumnEntry) { - _secondColumnEntry = secondColumnEntry; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof LargeDataEntry)){ - return false; - } - - LargeDataEntry largeDataEntryInstance = LargeDataEntry.class.cast( instance ); - return _firstColumnEntry.equals(largeDataEntryInstance._firstColumnEntry) - && _secondColumnEntry.equals(largeDataEntryInstance._secondColumnEntry); - } - - @Override - public int hashCode() { - int hashCodeVal = FlexConstants.HASH_CODE_INIT_VALUE; - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _firstColumnEntry.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _secondColumnEntry.hashCode(); - return hashCodeVal; - } - - @Override - public String toString() { - StringBuilder content = new StringBuilder(); - - content.append("[_firstColumnEntry="); - content.append(_firstColumnEntry); - content.append(", _secondColumnEntry="); - content.append(_secondColumnEntry); - content.append("]"); - - return content.toString(); - } - - public int compareTo(Object instance) { - LargeDataEntry currInstance = LargeDataEntry.class.cast( instance ); - - int firstColumnCompare = _firstColumnEntry.compareTo(currInstance._firstColumnEntry); - if(firstColumnCompare != 0){ - return firstColumnCompare; - } - - return _secondColumnEntry.compareTo(currInstance._secondColumnEntry); - } - - } - -} diff --git a/jsf-flex/examples/src/main/java/com/googlecode/jsfFlex/examples/flex/overallExample/FlexFaceletOverallBean.java b/jsf-flex/examples/src/main/java/com/googlecode/jsfFlex/examples/flex/overallExample/FlexFaceletOverallBean.java deleted file mode 100644 index f34e6e07..00000000 --- a/jsf-flex/examples/src/main/java/com/googlecode/jsfFlex/examples/flex/overallExample/FlexFaceletOverallBean.java +++ /dev/null @@ -1,186 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.examples.flex.overallExample; - -import java.io.Serializable; -import java.util.LinkedList; -import java.util.List; - -import javax.faces.bean.ManagedBean; -import javax.faces.bean.SessionScoped; - -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -@ManagedBean -@SessionScoped -public final class FlexFaceletOverallBean extends FlexOverallBean { - - private static final long serialVersionUID = 1940801309822597786L; - - private List _reallySimpleArray; - private List _xmlBeanEntries; - - public FlexFaceletOverallBean(){ - super(); - - _reallySimpleArray = new LinkedList(); - _reallySimpleArray.add(new LabelBeanEntry("First")); - _reallySimpleArray.add(new LabelBeanEntry("Second")); - _reallySimpleArray.add(new LabelBeanEntry("Third")); - - _xmlBeanEntries = new LinkedList(); - _xmlBeanEntries.add(new XMLBeanEntry("menuitem", "SubMenuItem 3-A", "radio", "one", "3A")); - _xmlBeanEntries.add(new XMLBeanEntry("menuitem", "SubMenuItem 3-B", "radio", "one", "3B")); - - } - - public List getReallySimpleArray() { - return _reallySimpleArray; - } - public void setReallySimpleArray(List reallySimpleArray) { - _reallySimpleArray = reallySimpleArray; - } - public List getXmlBeanEntries() { - return _xmlBeanEntries; - } - public void setXmlBeanEntries(List xmlBeanEntries) { - _xmlBeanEntries = xmlBeanEntries; - } - - public final static class LabelBeanEntry implements Serializable { - - private static final long serialVersionUID = 6328489430684572894L; - - private String _label; - - public LabelBeanEntry(String label){ - super(); - - _label = label; - - } - - public String getLabel() { - return _label; - } - public void setLabel(String label) { - _label = label; - } - - @Override - public boolean equals(Object instance) { - - if(!(instance instanceof LabelBeanEntry)){ - return false; - } - - LabelBeanEntry labelBeanEntryInstance = LabelBeanEntry.class.cast( instance ); - return _label.equals(labelBeanEntryInstance._label); - } - - @Override - public int hashCode() { - return _label.hashCode(); - } - - } - - public final static class XMLBeanEntry implements Serializable { - - private static final long serialVersionUID = 4444816136231378050L; - - private String _nodeName; - private String _label; - private String _type; - private String _groupName; - private String _data; - - public XMLBeanEntry(String nodeName, String label, String type, String groupName, - String data){ - super(); - - _nodeName = nodeName; - _label = label; - _type = type; - _groupName = groupName; - _data = data; - - } - - public String getData() { - return _data; - } - public void setData(String data) { - _data = data; - } - public String getGroupName() { - return _groupName; - } - public void setGroupName(String groupName) { - _groupName = groupName; - } - public String getLabel() { - return _label; - } - public void setLabel(String label) { - _label = label; - } - public String getNodeName() { - return _nodeName; - } - public void setNodeName(String nodeName) { - _nodeName = nodeName; - } - public String getType() { - return _type; - } - public void setType(String type) { - _type = type; - } - - @Override - public boolean equals(Object instance) { - - if(!(instance instanceof XMLBeanEntry)){ - return false; - } - - XMLBeanEntry xmlBeanEntryInstance = XMLBeanEntry.class.cast( instance ); - return _data.equals(xmlBeanEntryInstance._data) && _groupName.equals(xmlBeanEntryInstance._groupName) && - _label.equals(xmlBeanEntryInstance._label) && _nodeName.equals(xmlBeanEntryInstance._nodeName) && - _type.equals(xmlBeanEntryInstance._type); - } - - @Override - public int hashCode() { - int hashCodeVal = FlexConstants.HASH_CODE_INIT_VALUE; - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _data.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _groupName.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _label.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _nodeName.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _type.hashCode(); - return hashCodeVal; - } - - } - -} diff --git a/jsf-flex/examples/src/main/java/com/googlecode/jsfFlex/examples/flex/overallExample/FlexOverallBean.java b/jsf-flex/examples/src/main/java/com/googlecode/jsfFlex/examples/flex/overallExample/FlexOverallBean.java deleted file mode 100644 index b52d59d5..00000000 --- a/jsf-flex/examples/src/main/java/com/googlecode/jsfFlex/examples/flex/overallExample/FlexOverallBean.java +++ /dev/null @@ -1,334 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.examples.flex.overallExample; - -import java.io.Serializable; -import java.util.ArrayList; -import java.util.Calendar; -import java.util.LinkedList; -import java.util.List; - -import javax.faces.bean.ManagedBean; -import javax.faces.bean.SessionScoped; -import javax.faces.model.SelectItem; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -import com.googlecode.jsfFlex.shared.model.beans.AsynchronousDataUpdateEventBean; -import com.googlecode.jsfFlex.shared.model.beans.AsynchronousPropertyUpdateEventBean; -import com.googlecode.jsfFlex.shared.model.event.AsynchronousDataUpdateEvent; -import com.googlecode.jsfFlex.shared.model.event.AsynchronousPropertyUpdateEvent; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -@ManagedBean -@SessionScoped -public class FlexOverallBean implements Serializable { - - private final static Log _log = LogFactory.getLog(FlexOverallBean.class); - - private static final long serialVersionUID = 5471664891822204976L; - - private Integer _accordionSelectedIndex; - private Integer _tabNavigatorSelectedIndex; - private String _textInputText; - private String _richTextEditorHtmlText; - private String _textAreaText; - private String _dateFieldText; - private Boolean _checkBoxSelected; - private List _comboBoxDisplayEntries; - private Integer _comboBoxSelectedIndex; - private String _comboBoxText; - private Boolean _radioButtonFirstSelected; - private Boolean _radioButtonSecondSelected; - private String _radioButtonSelectedValue; - private String _numericStepperValue; - private String _colorPickerSelectedColor; - private Integer _treeSelectedIndex; - private String _horizontalSliderValue; - private String _verticalSliderValue; - private String _progressBarValue; - private Calendar _selectedDate; - - private List _wisePeopleEntries; - - public FlexOverallBean(){ - super(); - _accordionSelectedIndex = Integer.valueOf(0); - _tabNavigatorSelectedIndex = Integer.valueOf(0); - _textInputText = ""; - _richTextEditorHtmlText = ""; - _textAreaText = ""; - _dateFieldText = ""; - _checkBoxSelected = Boolean.valueOf(false); - _comboBoxDisplayEntries = new LinkedList(); - _comboBoxDisplayEntries.add(new SelectItem("FirstValue", "FirstLabel")); - _comboBoxDisplayEntries.add(new SelectItem("SecondValue", "SecondLabel")); - _comboBoxDisplayEntries.add(new SelectItem("ThirdValue", "ThirdLabel")); - - _comboBoxSelectedIndex = Integer.valueOf(0); - _comboBoxText = ""; - _radioButtonFirstSelected = Boolean.valueOf(false); - _radioButtonSecondSelected = Boolean.valueOf(false); - _radioButtonSelectedValue = ""; - _numericStepperValue = ""; - - _colorPickerSelectedColor = ""; - _treeSelectedIndex = Integer.valueOf(0); - _horizontalSliderValue = ""; - _verticalSliderValue = ""; - _progressBarValue = ""; - _selectedDate = null; - - _wisePeopleEntries = new ArrayList(); - _wisePeopleEntries.add(new WisePeopleEntry("Issac Newton", "This most beautiful system [The Universe] could only proceed from the dominion of an intelligent and powerful Being.", - "fatherOfPhysicsCalculus@wiseHumble.com")); - _wisePeopleEntries.add(new WisePeopleEntry("James Clark Maxwell", "At quite uncertain times and places. The atoms left their heavenly path, And by fortuitous embraces, Engendered all that being hath.", - "electroMagnetic@wiseHumble.com")); - _wisePeopleEntries.add(new WisePeopleEntry("Blaise Pascal", "Belief is a wise wager. Granted that faith cannot be proved, what harm will come to you if you gamble on its truth and it proves false? If you gain, you gain all; if you lose, you lose nothing. Wager, then, without hesitation, that He exists.", - "probabilityTheory@wiseHumble.com")); - _wisePeopleEntries.add(new WisePeopleEntry("Socrates", "It is not living that matters, but living rightly. I know that I am intelligent, because I know that I know nothing. The end of life is to be like God, and the soul following God will be like Him.", - "philosopher@wiseHumble.com")); - _wisePeopleEntries.add(new WisePeopleEntry("Marcus Tullius Cicero", "A man of courage is also full of faith. Knowledge which is divorced from justice, may be called cunning rather than wisdom.", - "philosopher@wiseHumble.com")); - - } - - public Object asyncPropertyUpdateListener(AsynchronousPropertyUpdateEvent event){ - /* - * Two possible values can be returned for the MethodExpression of flexAsynchronousPropertyUpdateEventListener - * AsynchronousPropertyUpdateEventBean - * An Object representing the value to update the target component to - * - */ - - return "Async Property Update: " + event.getCurrSourceValue(); - } - - public Object asyncDataUpdateListener(AsynchronousDataUpdateEvent event){ - /* - * Two possible values can be returned for the MethodExpression of flexAsynchronousDataUpdateEventListener - * AsynchronousDataUpdateEventBean - * An Object representing the value to update the target component to - * - */ - - StringBuilder logContent = new StringBuilder(); - logContent.append("Logging content for the asynchronous data update listener : "); - logContent.append(event); - - _log.info(logContent); - - return "Async Data Update: " + event.getAlteredAttribute() + "/" + event.getAlteredValue(); - } - - public String buttonAction(){ - return "success"; - } - public Integer getAccordionSelectedIndex() { - return _accordionSelectedIndex; - } - public void setAccordionSelectedIndex(Integer accordionSelectedIndex) { - _accordionSelectedIndex = accordionSelectedIndex; - } - public Boolean getCheckBoxSelected() { - return _checkBoxSelected; - } - public void setCheckBoxSelected(Boolean checkBoxSelected) { - _checkBoxSelected = checkBoxSelected; - } - public String getColorPickerSelectedColor() { - return _colorPickerSelectedColor; - } - public void setColorPickerSelectedColor(String colorPickerSelectedColor) { - _colorPickerSelectedColor = colorPickerSelectedColor; - } - public List getComboBoxDisplayEntries() { - return _comboBoxDisplayEntries; - } - public void setComboBoxDisplayEntries(List comboBoxDisplayEntries) { - _comboBoxDisplayEntries = comboBoxDisplayEntries; - } - public Integer getComboBoxSelectedIndex() { - return _comboBoxSelectedIndex; - } - public void setComboBoxSelectedIndex(Integer comboBoxSelectedIndex) { - _comboBoxSelectedIndex = comboBoxSelectedIndex; - } - public String getComboBoxText() { - return _comboBoxText; - } - public void setComboBoxText(String comboBoxText) { - _comboBoxText = comboBoxText; - } - public String getDateFieldText() { - return _dateFieldText; - } - public void setDateFieldText(String dateFieldText) { - _dateFieldText = dateFieldText; - } - public String getHorizontalSliderValue() { - return _horizontalSliderValue; - } - public void setHorizontalSliderValue(String horizontalSliderValue) { - _horizontalSliderValue = horizontalSliderValue; - } - public String getNumericStepperValue() { - return _numericStepperValue; - } - public void setNumericStepperValue(String numericStepperValue) { - _numericStepperValue = numericStepperValue; - } - public String getProgressBarValue() { - return _progressBarValue; - } - public void setProgressBarValue(String progressBarValue) { - _progressBarValue = progressBarValue; - } - public Boolean getRadioButtonFirstSelected() { - return _radioButtonFirstSelected; - } - public void setRadioButtonFirstSelected(Boolean radioButtonFirstSelected) { - _radioButtonFirstSelected = radioButtonFirstSelected; - } - public Boolean getRadioButtonSecondSelected() { - return _radioButtonSecondSelected; - } - public void setRadioButtonSecondSelected(Boolean radioButtonSecondSelected) { - _radioButtonSecondSelected = radioButtonSecondSelected; - } - public String getRadioButtonSelectedValue() { - return _radioButtonSelectedValue; - } - public void setRadioButtonSelectedValue(String radioButtonSelectedValue) { - _radioButtonSelectedValue = radioButtonSelectedValue; - } - public String getRichTextEditorHtmlText() { - return _richTextEditorHtmlText; - } - public Calendar getSelectedDate() { - return _selectedDate; - } - public void setSelectedDate(Calendar selectedDate) { - _selectedDate = selectedDate; - } - public void setRichTextEditorHtmlText(String richTextEditorHtmlText) { - _richTextEditorHtmlText = richTextEditorHtmlText; - } - public Integer getTabNavigatorSelectedIndex() { - return _tabNavigatorSelectedIndex; - } - public void setTabNavigatorSelectedIndex(Integer tabNavigatorSelectedIndex) { - _tabNavigatorSelectedIndex = tabNavigatorSelectedIndex; - } - public String getTextAreaText() { - return _textAreaText; - } - public void setTextAreaText(String textAreaText) { - _textAreaText = textAreaText; - } - public String getTextInputText() { - return _textInputText; - } - public void setTextInputText(String textInputText) { - _textInputText = textInputText; - } - public Integer getTreeSelectedIndex() { - return _treeSelectedIndex; - } - public void setTreeSelectedIndex(Integer treeSelectedIndex) { - _treeSelectedIndex = treeSelectedIndex; - } - public String getVerticalSliderValue() { - return _verticalSliderValue; - } - public void setVerticalSliderValue(String verticalSliderValue) { - _verticalSliderValue = verticalSliderValue; - } - public List getWisePeopleEntries() { - return _wisePeopleEntries; - } - public void setWisePeopleEntries(List wisePeopleEntries) { - _wisePeopleEntries = wisePeopleEntries; - } - - public final static class WisePeopleEntry implements Comparable, Serializable { - - private static final long serialVersionUID = -4974974584395025727L; - - private String _name; - private String _quote; - private String _email; - - private WisePeopleEntry(String name, String quote, String email){ - super(); - _name = name; - _quote = quote; - _email = email; - } - - public String getEmail() { - return _email; - } - public void setEmail(String email) { - _email = email; - } - public String getName() { - return _name; - } - public void setName(String name) { - _name = name; - } - public String getQuote() { - return _quote; - } - public void setQuote(String quote) { - _quote = quote; - } - - @Override - public boolean equals(Object instance) { - if(!(instance instanceof WisePeopleEntry)){ - return false; - } - - WisePeopleEntry wisePeopleEntryInstance = WisePeopleEntry.class.cast( instance ); - return _name.equals(wisePeopleEntryInstance._name) && _quote.equals(wisePeopleEntryInstance._quote) - && _email.equals(wisePeopleEntryInstance._email); - } - - @Override - public int hashCode() { - int hashCodeVal = FlexConstants.HASH_CODE_INIT_VALUE; - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _name.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _quote.hashCode(); - hashCodeVal = FlexConstants.HASH_CODE_MULTIPLY_VALUE * hashCodeVal + _email.hashCode(); - return hashCodeVal; - } - - public int compareTo(WisePeopleEntry currWiseMan) { - return _name.compareTo(currWiseMan._name); - } - - } - -} diff --git a/jsf-flex/examples/src/main/resources/com/googlecode/jsfFlex/examples/resource/build.properties b/jsf-flex/examples/src/main/resources/com/googlecode/jsfFlex/examples/resource/build.properties deleted file mode 100644 index d1d18d3f..00000000 --- a/jsf-flex/examples/src/main/resources/com/googlecode/jsfFlex/examples/resource/build.properties +++ /dev/null @@ -1,3 +0,0 @@ -# Do not edit this file, as it will be completed automatically -# by maven during the build process -jsf_implementation=${jsf_implementation} diff --git a/jsf-flex/examples/src/main/resources/log4j.properties b/jsf-flex/examples/src/main/resources/log4j.properties deleted file mode 100644 index 824b9a5e..00000000 --- a/jsf-flex/examples/src/main/resources/log4j.properties +++ /dev/null @@ -1,16 +0,0 @@ -#for debugging log4j itself -log4j.debug=false - -#Logger-Priorities: -#DEBUG lowest, prints all messages -#INFO prints all messages with FATAL, ERROR, WARN or INFO priority -#WARN prints all messages with FATAL, ERROR or WARN priority -#ERROR prints all messages with FATAL or ERROR priority -#FATAL highest, prints only FATAL messages - -# root logger -log4j.rootLogger=DEBUG, JSF_FLEX -log4j.appender.JSF_FLEX=org.apache.log4j.ConsoleAppender -log4j.appender.JSF_FLEX.layout=org.apache.log4j.PatternLayout -log4j.appender.JSF_FLEX.layout.ConversionPattern=%d [%t] %-5p %c - %m%n - diff --git a/jsf-flex/examples/src/main/webapp/WEB-INF/examples-config.xml b/jsf-flex/examples/src/main/webapp/WEB-INF/examples-config.xml deleted file mode 100644 index 0b176f4c..00000000 --- a/jsf-flex/examples/src/main/webapp/WEB-INF/examples-config.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - /flexSimple/flexSimple.xhtml - - success - /flexSimple/flexSimple.xhtml - - - - - - - /overallExample/flexOverallExample.xhtml - - success - /overallExample/flexOverallExampleSuccess.xhtml - - - - - - - /overallExample/flexOverallExampleSuccess.xhtml - - back - /overallExample/flexOverallExample.xhtml - - - - - - - /multipleRequestDataGridExample/flexMultipleRequestDataGridExample.xhtml - - success - /multipleRequestDataGridExample/flexMultipleRequestDataGridExample.xhtml - - - - - - - - - - - /flexSimple/flexSimple.jsp - - success - /flexSimple/flexSimple.jsp - - - - - - - /overallExample/flexOverallExample.jsp - - success - /overallExample/flexOverallExampleSuccess.jsp - - - - - - - /overallExample/flexOverallExampleSuccess.jsp - - back - /overallExample/flexOverallExample.jsp - - - - - - - /multipleRequestDataGridExample/flexMultipleRequestDataGridExample.jsp - - success - /multipleRequestDataGridExample/flexMultipleRequestDataGridExample.jsp - - - - - diff --git a/jsf-flex/examples/src/main/webapp/WEB-INF/mojarra-web.xml b/jsf-flex/examples/src/main/webapp/WEB-INF/mojarra-web.xml deleted file mode 100644 index ce85a9b4..00000000 --- a/jsf-flex/examples/src/main/webapp/WEB-INF/mojarra-web.xml +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - - - javax.faces.FACELETS_VIEW_MAPPINGS - *.xhtml - - - - - - javax.faces.PROJECT_STAGE - Development - - - - org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL - true - - - - Comma separated list of URIs of (additional) faces config files. - (e.g. /WEB-INF/my-config.xml) - See JSF 1.0 PRD2, 10.3.2 - Attention: You may not put /WEB-INF/faces-config.xml in here. - - javax.faces.CONFIG_FILES - /WEB-INF/examples-config.xml - - - State saving method: "client" or "server" (= default) - See JSF Specification 2.5.3 - javax.faces.STATE_SAVING_METHOD - server - - - - - - - - - The relative web context path for the locale resources, if being used for - multilingual application - - com.googlecode.jsfFlex.LocaleWebContextRelativePath - locale - - - - - The default locale - - com.googlecode.jsfFlex.DefaultLocale - en_US - - - - - For JSF Flex Flash To JavaScript Log Level, possible values are (Log, Debug, Info, Warn, Error) - If the field is not provided, it will make a decision based on com.googlecode.jsfFlex.MODE with production - being Error and non-production being Log. Specifically it is only allowed for Firebug unless the user - uses Firebug Lite or has Dojo with debug set to true. - - com.googlecode.jsfFlex.FlashToJavaScriptLogLevel - Debug - - - - For JSF Flex build mode, possible values are (debugMode, productionMode [default]) - - com.googlecode.jsfFlex.MODE - debugMode - - - - - - jsfFlexResourceFilter - com.googlecode.jsfFlex.filter.JsfFlexResourceFilter - - - - - jsfFlexResourceFilter - *.jsf - - - - - jsfFlexResourceFilter - /jsfFlexResourceRequest/* - - - - - jsfFlexResourceFilter - /faces/* - - - - - Faces Servlet - javax.faces.webapp.FacesServlet - 1 - - - - - - Faces Servlet - *.jsf - - - - - - Faces Servlet - /jsfFlexHttpServiceRequestListener/* - - - - - Faces Servlet - /faces/* - - - - com.sun.faces.config.ConfigureListener - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/WEB-INF/myFaces-web.xml b/jsf-flex/examples/src/main/webapp/WEB-INF/myFaces-web.xml deleted file mode 100644 index 30fc0d9d..00000000 --- a/jsf-flex/examples/src/main/webapp/WEB-INF/myFaces-web.xml +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - - - - javax.faces.FACELETS_VIEW_MAPPINGS - *.xhtml - - - - - - javax.faces.PROJECT_STAGE - Development - - - - org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL - true - - - - Comma separated list of URIs of (additional) faces config files. - (e.g. /WEB-INF/my-config.xml) - See JSF 1.0 PRD2, 10.3.2 - Attention: You may not put /WEB-INF/faces-config.xml in here. - - javax.faces.CONFIG_FILES - /WEB-INF/examples-config.xml - - - State saving method: "client" or "server" (= default) - See JSF Specification 2.5.3 - javax.faces.STATE_SAVING_METHOD - server - - - - - - - - - The relative web context path for the locale resources, if being used for - multilingual application - - com.googlecode.jsfFlex.LocaleWebContextRelativePath - locale - - - - - The default locale - - com.googlecode.jsfFlex.DefaultLocale - en_US - - - - - For JSF Flex Flash To JavaScript Log Level, possible values are (Log, Debug, Info, Warn, Error) - If the field is not provided, it will make a decision based on com.googlecode.jsfFlex.MODE with production - being Error and non-production being Log. Specifically it is only allowed for Firebug unless the user - uses Firebug Lite or has Dojo with debug set to true. - - com.googlecode.jsfFlex.FlashToJavaScriptLogLevel - Debug - - - - For JSF Flex build mode, possible values are (debugMode, productionMode [default]) - - com.googlecode.jsfFlex.MODE - debugMode - - - - - - jsfFlexResourceFilter - com.googlecode.jsfFlex.filter.JsfFlexResourceFilter - - - - - jsfFlexResourceFilter - *.jsf - - - - - jsfFlexResourceFilter - /jsfFlexResourceRequest/* - - - - - jsfFlexResourceFilter - /faces/* - - - - - Faces Servlet - javax.faces.webapp.FacesServlet - 1 - - - - - - Faces Servlet - *.jsf - - - - - - Faces Servlet - /jsfFlexHttpServiceRequestListener/* - - - - - Faces Servlet - /faces/* - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/additionalComponent/flexAdditionalComponent.jsp b/jsf-flex/examples/src/main/webapp/additionalComponent/flexAdditionalComponent.jsp deleted file mode 100644 index f290bbe1..00000000 --- a/jsf-flex/examples/src/main/webapp/additionalComponent/flexAdditionalComponent.jsp +++ /dev/null @@ -1,52 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/additionalComponent/flexAdditionalComponent.xhtml b/jsf-flex/examples/src/main/webapp/additionalComponent/flexAdditionalComponent.xhtml deleted file mode 100644 index 63e1715d..00000000 --- a/jsf-flex/examples/src/main/webapp/additionalComponent/flexAdditionalComponent.xhtml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexAccordion.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexAccordion.jsp deleted file mode 100644 index f5bda414..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexAccordion.jsp +++ /dev/null @@ -1,62 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexAccordion.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexAccordion.xhtml deleted file mode 100644 index c562f99c..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexAccordion.xhtml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexApplicationControlBar.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexApplicationControlBar.jsp deleted file mode 100644 index a60b636b..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexApplicationControlBar.jsp +++ /dev/null @@ -1,54 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexApplicationControlBar.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexApplicationControlBar.xhtml deleted file mode 100644 index 4e69435b..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexApplicationControlBar.xhtml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexBox.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexBox.jsp deleted file mode 100644 index 5a234b2a..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexBox.jsp +++ /dev/null @@ -1,55 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexBox.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexBox.xhtml deleted file mode 100644 index d115e725..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexBox.xhtml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexButtonBar.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexButtonBar.jsp deleted file mode 100644 index 5bf8e1f4..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexButtonBar.jsp +++ /dev/null @@ -1,57 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexButtonBar.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexButtonBar.xhtml deleted file mode 100644 index 67c0fe64..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexButtonBar.xhtml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexButtonScript.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexButtonScript.jsp deleted file mode 100644 index 47dd73cf..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexButtonScript.jsp +++ /dev/null @@ -1,61 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexCanvas.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexCanvas.jsp deleted file mode 100644 index 479e368e..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexCanvas.jsp +++ /dev/null @@ -1,56 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexCanvas.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexCanvas.xhtml deleted file mode 100644 index 628d5669..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexCanvas.xhtml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexCheckBox.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexCheckBox.jsp deleted file mode 100644 index 56363024..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexCheckBox.jsp +++ /dev/null @@ -1,50 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexCheckBox.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexCheckBox.xhtml deleted file mode 100644 index dcdcceab..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexCheckBox.xhtml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexColorPicker.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexColorPicker.jsp deleted file mode 100644 index 4cb77bf3..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexColorPicker.jsp +++ /dev/null @@ -1,50 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexColorPicker.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexColorPicker.xhtml deleted file mode 100644 index a11060a0..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexColorPicker.xhtml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexComboBox.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexComboBox.jsp deleted file mode 100644 index 98d17715..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexComboBox.jsp +++ /dev/null @@ -1,49 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexComboBox.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexComboBox.xhtml deleted file mode 100644 index 35bbc712..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexComboBox.xhtml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexControlBar.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexControlBar.jsp deleted file mode 100644 index 34d032d5..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexControlBar.jsp +++ /dev/null @@ -1,52 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexControlBar.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexControlBar.xhtml deleted file mode 100644 index 9535acb9..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexControlBar.xhtml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexDateChooser.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexDateChooser.jsp deleted file mode 100644 index 769746c7..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexDateChooser.jsp +++ /dev/null @@ -1,50 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexDateChooser.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexDateChooser.xhtml deleted file mode 100644 index 05984827..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexDateChooser.xhtml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexDateField.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexDateField.jsp deleted file mode 100644 index fd633f38..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexDateField.jsp +++ /dev/null @@ -1,50 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexDateField.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexDateField.xhtml deleted file mode 100644 index 965ecf31..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexDateField.xhtml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexDividedBox.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexDividedBox.jsp deleted file mode 100644 index 9b0a5cdf..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexDividedBox.jsp +++ /dev/null @@ -1,63 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexDividedBox.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexDividedBox.xhtml deleted file mode 100644 index f8987d73..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexDividedBox.xhtml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexHRule.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexHRule.jsp deleted file mode 100644 index fe5681dc..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexHRule.jsp +++ /dev/null @@ -1,50 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexHRule.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexHRule.xhtml deleted file mode 100644 index 181f384b..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexHRule.xhtml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexHScrollBar.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexHScrollBar.jsp deleted file mode 100644 index 2775f043..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexHScrollBar.jsp +++ /dev/null @@ -1,48 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexHScrollBar.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexHScrollBar.xhtml deleted file mode 100644 index 55b47f60..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexHScrollBar.xhtml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexHSlider.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexHSlider.jsp deleted file mode 100644 index 0b2acf89..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexHSlider.jsp +++ /dev/null @@ -1,48 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexHSlider.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexHSlider.xhtml deleted file mode 100644 index 7e0939ee..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexHSlider.xhtml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexHorizontalList.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexHorizontalList.jsp deleted file mode 100644 index d9b39a75..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexHorizontalList.jsp +++ /dev/null @@ -1,60 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexHorizontalList.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexHorizontalList.xhtml deleted file mode 100644 index db0a7c04..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexHorizontalList.xhtml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexImage.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexImage.jsp deleted file mode 100644 index 19c2de72..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexImage.jsp +++ /dev/null @@ -1,50 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexImage.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexImage.xhtml deleted file mode 100644 index c15f84e9..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexImage.xhtml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexLabel.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexLabel.jsp deleted file mode 100644 index a7d7fc6c..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexLabel.jsp +++ /dev/null @@ -1,50 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexLabel.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexLabel.xhtml deleted file mode 100644 index 6ee59461..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexLabel.xhtml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexLinkBar.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexLinkBar.jsp deleted file mode 100644 index b331d4f5..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexLinkBar.jsp +++ /dev/null @@ -1,60 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexLinkBar.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexLinkBar.xhtml deleted file mode 100644 index 24d39fff..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexLinkBar.xhtml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexLinkButton.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexLinkButton.jsp deleted file mode 100644 index b6edf0e2..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexLinkButton.jsp +++ /dev/null @@ -1,58 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexList.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexList.jsp deleted file mode 100644 index 77a16661..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexList.jsp +++ /dev/null @@ -1,57 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexLocale.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexLocale.jsp deleted file mode 100644 index 30ef23d5..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexLocale.jsp +++ /dev/null @@ -1,59 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexLocale.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexLocale.xhtml deleted file mode 100644 index 0dea5ac2..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexLocale.xhtml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexMenuBar.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexMenuBar.jsp deleted file mode 100644 index 603c25e4..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexMenuBar.jsp +++ /dev/null @@ -1,76 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .menuitem; - [Bindable] - public var complexStructCollection:XMLListCollection = new XMLListCollection(complexStruct); - ]]> - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexMenuBar.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexMenuBar.xhtml deleted file mode 100644 index 01154680..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexMenuBar.xhtml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexNumericStepper.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexNumericStepper.jsp deleted file mode 100644 index 72ef7b2a..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexNumericStepper.jsp +++ /dev/null @@ -1,51 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexNumericStepper.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexNumericStepper.xhtml deleted file mode 100644 index 02f8cdba..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexNumericStepper.xhtml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexPanel.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexPanel.jsp deleted file mode 100644 index ca2936bc..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexPanel.jsp +++ /dev/null @@ -1,56 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexPanel.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexPanel.xhtml deleted file mode 100644 index c4c88046..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexPanel.xhtml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexPopUpButton.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexPopUpButton.jsp deleted file mode 100644 index 192eaa46..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexPopUpButton.jsp +++ /dev/null @@ -1,82 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexPopUpMenuButton.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexPopUpMenuButton.jsp deleted file mode 100644 index 910a2b48..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexPopUpMenuButton.jsp +++ /dev/null @@ -1,76 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .menuitem; - [Bindable] - public var complexStructCollection:XMLListCollection = new XMLListCollection(complexStruct); - ]]> - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexPopUpMenuButton.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexPopUpMenuButton.xhtml deleted file mode 100644 index 63f77bc4..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexPopUpMenuButton.xhtml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexProgressBar.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexProgressBar.jsp deleted file mode 100644 index fbf2daf4..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexProgressBar.jsp +++ /dev/null @@ -1,72 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexRadioButton.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexRadioButton.jsp deleted file mode 100644 index 3247ac60..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexRadioButton.jsp +++ /dev/null @@ -1,57 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexRadioButton.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexRadioButton.xhtml deleted file mode 100644 index 0182c404..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexRadioButton.xhtml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexRichTextEditor.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexRichTextEditor.jsp deleted file mode 100644 index b4db1761..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexRichTextEditor.jsp +++ /dev/null @@ -1,48 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexRichTextEditor.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexRichTextEditor.xhtml deleted file mode 100644 index 28ad5aaf..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexRichTextEditor.xhtml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexSpacer.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexSpacer.jsp deleted file mode 100644 index 4a4c8afa..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexSpacer.jsp +++ /dev/null @@ -1,59 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexSpacer.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexSpacer.xhtml deleted file mode 100644 index 6f7cbe9c..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexSpacer.xhtml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexSwfLoader.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexSwfLoader.jsp deleted file mode 100644 index cd83eba6..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexSwfLoader.jsp +++ /dev/null @@ -1,50 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexSwfLoader.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexSwfLoader.xhtml deleted file mode 100644 index 690d6769..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexSwfLoader.xhtml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTabBar.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexTabBar.jsp deleted file mode 100644 index 1c40ae73..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTabBar.jsp +++ /dev/null @@ -1,60 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTabBar.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexTabBar.xhtml deleted file mode 100644 index 6cbf99fa..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTabBar.xhtml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTabNavigator.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexTabNavigator.jsp deleted file mode 100644 index b3c11cc2..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTabNavigator.jsp +++ /dev/null @@ -1,71 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTabNavigator.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexTabNavigator.xhtml deleted file mode 100644 index b70d08b8..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTabNavigator.xhtml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexText.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexText.jsp deleted file mode 100644 index 406cccc6..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexText.jsp +++ /dev/null @@ -1,50 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexText.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexText.xhtml deleted file mode 100644 index 64f7c59c..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexText.xhtml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTextArea.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexTextArea.jsp deleted file mode 100644 index 10b06f4b..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTextArea.jsp +++ /dev/null @@ -1,48 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTextArea.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexTextArea.xhtml deleted file mode 100644 index b573480e..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTextArea.xhtml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTextInput.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexTextInput.jsp deleted file mode 100644 index 8cae6175..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTextInput.jsp +++ /dev/null @@ -1,48 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTextInput.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexTextInput.xhtml deleted file mode 100644 index 3cfe7229..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTextInput.xhtml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTile.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexTile.jsp deleted file mode 100644 index 840b08e0..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTile.jsp +++ /dev/null @@ -1,55 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTile.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexTile.xhtml deleted file mode 100644 index dba5ee3b..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTile.xhtml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTileList.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexTileList.jsp deleted file mode 100644 index 35b44491..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTileList.jsp +++ /dev/null @@ -1,60 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTileList.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexTileList.xhtml deleted file mode 100644 index a27918dd..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTileList.xhtml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTitleWindow.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexTitleWindow.jsp deleted file mode 100644 index e79471bf..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTitleWindow.jsp +++ /dev/null @@ -1,57 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTitleWindow.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexTitleWindow.xhtml deleted file mode 100644 index a23a7f1e..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTitleWindow.xhtml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexToggleButtonBar.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexToggleButtonBar.jsp deleted file mode 100644 index 11c3ee1e..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexToggleButtonBar.jsp +++ /dev/null @@ -1,63 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexToggleButtonBar.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexToggleButtonBar.xhtml deleted file mode 100644 index b9880ff2..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexToggleButtonBar.xhtml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTree.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexTree.jsp deleted file mode 100644 index 3ce7bed0..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTree.jsp +++ /dev/null @@ -1,77 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .menuitem; - [Bindable] - public var complexStructCollection:XMLListCollection = new XMLListCollection(complexStruct); - ]]> - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexTree.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexTree.xhtml deleted file mode 100644 index b1c9a30e..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexTree.xhtml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexVRule.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexVRule.jsp deleted file mode 100644 index ac870e35..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexVRule.jsp +++ /dev/null @@ -1,51 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexVRule.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexVRule.xhtml deleted file mode 100644 index 5f3d4190..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexVRule.xhtml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexVScrollBar.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexVScrollBar.jsp deleted file mode 100644 index 62823ceb..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexVScrollBar.jsp +++ /dev/null @@ -1,51 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexVScrollBar.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexVScrollBar.xhtml deleted file mode 100644 index 1d9ad423..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexVScrollBar.xhtml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexVSlider.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexVSlider.jsp deleted file mode 100644 index a777d012..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexVSlider.jsp +++ /dev/null @@ -1,51 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexVSlider.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexVSlider.xhtml deleted file mode 100644 index 0c19af01..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexVSlider.xhtml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexVideoDisplay.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexVideoDisplay.jsp deleted file mode 100644 index 1143805c..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexVideoDisplay.jsp +++ /dev/null @@ -1,50 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexVideoDisplay.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexVideoDisplay.xhtml deleted file mode 100644 index 6e023112..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexVideoDisplay.xhtml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexViewStack.jsp b/jsf-flex/examples/src/main/webapp/componentExamples/flexViewStack.jsp deleted file mode 100644 index 99e07f95..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexViewStack.jsp +++ /dev/null @@ -1,64 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/flexViewStack.xhtml b/jsf-flex/examples/src/main/webapp/componentExamples/flexViewStack.xhtml deleted file mode 100644 index 7daa79f3..00000000 --- a/jsf-flex/examples/src/main/webapp/componentExamples/flexViewStack.xhtml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/images/apache.png b/jsf-flex/examples/src/main/webapp/componentExamples/images/apache.png deleted file mode 100644 index bf7b596c..00000000 Binary files a/jsf-flex/examples/src/main/webapp/componentExamples/images/apache.png and /dev/null differ diff --git a/jsf-flex/examples/src/main/webapp/componentExamples/images/glassFish.gif b/jsf-flex/examples/src/main/webapp/componentExamples/images/glassFish.gif deleted file mode 100644 index 9a2618bd..00000000 Binary files a/jsf-flex/examples/src/main/webapp/componentExamples/images/glassFish.gif and /dev/null differ diff --git a/jsf-flex/examples/src/main/webapp/css/example.css b/jsf-flex/examples/src/main/webapp/css/example.css deleted file mode 100644 index c907ee7a..00000000 --- a/jsf-flex/examples/src/main/webapp/css/example.css +++ /dev/null @@ -1,385 +0,0 @@ -@CHARSET "ISO-8859-1"; - -#container { - font: 500 13px Trebuchet MS, Tahoma, Verdana; -} - -#fieldSet > div { - clear: both; - position: relative; -} - -#fieldSet div:first-child { - color: #ff6666; - float: left; - width: 250px; -} - -#fieldSet div:first-child ~ div { - color: #708090; - float: left; - overflow-x: auto; - padding-left: 5px; - width: 700px; -} - -#fieldSetLegend { - color: #6495ED; - font-size: 18px; - -moz-box-shadow: 0.45em 0.25em 0.25em gray; - -webkit-box-shadow: 0.45em 0.25em 0.25em gray; - box-shadow: 0.45em 0.25em 0.25em gray; - - -moz-transform: rotate(3deg) skewX(5deg); - -webkit-transform: rotate(3deg) skewX(5deg); - -o-transform: rotate(3deg) skewX(5deg); - -ms-transform: rotate(3deg) skewX(5deg); - transform: rotate(3deg) skewX(5deg); - - -moz-text-shadow: 0.33em 0.25em 0.1em gray; - -webkit-text-shadow: 0.33em 0.25em 0.1em gray; - text-shadow: 0.33em 0.25em 0.1em gray; -} - -#warningMessage { - border: 1px solid #CCCCCC; - color: #006699; -} - -.blackWhiteTextShadow { - -moz-text-shadow: - 0 -2px 3px #FFF, - 0 -4px 3px #AAA, - 0 -6px 6px #666, - 0 -8px 9px #000; - -webkit-text-shadow: - 0 -2px 3px #FFF, - 0 -4px 3px #AAA, - 0 -6px 6px #666, - 0 -8px 9px #000; - text-shadow: - 0 -2px 3px #FFF, - 0 -4px 3px #AAA, - 0 -6px 6px #666, - 0 -8px 9px #000; -} - -.borderColorsFade { - border-width: 6px; - - -moz-border-top-colors: #222 #444 #666 #888 #AAA #CCC; - -webkit-border-top-colors: #222 #444 #666 #888 #AAA #CCC; - border-top-colors: #222 #444 #666 #888 #AAA #CCC; - - -moz-border-left-colors: #222 #444 #666 #888 #AAA #CCC; - -webkit-border-left-colors: #222 #444 #666 #888 #AAA #CCC; - border-left-colors: #222 #444 #666 #888 #AAA #CCC; - - -moz-border-bottom-colors: #222 #444 #666 #888 #AAA #CCC; - -webkit-border-bottom-colors: #222 #444 #666 #888 #AAA #CCC; - border-bottom-colors: #222 #444 #666 #888 #AAA #CCC; - - -moz-border-right-colors: #222 #444 #666 #888 #AAA #CCC; - -webkit-border-right-colors: #222 #444 #666 #888 #AAA #CCC; - border-right-colors: #222 #444 #666 #888 #AAA #CCC; -} - -.clear { - clear: both; -} - -.columns { - -moz-column-count: 3; - -webkit-column-count: 3; - column-count: 3; - - -moz-column-gap: 2em; - -webkit-column-gap: 2em; - column-gap: 2em; - - -moz-column-rule: 2px solid #ccc; - -webkit-column-rule: 2px solid #ccc; - column-rule: 2px solid #ccc; - - -moz-column-width: 13em; - -webkit-column-width: 13em; - column-width: 13em; - padding: 5px; - text-align: center; -} - -.columnsBreakBefore { - -moz-break-before: column; - -webkit-break-before: column; - break-before: column; -} - -.css3Button { - background: -moz-linear-gradient(bottom, #CC0099, #CCCCFF); - background: -webkit-gradient(linear, left top, left bottom, from(#CCCCFF), to(#CC0099)); - background: -webkit-linear-gradient(bottom, #CC0099, #CCCCFF); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#CCCCFF', endColorstr='#CC0099')"; - border: 2px solid #CC99FF; - - -webkit-box-shadow: 2px 2px 6px rgba(195, 210, 100, 0.25); - -moz-box-shadow: 2px 2px 6px rgba(195, 210, 100, 0.25); - box-shadow: 2px 2px 6px rgba(195, 210, 100, 0.25); - color: #FFFFFF; - font-weight: bold; - height: 24px; - padding: 2px; -} - -.descriptionStyle { - color: #708090; - font: bold 11px verdana; - width: 900px; -} - -.errorStyle { - color:#ff6666; - font: bold 11px verdana; -} - -.floatL { - float: left; -} - -.floatR { - float: right; -} - -.genericBorderRadius { - -moz-border-radius: 4px / 2px; - webkit-border-radius: 4px / 2px; - border-radius: 4px / 2px; -} - -.genericBoxShadow { - -moz-box-shadow: -1px 2px 4px #CCCCCC; - -webkit-box-shadow: -1px 2px 4px #CCCCCC; - box-shadow: -1px 2px 4px #CCCCCC; -} - -.letterPressBG { - background-color: #565656; -} - -.letterPress { - color: #333; - -moz-text-shadow: 0 1px 0 #777, 0 -1px 0 #000; - -webkit-text-shadow: 0 1px 0 #777, 0 -1px 0 #000; - text-shadow: 0 1px 0 #777, 0 -1px 0 #000; -} - -.osButton { - -moz-appearance: button; - -webkit-appearance: button; - appearance: button; -} - -.pad5b { - padding-bottom: 5px; -} - -.pad10b { - padding-bottom: 10px; -} - -.relative { - position: relative; -} - -.sectionDescription { - color: #708090; - font: bold 14px/2.5 verdana; - text-align: center; - text-decoration: underline; - width: 50%; - -moz-text-shadow: 0.33em 0.25em 0.1em orange; - -webkit-text-shadow: 0.33em 0.25em 0.1em orange; - text-shadow: 0.33em 0.25em 0.1em orange; - - -moz-transform: skewY(-3deg) scale(1.5); - -webkit-transform: skewY(-3deg) scale(1.5); - -o-transform: skewY(-3deg) scale(1.5); - -ms-transform: skewY(-3deg) scale(1.5); - transform: skewY(-3deg) scale(1.5); -} - -.sphericalGradient { - background-image: -moz-radial-gradient(40%, 50%, circle closest-side, white, white 25%, black 50%, white 75%, transparent); - background-image: -webkit-gradient(radial, 40% 50%, 0, 40% 50%, 50, from(white), color-stop(25%, white), color-stop(50%, black), color-stop(75%, white), to(transparent)); -} - -.subSectionDescription { - width: 80%; -} - -.subSectionDescription .descriptionHeading { - color: FF9966; - font: bold 12px Helvetica; - text-decoration: underline; -} - -.subSectionDescription .descriptionText { - font: 15px Garamond; -} - -.textOverFlow { - -moz-text-overflow: ellipsis; - -webkit-text-overflow: ellipsis; - text-overflow: ellipsis; -} - -.contentResize { - -moz-resize: both; - -webkit-resize: both; - resize: both; -} - -.whiteBlackTextShadow { - color: #FFF; - - -moz-text-shadow: - 0 2px rgba(0, 0, 0, 0.4), - 0 4px rgba(0, 0, 0, 0.4), - 0 6px rgba(0, 0, 0, 0.4), - 0 8px 0 rgba(0, 0, 0, 0.4); - -webkit-text-shadow: - 0 2px rgba(0, 0, 0, 0.4), - 0 4px rgba(0, 0, 0, 0.4), - 0 6px rgba(0, 0, 0, 0.4), - 0 8px 0 rgba(0, 0, 0, 0.4); - text-shadow: - 0 2px rgba(0, 0, 0, 0.4), - 0 4px rgba(0, 0, 0, 0.4), - 0 6px rgba(0, 0, 0, 0.4), - 0 8px 0 rgba(0, 0, 0, 0.4); -} - -article, aside, canvas, details, embed, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { - display: block; -} -command, datalist, keygen, mark, meter, progress, rp, rt, ruby, time, wbr { - display: inline; -} - -article { - border: 3px solid #3C78B5; - float: right; - margin: 0 10px 10px; - width: 85%; -} - -canvas { - border: 3px solid #3C78B5; -} - -figcaption { - font-size: 10px; - text-align: center; -} - -footer { - clear: both; -} - -input[type="search"] { - -webkit-appearance: textfield; -} - -input[type=range]::before { - content: attr(min); -} - -input[type=range]::after { - content: attr(max); -} - -nav { - float: left; - width: 10%; -} - -@media only all and (min-width: 500px) and (max-width: 799px) { - .columns { - -moz-column-count: 3; - -webkit-column-count: 3; - column-count: 3; - - -moz-column-gap: 2em; - -webkit-column-gap: 2em; - column-gap: 2em; - - -moz-column-rule: 1px solid #ccc; - -webkit-column-rule: 1px solid #ccc; - column-rule: 1px solid #ccc; - - -moz-column-width: 10em; - -webkit-column-width: 10em; - column-width: 10em; - padding: 3px; - text-align: center; - } - -} - -@keyframes "expand" { - from { border-width: 10px; } - 50% { border-width: 1px; } - to { - border-width: 1px; - height: 120px; - width: 150px; - } - -} - -.animationExpand { - animation: "expand" 6s ease-in 2s infinite alternate; -} -.animationExpand:hover { - animation-play-state: paused; -} - -/* First proposal */ -@variables { - exampleColor: #F00; - exampleLength: 10em; -} - -.firstProposal { - background-color: var(exampleColor); - width: var(exampleLength); -} - -/* Second proposal */ -@define values { - exampleColor2: #F00; - exampleLength2: 10em; -} - -.secondProposal { - background-color: `exampleColor2; - width: `exampleLength; -} - -@define style-sets { - exampleSet { - background-color: #F00; - width: 10em; - } -} - -.secondProposalSS { - `exampleSet; -} - -@define selectors { - exampleSelector: ul ul li; -} - -`exampleSelector div { - border: 3em; -} \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/dataGridDragDropExample/flexDataGridDragDropExample.jsp b/jsf-flex/examples/src/main/webapp/dataGridDragDropExample/flexDataGridDragDropExample.jsp deleted file mode 100644 index a82cd8a7..00000000 --- a/jsf-flex/examples/src/main/webapp/dataGridDragDropExample/flexDataGridDragDropExample.jsp +++ /dev/null @@ -1,97 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - -

      - Currently if the data is large, it is broken into pieces of 50 with there being two batches, making - the size of the cache 100 rows. When a limit is reached s.t. more information is required, one set will remain cached - with an another of batch of at most 50 being returned from the server. Also, note that field of bindingBeanClassName - does not need to be present if bindingBeanList size is greater than 0. -
      -
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/dataGridDragDropExample/flexDataGridDragDropExample.xhtml b/jsf-flex/examples/src/main/webapp/dataGridDragDropExample/flexDataGridDragDropExample.xhtml deleted file mode 100644 index 7968f580..00000000 --- a/jsf-flex/examples/src/main/webapp/dataGridDragDropExample/flexDataGridDragDropExample.xhtml +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - -
      - Currently if the data is large, it is broken into pieces of 50 with there being two batches, making - the size of the cache 100 rows. When a limit is reached s.t. more information is required, one set will remain cached - with an another of batch of at most 50 being returned from the server. Also, note that field of bindingBeanClassName - does not need to be present if bindingBeanList size is greater than 0. -
      -
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      -
      - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/dataGridFilteringExample/flexDataGridFilteringExample.jsp b/jsf-flex/examples/src/main/webapp/dataGridFilteringExample/flexDataGridFilteringExample.jsp deleted file mode 100644 index 1d266caa..00000000 --- a/jsf-flex/examples/src/main/webapp/dataGridFilteringExample/flexDataGridFilteringExample.jsp +++ /dev/null @@ -1,78 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - -
      - Currently if the data is large, it is broken into pieces of 50 with there being two batches, making - the size of the cache 100 rows. When a limit is reached s.t. more information is required, one set will remain cached - with an another of batch of at most 50 being returned from the server. -
      -
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      -
      - - - - diff --git a/jsf-flex/examples/src/main/webapp/dataGridFilteringExample/flexDataGridFilteringExample.xhtml b/jsf-flex/examples/src/main/webapp/dataGridFilteringExample/flexDataGridFilteringExample.xhtml deleted file mode 100644 index 2d83cbff..00000000 --- a/jsf-flex/examples/src/main/webapp/dataGridFilteringExample/flexDataGridFilteringExample.xhtml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - -
      - Currently if the data is large, it is broken into pieces of 50 with there being two batches, making - the size of the cache 100 rows. When a limit is reached s.t. more information is required, one set will remain cached - with an another of batch of at most 50 being returned from the server. -
      - - Also added debug value of queueFilterThreshold + queuedFilterListBreakUpSize for testing of the filter queue -
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      -
      - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/eventGlue/flexAsynchronousDataUpdateEventListener.jsp b/jsf-flex/examples/src/main/webapp/eventGlue/flexAsynchronousDataUpdateEventListener.jsp deleted file mode 100644 index 8f83b740..00000000 --- a/jsf-flex/examples/src/main/webapp/eventGlue/flexAsynchronousDataUpdateEventListener.jsp +++ /dev/null @@ -1,61 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/eventGlue/flexAsynchronousDataUpdateEventListener.xhtml b/jsf-flex/examples/src/main/webapp/eventGlue/flexAsynchronousDataUpdateEventListener.xhtml deleted file mode 100644 index 117abd27..00000000 --- a/jsf-flex/examples/src/main/webapp/eventGlue/flexAsynchronousDataUpdateEventListener.xhtml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/eventGlue/flexAsynchronousPropertyUpdateEventListener.jsp b/jsf-flex/examples/src/main/webapp/eventGlue/flexAsynchronousPropertyUpdateEventListener.jsp deleted file mode 100644 index 6d801755..00000000 --- a/jsf-flex/examples/src/main/webapp/eventGlue/flexAsynchronousPropertyUpdateEventListener.jsp +++ /dev/null @@ -1,60 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jsf-flex/examples/src/main/webapp/eventGlue/flexAsynchronousPropertyUpdateEventListener.xhtml b/jsf-flex/examples/src/main/webapp/eventGlue/flexAsynchronousPropertyUpdateEventListener.xhtml deleted file mode 100644 index e91a1f3e..00000000 --- a/jsf-flex/examples/src/main/webapp/eventGlue/flexAsynchronousPropertyUpdateEventListener.xhtml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/faceletFiles/flexApplicationContentDimension.xhtml b/jsf-flex/examples/src/main/webapp/faceletFiles/flexApplicationContentDimension.xhtml deleted file mode 100644 index 0df3ded8..00000000 --- a/jsf-flex/examples/src/main/webapp/faceletFiles/flexApplicationContentDimension.xhtml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/faceletFiles/flexXMLListExample.xhtml b/jsf-flex/examples/src/main/webapp/faceletFiles/flexXMLListExample.xhtml deleted file mode 100644 index 72ea4280..00000000 --- a/jsf-flex/examples/src/main/webapp/faceletFiles/flexXMLListExample.xhtml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/flexIndex.jsp b/jsf-flex/examples/src/main/webapp/flexIndex.jsp deleted file mode 100644 index 082cbc4a..00000000 --- a/jsf-flex/examples/src/main/webapp/flexIndex.jsp +++ /dev/null @@ -1,250 +0,0 @@ -<%-- - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - --%> - -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> - - - - - - - - -
      - Welcome to JSF Flex Project -
      -
      - -
      - - Quick bounding examples? - - -
        -
      • flexSimple representing the bare skeleton of creating a flexApplication
      • -
      • flexAsynchronousDataUpdateEventListener representing capability of listening to a specific event of a source Flex component, so that when it is triggered target Flex component's value is updated with the value returned from an asynchronous call that is bound by MethodExpression on the server side
      • -
      • flexAdditionalComponent representing capability of creating a component that is outside of JSF Flex project [by specifying flex name + attributes as tag attributes]
      • -
      • flexOverallExample representing overall example of the components
      • -
      -
      -
      - - - A page for testing a simple creation of flexApplication - - - A page for testing an asynchronous data update event listener - - - A page for testing an asynchronous property update event listener - - - A page showing usage of flexAdditionalComponent - - - An example demonstrating filtering a data grid's content with an another Flex component's value - - - An overall example of the components - - - -
      -
      - - Specific component examples - - -
        - Note : -
      • there exists much TODO for these components, such as allowing better dataBinding and etcetera, so - please do not take them as finished components.
      • -
      • after tweaking of creating the components/tags, one MUST change the com.googlecode.jsfFlex.MODE - field within web.xml to productionMode to avoid the cost of creating preMxml, Mxml, Swf, and etceteras.
      • -
      • for components that allow dataBinding many use FlexFaceletOverallBean. However since - flexOverallExample page demonstrates preservation of values during postBack phase, these example - pages do not contain any success pages. Of course this may change when free time can be allocated - in creating these success pages.
      • -
      • for creating static xml data and xml data through dataBinding, look to example such as flexTree.xhtml
      • -
      • for complex Flex examples and how some of these components should be used, please refer to Adobe's page.
      • -
      -
      -
      - - - - An example for Accordion component - - - An example for AccordionControlBar component - - - An example for Box component - - - An example for Button component that presents an alert with ActionScript - - - An example for ButtonBar component - - - An example for Canvas component - - - An example for CheckBox component - - - An example for ColorPicker component - - - An example for ComboBox component - - - An example for ControlBar component - - - An example demonstrating a data grid that performs multiple request for large data that is fetched asynchronously - - - An example for DataField component - - - An example for DividedBox component - - - An example for Drag + Drop of DataGrid component - - - An example for providing specific Flex SDK for JSF Flex - - - An example for HorizontalList component - - - An example for HRule component - - - An example for HScrollBar component - - - An example for HSlider component - - - An example for Image component - - - An example for Label component - - - An example for LinkBar component - - - An example for LinkButton component - - - An example for List component - - - An example for Locale component - - - An example for MenuBar component - - - An example for NumericStepper component - - - An example for Panel component - - - An example for PopUpButton component - - - An example for PopUpMenuButton component - - - An example for ProgressBar component - - - An example for RadioButton component - - - An example for RichTextEditor component - - - An example for Spacer component - - - An example for SwfLoader component - - - An example for TabBar component - - - An example for TabNavigator component - - - An example for Text component - - - An example for TextArea component - - - An example for TextInput component - - - An example for Tile component - - - An example for TileList component - - - An example for TitleWindow component - - - An example for ToggleButtonBar component - - - An example for Tree component - - - An example for VideoDisplay component - - - An example for ViewStack component - - - An example for VRule component - - - An example for VScrollBar component - - - An example for VSlider component - - - - -
      - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/flexIndex.xhtml b/jsf-flex/examples/src/main/webapp/flexIndex.xhtml deleted file mode 100644 index c13a4c0b..00000000 --- a/jsf-flex/examples/src/main/webapp/flexIndex.xhtml +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - - - - -
      - Welcome to JSF Flex Project -
      -
      - -
      - - Quick bounding examples? - - -
        -
      • flexSimple representing the bare skeleton of creating a flexApplication
      • -
      • flexAsynchronousDataUpdateEventListener representing capability of listening to a specific event of a source Flex component, so that when it is triggered target Flex component's value is updated with the value returned from an asynchronous call that is bound by MethodExpression on the server side
      • -
      • flexAdditionalComponent representing capability of creating a component that is outside of JSF Flex project [by specifying flex name + attributes as tag attributes]
      • -
      • flexOverallExample representing overall example of the components
      • -
      -
      -
      - - - A page for testing a simple creation of flexApplication - - - A page for testing an asynchronous data update event listener - - - A page for testing an asynchronous property update event listener - - - A page showing usage of flexAdditionalComponent - - - An example demonstrating filtering a data grid's content with an another Flex component's value - - - An overall example of the components - - - -
      -
      - - Specific component examples - - -
        - Note : -
      • there exists much TODO for these components, such as allowing better dataBinding and etcetera, so - please do not take them as finished components.
      • -
      • after tweaking of creating the components/tags, one MUST change the com.googlecode.jsfFlex.MODE - field within web.xml to productionMode to avoid the cost of creating preMxml, Mxml, Swf, and etceteras.
      • -
      • for components that allow dataBinding many use FlexFaceletOverallBean. However since - flexOverallExample page demonstrates preservation of values during postBack phase, these example - pages do not contain any success pages. Of course this may change when free time can be allocated - in creating these success pages.
      • -
      • for creating static xml data and xml data through dataBinding, look to example such as flexTree.xhtml
      • -
      • for complex Flex examples and how some of these components should be used, please refer to Adobe's page.
      • -
      -
      -
      - - - - An example for Accordion component - - - An example for AccordionControlBar component - - - An example for Box component - - - An example for ButtonBar component - - - An example for Canvas component - - - An example for CheckBox component - - - An example for ColorPicker component - - - An example for ComboBox component - - - An example for ControlBar component - - - An example demonstrating a data grid that performs multiple request for large data that is fetched asynchronously - - - An example for DataField component - - - An example for DividedBox component - - - An example for Drag + Drop of DataGrid component - - - An example for providing specific Flex SDK for JSF Flex - - - An example for HorizontalList component - - - An example for HRule component - - - An example for HScrollBar component - - - An example for HSlider component - - - An example for Image component - - - An example for Label component - - - An example for LinkBar component - - - An example for Locale component - - - An example for MenuBar component - - - An example for NumericStepper component - - - An example for Panel component - - - An example for PopUpMenuButton component - - - An example for RadioButton component - - - An example for RichTextEditor component - - - An example for Spacer component - - - An example for SwfLoader component - - - An example for TabBar component - - - An example for TabNavigator component - - - An example for Text component - - - An example for TextArea component - - - An example for TextInput component - - - An example for Tile component - - - An example for TileList component - - - An example for TitleWindow component - - - An example for ToggleButtonBar component - - - An example for Tree component - - - An example for VideoDisplay component - - - An example for ViewStack component - - - An example for VRule component - - - An example for VScrollBar component - - - An example for VSlider component - - - - -
      - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/flexSimple/flexSimple.jsp b/jsf-flex/examples/src/main/webapp/flexSimple/flexSimple.jsp deleted file mode 100644 index 6b364829..00000000 --- a/jsf-flex/examples/src/main/webapp/flexSimple/flexSimple.jsp +++ /dev/null @@ -1,54 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - -
      - This page is a simple test to ensure that the base framework is working [creation of preMxml, Mxml, and etcetera].
      - -
      - - - - - - - - - - -
      - -
      - - - - diff --git a/jsf-flex/examples/src/main/webapp/flexSimple/flexSimple.xhtml b/jsf-flex/examples/src/main/webapp/flexSimple/flexSimple.xhtml deleted file mode 100644 index 183b4eb7..00000000 --- a/jsf-flex/examples/src/main/webapp/flexSimple/flexSimple.xhtml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - -
      - This page is a simple test to ensure that the base framework is working [creation of preMxml, Mxml, and etcetera].
      - -
      - - - - - - - - - -
      - -
      - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/html5Arena/messageIframeContent.html b/jsf-flex/examples/src/main/webapp/html5Arena/messageIframeContent.html deleted file mode 100644 index e036d8df..00000000 --- a/jsf-flex/examples/src/main/webapp/html5Arena/messageIframeContent.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - Message/Template Layout Iframe Content - - - - -
      -
      -
      -
      -
      -
      -

      Message Example

      -

      Flexible Box Model Example

      -

      Template Layout Example

      - -
      -
      - Page to be linked as an Iframe for index.html for Message API Example. - -
      - Output: -
      - -
      -
      - Template One -
      -
      - Template Two -
      -
      - Template Three -
      -
      -
      -
      - - -
      -
      - - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/index.html b/jsf-flex/examples/src/main/webapp/index.html deleted file mode 100644 index 63567b61..00000000 --- a/jsf-flex/examples/src/main/webapp/index.html +++ /dev/null @@ -1,464 +0,0 @@ - - - - - - - - - - -
      - - -
      -
      - JSF Flex Project Screenshots -
      - -
      -
      - OverallExample -
      Overall Example
      -
      -
      - -
      -
      - RemoteGridFiltering -
      Remote DataGrid with filtering
      -
      -
      - -
      -
      - RemoteGridDragDrop -
      Remote DataGrid with drag and drop
      -
      -
      - -
      -
      - RemoteAsyncCommunication -
      Remote Async MethodExpression
      -
      -
      - -
      -
      -
      -
      - -
      -
      -
      - Playground [left out items such as command, menu, meter, etcetera] - -
      - -
      -
      -
      - -
      -
      -
      -
      -
      - -
      -
      - -
      -
      -
      -
      - -
      - - -
      - -
      - -
      -
      - Main form inputs -
      -
      -
      URL:
      -
      -
      -
      Date:
      -
      -
      -
      Time:
      -
      -
      -
      Month:
      -
      -
      -
      Progress:
      -
      -
      - DataList: - - -
      -
      - -
      -
      -
      Week:
      -
      -
      -
      Number:
      -
      -
      -
      Range:
      - -
      -
      -
      Search:
      -
      -
      -
      Color:
      -
      -
      -
      Email:
      -
      -
      -
      Pattern:
      -
      - -
      - -
      - File: -
      -
      -
      - -
      -
      - -
      -
      - Messaging Playground - -
      -
      Input:
      -
      -
      - - -
      -
      - - -
      - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/js/worker.js b/jsf-flex/examples/src/main/webapp/js/worker.js deleted file mode 100644 index 2975973f..00000000 --- a/jsf-flex/examples/src/main/webapp/js/worker.js +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -importScripts("workerTask.js"); - -openPorts = []; - -addEventListener("connect", connect, false); - -function connect(event) { - var port = event.ports[0]; - openPorts.push(port); - port.onmessage = sendToAll; -}; - -function sendToAll(event) { - var openPortsLength = openPorts.length; - - while(openPortsLength--) { - openPorts[openPortsLength].postMessage("Message has been sent: ", event); - } - - onmessage(event); -} -onmessage = function(event) { - - if(event.data) { - var request = JSON.parse(event.data); - if(!request.taskClazz) { - close(); - }else { - var _instance = new request.taskClazz(request); - _instance.performTask(); - } - } - -} \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/js/workerTask.js b/jsf-flex/examples/src/main/webapp/js/workerTask.js deleted file mode 100644 index 8f8d6110..00000000 --- a/jsf-flex/examples/src/main/webapp/js/workerTask.js +++ /dev/null @@ -1,525 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/* - * This file is mainly for documentation purpose. Meaning I am playing around - * with some of the content so most of the code is not complete as I wanted - * something to reference by rather than books + online documentation. - */ -(function() { - var nsPath = ["playground", "jsfFlex", "googlecode", "com"], - nsPathLength = nsPath.length, nsTemp, ns = window || {}; - - while(nsPathLength--){ - if(typeof (nsTemp = ns[nsPath[nsPathLength]]) === "undefined"){ - ns[nsPath[nsPathLength]] = {}, - ns = ns[nsPath[nsPathLength]]; - }else if(typeof nsTemp != "object"){ - throw new Error(nsPath.slice(nsPathLength).join(".") + " exists but is not of type object"); - } - } - - ns._BaseTask = function(request) { - this.data = null; - this.request = JSON.parse(request); - }; - - ns._BaseTask.RESULT_CODE = { - SUCCESS: 1, - ERROR: 0 - }; - - ns._BaseTask.prototype.genericError = function(event) { - postMessage(JSON.stringify({taskResult: ns._BaseTask.RESULT_CODE.ERROR, error: event, instance: this})); - }; - - ns._BaseTask.prototype.printData = function() { - console.info("Once again just for playing around ", this.data); - - }; - - ns._BaseTask.prototype.performTask = function() { - throw new Error("Should be implemented by sub classes"); - }; - - ns.GeolocationTask = function(request) { - ns._BaseTask.apply(this, arguments); - }; - ns.GeolocationTask.prototype = new ns._BaseTask(); - ns.GeolocationTask.prototype.constructor = ns.GeolocationTask; - - ns.GeolocationTask.ERROR_CONDITIONS = ["Unknown", "Permission denied", "Position is not available", "Request timeout"]; - - ns.GeolocationTask.prototype.performTask = function() { - - var _this = this; - navigator.geolocation.getCurrentPosition( function(position) { - _this.data = position; //{coords: {latitude: "", longitude: "", altitude: "", accuracy: "", altitudeAccuracy: "", heading: "", speed: ""}, timestamp: ""} - _this.data.taskResult = ns._BaseTask.RESULT_CODE.SUCCESS; - _this.data.instance = _this; - _this.printData(); - - postMessage(JSON.stringify(_this.data)); - }, function(error) { - console.info("Error with : ", error, ns.GeolocationTask.ERROR_CONDITIONS[parseInt(error, 10) - 1]); - postMessage(JSON.stringify({taskResult: ns._BaseTask.RESULT_CODE.ERROR, error: error, instance: _this})); - }, { - //enableHighAccuracy: true, => used for Mobile devices that access the GPS application. - timeout: 2000, - maximumAge: 0 - } ); - }; - - ns.FibonacciComputeLongTask = function(request) { - ns._BaseTask.apply(this, arguments); - }; - ns.FibonacciComputeLongTask.prototype = new ns._BaseTask(); - ns.FibonacciComputeLongTask.prototype.constructor = ns.FibonacciComputeLongTask; - - ns.FibonacciComputeLongTask.cache = {}; - - ns.FibonacciComputeLongTask.prototype.performTask = function() { - var computeRequest = this.request.computeRequest; - if(typeof computeRequest === "undefined") { - throw new Error("computeRequest field was not passed"); - }else { - this.data = this.fibonacci(computeRequest); - this.data.taskResult = ns._BaseTask.RESULT_CODE.SUCCESS; - this.data.instance = this; - this.printData(); - postMessage(JSON.stringify(this.data)); - } - }; - - ns.FibonacciComputeLongTask.prototype.fibonacci = function(val) { - /* - * Of course not even in the least optimal solution [Strassen's algorithm is the correct one], - * but this is just to test out the caching. - */ - if(val < 2) { - return val; - } - - var computedVal = -1; - if(ns.FibonacciComputeLongTask.cache.hasOwnProperty(val)){ - computedVal = ns.FibonacciComputeLongTask.cache[val]; - }else { - computedVal = this.fibonacci(val-1) + this.fibonacci(val-2); - ns.FibonacciComputeLongTask.cache[val] = computedVal; - } - - return computedVal; - }; - - ns.WebSocket = function(request) { - ns._BaseTask.apply(this, arguments); - }; - ns.WebSocket.prototype = new ns._BaseTask(); - ns.WebSocket.prototype.constructor = ns.WebSocket; - - ns.WebSocket.prototype.performTask = function() { - - if(typeof WebSocket !== "undefined") { - if(typeof this.request.url !== "undefined") { - var ws = new WebSocket(this.request.url); - - ws.addEventListener("message", function(event) { - ws.data = JSON.parse(event.data); - ws.data.taskResult = ns._BaseTask.RESULT_CODE.SUCCESS; - ws.data.instance = ws; - ws.printData(); - - postMessage(JSON.stringify(ws.data)); - }, false); - - ws.addEventListener("close", function() { - ws.send(JSON.stringify({ - action: "closing" - })); - }, false); - - ws.addEventListener("open", function() { - ws.send(JSON.stringify({ - action: "opening" - })); - }, false); - }else { - throw new Error("Field of url was not provided to the request"); - } - } - - }; - - ns.WebSQL = function(request) { - ns._BaseTask.apply(this, arguments); - }; - ns.WebSQL.prototype = new ns._BaseTask(); - ns.WebSQL.prototype.constructor = ns.WebSQL; - - ns.WebSQL.prototype.performTask = function() { - - try{ - if(typeof window.openDatabase === "undefined"){ - throw new Error("window.openDatabase is not defined/WebSQL is not supported for the current browser"); - } - - var _this = this, - req = _this.request; - - if(typeof req.sql !== "undefined" && - typeof req.dbName !== "undefined" && - typeof req.dbVersion !== "undefined" && - typeof req.dbSize !== "undefined") { - - var db = openDatabase(req.dbName, req.dbVersion, (req.dbDescription || ""), req.dbSize); - db.transaction(function(tx) { - tx.executeSql(req.sql, (req.arguments || []), function(tx, results) { - _this.data = results; - _this.data.tx = tx; - _this.data.taskResult = ns._BaseTask.RESULT_CODE.SUCCESS; - _this.data.instance = _this; - _this.printData(); - postMessage(JSON.stringify(_this.data)); - - }, function(tx, error) { - postMessage(JSON.stringify({taskResult: ns._BaseTask.RESULT_CODE.ERROR, error: error, instance: _this, tx: tx})); - }); - }); - - }else { - throw new Error("Required parameters of: sql, dbName, dbVersion, dbSize is/are missing"); - } - - }catch(error) { - console.info("errored out during the DB execution"); - throw error; - } - - }; - - ns.IndexedDB = function(request) { - ns._BaseTask.apply(this, arguments); - }; - ns.IndexedDB.prototype = new ns._BaseTask(); - ns.IndexedDB.prototype.constructor = ns.IndexedDB; - - ns.IndexedDB.prototype.dbOpenSuccess = function(event) { - this.db = event.result || event.target.result; - - if(this.db.version === ''){ - var versionRequest = this.db.setVersion(this.request.db.version); - versionRequest.addEventListener("success", this.dbCreateDBSuccess, false); - versionRequest.addEventListener("error", this.genericError, false); - }else{ - this.performTransactionTask(); - } - }; - - ns.IndexedDB.prototype.dbCreateDBSuccess = function(event) { - this.db = event.result || event.target.result; - var request = this.request; - - if(request.db.objectStores) { - - var objectStores = request.db.objectStores, - objectStoresLength = objectStores.length; - objectStores.reverse(); - - while(objectStoresLength--) { - var objectStore = objectStores[objectStoresLength], - createOSArgs = [objectStore.name]; - if(objectStore.keyPath) { - createOSArgs.push({keyPath: objectStore.keyPath}); - } - - if(typeof objectStore.autoIncrement !== "undefined") { - createOSArgs.push(objectStore.autoIncrement); - } - - var store = this.db.createObjectStore.apply(this.db, createOSArgs); - - if(objectStore.indexes) { - var indexes = objectStore.indexes, - indexesLength = indexes.length; - indexes.reverse(); - - while(indexesLength--) { - var index = indexes[indexesLength], - createIndexArgs = [index.name, index.property]; - - if(typeof index.unique !== "undefined") { - createIndexArgs.push({unique: index.unique}); - } - - store.createIndex.apply(store, createIndexArgs); - } - - } - } - - this.performTransactionTask(); - } - - }; - - ns.IndexedDB.prototype.performTransactionTask = function() { - var request = this.request, - transactionRequests = request.transactions, - transactionRequestsLength = transactionRequests.length; - transactionRequests.reverse(); - - while(transactionRequestsLength--){ - var transactionRequest = transactionRequests[transactionRequestsLength], - transactionRequestArgs = [transactionRequest.spanObjectStores]; - - if(typeof transactionRequest.transactionLevel !== "undefined") { - transactionRequestArgs.push(transactionRequest.transactionLevel); - } - - var transaction = this.db.transaction.apply(this.db, transactionRequestArgs); - var objectStore = transaction.objectStore(transactionRequest.objectStore); - - this.performTransactionTaskHelper(transactionRequest.tasks, objectStore); - - } - }; - - ns.IndexedDB.prototype.performTransactionTaskHelper = function(tasks, objectStore) { - - var tasksLength = tasks.length, - _this = this; - tasks.reverse(); - - while(tasksLength--){ - function() { - var task = tasks[tasksLength]; - var taskRequest = objectStore[task.method].apply(objectStore, task.args || []); - taskRequest.addEventListener("success", function(event) { - postMessage(JSON.stringify({taskResult: ns._BaseTask.RESULT_CODE.SUCCESS, data: event, instance: _this})); - if(typeof task.tasks !== "undefined") { - //for cases such as openCursor and etcetera - _this.performTransactionTaskHelper(task.tasks, objectStore); - } - - var result = event.result || event.target.result; - if(result && result["continue"]) { - //means of cursor so invoke continue - result["continue"](); - } - }, false); - }(); - } - - }; - - ns.IndexedDB.prototype.performTask = function() { - - try{ - var indexedDB = window.mozIndexedDB || window.webkitIndexedDB; - - if(typeof indexedDB !== "undefined") { - var req = this.request; - if(typeof req.db !== "undefined" && req.db.name !== "undefined") { - - var db = indexedDB.open(req.db.name); - db.addEventListener("success", this.dbOpenSuccess, false); - db.addEventListener("error", this.genericError, false); - - }else { - throw new Error("Required parameters of: dbName is/are missing"); - } - } - }catch(error) { - console.info("errored out during the IndexedDB execution"); - throw error; - } - - }; - - //FILE API, just for reference - ns._FileTask = function(request) { - ns._BaseTask.apply(this, arguments); - }; - ns._FileTask.prototype = new ns._BaseTask(); - ns._FileTask.prototype.constructor = ns._FileTask; - - ns._FileTask.prototype.performTask = function() { - //TODO - }; - - ns.FileTaskAPI = function(request) { - ns._FileTask.apply(this, arguments); - }; - ns.FileTaskAPI.prototype = new ns._FileTask(); - ns.FileTaskAPI.prototype.constructor = ns.FileTaskAPI; - - ns.FileTaskAPI.prototype.performTask = function() { - - var _this = this, - req = _this.request; - //Later play w/ Blob - if(typeof req.fileTasks !== "undefined") { - - if(FileReader) { - var fileTasks = req.fileTasks, - fileTasksLength = fileTasks.length; - fileTasks.reverse(); - - while(fileTasksLength--){ - var reader = new FileReader(), - fileTask = fileTasks[fileTasksLength]; - //should use onload since the listeners might not be implemented yet - reader.addEventListener("load", function(event){ - var result = event.result || event.target.result; - postMessage(JSON.stringify({taskResult: ns._BaseTask.RESULT_CODE.SUCCESS, data: result, instance: _this})); - }, false); - reader.addEventListener("error", this.genericError, false); - reader[fileTask.method].apply(reader, fileTask.args || []); - - } - } - - }else { - throw new Error("Required parameters of: fileTasks is/are missing"); - } - - }; - - ns.FileExpansionTaskAPI = function(request) { - this.root = null; - ns._FileTask.apply(this, arguments); - }; - ns.FileExpansionTaskAPI.prototype = new ns._FileTask(); - ns.FileExpansionTaskAPI.prototype.constructor = ns.FileExpansionTaskAPI; - - ns.FileExpansionTaskAPI.prototype.performTask = function() { - - var _this = this, - req = _this.request; - - if(typeof req.fileTasks !== "undefined" && - typeof req.fileSystemInfo !== "undefined") { - - if(requestFileSystem) { - var fileSystemInfo = req.fileSystemInfo; - - requestFileSystem(fileSystemInfo.type, fileSystemInfo.size, function(event) { - - _this.root = event.root; - _this.performFileTask(req.fileTasks); - }, this.genericError); - - } - - }else { - throw new Error("Required parameters of: fileTasks and fileSystemInfo is/are missing"); - } - - }; - - ns.FileExpansionTaskAPI.prototype.performFileTask = function(fileTasks) { - if(!fileTasks) { - return; - } - var fileTasksLength = fileTasks.length; - fileTasks.reverse(); - - /* - * Many of the File Expansion APIs require the previous result and since this - * is mainly for documentation purpose am leaving out those cases. Perhaps in the - * future when I get bored. - */ - while(fileTasksLength--){ - - var fileTask = fileTasks[fileTasksLength], - fileTaskArgs = fileTask.args || [], - _this = this; - - function() { - //Quite a deal of trouble just for documentation - if(fileTask.method === "createReader" && - fileTasksLength > 0 && - fileTasks[fileTasksLength - 1] === "readEntries") { - fileTasksLength--; - - var reader = _this.previousResult.createReader(); - //the readEntries method reads the list of entries by blocks - var read = function() { - reader.readEntries(function(files) { - if(files.length){ - postMessage(JSON.stringify({taskResult: ns._BaseTask.RESULT_CODE.SUCCESS, data: files, instance: _this})); - read(); - }else{ - _this.performFileTask(fileTask.fileTasks); - } - }, this.genericError); - }; - }else { - fileTaskArgs.push(function(event) { - - _this.previousResult = event; - postMessage(JSON.stringify({taskResult: ns._BaseTask.RESULT_CODE.SUCCESS, data: event, instance: _this})); - _this.performFileTask(fileTask.fileTasks); - }); - - fileTaskArgs.push(this.genericError); - } - - this.root[fileTask.method].apply(this.root, fileTaskArgs); - }(); - } - }; - - ns.FileContentTaskAPI = function(request) { - ns.FileExpansionTaskAPI.apply(this, arguments); - }; - ns.FileContentTaskAPI.prototype = new ns.FileExpansionTaskAPI(); - ns.FileContentTaskAPI.prototype.constructor = ns.FileContentTaskAPI; - - ns.FileContentTaskAPI.prototype.performFileTask = function(fileTasks) { - if(!fileTasks) { - return; - } - var fileTasksLength = fileTasks.length; - fileTasks.reverse(); - - while(fileTasksLength--){ - function() { - var fileTask = fileTasks[fileTasksLength], - _this = this; - - this.root.getFile(fileTask.name, fileTask.args, function(entry) { - entry.createWriter(function(writer){ - writer.addEventListener("writeend", function() { - postMessage(JSON.stringify({taskResult: ns._BaseTask.RESULT_CODE.SUCCESS, data: fileTask, instance: _this})); - }, false); - }, this.genericError); - - var blobBuilder = BlobBuilder || WebKitBlobBuilder; - if(blobBuilder) { - var blob = new blobBuilder(); - blob.append(fileTask.text); - writer.write(blob.getBlob()); - } - }, this.genericError); - }(); - } - }; - -})(); \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/locale/en_US/LocaleExample.properties b/jsf-flex/examples/src/main/webapp/locale/en_US/LocaleExample.properties deleted file mode 100644 index 3282c910..00000000 --- a/jsf-flex/examples/src/main/webapp/locale/en_US/LocaleExample.properties +++ /dev/null @@ -1,2 +0,0 @@ -greeting=Hello -street_address=Street Address \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/locale/es_ES/LocaleExample.properties b/jsf-flex/examples/src/main/webapp/locale/es_ES/LocaleExample.properties deleted file mode 100644 index 04d39d5a..00000000 --- a/jsf-flex/examples/src/main/webapp/locale/es_ES/LocaleExample.properties +++ /dev/null @@ -1,2 +0,0 @@ -greeting=Hola -street_address=Dirección de Calle \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/locale/ko_KR/LocaleExample.properties b/jsf-flex/examples/src/main/webapp/locale/ko_KR/LocaleExample.properties deleted file mode 100644 index ed7fdb01..00000000 --- a/jsf-flex/examples/src/main/webapp/locale/ko_KR/LocaleExample.properties +++ /dev/null @@ -1,2 +0,0 @@ -greeting=\uC548\uB155 -street_address=\uAC70\uB9AC \C8FC\uC18C \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/multipleRequestDataGridExample/flexMultipleRequestDataGridExample.jsp b/jsf-flex/examples/src/main/webapp/multipleRequestDataGridExample/flexMultipleRequestDataGridExample.jsp deleted file mode 100644 index ceda8000..00000000 --- a/jsf-flex/examples/src/main/webapp/multipleRequestDataGridExample/flexMultipleRequestDataGridExample.jsp +++ /dev/null @@ -1,75 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - -
      - Currently if the data is large, it is broken into pieces of 50 with there being two batches, making - the size of the cache 100 rows. When a limit is reached s.t. more information is required, one set will remain cached - with an another of batch of at most 50 being returned from the server. -
      -
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      -
      - - - - diff --git a/jsf-flex/examples/src/main/webapp/multipleRequestDataGridExample/flexMultipleRequestDataGridExample.xhtml b/jsf-flex/examples/src/main/webapp/multipleRequestDataGridExample/flexMultipleRequestDataGridExample.xhtml deleted file mode 100644 index 47909e4c..00000000 --- a/jsf-flex/examples/src/main/webapp/multipleRequestDataGridExample/flexMultipleRequestDataGridExample.xhtml +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - -
      - Currently if the data is large, it is broken into pieces of 50 with there being two batches, making - the size of the cache 100 rows. When a limit is reached s.t. more information is required, one set will remain cached - with an another of batch of at most 50 being returned from the server. -
      -
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      -
      - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/other/flexProvidedFlexSDK.jsp b/jsf-flex/examples/src/main/webapp/other/flexProvidedFlexSDK.jsp deleted file mode 100644 index b5df7afe..00000000 --- a/jsf-flex/examples/src/main/webapp/other/flexProvidedFlexSDK.jsp +++ /dev/null @@ -1,53 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - -
      - This page is a simple test for providing user's Flex SDK for JSF Flex project. Note the path should be set to the user's local environment.
      -
      - - - - - - - - - - -
      - -
      - - - - diff --git a/jsf-flex/examples/src/main/webapp/other/flexProvidedFlexSDK.xhtml b/jsf-flex/examples/src/main/webapp/other/flexProvidedFlexSDK.xhtml deleted file mode 100644 index efa735dc..00000000 --- a/jsf-flex/examples/src/main/webapp/other/flexProvidedFlexSDK.xhtml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - -
      - This page is a simple test for providing user's Flex SDK for JSF Flex project. Note the path should be set to the user's local environment.
      -
      - - - - - - - - - -
      - -
      - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/overallExample/flexOverallExample.jsp b/jsf-flex/examples/src/main/webapp/overallExample/flexOverallExample.jsp deleted file mode 100644 index 497b84b5..00000000 --- a/jsf-flex/examples/src/main/webapp/overallExample/flexOverallExample.jsp +++ /dev/null @@ -1,469 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - -
      - The button on the right is to test out the decode process and make sure that the information is mapped correctly. -
      - Also there exists a button and a linkButton within flexApplication that will also perform a submission. -
      - -
      - Note that the client validation for the component with id textInputRef [namely flexNumberValidator] is not a child tag - of the flexTextInput tag.
      However the regular validation tag [validateLongRange] is a child tag which performs the validation - on the server side. -
      - -
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .menuitem; - [Bindable] - public var complexStructCollection:XMLListCollection = new XMLListCollection(complexStruct); - - private function increaseProgressBar():void{ - progressBarRef.setProgress((progressBarRef.value + 10) % 110, 100); - } - - private function decreaseProgressBar():void{ - progressBarRef.setProgress(progressBarRef.value == 0 ? 0 : progressBarRef.value - 10, 100); - } - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      -
      - - - - diff --git a/jsf-flex/examples/src/main/webapp/overallExample/flexOverallExample.xhtml b/jsf-flex/examples/src/main/webapp/overallExample/flexOverallExample.xhtml deleted file mode 100644 index c02a1cb7..00000000 --- a/jsf-flex/examples/src/main/webapp/overallExample/flexOverallExample.xhtml +++ /dev/null @@ -1,397 +0,0 @@ - - - - - - - - - - - - - -
      - The button on the right is to test out the decode process and make sure that the information is mapped correctly. -
      - Also there exists a button and a linkButton within flexApplication that will also perform a submission. -
      - -
      - Note that the client validation for the component with id textInputRef [namely flexNumberValidator] is not a child tag - of the flexTextInput tag.
      However the regular validation tag [validateLongRange] is a child tag which performs the validation - on the server side. -
      - -
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      - -
      - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/overallExample/flexOverallExampleSuccess.jsp b/jsf-flex/examples/src/main/webapp/overallExample/flexOverallExampleSuccess.jsp deleted file mode 100644 index 4c61a1a7..00000000 --- a/jsf-flex/examples/src/main/webapp/overallExample/flexOverallExampleSuccess.jsp +++ /dev/null @@ -1,127 +0,0 @@ -<%@ page session="false" contentType="text/html;charset=utf-8"%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> -<%@ taglib uri="http://jsf-flex.googlecode.com/" prefix="jf"%> - - - - - - - - - - - - -
      -

      - Unless one is using a browser with compatible CSS 2.1 [i.e. IE >= 7.0] the below content will look fuzzy -

      - -
      - Mapping of the fields -
      -
      Accordion Selected Index :
      -
      -
      -
      -
      Tab Navigator Selected Index :
      -
      -
      -
      -
      TextInput Text :
      -
      -
      -
      -
      RichTextEditorHtmlText :
      -
      -
      -
      -
      TextArea Text :
      -
      -
      -
      -
      DateField Text :
      -
      -
      -
      -
      CheckBox Selected :
      -
      -
      -
      -
      ComboBox Text :
      -
      -
      -
      -
      ComboBox Selected Index :
      -
      -
      -
      -
      RadioButtonSelected Value :
      -
      -
      -
      -
      RadioButton First Selected :
      -
      -
      -
      -
      RadioButton Second Selected :
      -
      -
      -
      -
      NumericStepper Value :
      -
      -
      -
      -
      ColorPicker SelectedColor :
      -
      -
      -
      -
      Tree SelectedIndex :
      -
      -
      -
      -
      HorizontalSlider Value :
      -
      -
      -
      -
      VerticalSlider Value :
      -
      -
      -
      -
      Selected Date :
      -
      -
      -
      - -
      - To navigate back to flexExample click the following button -
      -
      -
      - -
      - - - - \ No newline at end of file diff --git a/jsf-flex/examples/src/main/webapp/overallExample/flexOverallExampleSuccess.xhtml b/jsf-flex/examples/src/main/webapp/overallExample/flexOverallExampleSuccess.xhtml deleted file mode 100644 index f0470940..00000000 --- a/jsf-flex/examples/src/main/webapp/overallExample/flexOverallExampleSuccess.xhtml +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - -
      -

      - Unless one is using a browser with compatible CSS 2.1 [i.e. IE >= 7.0] the below content will look fuzzy -

      - -
      - Mapping of the fields -
      -
      Accordion Selected Index :
      -
      -
      -
      -
      Tab Navigator Selected Index :
      -
      -
      -
      -
      TextInput Text :
      -
      -
      -
      -
      RichTextEditorHtmlText :
      -
      -
      -
      -
      TextArea Text :
      -
      -
      -
      -
      DateField Text :
      -
      -
      -
      -
      CheckBox Selected :
      -
      -
      -
      -
      ComboBox Text :
      -
      -
      -
      -
      ComboBox Selected Index :
      -
      -
      -
      -
      RadioButtonSelected Value :
      -
      -
      -
      -
      RadioButton First Selected :
      -
      -
      -
      -
      RadioButton Second Selected :
      -
      -
      -
      -
      NumericStepper Value :
      -
      -
      -
      -
      ColorPicker SelectedColor :
      -
      -
      -
      -
      Tree SelectedIndex :
      -
      -
      -
      -
      HorizontalSlider Value :
      -
      -
      -
      -
      VerticalSlider Value :
      -
      -
      -
      -
      Selected Date :
      -
      -
      -
      - -
      - To navigate back to flexExample click the following button -
      -
      -
      - -
      - - - - \ No newline at end of file diff --git a/jsf-flex/pom.xml b/jsf-flex/pom.xml deleted file mode 100644 index 3b143541..00000000 --- a/jsf-flex/pom.xml +++ /dev/null @@ -1,45 +0,0 @@ - - 4.0.0 - - com.googlecode.jsf-flex - jsf-flex-build-project - ${jsf.flex.version} - - - com.googlecode.jsf-flex - jsf-flex-project - pom - JSF-Flex JSF Component Project - http://code.google.com/p/jsf-flex/ - ${jsf.flex.version} - - JSF Flex goal is to provide users capability in creating Flex components as JSF components. So users would - create the components as normal JSF components and the contribution will create the necessary SWF files and - etcetera and link the values of the components back to the managed beans using JSON+Javascript and Actionscript. - - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - Mozilla Public License, Version 1.1 - http://www.mozilla.org/MPL/MPL-1.1.html - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex - - - - annotations - core - examples - renderKit15 - - - diff --git a/jsf-flex/renderKit15/pom.xml b/jsf-flex/renderKit15/pom.xml deleted file mode 100644 index 8174c5ce..00000000 --- a/jsf-flex/renderKit15/pom.xml +++ /dev/null @@ -1,133 +0,0 @@ - - - - com.googlecode.jsf-flex - jsf-flex-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex-project-renderKit15 - jar - JSF-Flex RenderKit for JRE 1.5 - JSF Flex RenderKit for JRE 1.5 contains Renderers for JSF Flex project that use Annotation to map fields from Flex components to JSF Java components - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex/renderKit15 - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex/renderKit15 - - - - - - - - com.googlecode.jsf-flex.jsf-flex-shared-project - jsf-flex-shared - - - - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex - - - - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex-annotations - - - - - org.apache.myfaces.core - myfaces-api - provided - - - - org.apache.myfaces.buildtools - myfaces-builder-annotations - provided - - - - javax.servlet - jstl - provided - - - - javax.servlet.jsp - javax.servlet.jsp-api - provided - - - - javax.el - javax.el-api - provided - - - - javax.servlet - servlet-api - provided - - - - org.json - json - - - - commons-logging - commons-logging - - - - - - - - - src/main/resources - - **/*.vm - - - - - - - org.apache.myfaces.buildtools - myfaces-builder-plugin - ${myfaces.buildtools.version} - - - - build-metadata - - - - makefacesconfig - - META-INF/faces-config.xml - - - make-config - - - - - - - - - \ No newline at end of file diff --git a/jsf-flex/renderKit15/src/main/conf/META-INF/faces-config-base.xml b/jsf-flex/renderKit15/src/main/conf/META-INF/faces-config-base.xml deleted file mode 100644 index 161cea20..00000000 --- a/jsf-flex/renderKit15/src/main/conf/META-INF/faces-config-base.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - com.googlecode.jsfFlex.renderkit.flex.FlexRenderKitFactoryWrapper - - - diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/annotationDocletParser/AnnotationDocletParser15Impl.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/annotationDocletParser/AnnotationDocletParser15Impl.java deleted file mode 100644 index fd261e9c..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/annotationDocletParser/AnnotationDocletParser15Impl.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.annotationDocletParser; - -import javax.faces.render.Renderer; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.shared.beans.templates.TokenValue; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * A class that extends AbstractAnnotationDocletParser for JRE greater than 1.4. This class will get
      - * the fields to inspect by inspecting the class' annotation.
      - * - * @author Ji Hoon Kim - */ -public final class AnnotationDocletParser15Impl extends AbstractAnnotationDocletParser { - - private final static Log _log = LogFactory.getLog(AnnotationDocletParser15Impl.class); - - public AnnotationDocletParser15Impl(){ - super(); - } - - /* (non-Javadoc) - * @see com.googlecode.jsfFlex.framework.annotationDocletParser.AbstractAnnotationDocletParser#mapComponentFields(java.lang.Class, java.lang.ClassLoader, java.lang.Object, java.lang.String) - * - * since mapComponentFields and getTokenValueSet must support JRE < & >= 1.5, suppressing the warning rather than specifying the parameter. - */ - @SuppressWarnings("unchecked") - public void mapComponentFields(Class mapClass, final Object componentObj, final String replaceMappingXML){ - - IJsfFlexAttributeProperties jsfFlexAttributeList = IJsfFlexAttributeProperties.class.cast( mapClass.getAnnotation(IJsfFlexAttributeProperties.class) ); - - IJsfFlexAttribute[] jsfFlexAttributes = jsfFlexAttributeList.jsfFlexAttributes(); - - for(IJsfFlexAttribute currAttribute : jsfFlexAttributes){ - - FLEX_MAPPER currMapper = currAttribute.byMethod() ? FLEX_MAPPER.FLEX_METHOD_MAPPER : FLEX_MAPPER.FLEX_ATTRIBUTE_MAPPER; - - try{ - TokenValue tokenValue = currMapper.mapField(currAttribute.attribute(), componentObj); - if(tokenValue != null){ - getTokenValueSet().add(tokenValue); - } - }catch(ComponentBuildException _componentBuildExcept){ - _log.debug("Exception thrown for [ Class : " + componentObj.getClass().getName() + ", replaceToken : " + currAttribute.attribute() + " ] "); - } - - } - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/AbstractFlexButtonTemplateRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/AbstractFlexButtonTemplateRenderer.java deleted file mode 100644 index ff9ee37c..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/AbstractFlexButtonTemplateRenderer.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component; - -import java.io.IOException; -import java.util.EnumSet; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; - -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent; -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent.EVENT_HANDLER_TYPE; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent.ACTION_SCRIPT_IMPORT; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractFlexButtonTemplateRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - - if(componentObj instanceof IFlexEvent){ - IFlexEvent flexEvent = IFlexEvent.class.cast( componentObj ); - EVENT_HANDLER_TYPE eventHandlerType = flexEvent.getEventHandlerType(); - AdditionalApplicationScriptContent additionalApplicationScriptContent = flexContext.getAdditionalAppScriptContent(); - EnumSet actionScriptImports = eventHandlerType.getActionScriptImports(); - - for(ACTION_SCRIPT_IMPORT currASImport : actionScriptImports){ - additionalApplicationScriptContent.addActionScriptImport(currASImport); - } - - additionalApplicationScriptContent.addEventHandler(flexEvent.getEventHandlerSrcId(), flexEvent.getEventHandlerTgtId(), flexEvent.getEventHandlerId(), - flexEvent.getEventHandlerType(), flexEvent.getEventHandlerEventName(), flexEvent.getAddtionalArguments()); - } - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/AbstractFlexComponentBaseRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/AbstractFlexComponentBaseRenderer.java deleted file mode 100644 index 40143daa..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/AbstractFlexComponentBaseRenderer.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component; - -import java.io.IOException; -import java.util.Set; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -import com.googlecode.jsfFlex.renderkit.FlexRendererBase; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexAttributeNode; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.beans.templates.TokenValue; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractFlexComponentBaseRenderer extends FlexRendererBase { - - private final static Log _log = LogFactory.getLog(AbstractFlexComponentBaseRenderer.class); - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - Set tokenValueSet = componentFlex.getAnnotationDocletParserInstance().getTokenValueSet(); - - for(UIComponent currChild : componentObj.getChildren()){ - if(currChild instanceof IFlexAttributeNode){ - IFlexAttributeNode currAttributeNode = IFlexAttributeNode.class.cast( currChild ); - addTokenValue(tokenValueSet, currAttributeNode.getName(), currAttributeNode.getValue()); - } - } - - } - - @Override - public void encodeEnd(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeEnd(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.getFlexTaskRunner().writeBodyContent(componentFlex); - - } - - private void addTokenValue(Set tokenValueSet, String attributeName, String attributeValue){ - tokenValueSet.add(new TokenValue(attributeName, attributeValue)); - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/AbstractFlexComponentRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/AbstractFlexComponentRenderer.java deleted file mode 100644 index 30318be1..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/AbstractFlexComponentRenderer.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; - -/** - * @author Ji Hoon Kim - */ -@IJsfFlexAttributeProperties(jsfFlexAttributes=@IJsfFlexAttribute(attribute="id", byMethod=true)) -public abstract class AbstractFlexComponentRenderer extends AbstractFlexComponentBaseRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(AbstractFlexComponentRenderer.class, componentObj, null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexAdditionalComponentRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexAdditionalComponentRenderer.java deleted file mode 100644 index 86a18fae..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexAdditionalComponentRenderer.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; -import java.lang.annotation.Annotation; -import java.util.Map; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.component.ext.AbstractFlexUIAdditionalComponent; -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.beans.templates.TokenValue; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexAdditionalComponent" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexAdditionalComponent" -) -public final class FlexAdditionalComponentRenderer extends AbstractFlexComponentBaseRenderer { - - private final static Log _log = LogFactory.getLog(FlexAdditionalComponentRenderer.class); - - private static final IFlexComponentNodeAttribute[] FLEX_COMPONENT_NODE_ATTRIBUTE_ARRAY = new IFlexComponentNodeAttribute[0]; - private static final IJsfFlexAttribute[] JSF_FLEX_ATTRIBUTE_ARRAY = new IJsfFlexAttribute[0]; - - /* - * Have to take care of attributes in a form of a HACK. So will fetch the corresponding component's attributes from a Map
      - * and create TokenValue objects from it. Also will fetch the corresponding component's name which will be passed to the createPreMxml method.
      - */ - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - AbstractFlexUIAdditionalComponent additionalComponent = AbstractFlexUIAdditionalComponent.class.cast( componentObj ); - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - - final String componentName = additionalComponent.getComponentName(); - final String componentNameSpace = additionalComponent.getComponentNameSpace(); - - IJsfFlexAttributeProperties jsfFlexAttributeProperties = new IJsfFlexAttributeProperties(){ - - /* - * TODO: - * Allow users to provide values for componentNodeAttributes, which will be read during - * Runtime time NOT Build time to create componentValueMapper.xml. In another words, - * allow user to map the values back to the bean for custom components. - */ - - public String componentName() { - return componentName; - } - - public String componentNameSpace() { - return componentNameSpace; - } - - public IFlexComponentNodeAttribute[] componentNodeAttributes() { - return FLEX_COMPONENT_NODE_ATTRIBUTE_ARRAY; - } - - public String[] componentPackages() { - return null; - } - - public IJsfFlexAttribute[] jsfFlexAttributes() { - return JSF_FLEX_ATTRIBUTE_ARRAY; - } - - public Class annotationType() { - return IJsfFlexAttributeProperties.class; - } - - }; - - writer.createPreMxml(additionalComponent, jsfFlexAttributeProperties, null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexApplicationRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexApplicationRenderer.java deleted file mode 100644 index 14d2d9fc..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexApplicationRenderer.java +++ /dev/null @@ -1,478 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Locale; -import java.util.Map; -import java.util.Set; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.context.ResponseWriter; -import javax.faces.render.FacesRenderer; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent; -import com.googlecode.jsfFlex.shared.beans.templates.TokenValue; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.util.FlexAttributeConstants; -import com.googlecode.jsfFlex.shared.util.FlexConstants; -import com.googlecode.jsfFlex.shared.util.FlexJsfUtil; - -/** - * Aside from its normal task of mapping the field to the Set and creating the preMxml file, FlexApplicationRenderer has
      - * an added responsibility of :
      - *
        - *
      • merging preMxml file into a single preMxml file. - *
      • creating an application MXML file. - *
      • extracting the flexSDK zip file. - *
      • creating necessary SWC source files. - *
      • creating system SWC file. - *
      • creating necessary application SWF source files. - *
      • and creating application SWF file. - *
      - * Other than merging of the preMxml file into a single preMxml file, all other tasks are performed by invoking processCreateSwf.
      - * - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexApplication", - type="com.googlecode.jsfFlex.FlexApplication" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexApplication", - rendererType="com.googlecode.jsfFlex.FlexApplication" -) -@IJsfFlexAttributeProperties( - componentName="Application", - componentNameSpace="s", - - jsfFlexAttributes=@IJsfFlexAttribute(attribute="initialize") -) -public final class FlexApplicationRenderer extends AbstractFlexComponentBaseRenderer { - - private final static Log _log = LogFactory.getLog(FlexApplicationRenderer.class); - - private static final String FLEX_APPLICATION_BODY_TEMPLATE = "FlexApplicationBody.vm"; - - private static final String TO_BE_CREATED_ADDITIONAL_APP_SCRIPT_CONTENT_TEMPLATE_SUFFIX = "AdditionalAppScriptContent.tmp"; - private static final String ADDITIONAL_APPLICATION_SCRIPT_CONTENT_TOKEN = "additionalApplicationScriptContent"; - - private final FlexApplicationHTMLRenderer _flexApplicationHtmlRenderer; - - { - _flexApplicationHtmlRenderer = new FlexApplicationHTMLRenderer(); - } - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - IFlexApplicationContract componentFlex = IFlexApplicationContract.class.cast( componentObj ); - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - - if(flexContext.isProductionEnv()){ - return; - } - - writer.unZipFlexSDK(componentFlex); - writer.mapFields(FlexApplicationRenderer.class, componentObj, null); - - /* - * Place in xmlns provided by the user + default for Flex application - */ - Set tokenValueSet = componentFlex.getAnnotationDocletParserInstance().getTokenValueSet(); - TokenValue width = new TokenValue("width", null); - TokenValue height = new TokenValue("height", null); - for(TokenValue currTokenValue : tokenValueSet){ - if(currTokenValue.equals(width)){ - componentObj.getAttributes().put("width", currTokenValue.getValue()); - } - if(currTokenValue.equals(height)){ - componentObj.getAttributes().put("height", currTokenValue.getValue()); - } - } - - Map xmlnsMap = componentFlex.getXmlnsMap(); - for(String currXmlnsKey : xmlnsMap.keySet()){ - String currXmlnsValue = xmlnsMap.get(currXmlnsKey); - tokenValueSet.add(new TokenValue(currXmlnsKey, currXmlnsValue)); - } - - } - - @Override - public void encodeEnd(FacesContext context, UIComponent componentObj) throws IOException { - - IFlexApplicationContract componentFlex = IFlexApplicationContract.class.cast( componentObj ); - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - String mxmlFile = flexContext.getMxmlPath() + flexContext.getCurrMxml() + FlexConstants.MXML_FILE_EXT; - Map multiLingualSupportMap = writer.getMultiLingualSupportMap(); - - if(!flexContext.isProductionEnv()){ - //means it is of debugMode, so must create mxml and etcetera - - /* Beginning of creating application body content dynamically [since need to allow additional application script content] */ - AdditionalApplicationScriptContent additionalAppScriptContent = flexContext.getAdditionalAppScriptContent(); - String filePath = flexContext.getPreMxmlPath() + flexContext.getCurrMxml() + TO_BE_CREATED_ADDITIONAL_APP_SCRIPT_CONTENT_TEMPLATE_SUFFIX; - Map tokenMap = new HashMap(); - tokenMap.put(ADDITIONAL_APPLICATION_SCRIPT_CONTENT_TOKEN, additionalAppScriptContent); - writer.createFileContent(filePath, FLEX_APPLICATION_BODY_TEMPLATE, null, tokenMap); - - String bodyContent = writer.readFileContent(filePath); - writer.createPreMxml(componentFlex, FlexApplicationRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), bodyContent); - /* End of creating application body content dynamicall */ - - Map> preMxmlMap = flexContext.getPreMxmlCompMap(); - - if(preMxmlMap.keySet().size() > 0){ - - //Application must be a top component with others as children component - for(Integer currMajor : preMxmlMap.keySet()){ - Set siblingSet = preMxmlMap.get(currMajor); - - for(IFlexContract currComp : siblingSet){ - - if(currComp.getMinorLevel() == 0){ - writer.replaceTokenWithValue(componentFlex.getAbsolutePathToPreMxmlFile(), writer.readFileContent(currComp.getAbsolutePathToPreMxmlFile()), - writer.childReplaceTokenWithPreMxmlIdentifier(currComp)); - - _log.debug("Replacing token with value as a child for " + currComp.getAbsolutePathToPreMxmlFile()); - }else{ - writer.replaceTokenWithValue(componentFlex.getAbsolutePathToPreMxmlFile(), writer.readFileContent(currComp.getAbsolutePathToPreMxmlFile()), - writer.siblingReplaceTokenWithPreMxmlIdentifier(currComp)); - _log.debug("Replacing token with value as a sibling for " + currComp.getAbsolutePathToPreMxmlFile()); - } - - } - - } - - writer.processCreateSwf(mxmlFile, componentFlex, multiLingualSupportMap); - - } - //finished with all tasks, so clear all future tasks if they have not been cleared yet - writer.shutDownFutureTasks(); - } - - _flexApplicationHtmlRenderer.renderHtmlContent(context, componentObj, multiLingualSupportMap); - - } - - private final class FlexApplicationHTMLRenderer { - - private static final String APP_ID = "appId"; - private static final String NAMING_CONTAINER_PREFIX = "namingContainerPrefix"; - private static final String INIT_VALUE_OBJECTS = "initValueObjects"; - - private static final String JS_ADD_EVENT_LISTENER = "com.googlecode.jsfFlex.communication.core.domHelpers.addEventListener"; - private static final String JS_COMMUNICATION_CORE_NS = "com.googlecode.jsfFlex.communication.core"; - private static final String JS_COMMUNICATION_CORE_PAGE_LOAD_NS = "com.googlecode.jsfFlex.communication.core.pageLoad"; - - private void renderHtmlContent(FacesContext context, UIComponent component, Map multiLingualSupportMap) throws IOException { - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - com.googlecode.jsfFlex.component.ext.FlexUIApplication appComponent = - com.googlecode.jsfFlex.component.ext.FlexUIApplication.class.cast( component ); - - Map> preMxmlCompMap = flexContext.getPreMxmlCompMap(); - preMxmlCompMap.clear(); - - ResponseWriter writer = context.getResponseWriter(); - - writer.startElement(FlexAttributeConstants.SCRIPT_ELEM, component); - writer.writeAttribute(FlexAttributeConstants.SCRIPT_TYPE_ATTR, FlexAttributeConstants.SCRIPT_TYPE_TEXT_JAVASCRIPT, null); - - //print out the JSON objects here - StringBuilder toWrite = new StringBuilder(); - - toWrite.append(JS_ADD_EVENT_LISTENER); - toWrite.append("(window, 'load', null, function(){"); - toWrite.append(JS_COMMUNICATION_CORE_NS); - toWrite.append(".addFlashApp("); - - toWrite.append(getComponentInitValues(context, component)); - - toWrite.append(");"); - toWrite.append("}, null, false, true);"); - - toWrite.append(JS_ADD_EVENT_LISTENER); - toWrite.append("(window, 'load', null, "); - toWrite.append(JS_COMMUNICATION_CORE_PAGE_LOAD_NS); - toWrite.append(", null, false, true);"); - writer.write(toWrite.toString()); - writer.endElement(FlexAttributeConstants.SCRIPT_ELEM); - - String swfFile = getLocaleSwfFile(flexContext, context, appComponent, multiLingualSupportMap); - - writeHTMLSWF(writer, appComponent, swfFile); - - } - - private String getLocaleSwfFile(AbstractFlexContext flexContext, FacesContext context, - com.googlecode.jsfFlex.component.ext.FlexUIApplication appComponent, Map multiLingualSupportMap){ - - String localeWebContextPath = flexContext.getLocaleWebContextPath(); - String swfFile = null; - - if(localeWebContextPath == null){ - swfFile = flexContext.getApplicationSwfWebPath() + appComponent.getMxmlPackageName() + FlexConstants.SWF_FILE_EXT; - }else{ - - Locale preferredLocale = context.getExternalContext().getRequestLocale(); - - String languageMatch = preferredLocale.getLanguage(); - languageMatch = languageMatch == null ? "" : languageMatch.toUpperCase().trim(); - - String countryMatch = preferredLocale.getCountry(); - countryMatch = countryMatch == null ? "" : countryMatch.toUpperCase().trim(); - int countryMatchLength = countryMatch.length(); - - String defaultLocale = context.getExternalContext().getInitParameter(FlexConstants.DEFAULT_LOCALE); - defaultLocale = defaultLocale != null ? defaultLocale : ""; - String defaultLocalePath = flexContext.getApplicationSwfWebPath() + appComponent.getMxmlPackageName() + - FlexConstants.SWF_FILE_NAME_LOCALE_SEPARATOR + defaultLocale + FlexConstants.SWF_FILE_EXT; - String closestMatch = null; - for(String currCountryLocale : multiLingualSupportMap.keySet()){ - String currCountryLocaleMatch = currCountryLocale.toUpperCase().trim(); - - if(currCountryLocaleMatch.indexOf(languageMatch) == 0){ - closestMatch = flexContext.getApplicationSwfWebPath() + appComponent.getMxmlPackageName() + - FlexConstants.SWF_FILE_NAME_LOCALE_SEPARATOR + currCountryLocale + FlexConstants.SWF_FILE_EXT; - - int matchIndex = currCountryLocaleMatch.indexOf(countryMatch); - if((matchIndex > -1 && (matchIndex + countryMatchLength) == currCountryLocaleMatch.length())){ - swfFile = closestMatch; - break; - } - } - - } - - if(swfFile == null){ - swfFile = closestMatch != null ? closestMatch : defaultLocalePath; - } - - } - - return swfFile; - } - - private JSONObject buildJSONObjectSwfHTMLWrapperContent(com.googlecode.jsfFlex.component.ext.FlexUIApplication appComponent, String swfFile) throws JSONException { - - JSONObject swfHTMLWrapperContent = appComponent.getSwfHTMLWrapperContent(); - if(swfHTMLWrapperContent == null) { - swfHTMLWrapperContent = new JSONObject(); - } - - JSONObject objectElement = null; - - try{ - objectElement = swfHTMLWrapperContent.getJSONObject("object"); - }catch(JSONException jsonException) { - objectElement = new JSONObject(); - swfHTMLWrapperContent.put("object", objectElement); - } - - objectElement.put(FlexAttributeConstants.ID_ATTR, appComponent.getMxmlPackageName()); - - Object heightO = appComponent.getAttributes().get(FlexAttributeConstants.HEIGHT_ATTR); - Object widthO = appComponent.getAttributes().get(FlexAttributeConstants.WIDTH_ATTR); - - String height = (heightO == null) ? "100%" : String.class.cast( heightO ); - String width = (widthO == null) ? "100%" : String.class.cast( widthO ); - - objectElement.put(FlexAttributeConstants.HEIGHT_ATTR, height); - objectElement.put(FlexAttributeConstants.WIDTH_ATTR, width); - - /* - * For below check if the property exists and if not, provide the system default value - */ - try{ - objectElement.getString("classid"); - }catch(JSONException jsonException) { - objectElement.put("classid", FlexConstants.CLASS_ID); - } - - try{ - objectElement.getString("codebase"); - }catch(JSONException jsonException) { - objectElement.put("codebase", FlexConstants.CODE_BASE); - } - - JSONObject objectEmbed = null; - try{ - objectEmbed = objectElement.getJSONObject("embed"); - }catch(JSONException jsonException) { - objectEmbed = new JSONObject(); - objectElement.put("embed", objectEmbed); - } - - objectEmbed.put(FlexAttributeConstants.NAME_ATTR, appComponent.getMxmlPackageName()); - objectEmbed.put(FlexAttributeConstants.SRC_ATTR, swfFile); - objectEmbed.put(FlexAttributeConstants.HEIGHT_ATTR, height); - objectEmbed.put(FlexAttributeConstants.WIDTH_ATTR, width); - - try{ - objectEmbed.getString("allowScriptAccess"); - }catch(JSONException jsonException) { - objectEmbed.put("allowScriptAccess", "sameDomain"); - } - - try{ - objectEmbed.getString("pluginspage"); - }catch(JSONException jsonException) { - objectEmbed.put("pluginspage", FlexConstants.PLUGINS_PAGE); - } - - JSONArray paramList = null; - try{ - paramList = objectElement.getJSONArray("param"); - }catch(JSONException jsonException) { - paramList = new JSONArray(); - /* - * If one provides param, one should provide the value of allowScriptAccess - */ - - JSONObject paramAllowScriptAccess = new JSONObject(); - paramAllowScriptAccess.put(FlexAttributeConstants.NAME_ATTR, "allowScriptAccess"); - paramAllowScriptAccess.put(FlexAttributeConstants.VALUE_ATTR, "sameDomain"); - paramList.put(paramAllowScriptAccess); - - objectElement.put("param", paramList); - } - - JSONObject paramSrc = new JSONObject(); - paramSrc.put(FlexAttributeConstants.NAME_ATTR, "src"); - paramSrc.put(FlexAttributeConstants.VALUE_ATTR, swfFile); - paramList.put(paramSrc); - - return swfHTMLWrapperContent; - } - - private void parseJSONObjectPrintHTMLSWF(ResponseWriter writer, com.googlecode.jsfFlex.component.ext.FlexUIApplication appComponent, - JSONObject object) throws JSONException, IOException { - - Map jsonArrays = new HashMap(); - Map jsonObjects = new HashMap(); - for(Iterator keysIterate = object.keys(); keysIterate.hasNext();) { - String key = keysIterate.next().toString(); - Object value = object.get(key); - - if(value instanceof JSONObject) { - JSONObject objectEntry = JSONObject.class.cast( value ); - jsonObjects.put(key, objectEntry); - }else if(value instanceof JSONArray) { - JSONArray array = JSONArray.class.cast( value ); - jsonArrays.put(key, array); - }else { - writer.writeAttribute(key, value.toString(), null); - } - } - - /* - * Since one has to set all the attributes of an element prior to starting - * a new element, below data structure are used. Personally would have liked it - * if JSF kept track of which element was still open, but whatever - */ - for(String key : jsonArrays.keySet()) { - JSONArray array = jsonArrays.get(key); - for(int i=0; i < array.length(); i++) { - writer.startElement(key, appComponent); - parseJSONObjectPrintHTMLSWF(writer, appComponent, array.getJSONObject(i)); - writer.endElement(key); - } - } - - for(String key : jsonObjects.keySet()) { - JSONObject objectEntry = jsonObjects.get(key); - writer.startElement(key, appComponent); - parseJSONObjectPrintHTMLSWF(writer, appComponent, objectEntry); - writer.endElement(key); - } - - } - - private void writeHTMLSWF(ResponseWriter writer, com.googlecode.jsfFlex.component.ext.FlexUIApplication appComponent, - String swfFile) throws IOException{ - - JSONObject swfHTMLWrapperContent = new JSONObject(); - - try{ - swfHTMLWrapperContent = buildJSONObjectSwfHTMLWrapperContent(appComponent, swfFile); - parseJSONObjectPrintHTMLSWF(writer, appComponent, swfHTMLWrapperContent); - }catch(JSONException jsonException) { - throw new IOException(jsonException); - } - - } - - private String getComponentInitValues(FacesContext context, UIComponent component) { - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - List applicationInitValueList = flexContext.getApplicationInitValueList(); - - JSONObject flashAppObject = new JSONObject(); - - try{ - flashAppObject.put(APP_ID, flexContext.getCurrMxml()); - flashAppObject.put(NAMING_CONTAINER_PREFIX, FlexJsfUtil.retrieveFormId( component.getClientId(context) )); - - if(applicationInitValueList.size() > 0){ - - JSONArray initValueObjects = new JSONArray(); - flashAppObject.put(INIT_VALUE_OBJECTS, initValueObjects); - - for(JSONObject currComponentObject : applicationInitValueList){ - initValueObjects.put(currComponentObject); - } - - } - - }catch(JSONException jsonException){ - _log.info("Error while generating JSON content", jsonException); - } - - return flashAppObject.toString(); - } - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexButtonBarRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexButtonBarRenderer.java deleted file mode 100644 index 7cd3b00b..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexButtonBarRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexButtonBar" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexButtonBar" -) -@IJsfFlexAttributeProperties( - componentName="ButtonBar", - componentNameSpace="s" -) -public final class FlexButtonBarRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexButtonBarRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexButtonRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexButtonRenderer.java deleted file mode 100644 index aae91969..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexButtonRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexButtonTemplateRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexCommandBase", - type="com.googlecode.jsfFlex.FlexButton" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexCommandBase", - rendererType="com.googlecode.jsfFlex.FlexButton" -) -@IJsfFlexAttributeProperties( - componentName="Button", - componentNameSpace="s" -) -public final class FlexButtonRenderer extends AbstractFlexButtonTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexButtonRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexCheckBoxRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexCheckBoxRenderer.java deleted file mode 100644 index 8a960a3a..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexCheckBoxRenderer.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexCheckBox" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexCheckBox" -) -@IJsfFlexAttributeProperties( - componentName="CheckBox", - componentNameSpace="s", - componentPackages={"spark.components", "mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selected", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selected") - } -) -public final class FlexCheckBoxRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexCheckBoxRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexColorPickerRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexColorPickerRenderer.java deleted file mode 100644 index 4734bb79..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexColorPickerRenderer.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexColorPicker" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexColorPicker" -) -@IJsfFlexAttributeProperties( - componentName="ColorPicker", - componentPackages={"mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedColor", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedColor") - } -) -public final class FlexColorPickerRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexColorPickerRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexComboBoxRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexComboBoxRenderer.java deleted file mode 100644 index a2218734..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexComboBoxRenderer.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexComboBox" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexComboBox" -) -@IJsfFlexAttributeProperties( - componentName="ComboBox", - componentNameSpace="s", - componentPackages={"spark.components", "mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="text", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_text"), - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedIndex", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedIndex") - } -) -public final class FlexComboBoxRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexComboBoxRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDataGridColumnRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDataGridColumnRenderer.java deleted file mode 100644 index 269d7d7b..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDataGridColumnRenderer.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexDataGridColumn" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexDataGridColumn" -) -@IJsfFlexAttributeProperties( - componentName="DataGridColumn", - - jsfFlexAttributes={ - @IJsfFlexAttribute(attribute="dataField", byMethod=true), - @IJsfFlexAttribute(attribute="editable", byMethod=true) - } -) -public final class FlexDataGridColumnRenderer extends AbstractFlexComponentBaseRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexDataGridColumnRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexDataGridColumnRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDataGridRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDataGridRenderer.java deleted file mode 100644 index ab164b00..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDataGridRenderer.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexUIPreserveInServer", - type="com.googlecode.jsfFlex.FlexDataGrid" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexUIPreserveInServer", - rendererType="com.googlecode.jsfFlex.FlexDataGrid" -) -@IJsfFlexAttributeProperties( - componentName="DataGrid", - - jsfFlexAttributes={ - @IJsfFlexAttribute(attribute="rowCount", byMethod=true), - @IJsfFlexAttribute(attribute="editable", byMethod=true), - @IJsfFlexAttribute(attribute="dataProvider", byMethod=true) - } -) -public final class FlexDataGridRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexDataGridRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexDataGridRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDateChooserRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDateChooserRenderer.java deleted file mode 100644 index 597c1d24..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDateChooserRenderer.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexDateChooser" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexDateChooser" -) -@IJsfFlexAttributeProperties( - componentName="DateChooser", - componentPackages={"mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedDate", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedDate") - } -) -public final class FlexDateChooserRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexDateChooserRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDateFieldRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDateFieldRenderer.java deleted file mode 100644 index a23d509c..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDateFieldRenderer.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexDateField" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexDateField" -) -@IJsfFlexAttributeProperties( - componentName="DateField", - componentPackages={"mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="text", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_text"), - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedDate", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedDate") - } -) -public final class FlexDateFieldRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexDateFieldRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDropDownListRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDropDownListRenderer.java deleted file mode 100644 index 4ec79810..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexDropDownListRenderer.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexDropDownList" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexDropDownList" -) -@IJsfFlexAttributeProperties( - componentName="DropDownList", - componentPackages={"spark.components"}, - componentNameSpace="s", - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedIndex", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedIndex") - } -) -public final class FlexDropDownListRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexDropDownListRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexHRuleRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexHRuleRenderer.java deleted file mode 100644 index 8fed59ca..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexHRuleRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexHRule" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexHRule" -) -@IJsfFlexAttributeProperties(componentName="HRule") -public final class FlexHRuleRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexHRuleRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexHScrollBarRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexHScrollBarRenderer.java deleted file mode 100644 index 890daed1..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexHScrollBarRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexHScrollBar" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexHScrollBar" -) -@IJsfFlexAttributeProperties( - componentName="HScrollBar", - componentNameSpace="s" -) -public final class FlexHScrollBarRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexHScrollBarRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexHSliderRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexHSliderRenderer.java deleted file mode 100644 index 906501d5..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexHSliderRenderer.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexHSlider" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexHSlider" -) -@IJsfFlexAttributeProperties( - componentName="HSlider", - componentPackages={"spark.components", "mx.controls"}, - componentNameSpace="s", - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="value", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_value") - } -) -public final class FlexHSliderRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexHSliderRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexHorizontalListRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexHorizontalListRenderer.java deleted file mode 100644 index d30315bf..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexHorizontalListRenderer.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexHorizontalList" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexHorizontalList" -) -@IJsfFlexAttributeProperties( - componentName="HorizontalList", - componentPackages={"mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedIndex", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedIndex") - } -) -public final class FlexHorizontalListRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexHorizontalListRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexImageRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexImageRenderer.java deleted file mode 100644 index 1065bb21..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexImageRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexImage" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexImage" -) -@IJsfFlexAttributeProperties(componentName="Image") -public final class FlexImageRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexImageRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexLabelRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexLabelRenderer.java deleted file mode 100644 index ec5f955c..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexLabelRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexOutput", - type="com.googlecode.jsfFlex.FlexLabel" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexOutput", - rendererType="com.googlecode.jsfFlex.FlexLabel" -) -@IJsfFlexAttributeProperties( - componentName="Label", - componentNameSpace="s" -) -public final class FlexLabelRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexLabelRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexLinkBarRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexLinkBarRenderer.java deleted file mode 100644 index ac6457f3..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexLinkBarRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexLinkBar" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexLinkBar" -) -@IJsfFlexAttributeProperties(componentName="LinkBar") -public final class FlexLinkBarRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexLinkBarRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexLinkButtonRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexLinkButtonRenderer.java deleted file mode 100644 index 63d2b441..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexLinkButtonRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexButtonTemplateRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexCommandBase", - type="com.googlecode.jsfFlex.FlexLinkButton" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexCommandBase", - rendererType="com.googlecode.jsfFlex.FlexLinkButton" -) -@IJsfFlexAttributeProperties(componentName="LinkButton") -public final class FlexLinkButtonRenderer extends AbstractFlexButtonTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexLinkButtonRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexListRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexListRenderer.java deleted file mode 100644 index c795fd6d..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexListRenderer.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexList" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexList" -) -@IJsfFlexAttributeProperties( - componentName="List", - componentNameSpace="s", - componentPackages={"spark.components", "mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedIndex", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedIndex") - } -) -public final class FlexListRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexListRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexMenuBarRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexMenuBarRenderer.java deleted file mode 100644 index e984fef9..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexMenuBarRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimpleBase", - type="com.googlecode.jsfFlex.FlexMenuBar" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimpleBase", - rendererType="com.googlecode.jsfFlex.FlexMenuBar" -) -@IJsfFlexAttributeProperties(componentName="MenuBar") -public final class FlexMenuBarRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexMenuBarRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexNumericStepperRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexNumericStepperRenderer.java deleted file mode 100644 index d63a488f..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexNumericStepperRenderer.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexNumericStepper" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexNumericStepper" -) -@IJsfFlexAttributeProperties( - componentName="NumericStepper", - componentNameSpace="s", - componentPackages={"spark.components", "mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="value", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_value") - } -) -public final class FlexNumericStepperRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexNumericStepperRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexPopUpAnchorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexPopUpAnchorRenderer.java deleted file mode 100644 index 3e5ad214..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexPopUpAnchorRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexPopUpAnchor" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexPopUpAnchor" -) -@IJsfFlexAttributeProperties( - componentName="PopUpAnchor", - componentNameSpace="s" -) -public final class FlexPopUpAnchorRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexPopUpAnchorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexPopUpButtonRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexPopUpButtonRenderer.java deleted file mode 100644 index 6a51a694..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexPopUpButtonRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexPopUpButton" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexPopUpButton" -) -@IJsfFlexAttributeProperties(componentName="PopUpButton") -public final class FlexPopUpButtonRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexPopUpButtonRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexPopUpMenuButtonRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexPopUpMenuButtonRenderer.java deleted file mode 100644 index 2f14c90d..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexPopUpMenuButtonRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexPopUpMenuButton" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexPopUpMenuButton" -) -@IJsfFlexAttributeProperties(componentName="PopUpMenuButton") -public final class FlexPopUpMenuButtonRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexPopUpMenuButtonRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexProgressBarRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexProgressBarRenderer.java deleted file mode 100644 index 7848b078..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexProgressBarRenderer.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexProgressBar" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexProgressBar" -) -@IJsfFlexAttributeProperties( - componentName="ProgressBar", - componentPackages={"mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="value", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_value") - } -) -public final class FlexProgressBarRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexProgressBarRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexRadioButtonRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexRadioButtonRenderer.java deleted file mode 100644 index 061e9e7d..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexRadioButtonRenderer.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexRadioButton" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexRadioButton" -) -@IJsfFlexAttributeProperties( - componentName="RadioButton", - componentNameSpace="s", - componentPackages={"spark.components", "mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - isValueDynamic=true, - isValueNested=true, - valueNestedValues={"group", "selectedValue"}, - nameAttributeValue="groupName", - isNameDynamic=true, - nameAppend="_selectedValue"), - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selected", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selected") - } -) -public final class FlexRadioButtonRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexRadioButtonRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexRichEditableTextRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexRichEditableTextRenderer.java deleted file mode 100644 index baafb361..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexRichEditableTextRenderer.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexRichEditableText" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexRichEditableText" -) -@IJsfFlexAttributeProperties( - componentName="RichEditableText", - componentPackages={"spark.components"}, - componentNameSpace="s", - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="text", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_text") - } -) -public final class FlexRichEditableTextRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexRichEditableTextRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexRichTextEditorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexRichTextEditorRenderer.java deleted file mode 100644 index 8f39b357..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexRichTextEditorRenderer.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexRichTextEditor" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexRichTextEditor" -) -@IJsfFlexAttributeProperties( - componentName="RichTextEditor", - componentPackages={"mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="text", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_text"), - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="htmlText", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_htmlText") - } -) -public final class FlexRichTextEditorRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexRichTextEditorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexRichTextRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexRichTextRenderer.java deleted file mode 100644 index 705c76a4..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexRichTextRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexOutput", - type="com.googlecode.jsfFlex.FlexRichText" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexOutput", - rendererType="com.googlecode.jsfFlex.FlexRichText" -) -@IJsfFlexAttributeProperties( - componentName="RichText", - componentNameSpace="s" -) -public final class FlexRichTextRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexRichTextRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexScriptRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexScriptRenderer.java deleted file mode 100644 index fd4060bc..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexScriptRenderer.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexScript" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexScript" -) -@IJsfFlexAttributeProperties( - componentName="Script", - componentNameSpace="fx" -) -public final class FlexScriptRenderer extends AbstractFlexComponentBaseRenderer { - - private static final String FLEX_SCRIPT_BODY_TEMPLATE; - - static{ - //TODO : find a better method to implement the below tasks - String packageName = FlexScriptRenderer.class.getPackage().getName(); - packageName = packageName.replace('.', '/'); - FLEX_SCRIPT_BODY_TEMPLATE = packageName + "/templates/FlexScriptBody.template"; - } - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - - String bodyContent = writer.getComponentTemplate(FlexScriptRenderer.class.getClassLoader(), FLEX_SCRIPT_BODY_TEMPLATE); - - writer.createPreMxml(componentFlex, FlexScriptRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - bodyContent); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexScrollerRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexScrollerRenderer.java deleted file mode 100644 index c3febbfe..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexScrollerRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexScroller" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexScroller" -) -@IJsfFlexAttributeProperties( - componentName="Scroller", - componentNameSpace="s" -) -public final class FlexScrollerRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexScrollerRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexSpacerRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexSpacerRenderer.java deleted file mode 100644 index 1d248ebe..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexSpacerRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSpacer" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSpacer" -) -@IJsfFlexAttributeProperties(componentName="Spacer") -public final class FlexSpacerRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexSpacerRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexSpinnerRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexSpinnerRenderer.java deleted file mode 100644 index 05aef1c5..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexSpinnerRenderer.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexSpinner" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexSpinner" -) -@IJsfFlexAttributeProperties( - componentName="Spinner", - componentNameSpace="s", - componentPackages={"spark.components"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="value", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_value") - } -) -public final class FlexSpinnerRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexSpinnerRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexSwfLoaderRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexSwfLoaderRenderer.java deleted file mode 100644 index 460fea33..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexSwfLoaderRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSWFLoader" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSWFLoader" -) -@IJsfFlexAttributeProperties(componentName="SWFLoader") -public final class FlexSwfLoaderRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexSwfLoaderRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTextAreaRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTextAreaRenderer.java deleted file mode 100644 index a1016938..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTextAreaRenderer.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexTextArea" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexTextArea" -) -@IJsfFlexAttributeProperties( - componentName="TextArea", - componentNameSpace="s", - componentPackages={"spark.components", "mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="text", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_text"), - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="htmlText", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_htmlText") - } -) -public final class FlexTextAreaRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexTextAreaRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTextInputRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTextInputRenderer.java deleted file mode 100644 index 6e06809a..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTextInputRenderer.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexTextInput" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexTextInput" -) -@IJsfFlexAttributeProperties( - componentName="TextInput", - componentNameSpace="s", - componentPackages={"spark.components", "mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="text", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_text"), - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="htmlText", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_htmlText") - } -) -public final class FlexTextInputRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexTextInputRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTextRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTextRenderer.java deleted file mode 100644 index e5c54e3e..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTextRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexOutput", - type="com.googlecode.jsfFlex.FlexText" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexOutput", - rendererType="com.googlecode.jsfFlex.FlexText" -) -@IJsfFlexAttributeProperties(componentName="Text") -public final class FlexTextRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexTextRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTileListRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTileListRenderer.java deleted file mode 100644 index 28c30ea3..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTileListRenderer.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexTileList" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexTileList" -) -@IJsfFlexAttributeProperties( - componentName="TileList", - componentPackages={"mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedIndex", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedIndex") - } -) -public final class FlexTileListRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexTileListRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexToggleButtonBarRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexToggleButtonBarRenderer.java deleted file mode 100644 index 1005dae1..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexToggleButtonBarRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexToggleButtonBar" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexToggleButtonBar" -) -@IJsfFlexAttributeProperties(componentName="ToggleButtonBar") -public final class FlexToggleButtonBarRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexToggleButtonBarRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexToggleButtonRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexToggleButtonRenderer.java deleted file mode 100644 index ff10dc96..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexToggleButtonRenderer.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexToggleButton" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexToggleButton" -) -@IJsfFlexAttributeProperties( - componentName="ToggleButton", - componentNameSpace="s", - componentPackages={"spark.components", "mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selected", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selected") - } -) -public final class FlexToggleButtonRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexToggleButtonRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTreeRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTreeRenderer.java deleted file mode 100644 index 85d1a6d6..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexTreeRenderer.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexTree" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexTree" -) -@IJsfFlexAttributeProperties( - componentName="Tree", - componentPackages={"mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedIndex", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedIndex"), - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - isValueDynamic=true, - isValueNested=true, - valueNestedValues={"selectedItem", "@label"}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedLabel") - } -) -public final class FlexTreeRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexTreeRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVRuleRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVRuleRenderer.java deleted file mode 100644 index 4543ef03..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVRuleRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexVRule" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexVRule" -) -@IJsfFlexAttributeProperties(componentName="VRule") -public final class FlexVRuleRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexVRuleRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVScrollBarRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVScrollBarRenderer.java deleted file mode 100644 index 4c89e7ea..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVScrollBarRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexVScrollBar" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexVScrollBar" -) -@IJsfFlexAttributeProperties( - componentName="VScrollBar", - componentNameSpace="s" -) -public final class FlexVScrollBarRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexVScrollBarRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVSliderRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVSliderRenderer.java deleted file mode 100644 index 313b1b8d..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVSliderRenderer.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexVSlider" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexVSlider" -) -@IJsfFlexAttributeProperties( - componentName="VSlider", - componentNameSpace="s", - componentPackages={"spark.components", "mx.controls"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="value", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_value") - } -) -public final class FlexVSliderRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexVSliderRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVideoDisplayRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVideoDisplayRenderer.java deleted file mode 100644 index 3431c91c..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVideoDisplayRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexVideoDisplay" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexVideoDisplay" -) -@IJsfFlexAttributeProperties( - componentName="VideoDisplay", - componentNameSpace="s" -) -public final class FlexVideoDisplayRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexVideoDisplayRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVideoPlayerRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVideoPlayerRenderer.java deleted file mode 100644 index 42099af4..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/FlexVideoPlayerRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexVideoPlayer" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexVideoPlayer" -) -@IJsfFlexAttributeProperties( - componentName="VideoPlayer", - componentNameSpace="s" -) -public final class FlexVideoPlayerRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexVideoPlayerRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexArrayCollectionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexArrayCollectionRenderer.java deleted file mode 100644 index 7491b907..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexArrayCollectionRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.data.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexArrayCollection" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexArrayCollection" -) -@IJsfFlexAttributeProperties(componentName="ArrayCollection") -public final class FlexArrayCollectionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexArrayCollectionRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexArrayCollectionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexArrayRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexArrayRenderer.java deleted file mode 100644 index 15ea0d15..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexArrayRenderer.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.data.ext; - -import java.io.IOException; -import java.io.Writer; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.component.ext.data.ext.AbstractFlexUIArray; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexArray" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexArray" -) -@IJsfFlexAttributeProperties( - componentName="Array", - componentNameSpace="fx" -) -public final class FlexArrayRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexArrayRenderer.class, componentObj, null); - - } - - @Override - public void encodeEnd(FacesContext context, UIComponent componentObj) throws IOException { - - AbstractFlexUIArray componentFlex = AbstractFlexUIArray.class.cast( componentObj ); - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - - String currBodyContentFilePath = componentFlex.getCurrBodyContentFilePath(); - String bodyContent = null; - - if(currBodyContentFilePath != null){ - Writer bodyContentWriter = componentFlex.getCurrBodyContentBufferedWriter(); - - bodyContentWriter.flush(); - bodyContentWriter.close(); - bodyContent = writer.readFileContent(componentFlex.getCurrBodyContentFilePath()); - - } - - writer.createPreMxml(componentFlex, FlexArrayRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - bodyContent); - - super.encodeEnd(context, componentObj); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexListCollectionViewRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexListCollectionViewRenderer.java deleted file mode 100644 index 8ae85d64..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexListCollectionViewRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.data.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexListCollectionView" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexListCollectionView" -) -@IJsfFlexAttributeProperties(componentName="ListCollectionView") -public final class FlexListCollectionViewRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexListCollectionViewRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexListCollectionViewRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexObjectRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexObjectRenderer.java deleted file mode 100644 index e4cc451d..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexObjectRenderer.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.data.ext; - -import java.io.IOException; -import java.io.Writer; -import java.util.List; -import java.util.Set; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.component.ext.data.ext.AbstractFlexUIObject; -import com.googlecode.jsfFlex.component.ext.data.ext.properties.ext.AbstractFlexUIObjectStaticProperty; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.beans.templates.TokenValue; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexObject" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexObject" -) -@IJsfFlexAttributeProperties( - componentName="Object", - componentNameSpace="fx" -) -public final class FlexObjectRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexObjectRenderer.class, componentObj, null); - - Set tokenValueSet = componentFlex.getAnnotationDocletParserInstance().getTokenValueSet(); - List children = componentObj.getChildren(); - for(UIComponent currComponent : children){ - AbstractFlexUIObjectStaticProperty currObjectProperty = AbstractFlexUIObjectStaticProperty.class.cast( currComponent ); - tokenValueSet.add(new TokenValue(currObjectProperty.getStaticPropertyName(), currObjectProperty.getStaticPropertyValue())); - } - - } - - @Override - public void encodeEnd(FacesContext context, UIComponent componentObj) throws IOException { - - AbstractFlexUIObject componentFlex = AbstractFlexUIObject.class.cast( componentObj ); - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - - String currBodyContentFilePath = componentFlex.getCurrBodyContentFilePath(); - String bodyContent = null; - - if(currBodyContentFilePath != null){ - Writer bodyContentWriter = componentFlex.getCurrBodyContentBufferedWriter(); - - bodyContentWriter.flush(); - bodyContentWriter.close(); - bodyContent = writer.readFileContent(componentFlex.getCurrBodyContentFilePath()); - - } - - writer.createPreMxml(componentFlex, FlexObjectRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - bodyContent); - - super.encodeEnd(context, componentObj); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexXMLListCollectionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexXMLListCollectionRenderer.java deleted file mode 100644 index bcd500e2..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexXMLListCollectionRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.data.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexXMLListCollection" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexXMLListCollection" -) -@IJsfFlexAttributeProperties(componentName="XMLListCollection") -public final class FlexXMLListCollectionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexXMLListCollectionRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexXMLListCollectionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexXMLListRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexXMLListRenderer.java deleted file mode 100644 index e0e8663d..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexXMLListRenderer.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.data.ext; - -import java.io.IOException; -import java.io.Writer; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.component.ext.data.ext.AbstractFlexUIXMLList; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexXMLList" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexXMLList" -) -@IJsfFlexAttributeProperties( - componentName="XMLList", - componentNameSpace="fx" -) -public final class FlexXMLListRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexXMLListRenderer.class, componentObj, null); - - } - - @Override - public void encodeEnd(FacesContext context, UIComponent componentObj) throws IOException { - - AbstractFlexUIXMLList componentFlex = AbstractFlexUIXMLList.class.cast( componentObj ); - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - - String currBodyContentFilePath = componentFlex.getCurrBodyContentFilePath(); - String bodyContent = null; - - if(currBodyContentFilePath != null){ - Writer bodyContentWriter = componentFlex.getCurrBodyContentBufferedWriter(); - - bodyContentWriter.flush(); - bodyContentWriter.close(); - bodyContent = writer.readFileContent(componentFlex.getCurrBodyContentFilePath()); - - } - - writer.createPreMxml(componentFlex, FlexXMLListRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - bodyContent); - - super.encodeEnd(context, componentObj); - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexXMLRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexXMLRenderer.java deleted file mode 100644 index 1e8f134c..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/data/ext/FlexXMLRenderer.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.data.ext; - -import java.io.IOException; -import java.io.Writer; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.component.ext.data.ext.AbstractFlexUIXML; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexXML" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexXML" -) -@IJsfFlexAttributeProperties( - componentName="XML", - componentNameSpace="fx" -) -public final class FlexXMLRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexXMLRenderer.class, componentObj, null); - - } - - @Override - public void encodeEnd(FacesContext context, UIComponent componentObj) throws IOException { - - AbstractFlexUIXML componentFlex = AbstractFlexUIXML.class.cast( componentObj ); - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - - String currBodyContentFilePath = componentFlex.getCurrBodyContentFilePath(); - String bodyContent = null; - - if(currBodyContentFilePath != null){ - Writer bodyContentWriter = componentFlex.getCurrBodyContentBufferedWriter(); - - bodyContentWriter.flush(); - bodyContentWriter.close(); - bodyContent = writer.readFileContent(componentFlex.getCurrBodyContentFilePath()); - - } - - writer.createPreMxml(componentFlex, FlexXMLRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - bodyContent); - - super.encodeEnd(context, componentObj); - } - - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/properties/ext/FlexColumnsRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/properties/ext/FlexColumnsRenderer.java deleted file mode 100644 index 5ec55c72..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/properties/ext/FlexColumnsRenderer.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.properties.ext; - -import java.io.IOException; -import java.util.List; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.component.ext.AbstractFlexUIDataGrid; -import com.googlecode.jsfFlex.component.ext.AbstractFlexUIDataGridColumn; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent.ACTION_SCRIPT_IMPORT; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexColumns" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexColumns" -) -@IJsfFlexAttributeProperties(componentName="columns") -public final class FlexColumnsRenderer extends AbstractFlexComponentBaseRenderer { - - private static final String INVALID_CHILD_COMPONENT = "Invalid Child Component : FlexUIColumns can only have subclass of following abstract classes [ AbstractFlexUIDataGridColumn ] as its children"; - private static final String INVALID_PARENT_COMPONENT = "Invalid Parent Component : FlexUIColumns can only have subclass of following abstract classes [ AbstractFlexUIDataGrid ] as its parent"; - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexColumnsRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - - @Override - public void encodeEnd(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeEnd(context, componentObj); - - UIComponent dataGridComponent = componentObj.getParent(); - String dataGridComponentId = dataGridComponent.getId(); - if(!(dataGridComponent instanceof AbstractFlexUIDataGrid)){ - throw new ComponentBuildException(INVALID_PARENT_COMPONENT); - } - - AbstractFlexUIDataGrid dataGrid = AbstractFlexUIDataGrid.class.cast( dataGridComponent ); - if(dataGrid.getBindingBeanList() == null){ - return; - } - - List childrenList = componentObj.getChildren(); - - if(childrenList.size() > 0){ - AbstractFlexContext mxmlContext = AbstractFlexContext.getCurrentInstance(); - AdditionalApplicationScriptContent additionalAppScriptContent = mxmlContext.getAdditionalAppScriptContent(); - additionalAppScriptContent.addDataGridScriptContent(dataGridComponentId, dataGrid.computeBatchColumnDataRetrievalSize(), - dataGrid.computeMaxDataPartitionIndex(), dataGrid.getFilterComponentId(), - dataGrid.getFilterColumnComponentId(), dataGrid.getFilterEventListener()); - additionalAppScriptContent.addActionScriptImport(ACTION_SCRIPT_IMPORT.DATA_GRID_SERVICE_REQUEST_AS); - - for(UIComponent currChild : childrenList){ - if(!(currChild instanceof AbstractFlexUIDataGridColumn)){ - throw new ComponentBuildException(INVALID_CHILD_COMPONENT); - } - - AbstractFlexUIDataGridColumn currChildInstance = AbstractFlexUIDataGridColumn.class.cast( currChild ); - additionalAppScriptContent.addDataGridColumnToDataGridScriptContent(dataGridComponentId, currChildInstance.getId(), - currChildInstance.getDataField(), Boolean.valueOf(currChildInstance.getEditable())); - } - - } - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/properties/ext/FlexDataProviderRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/properties/ext/FlexDataProviderRenderer.java deleted file mode 100644 index 348c5608..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/properties/ext/FlexDataProviderRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.properties.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexDataProvider" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexDataProvider" -) -@IJsfFlexAttributeProperties( - componentName="dataProvider", - componentNameSpace="s" -) -public final class FlexDataProviderRenderer extends AbstractFlexComponentBaseRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexDataProviderRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/properties/ext/FlexDeclarationsRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/properties/ext/FlexDeclarationsRenderer.java deleted file mode 100644 index a69e97bc..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/properties/ext/FlexDeclarationsRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.properties.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexDeclarations" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexDeclarations" -) -@IJsfFlexAttributeProperties( - componentName="Declarations", - componentNameSpace="fx" -) -public class FlexDeclarationsRenderer extends AbstractFlexComponentBaseRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexDeclarationsRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/service/ext/FlexHTTPServiceRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/service/ext/FlexHTTPServiceRenderer.java deleted file mode 100644 index 1e8a0234..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/service/ext/FlexHTTPServiceRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.service.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexHTTPService" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexHTTPService" -) -@IJsfFlexAttributeProperties(componentName="HTTPService") -public final class FlexHTTPServiceRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexHTTPServiceRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexHTTPServiceRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/service/ext/FlexRemoteObjectRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/service/ext/FlexRemoteObjectRenderer.java deleted file mode 100644 index 4914e57f..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/service/ext/FlexRemoteObjectRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.service.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexRemoteObject" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexRemoteObject" -) -@IJsfFlexAttributeProperties(componentName="RemoteObject") -public final class FlexRemoteObjectRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexRemoteObjectRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexRemoteObjectRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/service/ext/FlexWebServiceRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/service/ext/FlexWebServiceRenderer.java deleted file mode 100644 index 423bc22c..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/component/ext/service/ext/FlexWebServiceRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.component.ext.service.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexWebService" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexWebService" -) -@IJsfFlexAttributeProperties(componentName="WebService") -public final class FlexWebServiceRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexWebServiceRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexWebServiceRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexAccordionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexAccordionRenderer.java deleted file mode 100644 index b4255673..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexAccordionRenderer.java +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexAccordion" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexAccordion" -) -@IJsfFlexAttributeProperties( - componentPackages={"mx.containers"}, - componentName="Accordion", - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedIndex", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedIndex") - }, - - jsfFlexAttributes=@IJsfFlexAttribute(attribute="creationPolicy", byMethod=true) -) -public final class FlexAccordionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexAccordionRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexAccordionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexApplicationControlBarRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexApplicationControlBarRenderer.java deleted file mode 100644 index e59a486c..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexApplicationControlBarRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexApplicationControlBar" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexApplicationControlBar" -) -@IJsfFlexAttributeProperties(componentName="ApplicationControlBar") -public final class FlexApplicationControlBarRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexApplicationControlBarRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexBorderContainerRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexBorderContainerRenderer.java deleted file mode 100644 index da7ce125..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexBorderContainerRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexBorderContainer" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexBorderContainer" -) -@IJsfFlexAttributeProperties( - componentName="BorderContainer", - componentNameSpace="s" -) -public final class FlexBorderContainerRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexBorderContainerRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexBoxRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexBoxRenderer.java deleted file mode 100644 index 620ac5c8..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexBoxRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexBox" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexBox" -) -@IJsfFlexAttributeProperties(componentName="Box") -public final class FlexBoxRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexBoxRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexCanvasRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexCanvasRenderer.java deleted file mode 100644 index fb74956a..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexCanvasRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexCanvas" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexCanvas" -) -@IJsfFlexAttributeProperties(componentName="Canvas") -public final class FlexCanvasRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexCanvasRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexControlBarRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexControlBarRenderer.java deleted file mode 100644 index 23ade325..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexControlBarRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexControlBar" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexControlBar" -) -@IJsfFlexAttributeProperties(componentName="ControlBar") -public final class FlexControlBarRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexControlBarRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexDataGroupRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexDataGroupRenderer.java deleted file mode 100644 index 4966df4f..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexDataGroupRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexDataGroup" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexDataGroup" -) -@IJsfFlexAttributeProperties( - componentName="DataGroup", - componentNameSpace="s" -) -public final class FlexDataGroupRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexDataGroupRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexDividedBoxRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexDividedBoxRenderer.java deleted file mode 100644 index b08145bb..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexDividedBoxRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexDividedBox" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexDividedBox" -) -@IJsfFlexAttributeProperties(componentName="DividedBox") -public final class FlexDividedBoxRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexDividedBoxRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexGridItemRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexGridItemRenderer.java deleted file mode 100644 index e0c555bd..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexGridItemRenderer.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexGridItem" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexGridItem" -) -@IJsfFlexAttributeProperties( - componentName="GridItem", - - jsfFlexAttributes={ - @IJsfFlexAttribute(attribute="direction", byMethod=true), - @IJsfFlexAttribute(attribute="colSpan") - } -) -public final class FlexGridItemRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexGridItemRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexGridItemRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexGridRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexGridRenderer.java deleted file mode 100644 index 68b53b64..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexGridRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexGrid" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexGrid" -) -@IJsfFlexAttributeProperties(componentName="Grid") -public final class FlexGridRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexGridRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexGridRowRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexGridRowRenderer.java deleted file mode 100644 index c0fd44db..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexGridRowRenderer.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexGridRow" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexGridRow" -) -@IJsfFlexAttributeProperties( - componentName="GridRow", - - jsfFlexAttributes=@IJsfFlexAttribute(attribute="direction", byMethod=true) -) -public final class FlexGridRowRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexGridRowRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexGridRowRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexGroupRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexGroupRenderer.java deleted file mode 100644 index 52dd9cb0..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexGroupRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexGroup" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexGroup" -) -@IJsfFlexAttributeProperties( - componentName="Group", - componentNameSpace="s" -) -public final class FlexGroupRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexGroupRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexHGroupRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexHGroupRenderer.java deleted file mode 100644 index 27c4859d..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexHGroupRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexHGroup" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexHGroup" -) -@IJsfFlexAttributeProperties( - componentName="HGroup", - componentNameSpace="s" -) -public class FlexHGroupRenderer extends AbstractFlexComponentBaseRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexHGroupRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexNavigatorContentRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexNavigatorContentRenderer.java deleted file mode 100644 index 78484f14..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexNavigatorContentRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexNavigatorContent" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexNavigatorContent" -) -@IJsfFlexAttributeProperties( - componentName="NavigatorContent", - componentNameSpace="s" -) -public final class FlexNavigatorContentRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexNavigatorContentRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexPanelRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexPanelRenderer.java deleted file mode 100644 index c1a4110b..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexPanelRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexPanel" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexPanel" -) -@IJsfFlexAttributeProperties( - componentName="Panel", - componentNameSpace="s" -) -public final class FlexPanelRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexPanelRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexSkinnableContainerRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexSkinnableContainerRenderer.java deleted file mode 100644 index 471165db..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexSkinnableContainerRenderer.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSkinnableContainer" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSkinnableContainer" -) -@IJsfFlexAttributeProperties( - componentName="SkinnableContainer", - componentNameSpace="s", - - jsfFlexAttributes=@IJsfFlexAttribute(attribute="creationPolicy", byMethod=true) -) -public final class FlexSkinnableContainerRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexSkinnableContainerRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexSkinnableContainerRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexSkinnableDataContainerRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexSkinnableDataContainerRenderer.java deleted file mode 100644 index f927b9f8..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexSkinnableDataContainerRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSkinnableDataContainer" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSkinnableDataContainer" -) -@IJsfFlexAttributeProperties( - componentName="SkinnableDataContainer", - componentNameSpace="s" -) -public final class FlexSkinnableDataContainerRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexSkinnableDataContainerRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTabBarRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTabBarRenderer.java deleted file mode 100644 index 0aac03d1..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTabBarRenderer.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexTabBar" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexTabBar" -) -@IJsfFlexAttributeProperties( - componentName="TabBar", - componentNameSpace="s", - componentPackages={"spark.components"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedIndex", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedIndex") - } -) -public final class FlexTabBarRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexTabBarRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTabNavigatorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTabNavigatorRenderer.java deleted file mode 100644 index cea97107..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTabNavigatorRenderer.java +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexTabNavigator" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexTabNavigator" -) -@IJsfFlexAttributeProperties( - componentName="TabNavigator", - componentPackages={"mx.containers"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedIndex", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedIndex") - }, - - jsfFlexAttributes=@IJsfFlexAttribute(attribute="creationPolicy", byMethod=true) -) -public final class FlexTabNavigatorRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexTabNavigatorRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexTabNavigatorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTileGroupRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTileGroupRenderer.java deleted file mode 100644 index 57034469..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTileGroupRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexTileGroup" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexTileGroup" -) -@IJsfFlexAttributeProperties( - componentName="TileGroup", - componentNameSpace="s" -) -public final class FlexTileGroupRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexTileGroupRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTileRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTileRenderer.java deleted file mode 100644 index 3f2b2afb..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTileRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexTile" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexTile" -) -@IJsfFlexAttributeProperties(componentName="Tile") -public final class FlexTileRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexTileRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTitleWindowRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTitleWindowRenderer.java deleted file mode 100644 index 6b93b456..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexTitleWindowRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexTitleWindow" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexTitleWindow" -) -@IJsfFlexAttributeProperties( - componentName="TitleWindow", - componentNameSpace="s" -) -public final class FlexTitleWindowRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexTitleWindowRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexVGroupRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexVGroupRenderer.java deleted file mode 100644 index ab414fb0..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexVGroupRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexVGroup" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexVGroup" -) -@IJsfFlexAttributeProperties( - componentName="VGroup", - componentNameSpace="s" -) -public final class FlexVGroupRenderer extends AbstractFlexComponentBaseRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexVGroupRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexViewStackRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexViewStackRenderer.java deleted file mode 100644 index 689942ea..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/container/ext/FlexViewStackRenderer.java +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.container.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IFlexComponentNodeAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexInput", - type="com.googlecode.jsfFlex.FlexViewStack" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexInput", - rendererType="com.googlecode.jsfFlex.FlexViewStack" -) -@IJsfFlexAttributeProperties( - componentName="ViewStack", - componentPackages={"mx.containers"}, - componentNodeAttributes={ - @IFlexComponentNodeAttribute( - htmlType="input", - typeAttributeValue="hidden", - valueAttributeValue="selectedIndex", - isValueDynamic=true, - isValueNested=false, - valueNestedValues={}, - nameAttributeValue="id", - isNameDynamic=true, - nameAppend="_selectedIndex") - }, - - jsfFlexAttributes=@IJsfFlexAttribute(attribute="creationPolicy", byMethod=true) -) -public final class FlexViewStackRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexViewStackRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexViewStackRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexCurrencyFormatterRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexCurrencyFormatterRenderer.java deleted file mode 100644 index 88f55dec..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexCurrencyFormatterRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.convert.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexCurrencyFormatter" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexCurrencyFormatter" -) -@IJsfFlexAttributeProperties(componentName="CurrencyFormatter") -public final class FlexCurrencyFormatterRenderer extends AbstractFlexComponentBaseRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexCurrencyFormatterRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexDateFormatterRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexDateFormatterRenderer.java deleted file mode 100644 index 43f705fd..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexDateFormatterRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.convert.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexDateFormatter" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexDateFormatter" -) -@IJsfFlexAttributeProperties(componentName="DateFormatter") -public final class FlexDateFormatterRenderer extends AbstractFlexComponentBaseRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexDateFormatterRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexNumberFormatterRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexNumberFormatterRenderer.java deleted file mode 100644 index 9986c8e3..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexNumberFormatterRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.convert.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexNumberFormatter" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexNumberFormatter" -) -@IJsfFlexAttributeProperties(componentName="NumberFormatter") -public final class FlexNumberFormatterRenderer extends AbstractFlexComponentBaseRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexNumberFormatterRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexPhoneFormatterRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexPhoneFormatterRenderer.java deleted file mode 100644 index 9a32d9a2..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexPhoneFormatterRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.convert.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexPhoneFormatter" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexPhoneFormatter" -) -@IJsfFlexAttributeProperties(componentName="PhoneFormatter") -public final class FlexPhoneFormatterRenderer extends AbstractFlexComponentBaseRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexPhoneFormatterRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexZipCodeFormatterRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexZipCodeFormatterRenderer.java deleted file mode 100644 index 2e79292d..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/convert/ext/FlexZipCodeFormatterRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.convert.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentBaseRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexZipCodeFormatter" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexZipCodeFormatter" -) -@IJsfFlexAttributeProperties(componentName="ZipCodeFormatter") -public final class FlexZipCodeFormatterRenderer extends AbstractFlexComponentBaseRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexZipCodeFormatterRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAddActionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAddActionRenderer.java deleted file mode 100644 index f3c602aa..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAddActionRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexAddAction" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexAddAction" -) -@IJsfFlexAttributeProperties( - componentName="AddAction", - componentNameSpace="s" -) -public final class FlexAddActionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexAddActionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAddChildActionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAddChildActionRenderer.java deleted file mode 100644 index 6a6f5c0a..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAddChildActionRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexAddChildAction" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexAddChildAction" -) -@IJsfFlexAttributeProperties(componentName="AddChildAction") -public final class FlexAddChildActionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexAddChildActionRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexAddChildActionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAddItemActionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAddItemActionRenderer.java deleted file mode 100644 index 26c8292c..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAddItemActionRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexAddItemAction" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexAddItemAction" -) -@IJsfFlexAttributeProperties(componentName="AddItemAction") -public final class FlexAddItemActionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexAddItemActionRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexAddItemActionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateColorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateColorRenderer.java deleted file mode 100644 index 4945dbe8..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateColorRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexAnimateColor" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexAnimateColor" -) -@IJsfFlexAttributeProperties( - componentName="AnimateColor", - componentNameSpace="s" -) -public final class FlexAnimateColorRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexAnimateColorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateFilterRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateFilterRenderer.java deleted file mode 100644 index 48e748d7..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateFilterRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexAnimateFilter" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexAnimateFilter" -) -@IJsfFlexAttributeProperties( - componentName="AnimateFilter", - componentNameSpace="s" -) -public final class FlexAnimateFilterRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexAnimateFilterRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimatePropertyRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimatePropertyRenderer.java deleted file mode 100644 index 5bc9ddaf..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimatePropertyRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexAnimateProperty" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexAnimateProperty" -) -@IJsfFlexAttributeProperties(componentName="AnimateProperty") -public final class FlexAnimatePropertyRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexAnimatePropertyRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexAnimatePropertyRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateRenderer.java deleted file mode 100644 index 7d65e1c7..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexAnimate" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexAnimate" -) -@IJsfFlexAttributeProperties( - componentName="Animate", - componentNameSpace="s" -) -public final class FlexAnimateRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexAnimateRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateTransform3DRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateTransform3DRenderer.java deleted file mode 100644 index 94dbab29..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateTransform3DRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexAnimateTransform3D" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexAnimateTransform3D" -) -@IJsfFlexAttributeProperties( - componentName="AnimateTransform3D", - componentNameSpace="s" -) -public final class FlexAnimateTransform3DRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexAnimateTransform3DRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateTransformRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateTransformRenderer.java deleted file mode 100644 index abda4b81..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateTransformRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexAnimateTransform" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexAnimateTransform" -) -@IJsfFlexAttributeProperties( - componentName="AnimateTransform", - componentNameSpace="s" -) -public final class FlexAnimateTransformRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexAnimateTransformRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateTransitionShaderRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateTransitionShaderRenderer.java deleted file mode 100644 index 85160fb2..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexAnimateTransitionShaderRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexAnimateTransitionShader" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexAnimateTransitionShader" -) -@IJsfFlexAttributeProperties( - componentName="AnimateTransitionShader", - componentNameSpace="s" -) -public final class FlexAnimateTransitionShaderRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexAnimateTransitionShaderRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexBlurRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexBlurRenderer.java deleted file mode 100644 index b10eec8e..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexBlurRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexBlur" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexBlur" -) -@IJsfFlexAttributeProperties(componentName="Blur") -public final class FlexBlurRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexBlurRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexBlurRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexCallActionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexCallActionRenderer.java deleted file mode 100644 index ac921231..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexCallActionRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexCallAction" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexCallAction" -) -@IJsfFlexAttributeProperties( - componentName="CallAction", - componentNameSpace="s" -) -public final class FlexCallActionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexCallActionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexCrossFadeRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexCrossFadeRenderer.java deleted file mode 100644 index ad3ecd4c..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexCrossFadeRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexCrossFade" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexCrossFade" -) -@IJsfFlexAttributeProperties( - componentName="CrossFade", - componentNameSpace="s" -) -public final class FlexCrossFadeRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexCrossFadeRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexDefaultListEffectRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexDefaultListEffectRenderer.java deleted file mode 100644 index f1b48394..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexDefaultListEffectRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexDefaultListEffect" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexDefaultListEffect" -) -@IJsfFlexAttributeProperties(componentName="DefaultListEffect") -public final class FlexDefaultListEffectRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexDefaultListEffectRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexDefaultListEffectRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexDefaultTileListEffectRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexDefaultTileListEffectRenderer.java deleted file mode 100644 index 64e225bf..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexDefaultTileListEffectRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexDefaultTileListEffect" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexDefaultTileListEffect" -) -@IJsfFlexAttributeProperties(componentName="DefaultTileListEffect") -public final class FlexDefaultTileListEffectRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexDefaultTileListEffectRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexDefaultTileListEffectRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexDissolveRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexDissolveRenderer.java deleted file mode 100644 index 5da957ba..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexDissolveRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexDissolve" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexDissolve" -) -@IJsfFlexAttributeProperties(componentName="Dissolve") -public final class FlexDissolveRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexDissolveRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexDissolveRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexFadeRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexFadeRenderer.java deleted file mode 100644 index 61edfb29..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexFadeRenderer.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexFade" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexFade" -) -@IJsfFlexAttributeProperties( - componentName="Fade", - componentNameSpace="s" -) -public final class FlexFadeRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexFadeRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexFadeRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexGlowRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexGlowRenderer.java deleted file mode 100644 index dd3e7310..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexGlowRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexGlow" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexGlow" -) -@IJsfFlexAttributeProperties(componentName="Glow") -public final class FlexGlowRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexGlowRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexGlowRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexIrisRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexIrisRenderer.java deleted file mode 100644 index 2624b67a..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexIrisRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexIris" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexIris" -) -@IJsfFlexAttributeProperties(componentName="Iris") -public final class FlexIrisRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexIrisRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexIrisRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexMaskEffectRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexMaskEffectRenderer.java deleted file mode 100644 index 1a7793e7..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexMaskEffectRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexMaskEffect" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexMaskEffect" -) -@IJsfFlexAttributeProperties(componentName="MaskEffect") -public final class FlexMaskEffectRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexMaskEffectRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexMaskEffectRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexMove3DRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexMove3DRenderer.java deleted file mode 100644 index 5d6a659f..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexMove3DRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexMove3D" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexMove3D" -) -@IJsfFlexAttributeProperties( - componentName="Move3D", - componentNameSpace="s" -) -public final class FlexMove3DRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexMove3DRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexMoveRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexMoveRenderer.java deleted file mode 100644 index 07c0252b..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexMoveRenderer.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexMove" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexMove" -) -@IJsfFlexAttributeProperties( - componentName="Move", - componentNameSpace="s" -) -public final class FlexMoveRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexMoveRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexMoveRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexParallelRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexParallelRenderer.java deleted file mode 100644 index fd06b18a..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexParallelRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexParallel" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexParallel" -) -@IJsfFlexAttributeProperties(componentName="Parallel") -public final class FlexParallelRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexParallelRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexParallelRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexPauseRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexPauseRenderer.java deleted file mode 100644 index 628d7aef..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexPauseRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexPause" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexPause" -) -@IJsfFlexAttributeProperties(componentName="Pause") -public final class FlexPauseRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexPauseRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexPauseRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRemoveActionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRemoveActionRenderer.java deleted file mode 100644 index 24ea679e..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRemoveActionRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexRemoveAction" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexRemoveAction" -) -@IJsfFlexAttributeProperties( - componentName="RemoveAction", - componentNameSpace="s" -) -public final class FlexRemoveActionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexRemoveActionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRemoveChildActionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRemoveChildActionRenderer.java deleted file mode 100644 index 4e448307..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRemoveChildActionRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexRemoveChildAction" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexRemoveChildAction" -) -@IJsfFlexAttributeProperties(componentName="RemoveChildAction") -public final class FlexRemoveChildActionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexRemoveChildActionRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexRemoveChildActionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRemoveItemActionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRemoveItemActionRenderer.java deleted file mode 100644 index d0e48700..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRemoveItemActionRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexRemoveItemAction" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexRemoveItemAction" -) -@IJsfFlexAttributeProperties(componentName="RemoveItemAction") -public final class FlexRemoveItemActionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexRemoveItemActionRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexRemoveItemActionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexResizeRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexResizeRenderer.java deleted file mode 100644 index bd847eac..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexResizeRenderer.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexResize" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexResize" -) -@IJsfFlexAttributeProperties( - componentName="Resize", - componentNameSpace="s" -) -public final class FlexResizeRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexResizeRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexResizeRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRotate3DRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRotate3DRenderer.java deleted file mode 100644 index e9247367..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRotate3DRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexRotate3D" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexRotate3D" -) -@IJsfFlexAttributeProperties( - componentName="Rotate3D", - componentNameSpace="s" -) -public final class FlexRotate3DRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexRotate3DRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRotateRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRotateRenderer.java deleted file mode 100644 index d8898af7..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexRotateRenderer.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexRotate" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexRotate" -) -@IJsfFlexAttributeProperties( - componentName="Rotate", - componentNameSpace="s" -) -public final class FlexRotateRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexRotateRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexRotateRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexScale3DRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexScale3DRenderer.java deleted file mode 100644 index 05a3ae4d..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexScale3DRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexScale3D" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexScale3D" -) -@IJsfFlexAttributeProperties( - componentName="Scale3D", - componentNameSpace="s" -) -public final class FlexScale3DRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexScale3DRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexScaleRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexScaleRenderer.java deleted file mode 100644 index 32943a37..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexScaleRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexScale" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexScale" -) -@IJsfFlexAttributeProperties( - componentName="Scale", - componentNameSpace="s" -) -public final class FlexScaleRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexScaleRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSequenceRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSequenceRenderer.java deleted file mode 100644 index 57ad75f4..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSequenceRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSequence" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSequence" -) -@IJsfFlexAttributeProperties(componentName="Sequence") -public final class FlexSequenceRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexSequenceRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexSequenceRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSetActionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSetActionRenderer.java deleted file mode 100644 index 34497b0b..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSetActionRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSetAction" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSetAction" -) -@IJsfFlexAttributeProperties( - componentName="SetAction", - componentNameSpace="s" -) -public final class FlexSetActionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexSetActionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSetPropertyActionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSetPropertyActionRenderer.java deleted file mode 100644 index 96d707b4..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSetPropertyActionRenderer.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSetPropertyAction" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSetPropertyAction" -) -@IJsfFlexAttributeProperties( - componentName="SetPropertyAction", - - jsfFlexAttributes={ - @IJsfFlexAttribute(attribute="name"), - @IJsfFlexAttribute(attribute="value") - } -) -public final class FlexSetPropertyActionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexSetPropertyActionRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexSetPropertyActionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSetStyleActionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSetStyleActionRenderer.java deleted file mode 100644 index 6a6ba741..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSetStyleActionRenderer.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSetStyleAction" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSetStyleAction" -) -@IJsfFlexAttributeProperties( - componentName="SetStyleAction", - - jsfFlexAttributes={ - @IJsfFlexAttribute(attribute="name"), - @IJsfFlexAttribute(attribute="value") - } -) -public final class FlexSetStyleActionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexSetStyleActionRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexSetStyleActionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSoundEffectRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSoundEffectRenderer.java deleted file mode 100644 index 676c5e45..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexSoundEffectRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSoundEffect" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSoundEffect" -) -@IJsfFlexAttributeProperties(componentName="SoundEffect") -public final class FlexSoundEffectRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexSoundEffectRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexSoundEffectRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexTweenEffectRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexTweenEffectRenderer.java deleted file mode 100644 index fcd0b599..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexTweenEffectRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexTweenEffect" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexTweenEffect" -) -@IJsfFlexAttributeProperties(componentName="TweenEffect") -public final class FlexTweenEffectRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexTweenEffectRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexTweenEffectRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexUnconstrainItemActionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexUnconstrainItemActionRenderer.java deleted file mode 100644 index e6160dad..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexUnconstrainItemActionRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexUnconstrainItemAction" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexUnconstrainItemAction" -) -@IJsfFlexAttributeProperties(componentName="UnconstrainItemAction") -public final class FlexUnconstrainItemActionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexUnconstrainItemActionRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexUnconstrainItemActionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeDirectionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeDirectionRenderer.java deleted file mode 100644 index d2206177..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeDirectionRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexWipeDirection" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexWipeDirection" -) -@IJsfFlexAttributeProperties( - componentName="WipeDirection", - componentNameSpace="s" -) -public final class FlexWipeDirectionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexWipeDirectionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeDownRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeDownRenderer.java deleted file mode 100644 index 63b149a0..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeDownRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexWipeDown" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexWipeDown" -) -@IJsfFlexAttributeProperties(componentName="WipeDown") -public final class FlexWipeDownRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexWipeDownRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexWipeDownRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeLeftRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeLeftRenderer.java deleted file mode 100644 index 2ac68d0d..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeLeftRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexWipeLeft" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexWipeLeft" -) -@IJsfFlexAttributeProperties(componentName="WipeLeft") -public final class FlexWipeLeftRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexWipeLeftRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexWipeLeftRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeRenderer.java deleted file mode 100644 index 57144756..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexWipe" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexWipe" -) -@IJsfFlexAttributeProperties( - componentName="Wipe", - componentNameSpace="s" -) -public final class FlexWipeRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexWipeRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeRightRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeRightRenderer.java deleted file mode 100644 index 3d0bc228..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeRightRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexWipeRight" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexWipeRight" -) -@IJsfFlexAttributeProperties(componentName="WipeRight") -public final class FlexWipeRightRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexWipeRightRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexWipeRightRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeUpRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeUpRenderer.java deleted file mode 100644 index 5d765dff..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexWipeUpRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexWipeUp" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexWipeUp" -) -@IJsfFlexAttributeProperties(componentName="WipeUp") -public final class FlexWipeUpRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexWipeUpRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexWipeUpRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexZoomRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexZoomRenderer.java deleted file mode 100644 index 133caba7..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/effects/ext/FlexZoomRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.effects.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexZoom" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexZoom" -) -@IJsfFlexAttributeProperties(componentName="Zoom") -public final class FlexZoomRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexZoomRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexZoomRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/eventGlue/AbstractFlexAsynchronousEventGlueTemplateRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/eventGlue/AbstractFlexAsynchronousEventGlueTemplateRenderer.java deleted file mode 100644 index 4908dba9..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/eventGlue/AbstractFlexAsynchronousEventGlueTemplateRenderer.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.eventGlue; - -import java.io.IOException; -import java.util.EnumSet; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.Renderer; - -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent; -import com.googlecode.jsfFlex.shared.adapter.IFlexEvent.EVENT_HANDLER_TYPE; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent.ACTION_SCRIPT_IMPORT; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; - -/** - * @author Ji Hoon Kim - */ -public abstract class AbstractFlexAsynchronousEventGlueTemplateRenderer extends Renderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - - IFlexEvent flexEvent = IFlexEvent.class.cast( componentObj ); - EVENT_HANDLER_TYPE eventHandlerType = flexEvent.getEventHandlerType(); - AdditionalApplicationScriptContent additionalApplicationScriptContent = flexContext.getAdditionalAppScriptContent(); - EnumSet actionScriptImports = eventHandlerType.getActionScriptImports(); - - for(ACTION_SCRIPT_IMPORT currASImport : actionScriptImports){ - additionalApplicationScriptContent.addActionScriptImport(currASImport); - } - - additionalApplicationScriptContent.addEventHandler(flexEvent.getEventHandlerSrcId(), flexEvent.getEventHandlerTgtId(), flexEvent.getEventHandlerId(), - flexEvent.getEventHandlerType(), flexEvent.getEventHandlerEventName(), flexEvent.getAddtionalArguments()); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/eventGlue/ext/FlexAsynchronousDataUpdateEventListenerRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/eventGlue/ext/FlexAsynchronousDataUpdateEventListenerRenderer.java deleted file mode 100644 index 2a1d2fec..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/eventGlue/ext/FlexAsynchronousDataUpdateEventListenerRenderer.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.eventGlue.ext; - -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.eventGlue.AbstractFlexAsynchronousEventGlueTemplateRenderer; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexEventListener", - type="com.googlecode.jsfFlex.FlexAsynchronousDataUpdateEventListener" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexEventListener", - rendererType="com.googlecode.jsfFlex.FlexAsynchronousDataUpdateEventListener" -) -public final class FlexAsynchronousDataUpdateEventListenerRenderer - extends AbstractFlexAsynchronousEventGlueTemplateRenderer { - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/eventGlue/ext/FlexAsynchronousPropertyUpdateEventListenerRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/eventGlue/ext/FlexAsynchronousPropertyUpdateEventListenerRenderer.java deleted file mode 100644 index b71121a4..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/eventGlue/ext/FlexAsynchronousPropertyUpdateEventListenerRenderer.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.eventGlue.ext; - -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.eventGlue.AbstractFlexAsynchronousEventGlueTemplateRenderer; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexEventListener", - type="com.googlecode.jsfFlex.FlexAsynchronousPropertyUpdateEventListener" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexEventListener", - rendererType="com.googlecode.jsfFlex.FlexAsynchronousPropertyUpdateEventListener" -) -public final class FlexAsynchronousPropertyUpdateEventListenerRenderer extends - AbstractFlexAsynchronousEventGlueTemplateRenderer { - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexBitmapImageRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexBitmapImageRenderer.java deleted file mode 100644 index 75f9f577..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexBitmapImageRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.primitives.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexBitmapImage" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexBitmapImage" -) -@IJsfFlexAttributeProperties( - componentName="BitmapImage", - componentNameSpace="s" -) -public final class FlexBitmapImageRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexBitmapImageRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexEllipseRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexEllipseRenderer.java deleted file mode 100644 index 2e792b18..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexEllipseRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.primitives.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexEllipse" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexEllipse" -) -@IJsfFlexAttributeProperties( - componentName="Ellipse", - componentNameSpace="s" -) -public final class FlexEllipseRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexEllipseRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexGraphicRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexGraphicRenderer.java deleted file mode 100644 index 90631d19..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexGraphicRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.primitives.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexGraphic" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexGraphic" -) -@IJsfFlexAttributeProperties( - componentName="Graphic", - componentNameSpace="s" -) -public final class FlexGraphicRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexGraphicRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexLineRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexLineRenderer.java deleted file mode 100644 index 7438aed8..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexLineRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.primitives.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexLine" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexLine" -) -@IJsfFlexAttributeProperties( - componentName="Line", - componentNameSpace="s" -) -public final class FlexLineRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexLineRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexPathRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexPathRenderer.java deleted file mode 100644 index 16cebd3b..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexPathRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.primitives.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexPath" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexPath" -) -@IJsfFlexAttributeProperties( - componentName="Path", - componentNameSpace="s" -) -public final class FlexPathRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexPathRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexRectRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexRectRenderer.java deleted file mode 100644 index 86c57073..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexRectRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.primitives.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexRect" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexRect" -) -@IJsfFlexAttributeProperties( - componentName="Rect", - componentNameSpace="s" -) -public final class FlexRectRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexRectRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexRectangularDropShadowRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexRectangularDropShadowRenderer.java deleted file mode 100644 index 8b0c4128..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/primitives/ext/FlexRectangularDropShadowRenderer.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.primitives.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexRectangularDropShadow" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexRectangularDropShadow" -) -@IJsfFlexAttributeProperties( - componentName="RectangularDropShadow", - componentNameSpace="s" -) -public final class FlexRectangularDropShadowRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexRectangularDropShadowRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexAddChildRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexAddChildRenderer.java deleted file mode 100644 index 91eec4c3..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexAddChildRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.states.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexAddChild" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexAddChild" -) -@IJsfFlexAttributeProperties(componentName="AddChild") -public final class FlexAddChildRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexAddChildRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexAddChildRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexRemoveChildRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexRemoveChildRenderer.java deleted file mode 100644 index 1f1bae9a..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexRemoveChildRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.states.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexRemoveChild" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexRemoveChild" -) -@IJsfFlexAttributeProperties(componentName="RemoveChild") -public final class FlexRemoveChildRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexRemoveChildRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexRemoveChildRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexSetEventHandlerRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexSetEventHandlerRenderer.java deleted file mode 100644 index 4018abe4..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexSetEventHandlerRenderer.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.states.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSetEventHandler" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSetEventHandler" -) -@IJsfFlexAttributeProperties( - componentName="SetEventHandler", - - jsfFlexAttributes=@IJsfFlexAttribute(attribute="name") -) -public final class FlexSetEventHandlerRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexSetEventHandlerRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexSetEventHandlerRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexSetPropertyRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexSetPropertyRenderer.java deleted file mode 100644 index 79b1f486..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexSetPropertyRenderer.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.states.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSetProperty" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSetProperty" -) -@IJsfFlexAttributeProperties( - componentName="SetProperty", - - jsfFlexAttributes={ - @IJsfFlexAttribute(attribute="name"), - @IJsfFlexAttribute(attribute="value") - } -) -public final class FlexSetPropertyRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexSetPropertyRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexSetPropertyRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexSetStyleRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexSetStyleRenderer.java deleted file mode 100644 index aec0ed6b..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexSetStyleRenderer.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.states.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSetStyle" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSetStyle" -) -@IJsfFlexAttributeProperties( - componentName="SetStyle", - - jsfFlexAttributes={ - @IJsfFlexAttribute(attribute="name"), - @IJsfFlexAttribute(attribute="value") - } -) -public final class FlexSetStyleRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexSetStyleRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexSetStyleRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexStateRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexStateRenderer.java deleted file mode 100644 index 1dd67194..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexStateRenderer.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.states.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttribute; -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexState" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexState" -) -@IJsfFlexAttributeProperties( - componentName="State", - - jsfFlexAttributes=@IJsfFlexAttribute(attribute="name") -) -public final class FlexStateRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexStateRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexStateRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexStatesRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexStatesRenderer.java deleted file mode 100644 index e90594ea..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexStatesRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.states.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexStates" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexStates" -) -@IJsfFlexAttributeProperties(componentName="states") -public final class FlexStatesRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexStatesRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexStatesRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexTransitionRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexTransitionRenderer.java deleted file mode 100644 index a4f39774..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/states/ext/FlexTransitionRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.states.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexTransition" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexTransition" -) -@IJsfFlexAttributeProperties(componentName="Transition") -public final class FlexTransitionRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.mapFields(FlexTransitionRenderer.class, componentObj, null); - writer.createPreMxml(componentFlex, FlexTransitionRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/AbstractFlexValidatorTemplateRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/AbstractFlexValidatorTemplateRenderer.java deleted file mode 100644 index 8b3e8e51..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/AbstractFlexValidatorTemplateRenderer.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.validator; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.component.AbstractFlexComponentRenderer; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent; -import com.googlecode.jsfFlex.shared.beans.additionalScriptContent.AdditionalApplicationScriptContent.ACTION_SCRIPT_IMPORT; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; - -/** - * @author Ji Hoon Kim - */ -@IJsfFlexAttributeProperties -public abstract class AbstractFlexValidatorTemplateRenderer extends AbstractFlexComponentRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - AdditionalApplicationScriptContent additionalAppScriptContent = flexContext.getAdditionalAppScriptContent(); - additionalAppScriptContent.addValidationManagerValidatorId(componentObj.getId()); - - additionalAppScriptContent.addActionScriptImport(ACTION_SCRIPT_IMPORT.VALIDATION_MANAGER_AS); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexCreditCardValidatorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexCreditCardValidatorRenderer.java deleted file mode 100644 index 839e0c31..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexCreditCardValidatorRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.validator.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.renderkit.validator.AbstractFlexValidatorTemplateRenderer; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexCreditCardValidator" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexCreditCardValidator" -) -@IJsfFlexAttributeProperties(componentName="CreditCardValidator") -public final class FlexCreditCardValidatorRenderer extends AbstractFlexValidatorTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexCreditCardValidatorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexCurrencyValidatorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexCurrencyValidatorRenderer.java deleted file mode 100644 index 6305639c..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexCurrencyValidatorRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.validator.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.renderkit.validator.AbstractFlexValidatorTemplateRenderer; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexCurrencyValidator" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexCurrencyValidator" -) -@IJsfFlexAttributeProperties(componentName="CurrencyValidator") -public final class FlexCurrencyValidatorRenderer extends AbstractFlexValidatorTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexCurrencyValidatorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexDateValidatorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexDateValidatorRenderer.java deleted file mode 100644 index 7cbd1a08..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexDateValidatorRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.validator.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.renderkit.validator.AbstractFlexValidatorTemplateRenderer; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexDateValidator" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexDateValidator" -) -@IJsfFlexAttributeProperties(componentName="DateValidator") -public final class FlexDateValidatorRenderer extends AbstractFlexValidatorTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexDateValidatorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexEmailValidatorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexEmailValidatorRenderer.java deleted file mode 100644 index 8f8730bb..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexEmailValidatorRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.validator.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.renderkit.validator.AbstractFlexValidatorTemplateRenderer; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexEmailValidator" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexEmailValidator" -) -@IJsfFlexAttributeProperties(componentName="EmailValidator") -public final class FlexEmailValidatorRenderer extends AbstractFlexValidatorTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexEmailValidatorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexNumberValidatorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexNumberValidatorRenderer.java deleted file mode 100644 index a873c0a3..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexNumberValidatorRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.validator.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.renderkit.validator.AbstractFlexValidatorTemplateRenderer; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexNumberValidator" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexNumberValidator" -) -@IJsfFlexAttributeProperties(componentName="NumberValidator") -public final class FlexNumberValidatorRenderer extends AbstractFlexValidatorTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexNumberValidatorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexPhoneNumberValidatorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexPhoneNumberValidatorRenderer.java deleted file mode 100644 index b976f3bf..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexPhoneNumberValidatorRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.validator.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.renderkit.validator.AbstractFlexValidatorTemplateRenderer; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexPhoneNumberValidator" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexPhoneNumberValidator" -) -@IJsfFlexAttributeProperties(componentName="PhoneNumberValidator") -public final class FlexPhoneNumberValidatorRenderer extends AbstractFlexValidatorTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexPhoneNumberValidatorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexRegExpValidatorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexRegExpValidatorRenderer.java deleted file mode 100644 index 390f932b..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexRegExpValidatorRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.validator.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.renderkit.validator.AbstractFlexValidatorTemplateRenderer; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexRegExpValidator" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexRegExpValidator" -) -@IJsfFlexAttributeProperties(componentName="RegExpValidator") -public final class FlexRegExpValidatorRenderer extends AbstractFlexValidatorTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexRegExpValidatorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexSocialSecurityValidatorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexSocialSecurityValidatorRenderer.java deleted file mode 100644 index a1ff1495..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexSocialSecurityValidatorRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.validator.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.renderkit.validator.AbstractFlexValidatorTemplateRenderer; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexSocialSecurityValidator" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexSocialSecurityValidator" -) -@IJsfFlexAttributeProperties(componentName="SocialSecurityValidator") -public final class FlexSocialSecurityValidatorRenderer extends AbstractFlexValidatorTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexSocialSecurityValidatorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexStringValidatorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexStringValidatorRenderer.java deleted file mode 100644 index 914e2a21..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexStringValidatorRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.validator.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.renderkit.validator.AbstractFlexValidatorTemplateRenderer; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexStringValidator" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexStringValidator" -) -@IJsfFlexAttributeProperties(componentName="StringValidator") -public final class FlexStringValidatorRenderer extends AbstractFlexValidatorTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexStringValidatorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexValidatorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexValidatorRenderer.java deleted file mode 100644 index 48573123..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexValidatorRenderer.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.validator.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.renderkit.validator.AbstractFlexValidatorTemplateRenderer; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexValidator" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexValidator" -) -@IJsfFlexAttributeProperties(componentName="Validator") -public final class FlexValidatorRenderer extends AbstractFlexValidatorTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, FlexValidatorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexZipCodeValidatorRenderer.java b/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexZipCodeValidatorRenderer.java deleted file mode 100644 index 5c26133c..00000000 --- a/jsf-flex/renderKit15/src/main/java/com/googlecode/jsfFlex/renderkit/validator/ext/FlexZipCodeValidatorRenderer.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.renderkit.validator.ext; - -import java.io.IOException; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.render.FacesRenderer; - -import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFRenderer; - -import com.googlecode.jsfFlex.renderkit.annotation.IJsfFlexAttributeProperties; -import com.googlecode.jsfFlex.renderkit.flex.AbstractFlexResponseWriter; -import com.googlecode.jsfFlex.renderkit.validator.AbstractFlexValidatorTemplateRenderer; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; - -/** - * @author Ji Hoon Kim - */ -@JSFRenderer( - renderKitId="FLEX_BASIC", - family="javax.faces.FlexSimple", - type="com.googlecode.jsfFlex.FlexZipCodeValidator" -) -@FacesRenderer( - renderKitId="FLEX_BASIC", - componentFamily="javax.faces.FlexSimple", - rendererType="com.googlecode.jsfFlex.FlexZipCodeValidator" -) -@IJsfFlexAttributeProperties(componentName="ZipCodeValidator") -public final class FlexZipCodeValidatorRenderer extends AbstractFlexValidatorTemplateRenderer { - - @Override - public void encodeBegin(FacesContext context, UIComponent componentObj) throws IOException { - super.encodeBegin(context, componentObj); - - IFlexContract componentFlex = IFlexContract.class.cast( componentObj ); - - AbstractFlexResponseWriter writer = AbstractFlexResponseWriter.class.cast( context.getResponseWriter() ); - writer.createPreMxml(componentFlex, - FlexZipCodeValidatorRenderer.class.getAnnotation(IJsfFlexAttributeProperties.class), - null); - - } - -} diff --git a/jsf-flex/renderKit15/src/main/resources/com/googlecode/jsfFlex/renderkit/component/ext/templates/FlexScriptBody.template b/jsf-flex/renderKit15/src/main/resources/com/googlecode/jsfFlex/renderkit/component/ext/templates/FlexScriptBody.template deleted file mode 100644 index 6d65d4bc..00000000 --- a/jsf-flex/renderKit15/src/main/resources/com/googlecode/jsfFlex/renderkit/component/ext/templates/FlexScriptBody.template +++ /dev/null @@ -1 +0,0 @@ - {tagBodyContent} diff --git a/localeDirectoryStructure.jpg b/localeDirectoryStructure.jpg new file mode 100644 index 00000000..c2ad5427 Binary files /dev/null and b/localeDirectoryStructure.jpg differ diff --git a/originalSortRemoteGridDragDropView.jpg b/originalSortRemoteGridDragDropView.jpg new file mode 100644 index 00000000..e31ba567 Binary files /dev/null and b/originalSortRemoteGridDragDropView.jpg differ diff --git a/jsf-flex/examples/src/main/webapp/images/overallExample.jpg b/overallExample.jpg similarity index 100% rename from jsf-flex/examples/src/main/webapp/images/overallExample.jpg rename to overallExample.jpg diff --git a/pom.xml b/pom.xml deleted file mode 100644 index b8d560a0..00000000 --- a/pom.xml +++ /dev/null @@ -1,235 +0,0 @@ - - 4.0.0 - com.googlecode.jsf-flex - jsf-flex-build-project - pom - ${jsf.flex.version} - JSF-Flex Main Build Project - http://code.google.com/p/jsf-flex/ - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - Mozilla Public License, Version 1.1 - http://www.mozilla.org/MPL/MPL-1.1.html - repo - - - Jython License - http://www.jython.org/Project/license.html - repo - - - JSF Flex Main Build Project - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk - scm:svn:https://jsf-flex.googlecode.com/svn/trunk - - - - - - org.apache.maven.plugins - maven-antrun-plugin - ${antrun.plugin.version} - - - - org.json - json - 20080701 - - - - commons-logging - commons-logging - 1.1.1 - - - - javax.servlet - jstl - ${javax.servlet.jstl.version} - - - - javax.servlet.jsp - javax.servlet.jsp-api - ${javax.servlet.jsp.api.version} - - - - javax.el - javax.el-api - ${javax.el.version} - - - - javax.servlet - servlet-api - ${javax.servlet.api.version} - - - - org.apache.myfaces.core - myfaces-api - ${myfaces.version} - - - - org.apache.myfaces.core - myfaces-impl - ${myfaces.version} - - - - org.apache.myfaces.shared - myfaces-shared-impl - ${myfaces.shared.version} - - - - org.apache.myfaces.buildtools - myfaces-builder-annotations - ${myfaces.annotations.version} - - - - com.sun.faces - jsf-api - ${mojarra.jsf.version} - - - - com.sun.faces - jsf-impl - ${mojarra.jsf.version} - - - - org.apache.myfaces.buildtools - myfaces-builder-plugin - ${myfaces.buildtools.version} - - - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex-annotations - ${jsf.flex.version} - - - com.googlecode.jsf-flex.jsf-flex-shared-project - jsf-flex-shared - ${jsf.flex.version} - - - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex - ${jsf.flex.version} - - - com.googlecode.jsf-flex.jsf-flex-project - jsf-flex-project-renderKit15 - ${jsf.flex.version} - - - - - - - jsf-flex-build-plugIn - jsf-flex - jsf-flex-shared - runnerImpl - - - - install - - - org.jvnet.wagon-svn - wagon-svn - 1.9 - - - - - org.codehaus.mojo - buildnumber-maven-plugin - ${buildnumber.plugin.version} - - {0,date,yyyy-MM-dd-HH-mm} - - timestamp - - - - - validate - - create - - - - - - maven-source-plugin - - - attach-source - - jar - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.5 - 1.5 - 2048m - 1024m - - - - - - - - false - jsf-flex-googlecode - svn:https://jsf-flex.googlecode.com/svn/repository/release - - - - - 1.2 - 2.2.1 - 2.2.1 - 2.5 - 1.0.8 - 1.0.9 - 2.1.1 - 4.1.0 - 2.1.2 - 0.5a-SNAPSHOT - 1.0 - 1.6 - - - - - maven2-repository.java.net - Java.net Repository for Maven - http://download.java.net/maven/2/ - default - - - - diff --git a/projectFacetsEclipseJBoss42.jpg b/projectFacetsEclipseJBoss42.jpg new file mode 100644 index 00000000..4d72a68d Binary files /dev/null and b/projectFacetsEclipseJBoss42.jpg differ diff --git a/projectFacetsEclipseJBoss60.jpg b/projectFacetsEclipseJBoss60.jpg new file mode 100644 index 00000000..adc3d5c7 Binary files /dev/null and b/projectFacetsEclipseJBoss60.jpg differ diff --git a/projectFacetsEclipseTomCat60.jpg b/projectFacetsEclipseTomCat60.jpg new file mode 100644 index 00000000..d161f73a Binary files /dev/null and b/projectFacetsEclipseTomCat60.jpg differ diff --git a/projectFacetsEclipseTomCat70.jpg b/projectFacetsEclipseTomCat70.jpg new file mode 100644 index 00000000..5d2e9e2f Binary files /dev/null and b/projectFacetsEclipseTomCat70.jpg differ diff --git a/reverseSortRemoteGridDragDropView.jpg b/reverseSortRemoteGridDragDropView.jpg new file mode 100644 index 00000000..e04b7b77 Binary files /dev/null and b/reverseSortRemoteGridDragDropView.jpg differ diff --git a/runnerImpl/commonTaskRunnerImpl/pom.xml b/runnerImpl/commonTaskRunnerImpl/pom.xml deleted file mode 100644 index 9977e941..00000000 --- a/runnerImpl/commonTaskRunnerImpl/pom.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - com.googlecode.jsf-flex.runner-impl-project - runner-impl-main-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.runner-impl-project.common-runner-project - common-main-runner-project - pom - JSF-Flex Common Task Runner Impl Project - JSF Flex Common Task Runner Impl Project contains Java SDK standard common task runner impl project - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/runnerImpl/commonTaskRunnerImpl - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/runnerImpl/commonTaskRunnerImpl - - - - sdkStandardCommonTaskRunnerImpl - stubStandardCommonTaskRunnerImpl - - - \ No newline at end of file diff --git a/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/pom.xml b/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/pom.xml deleted file mode 100644 index adeb0ad4..00000000 --- a/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/pom.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - com.googlecode.jsf-flex.runner-impl-project.common-runner-project - common-main-runner-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.runner-impl-project.common-runner-project - sdk-standard-common-impl - jar - JSF-Flex SDK Standard Common Task Runner Impl Project - JSF Flex SDK Standard Common Task Runner Impl Project contains tasks using Java's standard SDK library - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-framework/runnerImp/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-framework/runnerImp/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl - - - - - - commons-logging - commons-logging - - - - com.googlecode.jsf-flex.jsf-flex-shared-project - jsf-flex-shared - - - - - \ No newline at end of file diff --git a/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/SDKStandardCommonTaskRunnerImpl.java b/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/SDKStandardCommonTaskRunnerImpl.java deleted file mode 100644 index b32ddb79..00000000 --- a/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/SDKStandardCommonTaskRunnerImpl.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks; - -import java.io.File; -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.InputStream; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.tasks.sdk.UnzipTask; - -/** - * A SDKStandard implementation of ICommonTaskRunner interface.
      - * - * @author Ji Hoon Kim - */ -final class SDKStandardCommonTaskRunnerImpl extends TaskRunnerImpl implements ICommonTaskRunner { - - SDKStandardCommonTaskRunnerImpl(){ - super(); - } - - public void unZipArchiveRelative(String file, String dest, String queueTaskId) { - InputStream fileIO = UnzipTask.class.getResourceAsStream(file); - UnzipTask toUnzip = new UnzipTask(fileIO, dest); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, toUnzip); - }else{ - addTask(toUnzip); - } - } - - public void unZipArchiveAbsolute(File file, String dest, String queueTaskId) { - try{ - FileInputStream fileIO = new FileInputStream(file); - UnzipTask toUnzip = new UnzipTask(fileIO, dest); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, toUnzip); - }else{ - addTask(toUnzip); - } - }catch(FileNotFoundException fileNotFoundExcept){ - throw new ComponentBuildException(fileNotFoundExcept); - } - } - - public void unZipArchiveAbsolute(InputStream file, String dest, String queueTaskId) { - UnzipTask toUnzip = new UnzipTask(file, dest); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, toUnzip); - }else{ - addTask(toUnzip); - } - } - -} diff --git a/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/sdk/UnzipTask.java b/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/sdk/UnzipTask.java deleted file mode 100644 index a2423df0..00000000 --- a/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/sdk/UnzipTask.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.sdk; - -import java.io.BufferedInputStream; -import java.io.BufferedOutputStream; -import java.io.File; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.util.zip.ZipEntry; -import java.util.zip.ZipInputStream; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.tasks.AbstractTask; - -/** - * @author Ji Hoon Kim - */ -public final class UnzipTask extends AbstractTask { - - private final static Log _log = LogFactory.getLog(UnzipTask.class); - - private static final int BUFFER_SIZE = 2048; - - private InputStream _file; - private String _dest; - - public UnzipTask(){ - super(); - } - - public UnzipTask(InputStream file, String dest){ - super(); - _file = file; - _dest = dest; - } - - protected void performTask() { - - BufferedOutputStream bufferOutputStream = null; - ZipInputStream zipInputStream = new ZipInputStream(new BufferedInputStream(_file)); - ZipEntry entry; - - try{ - - while((entry = zipInputStream.getNextEntry()) != null){ - - ensureDirectoryExists(entry.getName(), entry.isDirectory()); - - bufferOutputStream = new BufferedOutputStream(new FileOutputStream(_dest + entry.getName()), BUFFER_SIZE); - int currRead = 0; - byte[] dataRead = new byte[BUFFER_SIZE]; - - while((currRead = zipInputStream.read(dataRead, 0, BUFFER_SIZE)) != -1){ - bufferOutputStream.write(dataRead, 0, currRead); - } - bufferOutputStream.flush(); - bufferOutputStream.close(); - } - - _log.debug("UnzipTask performTask has been completed with " + toString()); - }catch(IOException ioExcept){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in Unzip's performTask with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), ioExcept); - }finally{ - try{ - zipInputStream.close(); - if(bufferOutputStream != null){ - bufferOutputStream.close(); - } - }catch(IOException innerIOExcept){ - _log.info("Error while closing the streams within UnzipTask's finally block"); - } - } - - } - - private void ensureDirectoryExists(String directoryToCheck, boolean isDirectory){ - String[] directorySplitted = directoryToCheck.split("/"); - int lengthToTraverse = isDirectory ? directorySplitted.length : directorySplitted.length - 1; - - String tempLocation = _dest; - for(int i=0; i < lengthToTraverse; i++){ - tempLocation += directorySplitted[i] + File.separatorChar; - File currDirCheck = new File(tempLocation); - if(!currDirCheck.exists()){ - currDirCheck.mkdir(); - } - } - - } - - public String toString(){ - StringBuilder content = new StringBuilder(); - content.append("file [ "); - content.append(_file); - content.append(" ] "); - content.append("dest [ "); - content.append(_dest); - content.append(" ]"); - return content.toString(); - } - - public void dest(String dest) { - _dest = dest; - } - public void file(InputStream file) { - _file = file; - } - -} diff --git a/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/sdk/flexSDK_1.zip b/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/sdk/flexSDK_1.zip deleted file mode 100644 index e6f74d7d..00000000 Binary files a/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/sdk/flexSDK_1.zip and /dev/null differ diff --git a/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/sdk/flexSDK_2.zip b/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/sdk/flexSDK_2.zip deleted file mode 100644 index 2074fe69..00000000 Binary files a/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/sdk/flexSDK_2.zip and /dev/null differ diff --git a/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/sdk/flexSDK_3.zip b/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/sdk/flexSDK_3.zip deleted file mode 100644 index 59a79c74..00000000 Binary files a/runnerImpl/commonTaskRunnerImpl/sdkStandardCommonTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/sdk/flexSDK_3.zip and /dev/null differ diff --git a/runnerImpl/commonTaskRunnerImpl/stubStandardCommonTaskRunnerImpl/pom.xml b/runnerImpl/commonTaskRunnerImpl/stubStandardCommonTaskRunnerImpl/pom.xml deleted file mode 100644 index 3e96aca3..00000000 --- a/runnerImpl/commonTaskRunnerImpl/stubStandardCommonTaskRunnerImpl/pom.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - com.googlecode.jsf-flex.runner-impl-project.common-runner-project - common-main-runner-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.runner-impl-project.common-runner-project - stub-standard-common-impl - jar - JSF-Flex Stub Standard Common Task Runner Impl Project - JSF Flex Stub Standard Common Task Runner Impl Project contains stubs for the methods that need to be implemented. - Meaning it is expected that the user has provided flexSDK path within web.xml or for each of the flexApplication within - xhtml + jsp pages. - - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/jsf-flex-framework/runnerImp/commonTaskRunnerImpl/stubStandardCommonTaskRunnerImpl - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/jsf-flex-framework/runnerImp/commonTaskRunnerImpl/stubStandardCommonTaskRunnerImpl - - - - - - com.googlecode.jsf-flex.jsf-flex-shared-project - jsf-flex-shared - - - - - \ No newline at end of file diff --git a/runnerImpl/commonTaskRunnerImpl/stubStandardCommonTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/StubStandardCommonTaskRunnerImpl.java b/runnerImpl/commonTaskRunnerImpl/stubStandardCommonTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/StubStandardCommonTaskRunnerImpl.java deleted file mode 100644 index 3cf77d1a..00000000 --- a/runnerImpl/commonTaskRunnerImpl/stubStandardCommonTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/StubStandardCommonTaskRunnerImpl.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks; - -import java.io.File; -import java.io.InputStream; - -/** - * Stub implementation in case user provides flesSDK path [preferred method, b/c size difference is small {sarcasm here meaning it's large}] - * - * @author Ji Hoon Kim - */ -final class StubStandardCommonTaskRunnerImpl extends TaskRunnerImpl implements ICommonTaskRunner { - - StubStandardCommonTaskRunnerImpl(){ - super(); - } - - public void unZipArchiveAbsolute(File file, String dest, String queueTaskId) { - - } - - public void unZipArchiveAbsolute(InputStream file, String dest, String queueTaskId) { - - } - - public void unZipArchiveRelative(String file, String dest, String queueTaskId) { - - } - -} diff --git a/runnerImpl/fileManipulatorTaskRunnerImpl/pom.xml b/runnerImpl/fileManipulatorTaskRunnerImpl/pom.xml deleted file mode 100644 index b8d1b1f5..00000000 --- a/runnerImpl/fileManipulatorTaskRunnerImpl/pom.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - com.googlecode.jsf-flex.runner-impl-project - runner-impl-main-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.runner-impl-project.file-manipulator-runner-project - file-manipulator-main-runner-project - pom - JSF Flex File Manipulator Task Runner Impl Project - JSF Flex File Manipulator Task Runner Impl Project contains Velocity File Manipulator Runner impl project - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/runnerImpl/fileManipulatorTaskRunnerImpl - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/runnerImpl/fileManipulatorTaskRunnerImpl - - - - velocityFileManipulatorTaskRunnerImpl - - - \ No newline at end of file diff --git a/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/pom.xml b/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/pom.xml deleted file mode 100644 index 6611f983..00000000 --- a/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/pom.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - com.googlecode.jsf-flex.runner-impl-project.file-manipulator-runner-project - file-manipulator-main-runner-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.runner-impl-project.file-manipulator-runner-project - velocity-file-manipulator-impl - jar - JSF Flex Velocity File Manipulator Task Runner Impl Project - JSF Velocity File Manipulator Runner impl project includes tasks using Velocity for JSF Flex project - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/runnerImp/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/runnerImp/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl - - - - - - commons-logging - commons-logging - - - - com.googlecode.jsf-flex.jsf-flex-shared-project - jsf-flex-shared - - - - velocity - velocity - 1.5 - - - - - \ No newline at end of file diff --git a/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/VelocityFileManipulatorTaskRunnerImpl.java b/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/VelocityFileManipulatorTaskRunnerImpl.java deleted file mode 100644 index 6b5581da..00000000 --- a/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/VelocityFileManipulatorTaskRunnerImpl.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks; - -import java.io.File; -import java.io.FileWriter; -import java.io.IOException; -import java.io.InputStreamReader; -import java.io.Reader; -import java.util.HashMap; -import java.util.LinkedHashSet; -import java.util.Map; -import java.util.Properties; -import java.util.Set; - -import com.googlecode.jsfFlex.shared.beans.templates.TokenValue; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.tasks.velocity.EvaluateTemplateTask; - -/** - * A Velocity implementation of AbstractFileManipulatorTaskRunner interface.
      - * - * @author Ji Hoon Kim - */ -final class VelocityFileManipulatorTaskRunnerImpl extends AbstractFileManipulatorTaskRunner { - - private final static String JSF_FLEX_LOG_TAG = "jsf-flex"; - private final static String JSF_FLEX_TEMPLATE = "jsf-flex-template.vm"; - private final static String TOKEN_LIST_TOKEN = "tokenList"; - private final static String FLEX_COMPONENT_NAME_TOKEN = "flexComponent"; - private final static String FLEX_COMPONENT_NAME_SPACE = "flexComponentNS"; - private final static String INITIAL_BODY_CONTENT_TOKEN = "initialBodyContent"; - private final static String CHILD_PRE_MXML_IDENTIFIER_TOKEN = "childIdentifier"; - private final static String SIBLING_PRE_MXML_IDENTIFIER_TOKEN = "siblingIdentifier"; - - VelocityFileManipulatorTaskRunnerImpl(){ - super(); - } - - public synchronized void createFileContent(String filePath, String templateFile, Properties initProperties, Map tokenMap){ - - try{ - Reader templateReader = new InputStreamReader(EvaluateTemplateTask.class.getResourceAsStream(templateFile)); - FileWriter targetWriter = new FileWriter(new File(filePath)); - EvaluateTemplateTask mergeTemplateTask = new EvaluateTemplateTask(initProperties, tokenMap, JSF_FLEX_LOG_TAG, templateReader, targetWriter); - addTask(mergeTemplateTask); - - }catch(IOException ioException){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("filePath [ "); - errorMessage.append(filePath); - errorMessage.append(" ] "); - errorMessage.append("templateFile [ "); - errorMessage.append(templateFile); - errorMessage.append(" ] "); - - if(tokenMap != null){ - - errorMessage.append("overView of tokenMap [ "); - for(String key : tokenMap.keySet()){ - errorMessage.append("key : "); - errorMessage.append(key); - errorMessage.append(", value : "); - - Object value = tokenMap.get(key); - errorMessage.append(value.toString()); - errorMessage.append(" "); - - } - errorMessage.append(" ] "); - } - - throw new ComponentBuildException(errorMessage.toString(), ioException); - } - - } - - public synchronized void createPreMxmlFile(String preMxmlFilePath, Properties initProperties, Set tokenList, String flexComponentName, - String flexComponentNS, String bodyContent, String childIdentifier, String siblingIdentifier) { - if(tokenList == null){ - tokenList = new LinkedHashSet(); - } - - bodyContent = bodyContent == null ? "" : bodyContent; - - Map tokenMap = new HashMap(); - tokenMap.put(TOKEN_LIST_TOKEN, tokenList); - tokenMap.put(FLEX_COMPONENT_NAME_TOKEN, flexComponentName); - tokenMap.put(FLEX_COMPONENT_NAME_SPACE, flexComponentNS); - tokenMap.put(INITIAL_BODY_CONTENT_TOKEN, bodyContent); - tokenMap.put(CHILD_PRE_MXML_IDENTIFIER_TOKEN, childIdentifier); - tokenMap.put(SIBLING_PRE_MXML_IDENTIFIER_TOKEN, siblingIdentifier); - - createFileContent(preMxmlFilePath, JSF_FLEX_TEMPLATE, initProperties, tokenMap); - - } - -} diff --git a/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/velocity/EvaluateTemplateTask.java b/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/velocity/EvaluateTemplateTask.java deleted file mode 100644 index d0ddabd2..00000000 --- a/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/velocity/EvaluateTemplateTask.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.velocity; - -import java.io.IOException; -import java.io.Reader; -import java.io.Writer; -import java.util.Iterator; -import java.util.Map; -import java.util.Properties; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.velocity.VelocityContext; -import org.apache.velocity.app.VelocityEngine; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.tasks.AbstractTask; - -/** - * @author Ji Hoon Kim - */ -public final class EvaluateTemplateTask extends AbstractTask { - - private final static Log _log = LogFactory.getLog(EvaluateTemplateTask.class); - - private VelocityEngine _velocityEngine; - private VelocityContext _context; - private Properties _initProperties; - private Map _contextValues; - private String _logTag; - private Reader _template; - private Writer _writer; - - public EvaluateTemplateTask(){ - super(); - } - - public EvaluateTemplateTask(Properties initProperties, Map contextValues, String logTag, - Reader template, Writer writer){ - super(); - _initProperties = initProperties; - _contextValues = contextValues; - _logTag = logTag; - _template = template; - _writer = writer; - } - - { - _velocityEngine = new VelocityEngine(); - _context = new VelocityContext(); - } - - protected void performTask() { - - init(); - populateContext(); - mergeCollectionToTemplate(); - - } - - private void init() { - try{ - if(_initProperties != null){ - _velocityEngine.init(_initProperties); - }else{ - _velocityEngine.init(); - } - - }catch(Exception exceptionWhileInitializing){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in MergeTemplateTask's init with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), exceptionWhileInitializing); - } - - } - - private void populateContext(){ - - for(String key : _contextValues.keySet()){ - Object value = _contextValues.get(key); - _context.put(key, value); - } - - } - - private void mergeCollectionToTemplate() { - - try{ - _velocityEngine.evaluate(_context, _writer, _logTag, _template); - _writer.flush(); - _log.debug("EvaluateTemplateTask mergeCollectionToTemplate has been completed with " + toString()); - }catch(Exception exceptionWhileMerging){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in MergeTemplateTask's mergeCollectionToTemplate with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), exceptionWhileMerging); - }finally{ - try{ - if(_writer != null){ - _writer.close(); - } - }catch(IOException closerException){ - _log.debug("Error while closing the writer within mergeCollectionToTemplate", closerException); - } - } - - } - - public String toString() { - StringBuilder content = new StringBuilder(); - - content.append("contextValues [ "); - for(Iterator keys = _contextValues.keySet().iterator(); keys.hasNext();){ - String key = keys.next(); - Object value = _contextValues.get(key); - content.append(key); - content.append(":"); - content.append(value.toString()); - if(keys.hasNext()){ - content.append(", "); - } - } - content.append(" ] "); - content.append(" logTag [ "); - content.append(_logTag); - content.append(" ] "); - - return content.toString(); - } - - public void contextValues(Map contextValues) { - _contextValues = contextValues; - } - public void initProperties(Properties initProperties) { - _initProperties = initProperties; - } - public void logTag(String logTag) { - _logTag = logTag; - } - public void template(Reader template) { - _template = template; - } - public void writer(Writer writer) { - _writer = writer; - } - -} diff --git a/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/velocity/FlexApplicationBody.vm b/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/velocity/FlexApplicationBody.vm deleted file mode 100644 index 6390453b..00000000 --- a/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/velocity/FlexApplicationBody.vm +++ /dev/null @@ -1,122 +0,0 @@ - - 0 ) - #set( $errorTextComponentId = ${validationManagerScriptContent.getErrorTextComponentId()} ) - private var validationManager:ValidationManager; - #end - - private function initializeApp(event:Event):void { - compValMapper = ComponentValueMapper.getInstance(this); - compValMapper.initialize(); - - ExternalInterface.addCallback(AS_FORM_SUBMITTING_FUNCTION, formSubmitting); - ExternalInterface.addCallback(AS_POPULATE_INIT_VALUES_FUNCTION, populateInitValues); - - ComponentValueMapper.loadComponentValueMapperXML(this, this.componentValueMapperXMLLoaded); - } - - private function componentValueMapperXMLLoaded(event:Event):void { - - var idObject:Object = ExternalInterface.call(JS_COMMUNICATION_CORE_AM_READY_FUNCTION, this.id); - if(idObject != null){ - compValMapper.populateInitValues(idObject); - } - - #foreach( $dataGridScriptContent in ${additionalApplicationScriptContent.getDataGridScriptContent()} ) - #set( $dataGridVarRef = "${dataGridScriptContent.getDataGridId()}DataGridVarRef" ) - ${dataGridVarRef} = new DataGridServiceRequest("${dataGridScriptContent.getDataGridId()}", ${dataGridScriptContent.getBatchColumnDataRetrievalSize()}, ${dataGridScriptContent.getMaxDataPartitionIndex()}, "${dataGridScriptContent.getFilterComponentId()}", "${dataGridScriptContent.getFilterColumnComponentId()}", "${dataGridScriptContent.getFilterEventListener()}"); - - #foreach( $dataGridColumn in ${dataGridScriptContent.getDataGridColumns()} ) - ${dataGridVarRef}.addDataGridColumServiceRequest("${dataGridColumn.getDataGridColumnId()}", "${dataGridColumn.getDataField()}", ${dataGridColumn.getColumnEditable()}); - #end - - ${dataGridVarRef}.initialize(); - #end - - #foreach( $eventHandler in ${additionalApplicationScriptContent.getEventHandler()} ) - #set( $eventHandlerRef = "${eventHandler.getCollectedUniqueId()}EventHandlerVarRef" ) - ${eventHandlerRef} = new ${eventHandler.getActionScriptConstructor()}("${eventHandler.getSrcId()}", "${eventHandler.getTgtId()}", "${eventHandler.getEventHandlerId()}", "${eventHandler.getEventName()}", ${eventHandler.getAdditionalArguments()}); - #end - - #foreach( $simpleDataProviderSetter in ${additionalApplicationScriptContent.getSimpleDataProviderSetter()} ) - #set( $simpleDataProviderSetterRef = "${simpleDataProviderSetter.getComponentId()}SimpleDataProviderSetterRef" ) - var ${simpleDataProviderSetterRef}:${simpleDataProviderSetter.getComponentTypeVariableDeclaration()} = this["${simpleDataProviderSetter.getComponentId()}"] as ${simpleDataProviderSetter.getComponentTypeCast()}; - #if( ${simpleDataProviderSetter.getInstanceCreate()} ) - ${simpleDataProviderSetterRef}.dataProvider = new ${simpleDataProviderSetter.getInstanceCreate()}( ${simpleDataProviderSetter.getDataProviderContent()} ); - #else - ${simpleDataProviderSetterRef}.dataProvider = ${simpleDataProviderSetter.getDataProviderContent()} as ${simpleDataProviderSetter.getDataProviderCast()}; - #end - #end - - #if ( ${validationManagerScriptContent.getValidationManagerValidatorIds().size()} > 0 ) - validationManager = new ValidationManager("${errorTextComponentId}"); - #foreach( $validationManagerValidatorId in ${validationManagerScriptContent.getValidationManagerValidatorIds()} ) - validationManager.addValidatorId("$validationManagerValidatorId"); - #end - #end - - } - - public function populateInitValues(idObject:Object):void { - if(idObject != null){ - compValMapper.populateInitValues(idObject); - } - } - - public function formSubmitting(idObject:Object):Object { - var processResult:Object = null; - - #if ( ${validationManagerScriptContent.getValidationManagerValidatorIds().size()} > 0 ) - processResult = validationManager.validateComponents(); - if(processResult != null && processResult.result){ - return processResult; - } - #end - - #if ( ${additionalApplicationScriptContent.getDataGridScriptContent().size()} > 0 ) - #foreach( $dataGridScriptContent in ${additionalApplicationScriptContent.getDataGridScriptContent()} ) - #set( $dataGridVarRef = "${dataGridScriptContent.getDataGridId()}DataGridVarRef" ) - ${dataGridVarRef}.flushCacheChanges(); - #end - #end - - processResult = compValMapper.getJSON(idObject); - return processResult; - } - - ]]> - - -#if ( ${validationManagerScriptContent.getValidationManagerValidatorIds().size()} > 0 ) - -#end \ No newline at end of file diff --git a/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/velocity/jsf-flex-flash-application-config.vm b/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/velocity/jsf-flex-flash-application-config.vm deleted file mode 100644 index 011ea5ab..00000000 --- a/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/velocity/jsf-flex-flash-application-config.vm +++ /dev/null @@ -1,4 +0,0 @@ - - - ${jsfFlexFlashApplicationConfig.getFlashToJavaScriptLogMode()} - \ No newline at end of file diff --git a/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/velocity/jsf-flex-template.vm b/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/velocity/jsf-flex-template.vm deleted file mode 100644 index 83fee997..00000000 --- a/runnerImpl/fileManipulatorTaskRunnerImpl/velocityFileManipulatorTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/velocity/jsf-flex-template.vm +++ /dev/null @@ -1,16 +0,0 @@ -<${flexComponentNS}:${flexComponent} - -#foreach( $tokenElement in $tokenList ) - ${tokenElement.getToken()}="${tokenElement.getValue()}" -#end - -> - - -${initialBodyContent} - - - - - - diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/pom.xml b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/pom.xml deleted file mode 100644 index 46851720..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/pom.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - com.googlecode.jsf-flex.runner-impl-project.flex-runner-project - flex-main-runner-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.runner-impl-project.flex-runner-project - ant-flex-impl - jar - JSF Flex Ant Flex Task Runner Impl Project - JSF Flex Ant Flex Runner impl project contains tasks using ANT - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/runnerImp/flexTaskRunnerImpl/antFlexTaskRunnerImpl - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/runnerImp/flexTaskRunnerImpl/antFlexTaskRunnerImpl - - - - - - ant - ant - 1.5.3-1 - - - - ant - ant-optional - 1.5.3-1 - - - - commons-logging - commons-logging - - - - com.googlecode.jsf-flex.jsf-flex-shared-project - jsf-flex-shared - - - - - \ No newline at end of file diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/AntFlexTaskRunnerImpl.java b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/AntFlexTaskRunnerImpl.java deleted file mode 100644 index 1de93437..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/AntFlexTaskRunnerImpl.java +++ /dev/null @@ -1,244 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks; - -import java.io.File; -import java.util.Arrays; -import java.util.LinkedList; -import java.util.List; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.tasks.ant.ChmodTask; -import com.googlecode.jsfFlex.shared.tasks.ant.CopyLocaleTask; -import com.googlecode.jsfFlex.shared.tasks.ant.DeleteTask; -import com.googlecode.jsfFlex.shared.tasks.ant.EchoTask; -import com.googlecode.jsfFlex.shared.tasks.ant.FileCopyTask; -import com.googlecode.jsfFlex.shared.tasks.ant.MXMLCTask; -import com.googlecode.jsfFlex.shared.tasks.ant.MkdirTask; -import com.googlecode.jsfFlex.shared.tasks.ant.RenameTask; -import com.googlecode.jsfFlex.shared.tasks.ant.ReplaceTextTask; -import com.googlecode.jsfFlex.shared.tasks.ant.SWCTask; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * An implementation of IFlexTaskRunner using ANT.
      - * - * @author Ji Hoon Kim - */ -final class AntFlexTaskRunnerImpl extends TaskRunnerImpl implements IFlexTaskRunner { - - private final static Log _log = LogFactory.getLog(AntFlexTaskRunnerImpl.class); - - private static final String ACTION_SCRIPT_DIR_NAME = "actionScript"; - private static final String WEB_CONSTANTS_AS_FILE_NAME = File.separatorChar + "WebConstants.as"; - private static final String WEB_CONTEXT_PATH_TOKEN = "{webContextPath}"; - - AntFlexTaskRunnerImpl(){ - super(); - } - - public void chmod(File directory, String permission, String fileInclusionRegExp, String queueTaskId) { - ChmodTask chmodDirectory = new ChmodTask(directory, permission, fileInclusionRegExp); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, chmodDirectory); - }else{ - addTask(chmodDirectory); - } - } - - public void copyFile(String fileToCopy, String fileToCopyTo, String queueTaskId) { - FileCopyTask fileCopier = new FileCopyTask(fileToCopy, fileToCopyTo); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, fileCopier); - }else{ - addTask(fileCopier); - } - } - - public void copyFileSet(String copyDir, String copyInclude, String copyExclude, String copyTo, String queueTaskId) { - List copyIncludeList = copyInclude == null ? new LinkedList() : Arrays.asList(copyInclude.split(" ")); - List copyExcludeList = copyExclude == null ? new LinkedList() : Arrays.asList(copyExclude.split(" ")); - FileCopyTask fileCopier = new FileCopyTask(copyDir, copyIncludeList, copyExcludeList, copyTo); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, fileCopier); - }else{ - addTask(fileCopier); - } - } - - public void createMXML(String targetAbsolutePath, String copyTo) { - //TODO : Implement this better later - ReplaceTextTask removeEmptySpace = new ReplaceTextTask(targetAbsolutePath); - removeEmptySpace.replaceRegExp(true); - removeEmptySpace.regMatch(ReplaceTextTask.CLEAN_REG_EXP_MATCH); - removeEmptySpace.regReplace(ReplaceTextTask.CLEAN_REG_EXP_REPLACE_WITH); - - addTask(removeEmptySpace); - - copyFile(targetAbsolutePath, copyTo, null); - } - - public void createSWF(String mxmlFile, String swfPath, IFlexApplicationContract componentFlex, String flexSDKRootPath, String locale, String localePath, String queueTaskId) { - MXMLCTask swfCreator = new MXMLCTask(mxmlFile, swfPath, componentFlex, flexSDKRootPath).locale(locale).localePath(localePath); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, swfCreator); - }else{ - addTask(swfCreator); - } - } - - public void copyLocale(String locale, String flexSDKRootPath, String queueTaskId){ - CopyLocaleTask copyLocale = new CopyLocaleTask(locale, flexSDKRootPath); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, copyLocale); - }else{ - addTask(copyLocale); - } - } - - public void createSwcSourceFiles(String swcPath, List systemSourceFiles, String jsfFlexMainSwcConfigFile, String webContextPath) { - //Echo the sourceFiles to the SWC path - - /* - * TODO : implement it better later - * Figure out a method to not create an EchoTask per _systemSourceFiles entry - * and possibly look into implementing it in an another method - */ - for(String currSystemSource : systemSourceFiles){ - String[] currSplit = currSystemSource.split("/"); - StringBuilder path = new StringBuilder(); - - /* - * This is a pure HACK, implement it better later - * The path of ActionScript files must be of com/googlecode/jsfFlex/util/shared/actionScript - */ - String pathToFile = currSystemSource.substring(currSystemSource.indexOf(ACTION_SCRIPT_DIR_NAME) + 13); - if(pathToFile == null || pathToFile.length() == 0){ - _log.debug("The source file [" + currSystemSource + "] is null or the length is zero"); - continue; - } - //remove the last element [name of file] - pathToFile = pathToFile.substring(0, pathToFile.lastIndexOf("/")); - - for(String currFileSeparator : Arrays.asList(pathToFile.split("/"))){ - path.append(currFileSeparator); - path.append(File.separatorChar); - } - makeDirectory(swcPath + path.toString()); - String fileName = swcPath + path.toString() + currSplit[currSplit.length-1]; - EchoTask curr = new EchoTask(getFileManipulatorTaskRunner().getComponentTemplate(getClass().getClassLoader(), currSystemSource), fileName); - addTask(curr); - - /* - * Need to replace WEB_CONTEXT_PATH_TOKEN with the correct value. - * TODO : implement this better later - */ - if(fileName.indexOf(WEB_CONSTANTS_AS_FILE_NAME) > 0){ - ReplaceTextTask replaceWebContextPath = new ReplaceTextTask(fileName); - replaceWebContextPath.addTokenValue(WEB_CONTEXT_PATH_TOKEN, webContextPath); - replaceWebContextPath.multiLineReplace(true); - addTask(replaceWebContextPath); - } - - } - - //now flush out the swc config file - String jsfFlexMainSwcConfigFileName = swcPath + jsfFlexMainSwcConfigFile.substring(jsfFlexMainSwcConfigFile.lastIndexOf("/") + 1); - EchoTask curr = new EchoTask(getFileManipulatorTaskRunner().getComponentTemplate(getClass().getClassLoader(), jsfFlexMainSwcConfigFile), jsfFlexMainSwcConfigFileName); - addTask(curr); - - } - - public void createSwfSourceFiles(String swfBasePath, List systemSwfSourceFiles) { - - MkdirTask swfBasePathDirCreator = new MkdirTask(swfBasePath); - addTask(swfBasePathDirCreator); - - //Echo the swf sourceFiles to the swfBasepath - - /* - * TODO : implement it better later - * Figure out a method to not create an EchoTask per _systemSourceFiles entry - * and possibly look into implementing it in an another method - */ - for(String currSystemSwfSourceFile : systemSwfSourceFiles){ - String[] currSplit = currSystemSwfSourceFile.split("/"); - String fileName = swfBasePath + currSplit[currSplit.length-1]; - EchoTask curr = new EchoTask(getFileManipulatorTaskRunner().getComponentTemplate(getClass().getClassLoader(), currSystemSwfSourceFile), fileName); - addTask(curr); - } - } - - public void createSystemSWCFile(String sourcePath, String outPut, String flexSDKRootPath, String loadConfigFilePath, IFlexApplicationContract componentFlex, String queueTaskId) { - SWCTask swcCreate = new SWCTask(sourcePath, outPut, flexSDKRootPath, loadConfigFilePath, componentFlex); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, swcCreate); - }else{ - addTask(swcCreate); - } - } - - public void deleteResources(String deleteResource, boolean isDirectory, String queueTaskId) { - DeleteTask deleteResourceTask = new DeleteTask(deleteResource, isDirectory); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, deleteResourceTask); - }else{ - addTask(deleteResourceTask); - } - } - - public void makeDirectory(String directoryToCreate) { - MkdirTask preMxmlDirCreator = new MkdirTask(directoryToCreate); - addTask(preMxmlDirCreator); - } - - public void renameFile(String sourceFile, String destFile, boolean overWrite) { - RenameTask rename = new RenameTask(sourceFile, destFile, overWrite); - addTask(rename); - } - - public void replaceTokenWithValue(String targetAbsolutePath, String valueToReplaceWith, String tokenReplace) { - - ReplaceTextTask addUIComponentTemplate = new ReplaceTextTask(targetAbsolutePath); - addUIComponentTemplate.multiLineReplace(true); - addUIComponentTemplate.addTokenValue(tokenReplace, valueToReplaceWith); - addTask(addUIComponentTemplate); - } - - public void writeBodyContent(IFlexContract componentFlex) { - - Object stringBodyContent = componentFlex.getAttributes().get(FlexConstants.TAG_BODY_CONTENT_ATTR); - String stringBodyContentToReplace = stringBodyContent == null ? "" : (String) stringBodyContent; - ReplaceTextTask writeBodyContent = new ReplaceTextTask(componentFlex.getAbsolutePathToPreMxmlFile()); - writeBodyContent.addTokenValue(FlexConstants.TAG_BODY_CONTENT_TOKEN, stringBodyContentToReplace); - writeBodyContent.multiLineReplace(true); - addTask(writeBodyContent); - } - - public final AbstractFileManipulatorTaskRunner getFileManipulatorTaskRunner(){ - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - return flexContext.getFileManipulatorRunner(); - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/AbstractAntBaseTask.java b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/AbstractAntBaseTask.java deleted file mode 100644 index 4d22fad2..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/AbstractAntBaseTask.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.ant; - -import java.io.PrintStream; - -import org.apache.tools.ant.DefaultLogger; -import org.apache.tools.ant.Project; - -import com.googlecode.jsfFlex.shared.tasks.AbstractTask; - -/** - * @author Ji Hoon Kim - */ -abstract class AbstractAntBaseTask extends AbstractTask { - - Project _taskProject; - private DefaultLogger _consoleLogger; - - AbstractAntBaseTask(){ - super(); - _taskProject = new Project(); - _consoleLogger = new DefaultLogger(); - _consoleLogger.setErrorPrintStream(System.err); - _consoleLogger.setOutputPrintStream(System.out); - _consoleLogger.setMessageOutputLevel(Project.MSG_INFO); - _taskProject.addBuildListener(_consoleLogger); - } - - void buildProject(String targetToExecute){ - _taskProject.fireBuildStarted(); - _taskProject.init(); - _taskProject.executeTarget(targetToExecute); - _taskProject.fireBuildFinished(null); - } - - void addBuildListener(DefaultLogger consoleLogger){ - _taskProject.removeBuildListener(_consoleLogger); - _consoleLogger = consoleLogger; - _taskProject.addBuildListener(_consoleLogger); - } - - void setErrorPrintstream(PrintStream errorStream){ - _consoleLogger.setErrorPrintStream(errorStream); - } - - void setOutputPrintStream(PrintStream outStream){ - _consoleLogger.setOutputPrintStream(outStream); - } - - void setMessageOutputLevel(int outLevel){ - _consoleLogger.setMessageOutputLevel(outLevel); - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/ChmodTask.java b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/ChmodTask.java deleted file mode 100644 index 75da93e2..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/ChmodTask.java +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.ant; - -import java.io.File; - -import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.Target; -import org.apache.tools.ant.taskdefs.Chmod; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * @author Ji Hoon Kim - */ -public final class ChmodTask extends AbstractAntBaseTask { - - private static final String CHMOD_TARGET = "chmod"; - - private final Chmod _chmodTask; - private final Target _chmodTarget; - - private File _dir; - private String _permission; - private String _fileInclusionRegExp; - - public ChmodTask(){ - super(); - } - - public ChmodTask(File dir, String permission, String fileInclusionRegExp) { - super(); - - _dir = dir; - _permission = permission; - _fileInclusionRegExp = fileInclusionRegExp; - } - - { - _chmodTarget = new Target(); - _chmodTarget.setName(CHMOD_TARGET); - _chmodTarget.setProject(_taskProject); - _taskProject.addTarget(_chmodTarget); - - _chmodTask = new Chmod(); - _chmodTask.setOwningTarget(_chmodTarget); - _chmodTask.setProject(_taskProject); - - _chmodTarget.addTask(_chmodTask); - } - - @Override - protected void performTask() { - - _chmodTask.setDir(_dir); - - _chmodTask.setPerm(_permission); - - _chmodTask.setIncludes(_fileInclusionRegExp); - - _chmodTask.maybeConfigure(); - - try { - - buildProject(CHMOD_TARGET); - - } catch (BuildException buildException) { - _taskProject.fireBuildFinished(buildException); - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in Chmod's performTask with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), buildException); - } - - } - - @Override - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("dir [ "); - content.append(_dir); - content.append(" ] "); - content.append("permission [ "); - content.append(_permission); - content.append(" ] "); - content.append("fileInclusionRegExp [ "); - content.append(_fileInclusionRegExp); - content.append(" ] "); - return content.toString(); - } - - public ChmodTask dir(File dir) { - _dir = dir; - return this; - } - - public ChmodTask permission(String permission) { - _permission = permission; - return this; - } - - public ChmodTask fileInclusionRegExp(String fileInclusionRegExp) { - _fileInclusionRegExp = fileInclusionRegExp; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/CopyLocaleTask.java b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/CopyLocaleTask.java deleted file mode 100644 index b642359e..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/CopyLocaleTask.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.ant; - -import java.io.File; - -import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.Target; -import org.apache.tools.ant.taskdefs.ExecTask; -import org.apache.tools.ant.types.Commandline.Argument; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public final class CopyLocaleTask extends AbstractAntBaseTask { - - private static final String WINDOWS_EXEC = "bin" + File.separatorChar + "copylocale.exe"; - private static final String NON_WINDOWS_SHELL = "bin" + File.separatorChar + "copylocale"; - - private static final String COPY_LOCALE_TARGET = "copy_locale"; - - private final ExecTask _copyLocaleTask; - private final Target _copyLocaleTarget; - - private String _locale; - private String _flexSDKRootPath; - - public CopyLocaleTask(String locale, String flexSDKRootPath){ - _locale = locale; - _flexSDKRootPath = flexSDKRootPath; - - _copyLocaleTarget = new Target(); - _copyLocaleTarget.setName(COPY_LOCALE_TARGET); - _copyLocaleTarget.setProject(_taskProject); - _taskProject.addTarget(_copyLocaleTarget); - - _copyLocaleTask = new ExecTask(); - _copyLocaleTask.setOwningTarget(_copyLocaleTarget); - _copyLocaleTask.setProject(_taskProject); - _copyLocaleTask.setFailonerror(true); - - _copyLocaleTarget.addTask(_copyLocaleTask); - } - - private void setArguments(){ - - //TODO : Implement it better later - Argument arg; - if(FlexConstants.WINDOWS_SYSTEM){ - _copyLocaleTask.setExecutable(_flexSDKRootPath + WINDOWS_EXEC); - }else{ - _copyLocaleTask.setExecutable(_flexSDKRootPath + NON_WINDOWS_SHELL); - } - - arg = _copyLocaleTask.createArg(); - arg.setLine(FlexConstants.EN_US + " " + _locale); - - _copyLocaleTask.maybeConfigure(); - - } - - @Override - protected void performTask() { - - try { - - setArguments(); - buildProject(COPY_LOCALE_TARGET); - - } catch (BuildException buildException) { - _taskProject.fireBuildFinished(buildException); - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in CopyLocale's performTask with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), buildException); - } - - } - - @Override - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("locale [ "); - content.append(_locale); - content.append(" ] "); - content.append("flexSDKRootPath [ "); - content.append(_flexSDKRootPath); - content.append(" ] "); - return content.toString(); - } - - public CopyLocaleTask locale(String locale){ - _locale = locale; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/DeleteTask.java b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/DeleteTask.java deleted file mode 100644 index 840df46f..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/DeleteTask.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.ant; - -import java.io.File; - -import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.Target; -import org.apache.tools.ant.taskdefs.Delete; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * @author Ji Hoon Kim - */ -public final class DeleteTask extends AbstractAntBaseTask { - - private static final String DELETE_TARGET = "delete"; - - private final Delete _deleteTask; - private final Target _deleteTarget; - - private String _deleteResource; - private boolean _isDirectory; - - public DeleteTask(){ - super(); - } - - public DeleteTask(String deleteResource, boolean isDirectory){ - super(); - _deleteResource = deleteResource; - _isDirectory = isDirectory; - } - - { - _deleteTarget = new Target(); - _deleteTarget.setName(DELETE_TARGET); - _deleteTarget.setProject(_taskProject); - _taskProject.addTarget(_deleteTarget); - - _deleteTask = new Delete(); - _deleteTask.setOwningTarget(_deleteTarget); - _deleteTask.setProject(_taskProject); - - _deleteTarget.addTask(_deleteTask); - } - - - protected void performTask() { - - if(_isDirectory){ - _deleteTask.setDir(new File(_deleteResource)); - }else{ - _deleteTask.setFile(new File(_deleteResource)); - } - - _deleteTask.maybeConfigure(); - - try { - - buildProject(DELETE_TARGET); - - } catch (BuildException buildException) { - _taskProject.fireBuildFinished(buildException); - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in Delete's performTask with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), buildException); - } - - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("deleteResource [ "); - content.append(_deleteResource); - content.append(" ] "); - content.append("isDirectory [ "); - content.append(_isDirectory); - content.append(" ] "); - - return content.toString(); - } - - public DeleteTask deleteResource(String deleteResource) { - _deleteResource = deleteResource; - return this; - } - public DeleteTask directory(boolean isDirectory) { - _isDirectory = isDirectory; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/EchoTask.java b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/EchoTask.java deleted file mode 100644 index 8fc30334..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/EchoTask.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.ant; - -import java.io.File; - -import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.Target; -import org.apache.tools.ant.taskdefs.Echo; -import org.apache.tools.ant.taskdefs.Echo.EchoLevel; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * @author Ji Hoon Kim - */ -public final class EchoTask extends AbstractAntBaseTask { - - private static final String ECHO_TARGET = "echo"; - - private final Echo _echoTask; - private final Target _echoTarget; - - private final String _message; - private final String _file; - - private String _level; - private boolean _append; - - public EchoTask(String message, String file){ - _message = message; - _file = file; - } - - { - _echoTarget = new Target(); - _echoTarget.setName(ECHO_TARGET); - _echoTarget.setProject(_taskProject); - _taskProject.addTarget(_echoTarget); - - _echoTask = new Echo(); - _echoTask.setOwningTarget(_echoTarget); - _echoTask.setProject(_taskProject); - - _echoTarget.addTask(_echoTask); - - _level = "error"; - _append = false; - } - - protected void performTask() { - - _echoTask.addText(_message); - _echoTask.setFile(new File(_file)); - - EchoLevel echoLevel = new EchoLevel(); - echoLevel.setValue(_level); - _echoTask.setLevel(echoLevel); - - _echoTask.setAppend(_append); - - _echoTask.maybeConfigure(); - - try { - - buildProject(ECHO_TARGET); - - } catch (BuildException buildException) { - _taskProject.fireBuildFinished(buildException); - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in Echo's performTask with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), buildException); - } - - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("message [ "); - content.append(_message); - content.append(" ] "); - content.append("file [ "); - content.append(_file); - content.append(" ] "); - content.append("level [ "); - content.append(_level); - content.append(" ] "); - content.append(" append [ "); - content.append(_append); - content.append("]"); - - return content.toString(); - } - - public EchoTask append(boolean append) { - _append = append; - return this; - } - public EchoTask level(String level) { - _level = level; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/FileCopyTask.java b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/FileCopyTask.java deleted file mode 100644 index 807af22e..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/FileCopyTask.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.ant; - -import java.io.File; -import java.util.List; - -import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.Target; -import org.apache.tools.ant.taskdefs.Copy; -import org.apache.tools.ant.types.FileSet; -import org.apache.tools.ant.types.PatternSet; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * @author Ji Hoon Kim - */ -public final class FileCopyTask extends AbstractAntBaseTask { - - private static final String COPY_TARGET = "copy"; - - private final Copy _copyTask; - private final Target _copyTarget; - - private String _copyFile; - private String _copyToFile; - - private String _copyDir; - private List _copyInclude; - private List _copyExclude; - private String _copyTo; - private FileSet _dirCopyFileSet; - - public FileCopyTask(){ - super(); - } - - public FileCopyTask(String copyFile, String copyToFile){ - super(); - _copyFile = copyFile; - _copyToFile = copyToFile; - } - - public FileCopyTask(String copyDir, List copyInclude, List copyExclude, - String copyTo){ - super(); - _copyDir = copyDir; - _copyInclude = copyInclude; - _copyExclude = copyExclude; - _copyTo = copyTo; - } - - { - _copyTarget = new Target(); - _copyTarget.setName(COPY_TARGET); - _copyTarget.setProject(_taskProject); - _taskProject.addTarget(_copyTarget); - - _copyTask = new Copy(); - _copyTask.setOwningTarget(_copyTarget); - _copyTask.setProject(_taskProject); - - _copyTarget.addTask(_copyTask); - } - - private void configureParameters(){ - - if(_copyFile != null){ - //means by file copy - _copyTask.setFile(new File(_copyFile)); - - }else{ - //means by dir copy with fileset - _dirCopyFileSet = new FileSet(); - _dirCopyFileSet.setDir(new File(_copyDir)); - - if(_copyInclude != null){ - - for(String currentCopyInclude : _copyInclude){ - PatternSet.NameEntry copyIncludeNE = _dirCopyFileSet.createInclude(); - copyIncludeNE.setName(currentCopyInclude); - } - } - - if(_copyExclude != null){ - - for(String currentCopyExclude : _copyExclude){ - PatternSet.NameEntry copyExcludeNE = _dirCopyFileSet.createExclude(); - copyExcludeNE.setName(currentCopyExclude); - } - } - - _copyTask.addFileset(_dirCopyFileSet); - - } - - if(_copyToFile != null){ - _copyTask.setTofile(new File(_copyToFile)); - }else{ - _copyTask.setTodir(new File(_copyTo)); - } - - _copyTask.maybeConfigure(); - } - - protected void performTask() { - - configureParameters(); - - try { - - buildProject(COPY_TARGET); - - } catch (BuildException buildException) { - _taskProject.fireBuildFinished(buildException); - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in Copy's performTask with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), buildException); - } - - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("copyFile [ "); - content.append(_copyFile); - content.append(" ] "); - content.append("copyDir [ "); - content.append(_copyDir); - content.append(" ] "); - content.append("copyInclude [ "); - content.append(_copyInclude); - content.append(" ] "); - content.append("copyExclude [ "); - content.append(_copyExclude); - content.append(" ] "); - content.append("copyTo [ "); - content.append(_copyTo); - content.append(" ] "); - content.append("copyToFile [ "); - content.append(_copyToFile); - content.append(" ] "); - - return content.toString(); - } - - public FileCopyTask copyFile(String copyFile) { - _copyFile = copyFile; - return this; - } - public FileCopyTask copyDir(String copyDir) { - _copyDir = copyDir; - return this; - } - public FileCopyTask copyExclude(List copyExclude) { - _copyExclude = copyExclude; - return this; - } - public FileCopyTask copyInclude(List copyInclude) { - _copyInclude = copyInclude; - return this; - } - public FileCopyTask copyTo(String copyTo) { - _copyTo = copyTo; - return this; - } - public FileCopyTask copyToFile(String copyToFile) { - _copyToFile = copyToFile; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/MXMLCTask.java b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/MXMLCTask.java deleted file mode 100644 index d6a42d80..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/MXMLCTask.java +++ /dev/null @@ -1,339 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.ant; - -import java.io.File; -import java.util.Map; - -import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.Target; -import org.apache.tools.ant.taskdefs.ExecTask; -import org.apache.tools.ant.types.Commandline.Argument; - -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public final class MXMLCTask extends AbstractAntBaseTask { - - private static final String WINDOWS_EXEC = "bin" + File.separatorChar + "mxmlc.exe"; - private static final String NON_WINDOWS_SHELL = "bin" + File.separatorChar + "mxmlc"; - - private static final String MXMLC_TARGET = "mxmlc_compile"; - - private static final String ACCESSIBLE = " -accessible="; - private static final String LOCALE = " -locale "; - private static final String RUNTIME_SHARED_LIBRARIES = " -runtime-shared-libraries="; - private static final String EXTERNAL_LIBRARY_PATH = " -external-library-path="; - private static final String FILE_PROPERTY = "-file-specs "; - private static final String OUTPUT_ARG_SYNTAX = " -output "; - private static final String SOURCE_PATH_ARG_SYNTAX = " -source-path "; - private static final String DEFAULT_BG_COLOR_ARG_SYNTAX = " -default-background-color "; - private static final String DEFAULT_SCRIPT_LIMIT_ARG_SYNTAX = " -default-script-limits "; - private static final String INCREMENTAL_ARG_SYNTAX = " -incremental="; - private static final String LOAD_CONFIG_ARG_SYNTAX = " -load-config+="; - private static final String TITLE_ARG_SYNTAX = " -title "; - private static final String DESCRIPTION_ARG_SYNTAX = " -description "; - private static final String CREATOR_ARG_SYNTAX = " -creator "; - private static final String PUBLISHER_ARG_SYNTAX = " -publisher "; - private static final String LANGUAGE_ARG_SYNTAX = " -language "; - private static final String DATE_ARG_SYNTAX = " -date "; - private static final String OPTIMIZE = " -compiler.optimize "; - - private final ExecTask _mxmlcTask; - private final Target _mxmlcTarget; - - private final String _file; - private final String _outputPath; - private final IFlexApplicationContract _componentFlex; - private final String _flexSDKRootPath; - - private String _locale; - private String _localePath; - - public MXMLCTask(String file, String outputPath, IFlexApplicationContract componentFlex, String flexSDKRootPath){ - _file = file; - _outputPath = outputPath; - _componentFlex = componentFlex; - _flexSDKRootPath = flexSDKRootPath; - - _mxmlcTarget = new Target(); - _mxmlcTarget.setName(MXMLC_TARGET); - _mxmlcTarget.setProject(_taskProject); - _taskProject.addTarget(_mxmlcTarget); - - _mxmlcTask = new ExecTask(); - _mxmlcTask.setOwningTarget(_mxmlcTarget); - _mxmlcTask.setProject(_taskProject); - _mxmlcTask.setFailonerror(true); - - _mxmlcTarget.addTask(_mxmlcTask); - } - - private void setArguments(){ - - //TODO : Implement it better later - Argument arg; - if(FlexConstants.WINDOWS_SYSTEM){ - _mxmlcTask.setExecutable(_flexSDKRootPath + WINDOWS_EXEC); - }else{ - _mxmlcTask.setExecutable(_flexSDKRootPath + NON_WINDOWS_SHELL); - } - - arg = _mxmlcTask.createArg(); - arg.setLine(FILE_PROPERTY + FlexConstants.STRING_QUOTE + _file + FlexConstants.STRING_QUOTE); - - arg = _mxmlcTask.createArg(); - arg.setLine(OPTIMIZE); - - if(_outputPath != null){ - arg = _mxmlcTask.createArg(); - arg.setLine(OUTPUT_ARG_SYNTAX + FlexConstants.STRING_QUOTE + _outputPath + FlexConstants.STRING_QUOTE); - } - - if(_componentFlex.isAccessible()){ - arg = _mxmlcTask.createArg(); - arg.setLine(ACCESSIBLE + "true"); - } - - if(_locale != null){ - arg = _mxmlcTask.createArg(); - arg.setLine(LOCALE + _locale); - } - - if(_componentFlex.getSourcePath() != null || _localePath != null){ - StringBuilder sourcePathVal = new StringBuilder(); - - if(_componentFlex.getSourcePath() != null){ - - for(String currPath : _componentFlex.getSourcePath()){ - sourcePathVal.append(FlexConstants.STRING_QUOTE); - sourcePathVal.append(currPath); - sourcePathVal.append(FlexConstants.STRING_QUOTE); - sourcePathVal.append(" "); - } - } - - if(_localePath != null){ - sourcePathVal.append(FlexConstants.STRING_QUOTE); - sourcePathVal.append(_localePath); - sourcePathVal.append(FlexConstants.STRING_QUOTE); - } - - arg = _mxmlcTask.createArg(); - arg.setLine(SOURCE_PATH_ARG_SYNTAX + sourcePathVal.toString()); - } - - if(_componentFlex.getExternalLibraryPath() != null){ - arg = _mxmlcTask.createArg(); - - StringBuilder externalLibraryPath = new StringBuilder(); - for(String currExternalLibraryPath : _componentFlex.getExternalLibraryPath()){ - externalLibraryPath.append(FlexConstants.STRING_QUOTE); - externalLibraryPath.append(currExternalLibraryPath); - externalLibraryPath.append(FlexConstants.STRING_QUOTE); - externalLibraryPath.append(" "); - } - arg.setLine(EXTERNAL_LIBRARY_PATH + externalLibraryPath.toString()); - } - - if(_componentFlex.getRuntimeSharedLibraries() != null){ - arg = _mxmlcTask.createArg(); - - StringBuilder runtimeSharedLibrary = new StringBuilder(); - for(String currRuntimeSharedLibrary : _componentFlex.getRuntimeSharedLibraries()){ - runtimeSharedLibrary.append(FlexConstants.STRING_QUOTE); - runtimeSharedLibrary.append(currRuntimeSharedLibrary); - runtimeSharedLibrary.append(FlexConstants.STRING_QUOTE); - runtimeSharedLibrary.append(" "); - } - arg.setLine(RUNTIME_SHARED_LIBRARIES + runtimeSharedLibrary.toString()); - } - - if(_componentFlex.getDefaultBgColor() != null){ - arg = _mxmlcTask.createArg(); - arg.setLine(DEFAULT_BG_COLOR_ARG_SYNTAX + _componentFlex.getDefaultBgColor()); - } - - if((_componentFlex.getMaxLvRecursion() != null && _componentFlex.getMaxLvRecursion().intValue() > 0) || - (_componentFlex.getMaxScriptExecTime() != null && _componentFlex.getMaxScriptExecTime().intValue() > 0)){ - StringBuilder limitVal = new StringBuilder(); - limitVal.append((_componentFlex.getMaxLvRecursion() != null && _componentFlex.getMaxLvRecursion().intValue() <= 0) ? 1000 : - _componentFlex.getMaxLvRecursion().intValue()); - limitVal.append(" "); - limitVal.append(((_componentFlex.getMaxScriptExecTime() == null || _componentFlex.getMaxScriptExecTime().intValue() <= 0) || - (_componentFlex.getMaxScriptExecTime() == null || _componentFlex.getMaxScriptExecTime().intValue() > 60)) ? 60 : - _componentFlex.getMaxScriptExecTime().intValue()); - arg = _mxmlcTask.createArg(); - arg.setLine(DEFAULT_SCRIPT_LIMIT_ARG_SYNTAX + limitVal.toString()); - } - - if(_componentFlex.isIncremental()){ - arg = _mxmlcTask.createArg(); - arg.setValue(INCREMENTAL_ARG_SYNTAX + "true"); - } - - if(_componentFlex.getLoadConfig() != null){ - arg = _mxmlcTask.createArg(); - arg.setValue(LOAD_CONFIG_ARG_SYNTAX + FlexConstants.STRING_QUOTE + _componentFlex.getLoadConfig() + FlexConstants.STRING_QUOTE); - } - - if(_componentFlex.getTitle() != null){ - arg = _mxmlcTask.createArg(); - arg.setLine(TITLE_ARG_SYNTAX + _componentFlex.getTitle()); - } - - if(_componentFlex.getDescription() != null){ - arg = _mxmlcTask.createArg(); - arg.setLine(DESCRIPTION_ARG_SYNTAX + _componentFlex.getDescription()); - } - - if(_componentFlex.getCreator() != null){ - arg = _mxmlcTask.createArg(); - arg.setLine(CREATOR_ARG_SYNTAX + _componentFlex.getCreator()); - } - - if(_componentFlex.getPublisher() != null){ - arg = _mxmlcTask.createArg(); - arg.setLine(PUBLISHER_ARG_SYNTAX + _componentFlex.getPublisher()); - } - - if(_componentFlex.getLanguage() != null){ - arg = _mxmlcTask.createArg(); - arg.setLine(LANGUAGE_ARG_SYNTAX + _componentFlex.getLanguage()); - } - - if(_componentFlex.getDate() != null){ - java.text.SimpleDateFormat format = new java.text.SimpleDateFormat("MM/dd/yyyy"); - String dateFormatted = format.format(_componentFlex.getDate()); - arg = _mxmlcTask.createArg(); - arg.setLine(DATE_ARG_SYNTAX + dateFormatted); - } - - Map additionalMxmlcCommandArgs = _componentFlex.getAdditionalMxmlcCommandArguments(); - if(additionalMxmlcCommandArgs != null){ - for(String currKey : additionalMxmlcCommandArgs.keySet()){ - arg = _mxmlcTask.createArg(); - arg.setLine(currKey + additionalMxmlcCommandArgs.get(currKey)); - } - } - _mxmlcTask.maybeConfigure(); - } - - protected void performTask() { - - try { - - setArguments(); - buildProject(MXMLC_TARGET); - - } catch (BuildException buildException) { - _taskProject.fireBuildFinished(buildException); - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in MXMLC's performTask with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), buildException); - } - - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("file [ "); - content.append(_file); - content.append(" ] "); - content.append("outputPath [ "); - content.append(_outputPath); - content.append(" ] "); - content.append("flexSDKRootPath [ "); - content.append(_flexSDKRootPath); - content.append(" ] "); - content.append("locale [ "); - content.append(_locale); - content.append(" ] "); - content.append("localePath [ "); - content.append(_localePath); - content.append(" ] "); - content.append("accessible [ "); - content.append(_componentFlex.isAccessible()); - content.append(" ] "); - content.append("externalLibraryPath [ "); - content.append(_componentFlex.getExternalLibraryPath()); - content.append(" ] "); - content.append("runtimeSharedLibraries [ "); - content.append(_componentFlex.getRuntimeSharedLibraries()); - content.append(" ] "); - content.append("source_path ["); - if(_componentFlex.getSourcePath() != null){ - - for(String currSourcePath : _componentFlex.getSourcePath()){ - content.append(" "); - content.append(currSourcePath); - } - } - content.append(" ] "); - content.append("default_bg_color [ "); - content.append(_componentFlex.getDefaultBgColor()); - content.append(" ] "); - content.append("max_lv_recursion [ "); - content.append(_componentFlex.getMaxLvRecursion()); - content.append(" ] "); - content.append("max_script_exec_time [ "); - content.append(_componentFlex.getMaxScriptExecTime()); - content.append(" ] "); - content.append("incremental [ "); - content.append(_componentFlex.isIncremental()); - content.append(" ] "); - content.append("load_config [ "); - content.append(_componentFlex.getLoadConfig()); - content.append(" ] "); - content.append("title [ "); - content.append(_componentFlex.getTitle()); - content.append(" ] "); - content.append("description [ "); - content.append(_componentFlex.getDescription()); - content.append(" ] "); - content.append("creator [ "); - content.append(_componentFlex.getCreator()); - content.append(" ] "); - content.append("publisher [ "); - content.append(_componentFlex.getPublisher()); - content.append(" ] "); - content.append("language [ "); - content.append(_componentFlex.getLanguage()); - content.append(" ] "); - content.append("date [ "); - content.append(_componentFlex.getDate()); - content.append(" ] "); - return content.toString(); - } - - public MXMLCTask locale(String locale){ - _locale = locale; - return this; - } - public MXMLCTask localePath(String localePath){ - _localePath = localePath; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/MkdirTask.java b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/MkdirTask.java deleted file mode 100644 index b5c28197..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/MkdirTask.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.ant; - -import java.io.File; - -import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.Target; -import org.apache.tools.ant.taskdefs.Mkdir; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * @author Ji Hoon Kim - */ -public final class MkdirTask extends AbstractAntBaseTask { - - private static final String MKDIR_TARGET = "mkdir"; - - private final Mkdir _mkdirTask; - private final Target _mkdirTarget; - - private String _file; - - public MkdirTask(){ - super(); - } - - public MkdirTask(String file){ - _file = file; - } - - { - _mkdirTarget = new Target(); - _mkdirTarget.setName(MKDIR_TARGET); - _mkdirTarget.setProject(_taskProject); - _taskProject.addTarget(_mkdirTarget); - - _mkdirTask = new Mkdir(); - _mkdirTask.setOwningTarget(_mkdirTarget); - _mkdirTask.setProject(_taskProject); - - _mkdirTarget.addTask(_mkdirTask); - } - - protected void performTask() { - - _mkdirTask.setDir(new File(_file)); - - _mkdirTask.maybeConfigure(); - - try { - - buildProject(MKDIR_TARGET); - - } catch (BuildException buildException) { - _taskProject.fireBuildFinished(buildException); - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in Mkdir's performTask with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), buildException); - } - - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("file [ "); - content.append(_file); - content.append(" ] "); - - return content.toString(); - } - - public MkdirTask file(String file) { - _file = file; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/RenameTask.java b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/RenameTask.java deleted file mode 100644 index e1cc6420..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/RenameTask.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.ant; - -import java.io.File; - -import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.Target; -import org.apache.tools.ant.taskdefs.Move; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * @author Ji Hoon Kim - */ -public final class RenameTask extends AbstractAntBaseTask { - - private static final String RENAME_TARGET = "rename"; - - private final Move _renameTask; - private final Target _renameTarget; - - private String _sourceFile; - private String _destFile; - private boolean _overwrite; - - public RenameTask(){ - super(); - } - - public RenameTask(String sourceFile, String destFile, boolean overwrite){ - super(); - _sourceFile = sourceFile; - _destFile = destFile; - _overwrite = overwrite; - } - - { - _renameTarget = new Target(); - _renameTarget.setName(RENAME_TARGET); - _renameTarget.setProject(_taskProject); - _taskProject.addTarget(_renameTarget); - - _renameTask = new Move(); - _renameTask.setOwningTarget(_renameTarget); - _renameTask.setProject(_taskProject); - - _renameTarget.addTask(_renameTask); - } - - protected void performTask() { - - _renameTask.setFile(new File(_sourceFile)); - _renameTask.setTofile(new File(_destFile)); - _renameTask.setOverwrite(_overwrite); - - _renameTask.maybeConfigure(); - - try { - - buildProject(RENAME_TARGET); - - } catch (BuildException buildException) { - _taskProject.fireBuildFinished(buildException); - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in Rename's performTask with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), buildException); - } - - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("sourceFile [ "); - content.append(_sourceFile); - content.append(" ] "); - content.append("destFile [ "); - content.append(_destFile); - content.append(" ] "); - content.append("overwrite [ "); - content.append(_overwrite); - content.append(" ] "); - - return content.toString(); - } - - public RenameTask destFile(String destFile) { - _destFile = destFile; - return this; - } - public RenameTask overwrite(boolean overwrite) { - _overwrite = overwrite; - return this; - } - public RenameTask sourceFile(String sourceFile) { - _sourceFile = sourceFile; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/ReplaceTextTask.java b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/ReplaceTextTask.java deleted file mode 100644 index 7fec7077..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/ReplaceTextTask.java +++ /dev/null @@ -1,245 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.ant; - -import java.io.File; -import java.util.HashMap; -import java.util.Map; - -import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.Target; -import org.apache.tools.ant.taskdefs.Replace; -import org.apache.tools.ant.taskdefs.Replace.NestedString; -import org.apache.tools.ant.taskdefs.Replace.Replacefilter; -import org.apache.tools.ant.taskdefs.optional.ReplaceRegExp; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; - -/** - * @author Ji Hoon Kim - */ -public final class ReplaceTextTask extends AbstractAntBaseTask { - - //make the below reg exp better later - public static final String CLEAN_REG_EXP_MATCH = "\\s{2,}"; - public static final String CLEAN_REG_EXP_REPLACE_WITH = System.getProperty("line.separator"); - - private static final String REPLACE_MULTI_LINE_TARGET = "replace_multi_line"; - private static final String REPLACE_TEXT_TARGET = "replace_text"; - private static final String REPLACE_REG_EXP_TARGET = "replace_reg_exp"; - - private final Target _replaceMultiLineTarget; - private final Target _replaceTextTarget; - private final Target _replaceRegExpTarget; - - private final Replace _replaceMultiLineTask; - private final Replace _replaceTextTask; - private final ReplaceRegExp _replaceRegExpTask; - - private final Map _replaceMap; - - private boolean _multiLineReplace; - private boolean _replaceText; - private boolean _replaceRegExp; - - private String _file; - private String _regMatch; - private String _regReplace; - private String _flags; - - public ReplaceTextTask(){ - super(); - } - - public ReplaceTextTask(String file){ - _file = file; - } - - { - //ReplaceMultiLineTarget - _replaceMultiLineTarget = new Target(); - _replaceMultiLineTarget.setName(REPLACE_MULTI_LINE_TARGET); - _replaceMultiLineTarget.setProject(_taskProject); - _taskProject.addTarget(_replaceMultiLineTarget); - - _replaceMultiLineTask = new Replace(); - _replaceMultiLineTask.setOwningTarget(_replaceMultiLineTarget); - _replaceMultiLineTask.setProject(_taskProject); - - _replaceMultiLineTarget.addTask(_replaceMultiLineTask); - - //ReplaceTextTarget - _replaceTextTarget = new Target(); - _replaceTextTarget.setName(REPLACE_TEXT_TARGET); - _replaceTextTarget.setProject(_taskProject); - _taskProject.addTarget(_replaceTextTarget); - - _replaceTextTask = new Replace(); - _replaceTextTask.setOwningTarget(_replaceTextTarget); - _replaceTextTask.setProject(_taskProject); - - _replaceTextTarget.addTask(_replaceTextTask); - - //ReplaceRegExpTarget - _replaceRegExpTarget = new Target(); - _replaceRegExpTarget.setName(REPLACE_REG_EXP_TARGET); - _replaceRegExpTarget.setProject(_taskProject); - _taskProject.addTarget(_replaceRegExpTarget); - - _replaceRegExpTask = new ReplaceRegExp(); - _replaceRegExpTask.setOwningTarget(_replaceRegExpTarget); - _replaceRegExpTask.setProject(_taskProject); - - _replaceRegExpTarget.addTask(_replaceRegExpTask); - - _replaceMap = new HashMap(); - _flags = "gis"; - _multiLineReplace = true; - } - - public void addTokenValue(String token, String value){ - _replaceMap.put(token, value); - } - - protected void performTask() { - - try { - - String targetToExecute = ""; - - if(_multiLineReplace){ - - _replaceMultiLineTask.setFile(new File(_file)); - - for(String tokenVal : _replaceMap.keySet()){ - - Replacefilter replaceFilt = _replaceMultiLineTask.createReplacefilter(); - replaceFilt.setToken(tokenVal); - replaceFilt.setValue((String) _replaceMap.get(tokenVal)); - } - _replaceMultiLineTask.maybeConfigure(); - targetToExecute = REPLACE_MULTI_LINE_TARGET; - }else if(_replaceText){ - - _replaceTextTask.setFile(new File(_file)); - - for(String tokenVal : _replaceMap.keySet()){ - - NestedString nestedToken = _replaceTextTask.createReplaceToken(); - nestedToken.addText(tokenVal); - NestedString nestedValue = _replaceTextTask.createReplaceValue(); - nestedValue.addText(_replaceMap.get(tokenVal)); - } - - _replaceTextTask.maybeConfigure(); - targetToExecute = REPLACE_TEXT_TARGET; - }else if(_replaceRegExp){ - - _replaceRegExpTask.setFile(new File(_file)); - _replaceRegExpTask.setMatch(_regMatch); - _replaceRegExpTask.setReplace(_regReplace); - _replaceRegExpTask.setFlags(_flags); - - _replaceRegExpTask.maybeConfigure(); - targetToExecute = REPLACE_REG_EXP_TARGET; - } - - buildProject(targetToExecute); - - } catch (BuildException buildException) { - _taskProject.fireBuildFinished(buildException); - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in ReplaceText's performTask with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), buildException); - } - - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("multiLineReplace [ "); - content.append(_multiLineReplace); - content.append(" ] "); - content.append("replaceText [ "); - content.append(_replaceText); - content.append(" ] "); - content.append("replaceRegExp [ "); - content.append(_replaceRegExp); - content.append(" ] "); - content.append("file [ "); - content.append(_file); - content.append(" ] "); - content.append("regMatch [ "); - content.append(_regMatch); - content.append(" ] "); - content.append("regReplace [ "); - content.append(_regReplace); - content.append(" ] "); - content.append("flags [ "); - content.append(_flags); - content.append(" ] "); - content.append("replaceMap ["); - for(String currVal : _replaceMap.keySet()){ - content.append(" "); - content.append("key/value"); - content.append(currVal); - content.append("/"); - content.append(_replaceMap.get(currVal)); - } - content.append(" ] "); - return content.toString(); - } - - public ReplaceTextTask file(String file) { - _file = file; - return this; - } - public ReplaceTextTask multiLineReplace(boolean multiLineReplace) { - _multiLineReplace = multiLineReplace; - _replaceText = false; - _replaceRegExp = false; - return this; - } - public ReplaceTextTask replaceRegExp(boolean replaceRegExp) { - _replaceRegExp = replaceRegExp; - _multiLineReplace = false; - _replaceText = false; - return this; - } - public ReplaceTextTask replaceText(boolean replaceText) { - _replaceText = replaceText; - _multiLineReplace = false; - _replaceRegExp = false; - return this; - } - public ReplaceTextTask flags(String flags) { - _flags = flags; - return this; - } - public ReplaceTextTask regMatch(String regMatch) { - _regMatch = regMatch; - return this; - } - public ReplaceTextTask regReplace(String regReplace) { - _regReplace = regReplace; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/SWCTask.java b/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/SWCTask.java deleted file mode 100644 index b9bb7026..00000000 --- a/runnerImpl/flexTaskRunnerImpl/antFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/ant/SWCTask.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.ant; - -import java.io.File; -import java.util.Map; - -import org.apache.tools.ant.BuildException; -import org.apache.tools.ant.Target; -import org.apache.tools.ant.taskdefs.ExecTask; -import org.apache.tools.ant.types.Commandline.Argument; - -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public final class SWCTask extends AbstractAntBaseTask { - - private static final String WINDOWS_EXEC = "bin" + File.separatorChar + "compc.exe"; - private static final String NON_WINDOWS_SHELL = "bin" + File.separatorChar + "compc"; - - private static final String SOURCE_PATH = " -source-path "; - private static final String OUTPUT = " -output "; - private static final String LOAD_CONFIG_ARG_SYNTAX = " -load-config+="; - private static final String OPTIMIZE = " -compiler.optimize "; - - private static final String SWC_TARGET = "swc_compile"; - - private final ExecTask _swcTask; - private final Target _swcTarget; - - private final String _sourcePath; - private final String _outPut; - private final String _loadConfig; - private final String _flexSDKRootPath; - private final IFlexApplicationContract _componentFlex; - - public SWCTask(String sourcePath, String outPut, String flexSDKRootPath, String loadConfigFilePath, IFlexApplicationContract componentFlex){ - super(); - _sourcePath = sourcePath; - _outPut = outPut; - _loadConfig = loadConfigFilePath; - _flexSDKRootPath = flexSDKRootPath; - _componentFlex = componentFlex; - - _swcTarget = new Target(); - _swcTarget.setName(SWC_TARGET); - _swcTarget.setProject(_taskProject); - _taskProject.addTarget(_swcTarget); - - _swcTask = new ExecTask(); - _swcTask.setOwningTarget(_swcTarget); - _swcTask.setProject(_taskProject); - _swcTask.setFailonerror(true); - - _swcTarget.addTask(_swcTask); - } - - private void setArguments(){ - - Argument arg; - if(FlexConstants.WINDOWS_SYSTEM){ - _swcTask.setExecutable(_flexSDKRootPath + WINDOWS_EXEC); - }else{ - _swcTask.setExecutable(_flexSDKRootPath + NON_WINDOWS_SHELL); - } - - arg = _swcTask.createArg(); - arg.setLine(SOURCE_PATH + FlexConstants.STRING_QUOTE + _sourcePath + FlexConstants.STRING_QUOTE); - - arg = _swcTask.createArg(); - arg.setLine(OUTPUT + FlexConstants.STRING_QUOTE + _outPut + FlexConstants.STRING_QUOTE); - - arg = _swcTask.createArg(); - arg.setLine(OPTIMIZE); - - if(_loadConfig != null){ - arg = _swcTask.createArg(); - arg.setLine(LOAD_CONFIG_ARG_SYNTAX + FlexConstants.STRING_QUOTE + _loadConfig + FlexConstants.STRING_QUOTE); - } - - Map additionalSwcCommandArguments = _componentFlex.getAdditionalSwccCommandArguments(); - if(additionalSwcCommandArguments != null){ - for(String currKey : additionalSwcCommandArguments.keySet()){ - arg = _swcTask.createArg(); - arg.setLine(currKey + additionalSwcCommandArguments.get(currKey)); - } - } - - _swcTask.maybeConfigure(); - - } - - protected void performTask() { - try { - - setArguments(); - buildProject(SWC_TARGET); - - } catch (BuildException buildException) { - _taskProject.fireBuildFinished(buildException); - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error in SWC's performTask with following fields \n"); - errorMessage.append(toString()); - throw new ComponentBuildException(errorMessage.toString(), buildException); - } - } - - public String toString(){ - StringBuilder content = new StringBuilder(); - content.append("source [ "); - content.append(_sourcePath); - content.append(" ] "); - content.append("outPut [ "); - content.append(_outPut); - content.append(" ] "); - content.append("loadConfig [ "); - content.append(_loadConfig); - content.append(" ] "); - content.append(" flexSDKRootPath [ "); - content.append(_flexSDKRootPath); - content.append(" ] "); - return content.toString(); - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/pom.xml b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/pom.xml deleted file mode 100644 index c7394a9a..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/pom.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - com.googlecode.jsf-flex.runner-impl-project.flex-runner-project - flex-main-runner-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.runner-impl-project.flex-runner-project - jython-flex-impl - jar - JSF Flex Jython Flex Task Runner Impl Project - JSF Flex Jython Flex Runner impl project contains tasks using Jython - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - Jython License - http://www.jython.org/Project/license.html - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/runnerImp/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/runnerImp/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl - - - - - - org.python - jython - 2.2 - - - - - org.apache.myfaces.core - myfaces-api - provided - - - - commons-logging - commons-logging - - - - com.googlecode.jsf-flex.jsf-flex-shared-project - jsf-flex-shared - - - - - \ No newline at end of file diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/JythonFlexTaskRunnerImpl.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/JythonFlexTaskRunnerImpl.java deleted file mode 100644 index e8b11fa1..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/JythonFlexTaskRunnerImpl.java +++ /dev/null @@ -1,281 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks; - -import java.io.File; -import java.util.Arrays; -import java.util.LinkedList; -import java.util.List; -import java.util.Properties; - -import javax.faces.context.FacesContext; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.python.util.PythonInterpreter; - -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.adapter.IFlexContract; -import com.googlecode.jsfFlex.shared.context.AbstractFlexContext; -import com.googlecode.jsfFlex.shared.tasks.jython.ChmodTask; -import com.googlecode.jsfFlex.shared.tasks.jython.CopyLocaleTask; -import com.googlecode.jsfFlex.shared.tasks.jython.DeleteTask; -import com.googlecode.jsfFlex.shared.tasks.jython.EchoTask; -import com.googlecode.jsfFlex.shared.tasks.jython.FileCopyTask; -import com.googlecode.jsfFlex.shared.tasks.jython.MXMLCTask; -import com.googlecode.jsfFlex.shared.tasks.jython.MkdirTask; -import com.googlecode.jsfFlex.shared.tasks.jython.RenameTask; -import com.googlecode.jsfFlex.shared.tasks.jython.ReplaceTextTask; -import com.googlecode.jsfFlex.shared.tasks.jython.SWCTask; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * An implementation of IFlexTaskRunner using Jython.
      - * - * PYTHON_HOME must be set to the correct path and can be set within the web.xml
      - * as python.home init parameter or can be passed as JVM python.home parameter
      - * - * @author Ji Hoon Kim - */ -final class JythonFlexTaskRunnerImpl extends TaskRunnerImpl implements IFlexTaskRunner { - - private final static Log _log = LogFactory.getLog(JythonFlexTaskRunnerImpl.class); - - private static final String ACTION_SCRIPT_DIR_NAME = "actionScript"; - private static final String WEB_CONSTANTS_AS_FILE_NAME = File.separatorChar + "WebConstants.as"; - private static final String WEB_CONTEXT_PATH_TOKEN = "{webContextPath}"; - private static final String PYTHON_HOME = "python.home"; - - static{ - - String pythonHome = null; - - FacesContext context = FacesContext.getCurrentInstance(); - pythonHome = context.getExternalContext().getInitParameter(PYTHON_HOME); - - if(pythonHome == null){ - pythonHome = System.getProperty(PYTHON_HOME); - } - - try{ - - if(pythonHome != null){ - Properties initProperties = new Properties(); - initProperties.put(PYTHON_HOME, pythonHome); - PythonInterpreter.initialize(System.getProperties(), initProperties, null); - - _log.debug("Successfully set python.home to " + pythonHome); - } - - }catch(Exception jythonInitializationException){ - StringBuilder errorMessage = new StringBuilder(); - errorMessage.append("Error encountered when trying to set python.home to"); - errorMessage.append(pythonHome); - throw new RuntimeException(jythonInitializationException); - } - - } - - JythonFlexTaskRunnerImpl(){ - super(); - } - - public void chmod(File directory, String permission, String fileInclusionRegExp, String queueTaskId) { - ChmodTask chmodDirectory = new ChmodTask(directory, permission, fileInclusionRegExp); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, chmodDirectory); - }else{ - addTask(chmodDirectory); - } - } - - public void copyFile(String fileToCopy, String fileToCopyTo, String queueTaskId) { - FileCopyTask fileCopier = new FileCopyTask(fileToCopy, fileToCopyTo); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, fileCopier); - }else{ - addTask(fileCopier); - } - } - - public void copyFileSet(String copyDir, String copyInclude, String copyExclude, String copyTo, String queueTaskId) { - List copyIncludeList = copyInclude == null ? new LinkedList() : Arrays.asList(copyInclude.split(" ")); - List copyExcludeList = copyExclude == null ? new LinkedList() : Arrays.asList(copyExclude.split(" ")); - FileCopyTask fileCopier = new FileCopyTask(copyDir, copyIncludeList, copyExcludeList, copyTo); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, fileCopier); - }else{ - addTask(fileCopier); - } - } - - public void createMXML(String targetAbsolutePath, String copyTo) { - //TODO : Implement this better later - ReplaceTextTask removeEmptySpace = new ReplaceTextTask(targetAbsolutePath); - removeEmptySpace.addTokenValue(ReplaceTextTask.CLEAN_REG_EXP_MATCH, ReplaceTextTask.CLEAN_REG_EXP_REPLACE_WITH); - - addTask(removeEmptySpace); - - copyFile(targetAbsolutePath, copyTo, null); - } - - public void createSWF(String flexFile, String swfPath, IFlexApplicationContract componentFlex, String flexSDKRootPath, String locale, String localePath, String queueTaskId) { - MXMLCTask swfCreator = new MXMLCTask(flexFile, swfPath, componentFlex, flexSDKRootPath).locale(locale).localePath(localePath); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, swfCreator); - }else{ - addTask(swfCreator); - } - } - - public void copyLocale(String locale, String flexSDKRootPath, String queueTaskId){ - CopyLocaleTask copyLocale = new CopyLocaleTask(locale, flexSDKRootPath); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, copyLocale); - }else{ - addTask(copyLocale); - } - } - - public void createSwcSourceFiles(String swcPath, List systemSourceFiles, String jsfFlexMainSwcConfigFile, String webContextPath) { - //Echo the sourceFiles to the SWC path - - /* - * TODO : implement it better later - */ - EchoTask toEcho = new EchoTask(null, null); - for(String currSystemSource : systemSourceFiles){ - String[] currSplit = currSystemSource.split("/"); - StringBuilder path = new StringBuilder(); - - /* - * This is a pure HACK, implement it better later - * The path of ActionScript files must be of com/googlecode/jsfFlex/util/shared/actionScript - */ - String pathToFile = currSystemSource.substring(currSystemSource.indexOf(ACTION_SCRIPT_DIR_NAME) + 13); - if(pathToFile == null || pathToFile.length() == 0){ - _log.debug("The source file [" + currSystemSource + "] is null or the length is zero"); - continue; - } - //remove the last element [name of file] - pathToFile = pathToFile.substring(0, pathToFile.lastIndexOf("/")); - - for(String fileValue : Arrays.asList(pathToFile.split("/"))){ - path.append(fileValue); - path.append(File.separatorChar); - } - makeDirectory(swcPath + path.toString()); - String fileName = swcPath + path.toString() + currSplit[currSplit.length-1]; - - toEcho.file(fileName); - toEcho.message(getFileManipulatorTaskRunner().getComponentTemplate(getClass().getClassLoader(), currSystemSource)); - addTask(toEcho); - - /* - * Need to replace WEB_CONTEXT_PATH_TOKEN with the correct value. - * TODO : implement this better later - */ - if(fileName.indexOf(WEB_CONSTANTS_AS_FILE_NAME) > 0){ - ReplaceTextTask replaceWebContextPath = new ReplaceTextTask(fileName); - replaceWebContextPath.addTokenValue(WEB_CONTEXT_PATH_TOKEN, webContextPath); - addTask(replaceWebContextPath); - } - - } - - //now flush out the swc config file - String jsfFlexMainSwcConfigFileName = swcPath + jsfFlexMainSwcConfigFile.substring(jsfFlexMainSwcConfigFile.lastIndexOf("/") + 1); - - toEcho.file(jsfFlexMainSwcConfigFileName); - toEcho.message(getFileManipulatorTaskRunner().getComponentTemplate(getClass().getClassLoader(), jsfFlexMainSwcConfigFile)); - addTask(toEcho); - - } - - public void createSwfSourceFiles(String swfBasePath, List systemSwfSourceFiles) { - - MkdirTask swfBasePathDirCreator = new MkdirTask(swfBasePath); - addTask(swfBasePathDirCreator); - - //Echo the swf sourceFiles to the swfBasepath - - /* - * TODO : implement it better later - */ - EchoTask toEcho = new EchoTask(null, null); - for(String currSystemSwfSourceFile : systemSwfSourceFiles){ - String[] currSplit = currSystemSwfSourceFile.split("/"); - String fileName = swfBasePath + currSplit[currSplit.length-1]; - - toEcho.file(fileName); - toEcho.message(getFileManipulatorTaskRunner().getComponentTemplate(getClass().getClassLoader(), currSystemSwfSourceFile)); - addTask(toEcho); - } - } - - public void createSystemSWCFile(String sourcePath, String outPut, String flexSDKRootPath, String loadConfigFilePath, IFlexApplicationContract componentFlex, String queueTaskId) { - SWCTask swcCreate = new SWCTask(sourcePath, outPut, flexSDKRootPath, loadConfigFilePath, componentFlex); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, swcCreate); - }else{ - addTask(swcCreate); - } - } - - public void deleteResources(String resourceToDelete, boolean isDirectory, String queueTaskId) { - DeleteTask deleteResourceTask = new DeleteTask(resourceToDelete, isDirectory); - if(queueTaskId != null){ - queueFutureTask(queueTaskId, deleteResourceTask); - }else{ - addTask(deleteResourceTask); - } - } - - public void makeDirectory(String directoryToCreate) { - MkdirTask preMxmlDirCreator = new MkdirTask(directoryToCreate); - addTask(preMxmlDirCreator); - } - - public void renameFile(String sourceFile, String destFile, boolean overWrite) { - RenameTask rename = new RenameTask(sourceFile, destFile, overWrite); - addTask(rename); - } - - public void replaceTokenWithValue(String targetAbsolutePath, String valueToReplaceWith, String tokenReplace) { - - ReplaceTextTask addUIComponentTemplate = new ReplaceTextTask(targetAbsolutePath); - addUIComponentTemplate.addTokenValue(tokenReplace, valueToReplaceWith); - addTask(addUIComponentTemplate); - } - - public void writeBodyContent(IFlexContract componentFlex) { - - Object stringBodyContent = componentFlex.getAttributes().get(FlexConstants.TAG_BODY_CONTENT_ATTR); - String stringBodyContentToReplace = stringBodyContent == null ? "" : (String) stringBodyContent; - ReplaceTextTask writeBodyContent = new ReplaceTextTask(componentFlex.getAbsolutePathToPreMxmlFile()); - writeBodyContent.addTokenValue(FlexConstants.TAG_BODY_CONTENT_TOKEN, stringBodyContentToReplace); - addTask(writeBodyContent); - } - - public final AbstractFileManipulatorTaskRunner getFileManipulatorTaskRunner(){ - AbstractFlexContext flexContext = AbstractFlexContext.getCurrentInstance(); - return flexContext.getFileManipulatorRunner(); - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/AbstractJythonBaseTask.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/AbstractJythonBaseTask.java deleted file mode 100644 index 47ed135e..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/AbstractJythonBaseTask.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.jython; - -import org.python.core.PyException; -import org.python.core.PyObject; - -import com.googlecode.jsfFlex.shared.exception.ComponentBuildException; -import com.googlecode.jsfFlex.shared.tasks.AbstractTask; - -/** - * @author Ji Hoon Kim - */ -abstract class AbstractJythonBaseTask extends AbstractTask { - - protected IJythonTaskPerformer _jythonTask; - - protected void performTask() { - - build(); - - try{ - _jythonTask.performTask(); - }catch(PyException pyException){ - - StringBuilder exceptionMessage = new StringBuilder("Exception thrown with "); - PyObject valueObject = pyException.value; - exceptionMessage.append(" valueContent [ "); - exceptionMessage.append(valueObject.__str__()); - exceptionMessage.append(" ] "); - throw new ComponentBuildException(exceptionMessage.toString(), pyException); - } - - } - - abstract void build(); - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/ChmodTask.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/ChmodTask.java deleted file mode 100644 index 7fedc4ed..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/ChmodTask.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.jython; - -import java.io.File; -import java.util.Vector; - -import org.python.core.PyList; -import org.python.core.PyObject; -import org.python.core.PyString; -import org.python.util.PythonInterpreter; - -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public final class ChmodTask extends AbstractJythonBaseTask { - - private static final String PYTHON_EXECUTION_FILE = "commandExecuteTask.py"; - private static final String CHMOD_COMMAND = "chmod"; - - private static final PyObject _commandExecuteTaskClass; - - static{ - PythonInterpreter interpreter = new PythonInterpreter(); - interpreter.execfile(ChmodTask.class.getResourceAsStream(PYTHON_EXECUTION_FILE)); - _commandExecuteTaskClass = interpreter.get("CommandExecuteTask"); - } - - private File _dir; - private String _permission; - private String _fileInclusionRegExp; - - public ChmodTask(){ - super(); - } - - public ChmodTask(File dir, String permission, String fileInclusionRegExp){ - super(); - - _dir = dir; - _permission = permission; - _fileInclusionRegExp = fileInclusionRegExp; - } - - @Override - void build() { - - Vector commandArguments = getCommandArguments(); - - PyObject commandExecuteTaskObject = _commandExecuteTaskClass.__call__(new PyString(CHMOD_COMMAND), - new PyList(commandArguments)); - _jythonTask = IJythonTaskPerformer.class.cast( commandExecuteTaskObject.__tojava__(IJythonTaskPerformer.class) ); - - } - - private Vector getCommandArguments(){ - - Vector commandArguments = new Vector(); - - commandArguments.add(_permission); - - commandArguments.add(_dir.getAbsolutePath()); - - commandArguments.add(_fileInclusionRegExp); - - return commandArguments; - } - - public ChmodTask dir(File dir) { - _dir = dir; - return this; - } - - public ChmodTask permission(String permission) { - _permission = permission; - return this; - } - - public ChmodTask fileInclusionRegExp(String fileInclusionRegExp) { - _fileInclusionRegExp = fileInclusionRegExp; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/CopyLocaleTask.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/CopyLocaleTask.java deleted file mode 100644 index d57b4e02..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/CopyLocaleTask.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.jython; - -import java.io.File; -import java.util.Vector; - -import org.python.core.PyList; -import org.python.core.PyObject; -import org.python.core.PyString; -import org.python.util.PythonInterpreter; - -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public final class CopyLocaleTask extends AbstractJythonBaseTask { - - private static final String PYTHON_EXECUTION_FILE = "commandExecuteTask.py"; - - private static final PyObject _commandExecuteTaskClass; - - static{ - PythonInterpreter interpreter = new PythonInterpreter(); - interpreter.execfile(CopyLocaleTask.class.getResourceAsStream(PYTHON_EXECUTION_FILE)); - _commandExecuteTaskClass = interpreter.get("CommandExecuteTask"); - } - - private static final String WINDOWS_EXEC = "bin" + File.separatorChar + "copylocale.exe"; - private static final String NON_WINDOWS_SHELL = "bin" + File.separatorChar + "copylocale"; - - private String _locale; - private String _flexSDKRootPath; - - public CopyLocaleTask(){ - super(); - } - - public CopyLocaleTask(String locale, String flexSDKRootPath){ - _locale = locale; - _flexSDKRootPath = flexSDKRootPath; - } - - @Override - void build() { - String commandToExecute = FlexConstants.WINDOWS_SYSTEM ? _flexSDKRootPath + WINDOWS_EXEC : _flexSDKRootPath + NON_WINDOWS_SHELL; - Vector commandArguments = getCommandArguments(); - - PyObject commandExecuteTaskObject = _commandExecuteTaskClass.__call__(new PyString(commandToExecute), - new PyList(commandArguments)); - _jythonTask = IJythonTaskPerformer.class.cast( commandExecuteTaskObject.__tojava__(IJythonTaskPerformer.class) ); - } - - private Vector getCommandArguments(){ - - Vector commandArguments = new Vector(); - - commandArguments.add(FlexConstants.EN_US + " " + _locale); - - return commandArguments; - } - - @Override - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("locale [ "); - content.append(_locale); - content.append(" ] "); - content.append("flexSDKRootPath [ "); - content.append(_flexSDKRootPath); - content.append(" ] "); - return content.toString(); - } - - public CopyLocaleTask locale(String locale){ - _locale = locale; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/DeleteTask.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/DeleteTask.java deleted file mode 100644 index e5155ada..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/DeleteTask.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.jython; - -import org.python.core.PyInteger; -import org.python.core.PyObject; -import org.python.core.PyString; -import org.python.util.PythonInterpreter; - -/** - * @author Ji Hoon Kim - */ -public final class DeleteTask extends AbstractJythonBaseTask { - - private static final String PYTHON_EXECUTION_FILE = "deleteTask.py"; - - private static final PyObject _deleteTaskClass; - - static{ - PythonInterpreter interpreter = new PythonInterpreter(); - interpreter.execfile(DeleteTask.class.getResourceAsStream(PYTHON_EXECUTION_FILE)); - _deleteTaskClass = interpreter.get("DeleteTask"); - } - - private String _deleteResource; - private boolean _isDirectory; - - public DeleteTask(){ - super(); - } - - public DeleteTask(String deleteResource, boolean isDirectory){ - super(); - _deleteResource = deleteResource; - _isDirectory = isDirectory; - } - - void build(){ - - PyObject deleteTaskObject = _deleteTaskClass.__call__(new PyString(_deleteResource), new PyInteger(_isDirectory ? 1 : 0)); - _jythonTask = IJythonTaskPerformer.class.cast( deleteTaskObject.__tojava__(IJythonTaskPerformer.class) ); - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("deleteResource [ "); - content.append(_deleteResource); - content.append(" ] "); - content.append("isDirectory [ "); - content.append(_isDirectory); - content.append(" ] "); - - return content.toString(); - } - - public DeleteTask deleteResource(String deleteResource) { - _deleteResource = deleteResource; - return this; - } - public DeleteTask directory(boolean isDirectory) { - _isDirectory = isDirectory; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/EchoTask.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/EchoTask.java deleted file mode 100644 index d95c762f..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/EchoTask.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.jython; - -import org.python.core.PyObject; -import org.python.core.PyString; -import org.python.util.PythonInterpreter; - -/** - * @author Ji Hoon Kim - */ -public final class EchoTask extends AbstractJythonBaseTask { - - private static final String PYTHON_EXECUTION_FILE = "echoTask.py"; - - private static final PyObject _echoTaskClass; - - static{ - PythonInterpreter interpreter = new PythonInterpreter(); - interpreter.execfile(EchoTask.class.getResourceAsStream(PYTHON_EXECUTION_FILE)); - _echoTaskClass = interpreter.get("EchoTask"); - } - - private String _message; - private String _file; - - public EchoTask(){ - super(); - } - - public EchoTask(String message, String file){ - _message = message; - _file = file; - } - - void build() { - - PyObject echoTaskObject = _echoTaskClass.__call__(new PyString(_message), new PyString(_file)); - _jythonTask = IJythonTaskPerformer.class.cast( echoTaskObject.__tojava__(IJythonTaskPerformer.class) ); - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("message [ "); - content.append(_message); - content.append(" ] "); - content.append("file [ "); - content.append(_file); - content.append(" ] "); - - return content.toString(); - } - - public EchoTask file(String file) { - _file = file; - return this; - } - public EchoTask message(String message) { - _message = message; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/FileCopyTask.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/FileCopyTask.java deleted file mode 100644 index 6c31e531..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/FileCopyTask.java +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.jython; - -import java.util.List; -import java.util.Vector; - -import org.python.core.PyList; -import org.python.core.PyObject; -import org.python.core.PyString; -import org.python.util.PythonInterpreter; - -/** - * @author Ji Hoon Kim - */ -public final class FileCopyTask extends AbstractJythonBaseTask { - - private static final String PYTHON_EXECUTION_FILE = "fileCopyTask.py"; - - private static final PyObject _fileCopyTaskClass; - - static{ - PythonInterpreter interpreter = new PythonInterpreter(); - interpreter.execfile(FileCopyTask.class.getResourceAsStream(PYTHON_EXECUTION_FILE)); - _fileCopyTaskClass = interpreter.get("FileCopyTask"); - } - - private String _copyFile; - - private String _copyDir; - private List _copyInclude; - private List _copyExclude; - - private String _copyTo; - - public FileCopyTask(){ - super(); - } - - public FileCopyTask(String copyFile, String copyTo){ - super(); - _copyFile = copyFile; - _copyTo = copyTo; - } - - public FileCopyTask(String copyDir, List copyInclude, List copyExclude, - String copyTo){ - super(); - _copyDir = copyDir; - _copyInclude = copyInclude; - _copyExclude = copyExclude; - _copyTo = copyTo; - } - - void build() { - - Vector copyDirParameters = new Vector(); - if(_copyDir != null){ - copyDirParameters.add(_copyDir); - copyDirParameters.add(_copyInclude); - copyDirParameters.add(_copyExclude); - } - - PyObject fileCopyTaskObject = _fileCopyTaskClass.__call__(new PyString(_copyFile), - new PyList(copyDirParameters), new PyString(_copyTo)); - _jythonTask = IJythonTaskPerformer.class.cast( fileCopyTaskObject.__tojava__(IJythonTaskPerformer.class) ); - - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("copyFile [ "); - content.append(_copyFile); - content.append(" ] "); - content.append("copyDir [ "); - content.append(_copyDir); - content.append(" ] "); - content.append("copyInclude [ "); - content.append(_copyInclude); - content.append(" ] "); - content.append("copyExclude [ "); - content.append(_copyExclude); - content.append(" ] "); - content.append("copyTo [ "); - content.append(_copyTo); - content.append(" ] "); - - return content.toString(); - } - - public FileCopyTask copyFile(String copyFile) { - _copyFile = copyFile; - return this; - } - public FileCopyTask copyDir(String copyDir) { - _copyDir = copyDir; - return this; - } - public FileCopyTask copyExclude(List copyExclude) { - _copyExclude = copyExclude; - return this; - } - public FileCopyTask copyInclude(List copyInclude) { - _copyInclude = copyInclude; - return this; - } - public FileCopyTask copyTo(String copyTo) { - _copyTo = copyTo; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/IJythonTaskPerformer.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/IJythonTaskPerformer.java deleted file mode 100644 index d01868fd..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/IJythonTaskPerformer.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.jython; - -import org.python.core.PyException; - -/** - * @author Ji Hoon Kim - */ -public interface IJythonTaskPerformer { - - void performTask() throws PyException; - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/MXMLCTask.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/MXMLCTask.java deleted file mode 100644 index f11bb146..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/MXMLCTask.java +++ /dev/null @@ -1,304 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.jython; - -import java.io.File; -import java.util.Map; -import java.util.Vector; - -import org.python.core.PyList; -import org.python.core.PyObject; -import org.python.core.PyString; -import org.python.util.PythonInterpreter; - -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public final class MXMLCTask extends AbstractJythonBaseTask { - - private static final String PYTHON_EXECUTION_FILE = "commandExecuteTask.py"; - - private static final PyObject _commandExecuteTaskClass; - - static{ - PythonInterpreter interpreter = new PythonInterpreter(); - interpreter.execfile(MXMLCTask.class.getResourceAsStream(PYTHON_EXECUTION_FILE)); - _commandExecuteTaskClass = interpreter.get("CommandExecuteTask"); - } - - private static final String WINDOWS_EXEC = "bin" + File.separatorChar + "mxmlc.exe"; - private static final String NON_WINDOWS_SHELL = "bin" + File.separatorChar + "mxmlc"; - - private static final String ACCESSIBLE = " -accessible="; - private static final String LOCALE = " -locale "; - private static final String RUNTIME_SHARED_LIBRARIES = " -runtime-shared-libraries="; - private static final String EXTERNAL_LIBRARY_PATH = " -external-library-path="; - private static final String FILE_PROPERTY = "-file-specs "; - private static final String OUTPUT_ARG_SYNTAX = " -output "; - private static final String SOURCE_PATH_ARG_SYNTAX = " -source-path "; - private static final String DEFAULT_BG_COLOR_ARG_SYNTAX = " -default-background-color "; - private static final String DEFAULT_SCRIPT_LIMIT_ARG_SYNTAX = " -default-script-limits "; - private static final String INCREMENTAL_ARG_SYNTAX = " -incremental="; - private static final String LOAD_CONFIG_ARG_SYNTAX = " -load-config+="; - private static final String TITLE_ARG_SYNTAX = " -title "; - private static final String DESCRIPTION_ARG_SYNTAX = " -description "; - private static final String CREATOR_ARG_SYNTAX = " -creator "; - private static final String PUBLISHER_ARG_SYNTAX = " -publisher "; - private static final String LANGUAGE_ARG_SYNTAX = " -language "; - private static final String DATE_ARG_SYNTAX = " -date "; - private static final String OPTIMIZE = " -compiler.optimize "; - - private String _file; - private String _outputPath; - private IFlexApplicationContract _componentFlex; - private String _flexSDKRootPath; - - private String _locale; - private String _localePath; - - public MXMLCTask(){ - super(); - } - - public MXMLCTask(String file, String outputpath, IFlexApplicationContract componentFlex, String flexSDKRootPath){ - _file = file; - _outputPath = outputpath; - _componentFlex = componentFlex; - _flexSDKRootPath = flexSDKRootPath; - } - - void build() { - - String commandToExecute = FlexConstants.WINDOWS_SYSTEM ? _flexSDKRootPath + WINDOWS_EXEC : _flexSDKRootPath + NON_WINDOWS_SHELL; - Vector commandArguments = getCommandArguments(); - - PyObject commandExecuteTaskObject = _commandExecuteTaskClass.__call__(new PyString(commandToExecute), - new PyList(commandArguments)); - _jythonTask = IJythonTaskPerformer.class.cast( commandExecuteTaskObject.__tojava__(IJythonTaskPerformer.class) ); - } - - private Vector getCommandArguments(){ - - Vector commandArguments = new Vector(); - - commandArguments.add(FILE_PROPERTY + FlexConstants.STRING_QUOTE + _file + FlexConstants.STRING_QUOTE); - commandArguments.add(OPTIMIZE); - - if(_outputPath != null){ - commandArguments.add(OUTPUT_ARG_SYNTAX + FlexConstants.STRING_QUOTE + _outputPath + FlexConstants.STRING_QUOTE); - } - - if(_componentFlex.isAccessible()){ - commandArguments.add(ACCESSIBLE + "true"); - } - - if(_locale != null){ - commandArguments.add(LOCALE + _locale); - } - - if(_componentFlex.getSourcePath() != null || _localePath != null){ - StringBuilder sourcePathVal = new StringBuilder(); - - if(_componentFlex.getSourcePath() != null){ - - for(String currSourcePath : _componentFlex.getSourcePath()){ - sourcePathVal.append(FlexConstants.STRING_QUOTE); - sourcePathVal.append(currSourcePath); - sourcePathVal.append(FlexConstants.STRING_QUOTE); - sourcePathVal.append(" "); - } - } - - if(_localePath != null){ - sourcePathVal.append(FlexConstants.STRING_QUOTE); - sourcePathVal.append(_localePath); - sourcePathVal.append(FlexConstants.STRING_QUOTE); - } - - commandArguments.add(SOURCE_PATH_ARG_SYNTAX + sourcePathVal.toString()); - } - - if(_componentFlex.getExternalLibraryPath() != null){ - - StringBuilder externalLibraryPath = new StringBuilder(); - for(String currExternalLibraryPath : _componentFlex.getExternalLibraryPath()){ - externalLibraryPath.append(FlexConstants.STRING_QUOTE); - externalLibraryPath.append(currExternalLibraryPath); - externalLibraryPath.append(FlexConstants.STRING_QUOTE); - externalLibraryPath.append(" "); - } - commandArguments.add(EXTERNAL_LIBRARY_PATH + externalLibraryPath.toString()); - } - - if(_componentFlex.getRuntimeSharedLibraries() != null){ - - StringBuilder runtimeSharedLibrary = new StringBuilder(); - for(String currRuntimeSharedLibrary : _componentFlex.getRuntimeSharedLibraries()){ - runtimeSharedLibrary.append(FlexConstants.STRING_QUOTE); - runtimeSharedLibrary.append(currRuntimeSharedLibrary); - runtimeSharedLibrary.append(FlexConstants.STRING_QUOTE); - runtimeSharedLibrary.append(" "); - } - commandArguments.add(RUNTIME_SHARED_LIBRARIES + runtimeSharedLibrary.toString()); - } - - if(_componentFlex.getDefaultBgColor() != null){ - commandArguments.add(DEFAULT_BG_COLOR_ARG_SYNTAX + _componentFlex.getDefaultBgColor()); - } - - if((_componentFlex.getMaxLvRecursion() != null && _componentFlex.getMaxLvRecursion().intValue() > 0) || - (_componentFlex.getMaxScriptExecTime() != null && _componentFlex.getMaxScriptExecTime().intValue() > 0)){ - StringBuilder limitVal = new StringBuilder(); - limitVal.append((_componentFlex.getMaxLvRecursion() != null && _componentFlex.getMaxLvRecursion().intValue() <= 0) ? 1000 : - _componentFlex.getMaxLvRecursion().intValue()); - limitVal.append(" "); - limitVal.append(((_componentFlex.getMaxScriptExecTime() == null || _componentFlex.getMaxScriptExecTime().intValue() <= 0) || - (_componentFlex.getMaxScriptExecTime() == null || _componentFlex.getMaxScriptExecTime().intValue() > 60)) ? 60 : - _componentFlex.getMaxScriptExecTime().intValue()); - commandArguments.add(DEFAULT_SCRIPT_LIMIT_ARG_SYNTAX + limitVal.toString()); - } - - if(_componentFlex.isIncremental()){ - commandArguments.add(INCREMENTAL_ARG_SYNTAX + "true"); - } - - if(_componentFlex.getLoadConfig() != null){ - commandArguments.add(LOAD_CONFIG_ARG_SYNTAX + FlexConstants.STRING_QUOTE + _componentFlex.getLoadConfig() + FlexConstants.STRING_QUOTE); - } - - if(_componentFlex.getTitle() != null){ - commandArguments.add(TITLE_ARG_SYNTAX + _componentFlex.getTitle()); - } - - if(_componentFlex.getDescription() != null){ - commandArguments.add(DESCRIPTION_ARG_SYNTAX + _componentFlex.getDescription()); - } - - if(_componentFlex.getCreator() != null){ - commandArguments.add(CREATOR_ARG_SYNTAX + _componentFlex.getCreator()); - } - - if(_componentFlex.getPublisher() != null){ - commandArguments.add(PUBLISHER_ARG_SYNTAX + _componentFlex.getPublisher()); - } - - if(_componentFlex.getLanguage() != null){ - commandArguments.add(LANGUAGE_ARG_SYNTAX + _componentFlex.getLanguage()); - } - - if(_componentFlex.getDate() != null){ - java.text.SimpleDateFormat format = new java.text.SimpleDateFormat("MM/dd/yyyy"); - String dateFormatted = format.format(_componentFlex.getDate()); - commandArguments.add(DATE_ARG_SYNTAX + dateFormatted); - } - - Map additionalMxmlcCommandArgs = _componentFlex.getAdditionalMxmlcCommandArguments(); - if(additionalMxmlcCommandArgs != null){ - for(String currKey : additionalMxmlcCommandArgs.keySet()){ - commandArguments.add(currKey + additionalMxmlcCommandArgs.get(currKey)); - } - } - - return commandArguments; - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("file [ "); - content.append(_file); - content.append(" ] "); - content.append("outputPath [ "); - content.append(_outputPath); - content.append(" ] "); - content.append("flexSDKRootPath [ "); - content.append(_flexSDKRootPath); - content.append(" ] "); - content.append("locale [ "); - content.append(_locale); - content.append(" ] "); - content.append("localePath [ "); - content.append(_localePath); - content.append(" ] "); - content.append("accessible [ "); - content.append(_componentFlex.isAccessible()); - content.append(" ] "); - content.append("externalLibraryPath [ "); - content.append(_componentFlex.getExternalLibraryPath()); - content.append(" ] "); - content.append("runtimeSharedLibraries [ "); - content.append(_componentFlex.getRuntimeSharedLibraries()); - content.append(" ] "); - content.append("source_path ["); - if(_componentFlex.getSourcePath() != null){ - - for(String currSourcePath : _componentFlex.getSourcePath()){ - content.append(" "); - content.append(currSourcePath); - } - } - content.append(" ] "); - content.append("default_bg_color [ "); - content.append(_componentFlex.getDefaultBgColor()); - content.append(" ] "); - content.append("max_lv_recursion [ "); - content.append(_componentFlex.getMaxLvRecursion()); - content.append(" ] "); - content.append("max_script_exec_time [ "); - content.append(_componentFlex.getMaxScriptExecTime()); - content.append(" ] "); - content.append("incremental [ "); - content.append(_componentFlex.isIncremental()); - content.append(" ] "); - content.append("load_config [ "); - content.append(_componentFlex.getLoadConfig()); - content.append(" ] "); - content.append("title [ "); - content.append(_componentFlex.getTitle()); - content.append(" ] "); - content.append("description [ "); - content.append(_componentFlex.getDescription()); - content.append(" ] "); - content.append("creator [ "); - content.append(_componentFlex.getCreator()); - content.append(" ] "); - content.append("publisher [ "); - content.append(_componentFlex.getPublisher()); - content.append(" ] "); - content.append("language [ "); - content.append(_componentFlex.getLanguage()); - content.append(" ] "); - content.append("date [ "); - content.append(_componentFlex.getDate()); - content.append(" ] "); - return content.toString(); - } - - public MXMLCTask locale(String locale){ - _locale = locale; - return this; - } - public MXMLCTask localePath(String localePath){ - _localePath = localePath; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/MkdirTask.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/MkdirTask.java deleted file mode 100644 index d41eda1f..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/MkdirTask.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.jython; - -import org.python.core.PyObject; -import org.python.core.PyString; -import org.python.util.PythonInterpreter; - -/** - * @author Ji Hoon Kim - */ -public final class MkdirTask extends AbstractJythonBaseTask { - - private static final String PYTHON_EXECUTION_FILE = "mkdirTask.py"; - - private static final PyObject _mkdirTaskClass; - - static{ - PythonInterpreter interpreter = new PythonInterpreter(); - interpreter.execfile(MkdirTask.class.getResourceAsStream(PYTHON_EXECUTION_FILE)); - _mkdirTaskClass = interpreter.get("MkdirTask"); - } - - private String _directory; - - public MkdirTask(){ - super(); - } - - public MkdirTask(String directory){ - _directory = directory; - } - - void build() { - - PyObject mkdirTaskObject = _mkdirTaskClass.__call__(new PyString(_directory)); - _jythonTask = IJythonTaskPerformer.class.cast( mkdirTaskObject.__tojava__(IJythonTaskPerformer.class) ); - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("directory [ "); - content.append(_directory); - content.append(" ] "); - - return content.toString(); - } - - public MkdirTask directory(String directory) { - _directory = directory; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/RenameTask.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/RenameTask.java deleted file mode 100644 index ab9e553f..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/RenameTask.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.jython; - -import org.python.core.PyInteger; -import org.python.core.PyObject; -import org.python.core.PyString; -import org.python.util.PythonInterpreter; - -/** - * @author Ji Hoon Kim - */ -public final class RenameTask extends AbstractJythonBaseTask { - - private static final String PYTHON_EXECUTION_FILE = "renameTask.py"; - - private static final PyObject _renameTaskClass; - - static{ - PythonInterpreter interpreter = new PythonInterpreter(); - interpreter.execfile(RenameTask.class.getResourceAsStream(PYTHON_EXECUTION_FILE)); - _renameTaskClass = interpreter.get("RenameTask"); - } - - private String _sourceFile; - private String _destFile; - private boolean _overwrite; - - public RenameTask(){ - super(); - } - - public RenameTask(String sourceFile, String destFile, boolean overwrite){ - super(); - _sourceFile = sourceFile; - _destFile = destFile; - _overwrite = overwrite; - } - - void build() { - - PyObject renameTaskObject = _renameTaskClass.__call__(new PyString(_sourceFile), new PyString(_destFile), - new PyInteger(_overwrite ? 1 : 0)); - _jythonTask = IJythonTaskPerformer.class.cast( renameTaskObject.__tojava__(IJythonTaskPerformer.class) ); - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("sourceFile [ "); - content.append(_sourceFile); - content.append(" ] "); - content.append("destFile [ "); - content.append(_destFile); - content.append(" ] "); - content.append("overwrite [ "); - content.append(_overwrite); - content.append(" ] "); - - return content.toString(); - } - - public RenameTask destFile(String destFile) { - _destFile = destFile; - return this; - } - public RenameTask overwrite(boolean overwrite) { - _overwrite = overwrite; - return this; - } - public RenameTask sourceFile(String sourceFile) { - _sourceFile = sourceFile; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/ReplaceTextTask.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/ReplaceTextTask.java deleted file mode 100644 index 112dccf3..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/ReplaceTextTask.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.jython; - -import java.util.HashMap; -import java.util.Hashtable; -import java.util.Map; - -import org.python.core.PyDictionary; -import org.python.core.PyInteger; -import org.python.core.PyObject; -import org.python.core.PyString; -import org.python.util.PythonInterpreter; - -/** - * @author Ji Hoon Kim - */ -public final class ReplaceTextTask extends AbstractJythonBaseTask { - - private static final String PYTHON_EXECUTION_FILE = "replaceTextTask.py"; - - private static final PyObject _replaceTextTaskClass; - - static{ - PythonInterpreter interpreter = new PythonInterpreter(); - interpreter.execfile(ReplaceTextTask.class.getResourceAsStream(PYTHON_EXECUTION_FILE)); - _replaceTextTaskClass = interpreter.get("ReplaceTextTask"); - } - - //make the below reg exp better later - public static final String CLEAN_REG_EXP_MATCH = "\\s{2,}"; - public static final String CLEAN_REG_EXP_REPLACE_WITH = System.getProperty("line.separator"); - - private final Map _replaceDictionary; - - private String _file; - private boolean _replaceAllOccurrence; - - public ReplaceTextTask(){ - super(); - } - - public ReplaceTextTask(String file){ - _file = file; - } - - { - _replaceDictionary = new HashMap(); - _replaceAllOccurrence = true; - } - - public void addTokenValue(String token, String value){ - _replaceDictionary.put(token, value); - } - - void build() { - - PyDictionary pyDictionary = new PyDictionary(new Hashtable(_replaceDictionary)); - - PyObject replaceTextTaskObject = _replaceTextTaskClass.__call__(new PyString(_file), pyDictionary, new PyInteger(_replaceAllOccurrence ? 0 : 1)); - _jythonTask = IJythonTaskPerformer.class.cast( replaceTextTaskObject.__tojava__(IJythonTaskPerformer.class) ); - } - - public String toString() { - StringBuilder content = new StringBuilder(); - content.append("file [ "); - content.append(_file); - content.append(" ] "); - content.append("replaceAllOccurrence [ "); - content.append(_replaceAllOccurrence); - content.append(" ] "); - content.append("replaceDictionary ["); - for(String currVal : _replaceDictionary.keySet()){ - content.append(" "); - content.append("key/value"); - content.append(currVal); - content.append("/"); - content.append(_replaceDictionary.get(currVal)); - } - content.append(" ] "); - return content.toString(); - } - - public ReplaceTextTask file(String file) { - _file = file; - return this; - } - public ReplaceTextTask replaceAllOccurrence(boolean replaceAllOccurrence) { - _replaceAllOccurrence = replaceAllOccurrence; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/SWCTask.java b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/SWCTask.java deleted file mode 100644 index 1a7fb640..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/java/com/googlecode/jsfFlex/shared/tasks/jython/SWCTask.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.googlecode.jsfFlex.shared.tasks.jython; - -import java.io.File; -import java.util.Map; -import java.util.Vector; - -import org.python.core.PyList; -import org.python.core.PyObject; -import org.python.core.PyString; -import org.python.util.PythonInterpreter; - -import com.googlecode.jsfFlex.shared.adapter.IFlexApplicationContract; -import com.googlecode.jsfFlex.shared.util.FlexConstants; - -/** - * @author Ji Hoon Kim - */ -public final class SWCTask extends AbstractJythonBaseTask { - - private static final String PYTHON_EXECUTION_FILE = "commandExecuteTask.py"; - - private static final PyObject _commandExecuteTaskClass; - - static{ - PythonInterpreter interpreter = new PythonInterpreter(); - interpreter.execfile(SWCTask.class.getResourceAsStream(PYTHON_EXECUTION_FILE)); - _commandExecuteTaskClass = interpreter.get("CommandExecuteTask"); - } - - private static final String WINDOWS_EXEC = "bin" + File.separatorChar + "compc.exe"; - private static final String NON_WINDOWS_SHELL = "bin" + File.separatorChar + "compc"; - - private static final String SOURCE_PATH = " -source-path "; - private static final String OUTPUT = " -output "; - private static final String LOAD_CONFIG_ARG_SYNTAX = " -load-config+="; - private static final String OPTIMIZE = "-compiler.optimize"; - - private String _sourcePath; - private String _outPut; - private String _loadConfig; - private String _flexSDKRootPath; - private IFlexApplicationContract _componentFlex; - - public SWCTask(){ - super(); - } - - public SWCTask(String sourcePath, String outPut, String flexSDKRootPath, String loadConfigFilePath, IFlexApplicationContract componentFlex){ - super(); - _sourcePath = sourcePath; - _outPut = outPut; - _loadConfig = loadConfigFilePath; - _flexSDKRootPath = flexSDKRootPath; - _componentFlex = componentFlex; - } - - void build() { - - String commandToExecute = FlexConstants.WINDOWS_SYSTEM ? _flexSDKRootPath + WINDOWS_EXEC : _flexSDKRootPath + NON_WINDOWS_SHELL; - Vector commandArguments = getCommandArguments(); - - PyObject commandExecuteTaskObject = _commandExecuteTaskClass.__call__(new PyString(commandToExecute), - new PyList(commandArguments)); - _jythonTask = IJythonTaskPerformer.class.cast( commandExecuteTaskObject.__tojava__(IJythonTaskPerformer.class) ); - } - - private Vector getCommandArguments(){ - - Vector commandArguments = new Vector(); - - commandArguments.add(SOURCE_PATH + FlexConstants.STRING_QUOTE + _sourcePath + FlexConstants.STRING_QUOTE); - commandArguments.add(OUTPUT + FlexConstants.STRING_QUOTE + _outPut + FlexConstants.STRING_QUOTE); - commandArguments.add(OPTIMIZE); - - if(_loadConfig != null){ - commandArguments.add(LOAD_CONFIG_ARG_SYNTAX + FlexConstants.STRING_QUOTE + _loadConfig + FlexConstants.STRING_QUOTE); - } - - Map additionalSwcCommandArguments = _componentFlex.getAdditionalSwccCommandArguments(); - if(additionalSwcCommandArguments != null){ - for(String currKey : additionalSwcCommandArguments.keySet()){ - commandArguments.add(currKey + additionalSwcCommandArguments.get(currKey)); - } - } - - return commandArguments; - } - - public String toString(){ - StringBuilder content = new StringBuilder(); - content.append("source [ "); - content.append(_sourcePath); - content.append(" ] "); - content.append("outPut [ "); - content.append(_outPut); - content.append(" ] "); - content.append("loadConfig [ "); - content.append(_loadConfig); - content.append(" ] "); - content.append(" flexSDKRootPath [ "); - content.append(_flexSDKRootPath); - content.append(" ] "); - return content.toString(); - } - - public SWCTask loadConfig(String loadConfig) { - _loadConfig = loadConfig; - return this; - } - public SWCTask outPut(String outPut) { - _outPut = outPut; - return this; - } - public SWCTask sourcePath(String sourcePath) { - _sourcePath = sourcePath; - return this; - } - public SWCTask flexSDKRootPath(String flexSDKRootPath) { - _flexSDKRootPath = flexSDKRootPath; - return this; - } - -} diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/__init__.py b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/commandExecuteTask.py b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/commandExecuteTask.py deleted file mode 100644 index ab462ae9..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/commandExecuteTask.py +++ /dev/null @@ -1,57 +0,0 @@ -""" -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * A very simple implementation of command execution - * TODO: Implement it better later - * - * @author Ji Hoon Kim - */ -""" - -from com.googlecode.jsfFlex.shared.tasks.jython import _JythonTaskPerformer - -from threading import Thread -from subprocess import Popen - -import time - -class CommandExecuteTask(_JythonTaskPerformer): - def __init__(self, command, arguments): - self.commandExecute = arguments if arguments else [] - self.commandExecute.insert(0, command) - - def performTask(self): - execute = Popen(self.commandExecute) - executeThread = Thread(target=CommandExecuteTask.tillCompletion, args=(execute,)) - executeThread.start() - executeThread.join() - - def tillCompletion(*arguments): - executionProcess = arguments[0] - while executionProcess.poll() == None: - time.sleep(300) - - def __str__(self): - print self.commandExecute.__str__() - def __retr__(self): - self.__str__(self) - - tillCompletion = staticmethod(tillCompletion) \ No newline at end of file diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/deleteTask.py b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/deleteTask.py deleted file mode 100644 index c83a1281..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/deleteTask.py +++ /dev/null @@ -1,47 +0,0 @@ -""" -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * A very simple implementation of deleting files/directories - * TODO: Implement it better later - * - * @author Ji Hoon Kim - */ -""" - -from com.googlecode.jsfFlex.shared.tasks.jython import _JythonTaskPerformer - -import os - -class DeleteTask(_JythonTaskPerformer): - def __init__(self, deleteResource, isDirectory): - self.deleteResource = deleteResource - self.isDirectory = isDirectory - - def performTask(self): - if self.isDirectory: - os.rmdir(self.deleteResource) - else: - os.remove(self.deleteResource) - - def __str__(self): - print self.deleteResource, self.isDirectory - def __retr__(self): - self.__str__(self) \ No newline at end of file diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/echoTask.py b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/echoTask.py deleted file mode 100644 index 539b6805..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/echoTask.py +++ /dev/null @@ -1,45 +0,0 @@ -""" -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * A very simple implementation of echoing string to a file - * TODO: Implement it better later - * - * @author Ji Hoon Kim - */ -""" - -from com.googlecode.jsfFlex.shared.tasks.jython import _JythonTaskPerformer - -class EchoTask(_JythonTaskPerformer): - def __init__(self, message, file): - self.message = message - self.file = file - - def performTask(self): - fileObj = open(self.file, 'w') - fileObj.write(self.message) - fileObj.flush() - fileObj.close() - - def __str__(self): - print self.message, self.file - def __retr__(self): - self.__str__(self) \ No newline at end of file diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/fileCopyTask.py b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/fileCopyTask.py deleted file mode 100644 index 8a224055..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/fileCopyTask.py +++ /dev/null @@ -1,53 +0,0 @@ -""" -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * A very simple implementation of performing copy tasks - * TODO: Implement it better later - * When moving to python >= 2.6, include ignore_patterns to shutil.copytree - * Meaning there currently does not exist support for filtering of file types - * If jython implementation will take a bit of time in its implementation, - * consider implementing it here - * - * @author Ji Hoon Kim - */ -""" - -from com.googlecode.jsfFlex.shared.tasks.jython import _JythonTaskPerformer - -import os -import shutil - -class FileCopyTask(_JythonTaskPerformer): - def __init__(self, copyFile, copyDirParameters, copyTo): - self.copyFile = copyFile - self.copyDirParameters = copyDirParameters - self.copyTo = copyTo - - def performTask(self): - if self.copyFile: - shutil.copy2(self.copyFile, self.copyTo) - elif self.copyDirParameters and self.copyDirParameters.__len__() > 0: - shutil.copytree(self.copyDirParameters[0], self.copyTo) - - def __str__(self): - print self.copyFile, self.copyDirParameters.__str__(), self.copyTo - def __retr__(self): - self.__str__(self) \ No newline at end of file diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/mkdirTask.py b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/mkdirTask.py deleted file mode 100644 index c0121fbf..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/mkdirTask.py +++ /dev/null @@ -1,43 +0,0 @@ -""" -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * A very simple implementation of mkdirs - * TODO: Implement it better later - * - * @author Ji Hoon Kim - */ -""" - -from com.googlecode.jsfFlex.shared.tasks.jython import _JythonTaskPerformer - -import os - -class MkdirTask(_JythonTaskPerformer): - def __init__(self, directory): - self.directory = directory - - def performTask(self): - os.makedirs(self.directory) - - def __str__(self): - print self.directory - def __retr__(self): - self.__str__(self) \ No newline at end of file diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/renameTask.py b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/renameTask.py deleted file mode 100644 index c29c993f..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/renameTask.py +++ /dev/null @@ -1,50 +0,0 @@ -""" -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * A very simple implementation of renaming a file - * TODO: Implement it better later - * - * @author Ji Hoon Kim - */ -""" - -from com.googlecode.jsfFlex.shared.tasks.jython import _JythonTaskPerformer - -import os -import os.path - -class RenameTask(_JythonTaskPerformer): - def __init__(self, sourceFile, destFile, overWrite): - self.sourceFile = sourceFile - self.destFile = destFile - self.overWrite = overWrite - - def performTask(self): - if self.overWrite: - if os.path.exists(self.destFile) : - os.remove(self.destFile) - - os.rename(self.sourceFile, self.destFile) - - def __str__(self): - print self.sourceFile, self.destFile, self.overWrite - def __retr__(self): - self.__str__(self) \ No newline at end of file diff --git a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/replaceTextTask.py b/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/replaceTextTask.py deleted file mode 100644 index 6f39ccb4..00000000 --- a/runnerImpl/flexTaskRunnerImpl/jythonFlexTaskRunnerImpl/src/main/resources/com/googlecode/jsfFlex/shared/tasks/jython/replaceTextTask.py +++ /dev/null @@ -1,69 +0,0 @@ -""" -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -/** - * A very simple implementation of replacing texts in a file - * TODO: Implement it better later - * - * @author Ji Hoon Kim - */ -""" - -from com.googlecode.jsfFlex.shared.tasks.jython import _JythonTaskPerformer - -import re -from renameTask import RenameTask - -class ReplaceTextTask(_JythonTaskPerformer): - def __init__(self, fileName, replaceDictionary, replaceAllOccurrence): - self.fileName = fileName - self.replaceDictionary = replaceDictionary - self.replaceAllOccurrence = replaceAllOccurrence - - """ - TODO: Must implement it better in the future - """ - def performTask(self): - replaceFileName = self.fileName.split("."); - replaceFileName = ( replaceFileName[0] + '.tmp' - if replaceFileName and replaceFileName.__len__() > 0 else self.fileName + 'tmp') - - tempFile = open(replaceFileName, 'w') - fileReaderIter = ( self.__processInfo(lineContent) for lineContent in open(self.fileName) ) - - for content in fileReaderIter - tempFile.write(content) - - tempFile.flush() - tempFile.close() - toRename = RenameTask(replaceFileName, self.fileName, 1) - toRename.performTask() - - def __processInfo(self, lineContent): - for key in self.replaceDictionary: - if key: - lineContent = re.sub(key, self.replaceDictionary[key], lineContent, self.replaceAllOccurrence) - - return lineContent - - def __str__(self): - print self.fileName, self.replaceDictionary.__str__(), self.replaceAllOccurrence.__str__() - def __retr__(self): - self.__str__(self) \ No newline at end of file diff --git a/runnerImpl/flexTaskRunnerImpl/pom.xml b/runnerImpl/flexTaskRunnerImpl/pom.xml deleted file mode 100644 index a42d7a89..00000000 --- a/runnerImpl/flexTaskRunnerImpl/pom.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - com.googlecode.jsf-flex.runner-impl-project - runner-impl-main-project - ${jsf.flex.version} - - - 4.0.0 - com.googlecode.jsf-flex.runner-impl-project.flex-runner-project - flex-main-runner-project - pom - JSF Flex Flex Task Runner Impl Project - JSF Flex Flex Task Runner Impl Project contains Ant Flex Runner impl project and Jython Flex Runner impl project - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - Jython License - http://www.jython.org/Project/license.html - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/runnerImpl/flexTaskRunnerImpl - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/runnerImpl/flexTaskRunnerImpl - - - - antFlexTaskRunnerImpl - jythonFlexTaskRunnerImpl - - - diff --git a/runnerImpl/pom.xml b/runnerImpl/pom.xml deleted file mode 100644 index 8805b173..00000000 --- a/runnerImpl/pom.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - 4.0.0 - - com.googlecode.jsf-flex - jsf-flex-build-project - ${jsf.flex.version} - - - com.googlecode.jsf-flex.runner-impl-project - runner-impl-main-project - pom - JSF Flex Runner Impl Project - - JSF Flex Runner Impl project contains various runner impl project for JSF Flex project - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - Jython License - http://www.jython.org/Project/license.html - repo - - - - - scm:svn:http://jsf-flex.googlecode.com/svn/trunk/runnerImpl - scm:svn:https://jsf-flex.googlecode.com/svn/trunk/runnerImpl - - - - commonTaskRunnerImpl - fileManipulatorTaskRunnerImpl - flexTaskRunnerImpl - - - diff --git a/settingJsf12BasePropertiesEclipseJBoss42.jpg b/settingJsf12BasePropertiesEclipseJBoss42.jpg new file mode 100644 index 00000000..c00962e1 Binary files /dev/null and b/settingJsf12BasePropertiesEclipseJBoss42.jpg differ diff --git a/settingJsf12BasePropertiesEclipseTomCat60.jpg b/settingJsf12BasePropertiesEclipseTomCat60.jpg new file mode 100644 index 00000000..47534e0f Binary files /dev/null and b/settingJsf12BasePropertiesEclipseTomCat60.jpg differ diff --git a/settingJsf12BasePropertiesEclipseTomCat70.jpg b/settingJsf12BasePropertiesEclipseTomCat70.jpg new file mode 100644 index 00000000..0995521c Binary files /dev/null and b/settingJsf12BasePropertiesEclipseTomCat70.jpg differ diff --git a/severalRemoteGridFilterView.jpg b/severalRemoteGridFilterView.jpg new file mode 100644 index 00000000..cb391ba9 Binary files /dev/null and b/severalRemoteGridFilterView.jpg differ diff --git a/jsf-flex-shared/core/src/main/resources/META-INF/xslContentAssister.js b/xslContentAssister.js similarity index 100% rename from jsf-flex-shared/core/src/main/resources/META-INF/xslContentAssister.js rename to xslContentAssister.js