[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !

2007-10-03 Thread bulloncito
it does work, I just happen to have lousy bandwidth (and a dynamic dns) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091270#4091270 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091270

[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !

2007-09-03 Thread bulloncito
Hi there, sorry for the delay, just got a sample minimal test case, here it is: http://bco.homelinux.org/cosas/slinkerror.zip Complete ear + war + jar + src + build.xml ;) I'm running it on jBoss 4.2.1 + Seam2. View the original post :

[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !

2007-08-10 Thread bulloncito
This is the simplest EntityQuery ever, but for any other case, from a more complex one, to unwrap methods or other dynamically calculated lists, not caching the results will be a performance issue. Maybe even a concurrent request could change some parameter that would end up giving different

[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !

2007-08-09 Thread bulloncito
Done, it was painful, updated to Seam2, and error is identical ; ) Entity Query is fetched multiple times for the very same case, if I use even empty s:link / tags, List is fetched multiple times, for entityQuery objects that check for dirtied parameters, this could no be so noticeable as an

[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !

2007-08-09 Thread bulloncito
Tried it. Won't work. Changed s:link / for h:command as follows: h:form | h:commandLink value=#{region.name} | f:param value=#{region.id} name=regionID / | /h:commandLink | /h:form ... witch now need forms (or links are disabled with an ugly warning in seam2) for

[jboss-user] [JBoss Seam] - Re: SEAM2 fails to inject EntityManager

2007-08-08 Thread bulloncito
Such a quick response, such a simple thing, yet such big accomplishment. Thank you ; ) ... now some other things are broken, but I can take it from here ; ) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071845#4071845 Reply to the post :

[jboss-user] [JBoss Seam] - SEAM2 fails to inject EntityManager

2007-08-07 Thread bulloncito
Trying to migrate from jBoss4.0.5.GA+Seam1.2.1.GA to jBoss4.2.1.GA+Seam2.0.0.B1, after updating lots of code, app deploys properly, but when I try to acces initial page, an EntityHome complains and sends me to error page: In attribute requires non-null value: complexHome.entityManager at this

[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !

2007-07-09 Thread bulloncito
Tried to migrate once with no success ( currently jBoss 4.0.5.GA + SEAM 1.2.1.GA) ... will try again and report status ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062056#4062056 Reply to the post :

[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !

2007-07-09 Thread bulloncito
Don't sure it's the latest, or the proper document: http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jboss/jboss-seam/seam2migration.txt?revision=1.2view=markupsortby=date ... but: anonymous wrote : Before you get started with Seam2, you'll need to make a few changes to | your existing code and

[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !

2007-07-08 Thread bulloncito
anonymous wrote : It doesn't cache the result of a valuebinding. .. then why | h:dataTable id=regions value=#{regions.resultList} var=region | h:column rendered=#{s:hasRole('Debug')} | f:facet name=headerid/f:facet | #{region.id} | /h:column |

[jboss-user] [JBoss Seam] - seam s:link fetchs list multiple times. big error !

2007-07-06 Thread bulloncito
s:link fetchs list multiple times, here's what happens, this is .xhtml fragment: h:dataTable id=users value=#{selectEmployee.resultList} var=employee |h:column ... simple columns: employee.name, employee.phone, etc ... /h:column |h:column |s:link propagation=none

[jboss-user] [JBoss Seam] - Re: how to access users role list...

2007-07-06 Thread bulloncito
I have a Profile entity, so I do: employee.getProfile().getPermissions() wich are a bunch of strings, assigned to user at loginTime (#{authenticator.authenticate}) as roles, so xhtml uses #{s:hasRole('role')} and java uses Profile object, hope that helps. View the original post :

[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !

2007-07-06 Thread bulloncito
Didn't wanted to bloat the post, but it happens with every dataTable I have, wheter they use query objects, my own custom beans, or even bean.property of type list, they all get queryed again for every s:link in every row (of a h:dataTable). Here's a quick sample, the COMPLETE page

[jboss-user] [JBoss Seam] - Re: Instance.hasRole()...

2007-07-06 Thread bulloncito
I use Identity identity = Identity.instance() ; .. (no @In) and then identity.addRole( someString ) ; ... for each role and everything works fine. Maybe all those Identity.instance() aren't apropiate (they should be) View the original post :

[jboss-user] [JBoss Seam] - Re: seam s:link fetchs list multiple times. big error !

2007-07-06 Thread bulloncito
... guess what? just found out: Even an empty s:link / will make extra fetchs :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061543#4061543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4061543

[jboss-user] [JBoss Seam] - Re: 'sometimes' a nullpointer exception for #{identity.logge

2007-05-25 Thread bulloncito
:( Thanks anyway. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048815#4048815 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048815 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: 'sometimes' a nullpointer exception for #{identity.logge

2007-05-23 Thread bulloncito
Hey ffischer !! I 'm also having that problem !! random #{org.jboss.seam.security.identity} and #{org.jboss.seam.messages} erros, I do have ajax4jsf in web.xml, I can disable it there as you say, but then I get Resources framework is not initialised, check web.xml for Filter configuration when

[jboss-user] [JBoss Seam] - Re: Seam can't parse pages.xml without JBoss.com?

2007-05-15 Thread bulloncito
dtd's must be validated :S, run through the same problem, patch/fix was, for me, to manually download (that's a horrible patch) pages-1.2.dtd and put it in bin directory of jboss, since my server runs dnsless and cannot validate online resources, only pages-1.2.dtd from jboss.com was needed for

[jboss-user] [JBoss Seam] - Re: org.jboss.seam.core.Pages - parsing exception?

2007-05-11 Thread bulloncito
I'm getting | SEVERE: Error Rendering View[/index.xhtml] | java.lang.RuntimeException: org.dom4j.DocumentException: jboss.com Nested exception: jboss.com | at org.jboss.seam.core.Pages.getDocumentRoot(Pages.java:836) | at org.jboss.seam.core.Pages.parse(Pages.java:822)

[jboss-user] [JBoss Seam] - Re: EntityHome setId problem

2007-02-22 Thread bulloncito
What do you mean by initializing the parameter in the first place ? isn't that what the page parameter does ? I'm a seam newbie having a similar problem, if I select an entity from a h:dataTable using s:link id=editUser action=#{userSearch.editUser(user)} propagation=join Edit/s:link then

[jboss-user] [JBoss Seam] - Re: Factory and injection in EntityHome

2007-02-19 Thread bulloncito
... try removing that weird @In{row.something} ... if that's not enough, try starting a new conversation. By the way, i had trouble using inheritance, using declarative approach fixed some errors, I believe that's a bug. View the original post :

[jboss-user] [JBoss Seam] - Re: pass parameters from page to page

2007-02-19 Thread bulloncito
... or you can put them in conversation scope and make things transparent ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019013#4019013 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019013

[jboss-user] [JBoss Seam] - Home Entity not partially working

2007-02-19 Thread bulloncito
... finally managed to use EntitiHome in my project, however this code works: factory name=user | value=#{userHome.instance}/ | | framework:entity-home name=userHome | entity-class=myPackage.User | entity-manager=#{entityManager} / while this one does not:

[jboss-user] [JBoss Seam] - Home Entity not Working

2007-02-19 Thread bulloncito
... finally managed to use EntitiHome in my project, however this code works: factory name=user | value=#{userHome.instance}/ | | framework:entity-home name=userHome | entity-class=myPackage.User | entity-manager=#{entityManager} / while this one does not:

[jboss-user] [JBoss Seam] - Re: Who uses EntityHome objects?

2007-02-12 Thread bulloncito
I'm having the same problem, I'm starting with seam, using EntityHome, and as far as I understand that only propagates the parameter to the page, still has to be injected, I use @RequestParameter Long userId ; however my source is nearly identical to the one in the exaples of reference

[jboss-user] [JNDI/Naming/Network] - Re: java.lang.ClassNotFoundException: org.jnp.interfaces.Nam

2006-12-15 Thread bulloncito
Similar problem, however, I'm using portlets, running things inside the same JVM and everything runs inside the same app, however, in some places my app uses TransactionManager tm = (TransactionManager)new InitialContext().lookup(java:/TransactionManager) ; ... wich runs nice and smooth, while

[jboss-user] [JBoss Seam] - Interportlet Communication Problem

2006-09-22 Thread bulloncito
Hi there, there are a few ways to interact with other portlets around, however most of them relay on session or some messaging boxes (http://www.doc.ic.ac.uk/~mo197/portlets/portlet_messaging/), however I'm thinking they are not multi-browser-window/multi-tabs safe. Think of it, browser tab A

[jboss-user] [JBoss Portal] - Interportlet Communication Problem

2006-09-22 Thread bulloncito
Hi there, there are a few ways to interact with other portlets around, however most of them relay on session or some messaging boxes (http://www.doc.ic.ac.uk/~mo197/portlets/portlet_messaging/), however I'm thinking they are not multi-browser-window/multi-tabs safe. Think of it, browser tab A

[jboss-user] [JBoss Seam] - Re: Interportlet Communication Problem

2006-09-22 Thread bulloncito
Whops, sorry, wrong topic, any idea would still be good :P View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3973619#3973619 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3973619 ___