[jboss-user] [JBoss Seam] - Re: Deployment: Where to put richfaces-*.jar for rich:tree?!

2007-07-18 Thread mugwump
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

[jboss-user] [JBoss Seam] - Re: Deployment: Where to put richfaces-*.jar for rich:tree?!

2007-07-18 Thread mugwump
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

[jboss-user] [JBoss Seam] - Re: rich:tree with a simple s:link?!

2007-07-09 Thread mugwump
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

[jboss-user] [JBoss Seam] - Re: rich:tree with a simple s:link?!

2007-07-06 Thread mugwump
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 :

[jboss-user] [JBoss Seam] - Deployment: Where to put richfaces-*.jar for rich:tree?!

2007-07-05 Thread mugwump
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

[jboss-user] [JBoss Seam] - Re: Deployment: Where to put richfaces-*.jar for rich:tree?!

2007-07-05 Thread mugwump
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

[jboss-user] [JBoss Seam] - Re: Deployment: Where to put richfaces-*.jar for rich:tree?!

2007-07-05 Thread mugwump
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:

[jboss-user] [JBoss Seam] - Re: Deployment: Where to put richfaces-*.jar for rich:tree?!

2007-07-05 Thread mugwump
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

[jboss-user] [JBoss Seam] - rich:tree with a simple s:link?!

2007-07-05 Thread mugwump
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} |

[jboss-user] [JBoss Seam] - seam-gen: What is it good for?

2007-06-04 Thread mugwump
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

[jboss-user] [JBoss Seam] - EvaluationExcepion for page-action

2007-05-09 Thread mugwump
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)

[jboss-user] [JBoss Seam] - Re: EvaluationExcepion for page-action

2007-05-09 Thread mugwump
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

[jboss-user] [JBoss Seam] - Testsuites with SeamTest: Initializing the Microcontainer on

2007-04-09 Thread mugwump
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{ |

[jboss-user] [JBoss Seam] - Simpler way of testing properly injected beans?!

2007-04-06 Thread mugwump
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

[jboss-user] [JBoss Seam] - Complete, working Example-Implementation for EntityHomeObje

2007-03-26 Thread mugwump
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

[jboss-user] [JBoss Seam] - Re: Complete, working Example-Implementation for EntityHome

2007-03-26 Thread mugwump
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

[jboss-user] [JBoss Seam] - [Security] Message-Key for Please login first

2007-03-23 Thread mugwump
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

[jboss-user] [JBoss Seam] - Re: [Security] Message-Key for

2007-03-23 Thread mugwump
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 ___

[jboss-user] [JBoss Seam] - Re: Overriding default jsf-messages in messages.properties

2007-03-20 Thread mugwump
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 :

[jboss-user] [JBoss Seam] - Security - documentation for message keys?!

2007-03-16 Thread mugwump
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,

[jboss-user] [JBoss Seam] - Re: Remoting - Progress Indicator?!

2007-02-15 Thread mugwump
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

[jboss-user] [JBoss Seam] - Remoting: Use mock-xml instead of server-call?!

2007-02-15 Thread mugwump
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

[jboss-user] [JBoss Seam] - Re: Remoting - Progress Indicator?!

2007-02-14 Thread mugwump
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

[jboss-user] [JBoss Seam] - Remoting - Progress Indicator?!

2007-02-12 Thread mugwump
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

[jboss-user] [JBoss Seam] - Re: Chatroom -caching-configuration

2007-02-11 Thread mugwump
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

[jboss-user] [JBoss Seam] - Chatroom -caching-configuration

2007-02-10 Thread mugwump
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

[jboss-user] [JBoss Seam] - Remoting-Calls to SSB are not stateful

2007-02-03 Thread mugwump
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

[jboss-user] [JBoss Seam] - Re: Remoting-Calls to SSB are not stateful

2007-02-03 Thread mugwump
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

[jboss-user] [JBoss Seam] - Examples for UsageConfiguration of PojoCache

2006-12-21 Thread mugwump
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

[jboss-user] [JBoss Seam] - Re: Examples for UsageConfiguration of PojoCache

2006-12-21 Thread mugwump
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 :

[jboss-user] [EJB 3.0] - Re: NullpointerException when calling getDelegate() on injec

2006-10-02 Thread mugwump
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 :

[jboss-user] [EJB 3.0] - Re: Accessing EntityManagerFactory?!

2006-10-02 Thread mugwump
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...)

[jboss-user] [EJB 3.0] - NullpointerException when calling getDelegate() on injected

2006-09-29 Thread mugwump
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

[jboss-user] [EJB 3.0] - NullpointerException on getDelegate() on injected EntityMana

2006-09-29 Thread mugwump
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...

[jboss-user] [JBoss Seam] - Re: Seam Bean not instantiated

2006-09-01 Thread mugwump
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

[jboss-user] [JBoss Seam] - Re: testing after

2006-08-29 Thread mugwump
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