I was using @Render, I'll try using @Redirect instead. I'm guessing @Render would've been preferrable so that the error appears on the same page rather than (like a FacesMessage from an invalid field)
Why do @Render (only in INVOKE_APPLICATION) and @Redirect (not in RENDER_RESPONSE) not work at any time in the request lifecycle? Can't redirects and forwards happen at any time? (I'm sure there's a good reason, maybe someone could explain.)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006438#4006438
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006438
Ok, as a simple test can you do the following:
Write a simple SLSB that uses straight JDBC to do the following:
1) Get a connection from the XADataSource that is injected
2) Use the connection to add/delete values from some random table
3) close the connection
Executing this simple test will either confirm or deny that fact. If you cannot do this let me know and I will try and whip something up.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006437#4006437
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006437
Hello,
I try to convert a resource into a selectList and run in few problems.
in my components.xml i have:
| <component name="org.jboss.seam.core.resourceBundle">
| <property name="bundleNames">
| <value>countries</value>
| <value>airLines</value>
| </property>
| </component>
|
in one of my beans i try to inject the resource like this:
| @In(required=false)
| Map<String, String> countries;
|
| @In(required=false)
| Map<String, String> airLines;
|
when looking at seam debug i can see the the resourceBundle-->bundleNames has the countries and airLines but in my bean they are null.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006435#4006435
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006435