Hi -
I've got an enum that I want to create a drop-down for, and use the ordinal values for the "value" attribute in the <option... tags.
But the selectItems component only has "label" attribute, and so I can't figure out how to tell the selectItems to use the enum's ordinal values for the option "value". The enum's name is used as the option "value". Do I need to create some kind of converter to do this, or what am I doing wrong?
Thanks for your help.
- Joe
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110884#4110884
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110884
JIRA: http://jira.jboss.org/jira/browse/JBSEAM-2325
So far, uncovered that the following tag is slightly misleading:
| <!-- misleading: apparently exclusive, either authenticate-method OR jaas-config -->
| <security:identity authenticate-method="#{authenticator.authenticate}" jaas-config-name="SpringPoweredRealm"/>
|
| should be just:
| <security:identity jaas-config-name="SpringPoweredRealm"/>
|
| then maybe something like:
| <event type="org.jboss.seam.postAuthenticate">
| <action execute="#{authenticator.login}"/>
| <action expression="#{authenticator.login}"/>
| </event>
|
|
In any event, still getting NotLoggedInException when attempting to call an @Restrict method (and yes, tried exception class="org.jboss.seam.security.NotLoggedInException" approach and that still does not work).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110882#4110882
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110882