
eap6.java-ee.seam.seam-ui.windup.xml Maven / Gradle / Ivy
The newest version!
This ruleset provides generic migration knowledge from the Seam 2 UI controls to pure JSF 2 UI Controls
seam
jsf
This JSF template includes references to the Seam 2.x tag library.
Seam 2.2 and earlier is not supported on JBoss EAP 6 and above.
There are two options available:
1. Continue using Seam 2.x. This approach is low effort but the application will not use a tested and supported library and it may not work on EAP 7 at all.
2. Switch to standard CDI beans and migrate to JSF 2.2 UI tags. This will require significant migration effort.
seam
jsf
This JSF template includes references to the Seam 2.3 library.
Seam 2.3 is supported on JBoss EAP 6, however it is no longer supported
on JBoss EAP 7 and above.
There are two options available:
1. Continue using Seam 2.3. This approach is low effort but the application will not use a tested and supported library and it may not work on EAP 7 at all.
2. Switch to standard CDI beans and migrate to JSF 2.2 UI tags. This will require significant migration effort.
The provided links describe the issue in more detail.
seam
jsf
Seam UI's `<s:button>` JSF control should be replaced by `<h:button>`.
There are differences in attributes, for example the _action_ attribute maps to _outcome_ and there is no _propagation_ attribute.
seam
jsf
h:button
s:button
Seam UI's `<s:link>` should be replaced by `<h:link>`.
There are differences in attributes, for example the _action_ attribute maps to _outcome_ and there is no _propagation_ attribute.
seam
jsf
h:link
s:link
There is no direct mapping for `<s:conversationId>` in JSF UI controls.
seam
jsf
There is no direct mapping for `<s:conversationPropagation>` in JSF UI controls
seam
jsf
There is no direct mapping for `<s:taskId>` in JSF UI controls
seam
jsf
There is no direct mapping for `<s:defaultAction>` in JSF UI controls
seam
jsf
Seam UI's `<f:convertDateTime type="time" pattern="kk:mm:ss">` should be replaced by `<f:convertDateTime>`.
The format can be configured by setting the locale,
or by setting the context-param `javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE` to `true`.
seam
jsf
Seam UI's `<s:convertEntity>` should be replaced by `<f:converter converterId="[yourConverterClass]">`.
seam
jsf
There is no direct mapping for `<s:enumItem>` in JSF UI controls
seam
jsf
There is no direct mapping for `<s:token>` in JSF UI controls
seam
jsf
There is no direct mapping for `<s:formattedText>` in JSF UI controls
seam
jsf
There is no direct mapping for `<s:cache>` in JSF UI controls
seam
jsf
There is no direct mapping for `<s:resource>` in JSF UI controls
seam
jsf
There is no direct mapping for `<s:download>` in JSF UI controls
seam
jsf
There is no direct mapping for `<s:remote>` in JSF UI controls
seam
jsf
Seam UI's `<s:selectItems>` should be replaced by `<h:selectItems>`.
seam
jsf
Seam UI's `<s:validate>` should be replaced by `<f:validateBean>`.
seam
jsf
Seam UI's `<s:fragment>` should be replaced by `<ui:fragment>`.
seam
jsf
There is no direct mapping for `<s:convertEnum>` in JSF UI controls, but JSF 2 has a built-in EnumConverter which can be extended if necessary.
seam
jsf
There is no direct mapping for `<s:convertAtomicBoolean>` in JSF UI controls. Create a custom converter for a replacement.
seam
jsf
There is no direct mapping for `<s:convertAtomicInteger>` in JSF UI controls. Create a custom converter for a replacement.
seam
jsf
There is no direct mapping for `<s:convertAtomicLong>` in JSF UI controls. Create a custom converter for a replacement.
seam
jsf
There is no direct mapping for `<s:validateEquality>` in JSF UI controls.
Use respective `<f:validate[constraint]>` like:
* `<f:validateDoubleRange>`,
* `<f:validateLength>`,
* `<f:validateLongRange>`,
* `<f:validateRequired>`.
seam
jsf
There is no direct mapping for `<s:validateAll>` in JSF UI controls, but you can achieve a similar effect by using `<f:validateBean>` or [Richfaces](http://richfaces.jboss.org/) `<rich:validator>`.
seam
jsf
There is no direct mapping for `<s:decorate>` in JSF UI controls, but you can achieve the same functionality by using the UIInputContainer and a composite container, both of which are demonstrated in the [Open18 migration example](https://github.com/seam/migration/blob/develop/open18_java_ee_6)
[input.xhtml](https://raw.githubusercontent.com/seam/migration/develop/open18_java_ee_6/src/main/webapp/resources/components/input.xhtml) file.
seam
jsf
There is no direct mapping for `<s:div>` in JSF UI controls, but it could be done with an `<h:panelGroup layout="block">` or a `<ui:fragment>` containing a div.
seam
jsf
There is no direct mapping for `<s:span>` in JSF UI controls, but you can achieve a similar effect by using `<h:panelGroup>` or a `<ui:fragment>` with a span element.
seam
jsf
There is no direct mapping for `<s:label>` in JSF UI controls, but `<h:outputLabel>` is similar.
seam
jsf
Use `<h:message for="name" errorClass="invalid">` or [Richfaces](http://richfaces.jboss.org/) `<rich:message>`.
seam
jsf
There is no direct mapping for `<s:fileUpload>` in JSF UI controls. You can achieve similar functionality by using [Richfaces](http://richfaces.jboss.org/) `<rich:fileUpload>`
seam
jsf
There is no direct mapping for `<s:graphicImage>` in JSF UI controls, but you can use `<h:graphicImage>` as Seam extends that JSF UI control.
seam
jsf
© 2015 - 2025 Weber Informatics LLC | Privacy Policy