[jboss-user] [JBoss Seam] - @unwrap that manages backing beans...

2007-10-31 Thread gagool
Hello, I would like to manage access to multiple instances of backing beans . I would like something like this but working. | @Name("perCellForm") | public class PerCellFormBean implements PerCellForm { | | HashMap cells = new HashMap(10); | | @In | private Cell curre

[jboss-user] [JBoss Seam] - Re: Hide J2EE Seam Server

2007-10-21 Thread gagool
That won't work, it is quite easy to identify the server as a seam/jsf/richfaces-server by looking at how it renders the html/js and request variables. If you just want to change the file extension, do it in web.xml Faces Servlet url-mapping. View the original post : http://www.jboss.com/ind

[jboss-user] [JBoss Seam] - Re: Overriding the Identity component.. (like lacewiki does

2007-10-10 Thread gagool
DOH! Now I see... I needed to remove the security-rules property from components.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093445#4093445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093445

[jboss-user] [JBoss Seam] - Overriding the Identity component.. (like lacewiki does) fa

2007-10-10 Thread gagool
For some reason seam wants an securityRules-setter on my inherited Identity component. I can't find any securityRules, any idea why? this simeple case: | @Name("org.jboss.seam.security.identity") | @Scope(SESSION) | @BypassInterceptors | @Install(precedence = APPLICATION) | @AutoCreat

[jboss-user] [JBoss Tools (users)] - Re: eclipse permGen

2007-10-10 Thread gagool
Since only (?) the sun JVM has the XX:Permgen-parameter it should not be automatically added by eclipse since it runs on other vms as well.. The eclipse launcher checks if VM is sun and then adds the parameter VMarg. This is the [EMAIL PROTECTED]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=203

[jboss-user] [JBoss Tools (users)] - Re: eclipse permGen

2007-10-10 Thread gagool
You should be aware of that there is a bug in eclipses JVM identification (if i remember correctly).. I think that this is only in eclipse 3.3.1 (check bugs.eclipse.org) This eclipse.ini that should work all the time doesn't: | -showsplash | org.eclipse.platform | --launcher.XXMaxPermSiz

[jboss-user] [JBoss Seam] - Re: SeamTest and expectedExceptions

2007-09-27 Thread gagool
I wrote my own exception filter as well.. The most important thing for me is that there are no tests that seems to be working but are not due to hidden exceptions.. It is my opinion that you would expect the exceptions to be passed on. I would say that this is either a bug in the code or the docu

[jboss-user] [JBoss Seam] - Re: SeamTest and expectedExceptions

2007-09-26 Thread gagool
This isn't working as I expect it. If an exception is thrown inside the FacesRequest(){}; and the exception isn't propagated into the test class. Tests that should fail due to exceptions are not failing.. The only way seems to be to create a try/catch-block inside each method of FacesRequest.. b

[jboss-user] [JBoss Seam] - Re: Cleaner RESTful urls? Any suggestions?

2007-09-13 Thread gagool
I need this feature too, because in my case the URL will point to a user home and must be as easy as possible to remember. It is also my opinion that slashes are more aesthetically pleasing than ampersands. Complete control of the URL can also make it easier to understand what it points to if f

[jboss-user] [JBoss Seam] - Re: Null component in context?

2007-09-05 Thread gagool
The reason for our problems was that the entity UserAccount ifself was a seam component named userAccount. I'm still not sure though why It is allowed to have a null component in the context, shouldn't I get an Exception instead? View the original post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss Seam] - Re: seam 2.0 offline mode??

2007-09-05 Thread gagool
If you are using richfaces, richfaces cannot fint the JSF 1.1 dtd. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081228#4081228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081228

[jboss-user] [JBoss Seam] - Re: Null component in context?

2007-09-05 Thread gagool
And.. the question is, are null components allowed to exist in contexts? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081209#4081209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081209 __

[jboss-user] [JBoss Seam] - Re: Null component in context?

2007-09-05 Thread gagool
Were using a day old-CVS-version of seam 2. Also, If the conversation holding the userAccount ends after a user has logged in, the factory is run as it should. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081180#4081180 Reply to the post : http://www.jbos

[jboss-user] [JBoss Seam] - Null component in context?

2007-09-05 Thread gagool
When our user isn't logged in (the useraccountId=null) this factory returns null,.. This null valued thing seems to exist as a component in conversations. The factory isn't run, @In just receives an null value. Any ideas? | @Factory(autoCreate = true, scope = ScopeType.STATELESS, value =

[jboss-user] [JBoss Seam] - Re: SeamTest and expectedExceptions

2007-08-10 Thread gagool
I just did it like this... | ... | @Override | protected void invokeApplication() throws Exception { | Exception ex = new Exception(); | | try { | in

[jboss-user] [JBoss Seam] - Re: seam-gen plugin available for Eclipse yet?

2007-08-09 Thread gagool
If you just want seam gen-tools in eclipse you can define them as external tools. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072666#4072666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072666

[jboss-user] [JBoss Seam] - Re: Test Case Seam application

2007-08-09 Thread gagool
You should use JDK 1.5, there is a class loading bug in Jboss AS that makes it incompatible. Try to recompile and run on jdk 1.5 first and see whats happens. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072603#4072603 Reply to the post : http://www.jboss.

[jboss-user] [JBoss Seam] - SeamTest and expectedExceptions

2007-08-09 Thread gagool
I want to test if a Seam Session bean component throws a particular Exception, where do I do this? Is it possible to use the @Test(expectedExceptions... annotation for this? The exceptions does not seem to be propagated into the SeamTest class from the FacesRequest/session bean. View the ori

[jboss-user] [JBoss Seam] - Re: separate state for two identical forms and sfsb

2007-06-09 Thread gagool
I did suspect this :( What we need to do is to make user composable pages (like netvibes, but other users should be able to visit your "portal" too). The problem then becomes that there can be X amounts of any form/subview and that they need to be seprated somehow. We have been trying to adap

[jboss-user] [JBoss Seam] - Re: separate state for two identical forms and sfsb

2007-06-09 Thread gagool
I'm not sure I understand how to do this corerectly If I create a form with seam gen and include it twice on a page with ui:include, each form gets a different conversation id but they both reference the same backing bean instance. I have tried some other things as well but it did not suceed.