agreed, the solution is ugly: It simply smears the whole classpath into one
huge ugly beast. At least it works and if you don't have any code at all in
your web-app, I'm pretty sure you can get away with it.
Anyway, the problem is fundamental: Almost every more complex component makes
thx gavin, that is good news and will solve the data-structure-problems: And it
looks like a good idea anyway to have an intermediate layer for
ui-datastructures anyway. Will it still be richfaces-dependent or are you
striving to make this a common layer that can be exchanged between several
Sure, bute tkalactomo already did that
(http://www.jboss.com/index.html?module=bbop=viewtopict=112758 ) - and I
cross-posted, because the richfaces-forum contains lots of unanswered
questions: Looks like the richfaces-guys are hanging around in the seam-forum
too often since seam-gen elected
yeah, I posted it double, because the richfaces-forum has lots of dangling
threads and nobody seems to be there... I replied there.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4061155#4061155
Reply to the post :
The simple idea to use a rich:tree to display some tree-like data from a
backing bean is currently turning into a nightmare:
As rich:tree needs its TreeNode (org.richfaces.component.TreeNode), the method:
| public TreeNode getChildTree()
|
forces me to package the richfaces-jar inside
Sure: It's the war that cannot be deployed, the rest is ok:
| 2007-07-05 11:35:32,171 DEBUG [org.jboss.util.NestedThrowable]
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
| org.jboss.deployment.DeploymentException: URL
Ok, is anybody actually using rich:tree with seam???!
Putting richfaces in both server/lib *and* WEB-INF/lib gets rid of the
deployment errors - but as expected, will throw a classcast-error when
rendering the tree:
java.lang.ClassCastException:
black art of jboss-webapp deployment! That did the trick, many thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4060800#4060800
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4060800
I'm trying to get the most naive implementation of a list with a a seam-link to
run:
| rich:tree rendered=#{not empty containerHome.instance.children}
| style=width:300px
| value=#{containerHome.childTree}
| var=child
| nodeFace=#{child.type}
|
After playing a while with seam-gen, I'd really like to hear if somebody is
actually using this for something more than generating a template from which to
start. I mean, is this supposed to be something comparable to rails or grails
scaffolding? Or is it just a toy to give you a prepared build
I'm getting a strange exception when I try to execute a page-action:
| javax.faces.el.EvaluationException: Exception while invoking expression
#{resultsManager.selectResults}
|
|
org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
I thought, when I leave the value blank, it just passes through the reqeust
parameter with the given name - this seems to be working - at least under
windows.
Anyway, I tried it without the parameter and still get the same Exception - it
does not even call the method, it just does not
I have a lot of tests that all roughly follow the same pattern:
- SeamTest initializes the embedded container
- set up a faces-request
- get an instance of a properly prepared seam component
- run some testsassertions
e.g:
| @Test
| public void testCombinedQuery() throws Exception{
|
I'm currently using the following pattern for my seam-tests (taken from the
examples):
| @Test
| public void testCombinedQuery() throws Exception{
| new FacesRequest() {
| QueryManager queryManager;
| @Override
| protected void
After struggling a while with getting an implementation for EntityHome
running, I am about to give up: A comlete example, that is actually running and
can be deployed, would be helpful - the docs are too sparse to get this things
really up and running: Here is my problem:
Given the example
Ok, the contactlist provides an example for the declarative use of the class
via fwk in the components.xml - is it actually possible right now to use plain
javabeans for the implementation (with not only the managed part being
javabeans, but also the controller e.g. ContactHome is implemented
I found two keys related to security somewhere in the forum:
org.jboss.seam.loginSuccessful
org.jboss.seam.loginFailed
but there must be a third key with a default-value of Please login first
which is added, when a security-exception triggered a redirect to the
login-page. Does anyone know
thx fernando, sorry that I oversaw you first answer.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4031065#4031065
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4031065
___
aahh. sure, thx! I got so used to things running out of the box, that I am
starting to get lazy. That did the trick, thx!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029959#4029959
Reply to the post :
I want to change the default messages for login-events:
In the examples, there are simple things like
org.jboss.seam.loginSuccessful=Welcome, #{authenticatedMember.memberName}
|
in the messages.properties:
but I need a complete list of keys for internationalisation (e.g. where does
Please,
that sounds great for me- I'll make you a quick jira-reminder:)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017072#4017072
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017072
Basically. we want to have the ability to test our javascript-clients without
any server: Is there a way to mock the xml that remoting uses?! We want to use
a static xml and then use the remoting-apis to deserialize this on the client
without needing a call to the server.
Ideally, this could
hmm, yes, that is almost what I need - apart from the fact, that there is
nothing on the server, that can be monitored: It's the data that takes
reasonable time to download: I guess I'll have to break down the collection I
download into chunks and load them in these smaller pieces - I can then
We are transporting quite a lot of load with remoting, so it takes a serious
amount of time to finish the remote-call on slow lines. We are currently just
showing a progress-animation, but this gives no indication, how much was
downloaded (and if there is happening anything at all).
Is there a
no, 1.1.5.GA - has that already been fixed in 1.1.6.GA?! You should at least
give the people some time to install the old version, say, half a day, before
you pump out new features:)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4014841#4014841
Reply to the
Wouldn't it be better, if the cache in the Remoting/Chatroom example came
configured as a local cache?! I had some strange ClassLoader/UNICAST-errors,
that I assume come from the REPL_ASYNC and the cluster-config, that is used in
the example.
I sure have to review the setup of the cache, but
I have some troubles with my very naive approach to use a Stateful Session Bean
together with Seam.Remoting:
The Scenario:
User loads Page with a Multiple-Choice-Test. All questions are fetched from the
server, each question is setup via javascript on the client. Each answer is
sent to the
ouch, I had hoped, that it was me who is doing something wrong. I wil upgrade
to 1.1.5GA, hope that this bug magically vanishes and will post a testcase to
jira, if it does not.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4010402#4010402
Reply to the post
Are there any examples/codesnippets/docs for using the pojocache-component?!
And talking about this component - is there generally any documentation on the
components supplied with seam? The notes in the documentation are a little bit
sparse, some code-snippets to exemplify the
thx peter, that was everything I needed: And the remoting-example is really
helpful, shows everything I wanted to know!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3995578#3995578
Reply to the post :
Thx, that also does the trick - but I found the easier one to inject it via
@PersistenceUnit - which also injects the factory and not the manager...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3975408#3975408
Reply to the post :
ok, that was easy after I found
@PersistenceUnit
which injects the EntityManagerFactory (this also works on mbeans, and the
persistence-unit is initialized before the mbean: so in case you want to do
something fancy with the EntityManagerFactory, you can do so in the create() of
an MBean...)
I've got a stateless SessionBean with an injected PersistenceContext using:
| @PersistenceContext
| private EntityManager em;
|
I now try to get a handle to the underlying EntityManagerFactory using
em.getDelegate()
which throws a lengthy NullPointerException. I am calling this in
ok, the reason for this has to with the lifecycle of the bean: When I call the
em.getDelegate() in a normal business-method, the call returns an [EMAIL
PROTECTED] as expected.
So there seems to be no possibility to get hold of the underlying
implementation in a @PostConstruct-Method...
Hi Bernd, how is business?! (you may remember me from Karlsruhe...),
seam can really drive you nuts: Checking the web.xml and the components.xml for
the jndi-pattern may help. web.xml has a context-param for the jndi-pattern,
while components.xml has a property for the
I'm having the very same problem: Did anybody resolve this in the meantime?!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3968134#3968134
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968134
36 matches
Mail list logo