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
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 :
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
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
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
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 :
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
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 :
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
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
|
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
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 :
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
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 :
... 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
:( 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
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
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
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)
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
... 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 :
... 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
... 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:
... 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:
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
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
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
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
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
___
29 matches
Mail list logo