[JBoss JIRA] Created: (SEAMXML-22) support collection and array virtual fields
by Dan Allen (JIRA)
support collection and array virtual fields
-------------------------------------------
Key: SEAMXML-22
URL: https://jira.jboss.org/browse/SEAMXML-22
Project: Seam XML Configuration
Issue Type: Feature Request
Affects Versions: 3.0.0.Beta1
Reporter: Dan Allen
Fix For: 3.0.0.Beta2
Add support for defining virtual fields that are of type collection or array. This should work already in theory, but no matter what I tried, I got errors, so it may simply be broken. There is also one piece missing. There needs to be a way to specify the collection type parameter (item type). I'm envisioning something like this:
<List>
<Integer/> <-- defines item type
<app:DiceValues/>
<value>1</value>
<value>2</value>
<value>3</value>
<value>4</value>
<value>5</value>
<value>6</value>
</List>
defines the virtual field:
@DiceValues
List<Integer> anonymous;
In the same way, we should support virtual arrays:
<array>
<Integer/>
<app:DiceValues/>
<value>1</value>
<value>2</value>
<value>3</value>
<value>4</value>
<value>5</value>
<value>6</value>
</array>
producing:
@DiceValues
Integer[] anonymous;
The nested element for the type is a bit awkward, though (I suggested it because it's currently how array's are typed). It would make more sense to use an attribute here:
<List itemType="java.lang.Integer">
...
</List>
Also, a way to control the implementation type:
<List type="java.util.ArrayList" itemType="java.lang.Integer">
...
</List>
Once working, there definitely needs to be an example (or two) added to the documentation.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] Created: (SEAMFACES-193) PrettyFaces URL rewriting is not happening when intercepted via @LoginView
by Bill Elliot (JIRA)
PrettyFaces URL rewriting is not happening when intercepted via @LoginView
--------------------------------------------------------------------------
Key: SEAMFACES-193
URL: https://issues.jboss.org/browse/SEAMFACES-193
Project: Seam Faces
Issue Type: Bug
Components: Security, View Configuration
Affects Versions: 3.0.2
Environment: JBoss AS6, Seam Faces 3.0.2, PrettyFaces 2.2
Reporter: Bill Elliot
When starting as not logged in and you request a page mapped with PrettyFaces that has a security constraint (defined in pages @ViewConfig) which has a @LogonView, you are sent to the login screen first. Then once you login successfully you are takes to the requested page, but without the PrettyFaces URL rewriting. You get the raw URL.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months