[JBoss Seam] - Re: Seam 1.1 beta 1
by stan.silvertï¼ jboss.com
"bpatters" wrote : HUGE kudo's for the facelet support of parameters in action expressions!
|
| Being able to do: "#{contact.addContact(c)}" has really simplified some the things I'm trying to do.
|
|
| One thing, I don't know if this is a bug or I'm misunderstanding something but:
|
| a4j namespace is the Ajax4Jsf function set.
|
| the command:
|
| <a4j:commandLink action="#{contactManager.deleteContact(c)}"/>Works inside a datatable like:
| <h:dataTable var="c" value="#{contacts}">
| | <h:column>
| | ## above action here
| | </h:column>
| | </h:dataTable>
| But when it's inside:
| <c:forEach var="c" items="#{contacts}">
| | ## command goes here
| | </c>
|
| it doesn't work, the pareamter sent to the function always resolves to null.
|
|
| The above is just a contrived example of what I saw last night with my real application, if you need the real code example that doesn't work I will have to do that tonight/this weekend.
|
|
Gavin is correct. But to be more specific, the action param feature doesn't support EL variables. An EL variable is a special page-level variable used by tags such as <c:forEach>.
Actually, this can be fixed for use with Facelets because Facelets includes Unified EL. Please create a JIRA task for it. I probably won't get around to fixing it for quite awhile though.
It will also eventually work with the JSF 1.2/JSP 2.1/JSTL 1.2 combo.
Stan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983328#3983328
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983328
19Â years, 6Â months
[EJB 3.0] - jboss.xml is ignored?
by jan_bar
Hi,
I am trying to configure my EJB3 MDB, but the configuration-name in jboss.xml seems to be skipped (at least in JBossDDObjectFactory).
It is also not clear to me when the server/default/conf/standardjboss.xml is read by JBoss, it seems it is ignored too. The only class that seems to load it is XmlFileLoader.load(URL alternativeDD), but it is not called by JBoss. I think I made some stupid bug....
I use JBoss 4.0.5.GA with EJB3 configuration
my META-INF/jboss.xml:
| <?xml version="1.0" encoding="UTF-8"?>
| <jboss>
| <enterprise-beans>
| <message-driven>
| <ejb-name>MailerMDB</ejb-name>
| <destination-jndi-name>queue/email</destination-jndi-name>
| <configuration-name>Email MDB Config</configuration-name>
| </message-driven>
| </enterprise-beans>
|
| <container-configurations>
| <container-configuration extends="Standard Message Driven Bean">
| <container-name>Email MDB Config</container-name>
| <container-pool-conf>
| <MaximumSize>1</MaximumSize>
| <strictMaximumSize>true</strictMaximumSize>
| </container-pool-conf>
| </container-configuration>
| </container-configurations>
| </jboss>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983326#3983326
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983326
19Â years, 6Â months