[JBoss Seam] - Problem with Two DataModel
by keuller
Hi people,
I have a seriuos problem with @DataModel at same Managed Bean. I have using Seam 1.2.1 + Ajax4JSF + MyFaces + Tomahawk + Facelets on Tomcat 5.5.23.
Here is snippet code of my managed bean:
@Name("servicoBean")
| @Scope(ScopeType.EVENT)
| public class ServicoBean
| {
| @Logger
| private Log log;
|
| @DataModel("categorias")
| private List<Categoria> categorias;
|
| @DataModelSelection("categorias")
| private Categoria categoria;
|
| @DataModel("servicos")
| private List<Servico> servicos;
| ...
| }
And code of my XHTML page:
<h:form id="frmCategorias">
| <t:dataTable var="categ" value="#{categorias}" border="0"
| cellpadding="5" cellspacing="1">
| <t:column>
| <t:commandLink value="#{categ.descricao}"
| action="#{servicoBean.selecionaCategoria(categ)}" />
| </t:column>
| </t:dataTable>
| </h:form>
|
The most curious is the first @DataModel() "categorias" works fine, but the second one "servicos" does not work. Any error is displayed on page, but the data aren't displayed. Is there any patch to correct it or any workaround to solve that ?
Anyone can help me, please.
Regards.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079168#4079168
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079168
18Â years, 7Â months
[JBoss Messaging] - Re: Problem with destination's name using slash
by hendra_netm
hi /M,
Thanks for your comment.
It seems that JBM trying to do subcontext deployment.
In Windows, somehow, var context is available, so it continues to check spool sub-context, which is not available, then the exception is generated.
I suspect the culprit is not the deployer though, since I can deploy queue with that kind of name using JMX-Console.
The problem may lies somewhere inside the translation of destination's XML file.
In windows, I got another funny behavior.
Somehow, I can deploy queue using this name: /var/usr/test
I change the name into: /var/user/test, and it is failed (get this exception: javax.naming.NameNotFoundException: user not bound)
When I changed the name back to /var/usr/test, it is failed as the queue is still active??
This seems like bug, but I am not sure.
Best Regards,
Hendra
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079157#4079157
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079157
18Â years, 7Â months