[jboss-user] [JBoss Seam] - Re: Test database with Seam2, Maven and TestNG?

2008-01-16 Thread andrew.rw.robinson
In regards to ordering in 2.0.8: The ordering is not a concern. The problem is that both persistence.xml files are loaded and parsed. So my solution is important to ensure that the main persistence.xml is not used for unit tests. View the original post :

[jboss-user] [JBoss Seam] - Re: Love the test support in seam except for...

2007-12-22 Thread andrew.rw.robinson
Done http://jira.jboss.org/jira/browse/JBSEAM-2424 Thanks, Andrew View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4115217#4115217 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4115217

[jboss-user] [JBoss Seam] - Love the test support in seam except for...

2007-12-21 Thread andrew.rw.robinson
Seam's TestNG support is quite nice, but there is one major design flaw that really affects test case design. The test classes are designed to be used as a black box. The init and cleanup methods are made to be used at the class instance level. Ramping up Seam is very slow. My project, which

[jboss-user] [JBoss Seam] - Re: Love the test support in seam except for...

2007-12-21 Thread andrew.rw.robinson
For those that are interested, here is my hack: TestBase.java: | private static TestBase instance; | | /** |* @see org.jboss.seam.mock.SeamTest#init() |*/ | @Override @BeforeClass @BeforeSuite | public synchronized void init() throws Exception | { | if

[jboss-user] [JBoss Seam] - Re: Test database with Seam2, Maven and TestNG?

2007-12-19 Thread andrew.rw.robinson
I got it working, but it was a configuration pain. For those that read this post here is a very quick howto: | * create src/main/conf - this will be files that are added to the war but not added to target/classes on build (and therefore will not interfere with testing) | * move

[jboss-user] [JBoss Seam] - Test database with Seam2, Maven and TestNG?

2007-12-18 Thread andrew.rw.robinson
I have finally got the maven unit tests through testng running, but they are failing. I want to have two databases, one for tomcat deployment and one for my unit tests. The problem is that the seam configuration is picking up my src/main/resources/META-INF/orm.xml and

[jboss-user] [JBoss Seam] - Re: TestNG unit tests with seam 2.0 in JPA environment?

2007-12-17 Thread andrew.rw.robinson
Never mind. Figured out all the necessary parameters can go in the persistence properties and there is no need to create a datasource. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113630#4113630 Reply to the post :

[jboss-user] [JBoss Seam] - TestNG unit tests with seam 2.0 in JPA environment?

2007-12-16 Thread andrew.rw.robinson
I am having issues trying to figure out how to configure my unit tests to test my entities and seam components. I am running in the JPA environment. I made a test base class to setup the entity manager. I am just not sure how to hook up the EntityManagerFactory with my datasource. Test class

[jboss-user] [JBoss Seam] - Re: Tomcat, Seam 2.0.0.GA with no embedded?

2007-12-10 Thread andrew.rw.robinson
Thanks, That was all I needed to know. Now I just need to figure out what jar provides LocalOnlyContextFactory besides the embedded: Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.LocalOnlyContextFactory | at

[jboss-user] [JBoss Seam] - Re: Tomcat, Seam 2.0.0.GA with no embedded?

2007-12-10 Thread andrew.rw.robinson
I used the JPA as an example. I did find the problem though. I had a few extra config files still around from before, so I deleted them and that fixed the issue View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111711#4111711 Reply to the post :

[jboss-user] [JBoss Seam] - Tomcat, Seam 2.0.0.GA with no embedded?

2007-12-08 Thread andrew.rw.robinson
I am trying to upgrade my application from Seam 1.2.1 to 2.0.0. It seems like the embedded support is much worse now though. This is what I had in a maven built war (subset of what I am using): MyFaces 1.1.5 Facelets 1.1.14 Seam 1.2.1 Trinidad 1.0.5-SNAPSHOT Drools (for security with seam) EJB

[jboss-user] [JBoss Seam] - Re: Tomcat, Seam 2.0.0.GA with no embedded?

2007-12-08 Thread andrew.rw.robinson
Also, Is it possible to run Seam 2.0 with the Embedded EJB3 instead of JBoss Embedded (As I mentioned, that configuration was *much* better)? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111420#4111420 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Warning/Error when using seam text and a4j

2007-08-15 Thread andrew.rw.robinson
I created a bug: http://jira.jboss.com/jira/browse/JBSEAM-1803 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074520#4074520 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074520

[jboss-user] [JBoss Seam] - Re: Warning/Error when using seam text and a4j

2007-08-15 Thread andrew.rw.robinson
I just came across this myself. It is a bug with the component UIFormattedText. UIFormattedText extends UIOutput which sets the renderer type to javax.faces.Text, but UIFormattedText doesn't have a renderer. UIFormattedText should be setting the renderer type to null in the constructor, but

[jboss-user] [JBoss Seam] - [Rules] Seam security and validating entities

2007-08-10 Thread andrew.rw.robinson
I've got the seam rules engine installed and am trying to write a drl file to grant access to my entities. I have a class that is restricted. Relevant beans: @Name(calendar) CustomerCalendar { members : List } CalendarMember { user : User } User { username : String } The CustomerCalendar

[jboss-user] [JBoss Seam] - Re: Pages.enterPage and FaceletsViewHandler.buildView

2007-08-08 Thread andrew.rw.robinson
Nevermind got it to work. I made an additional call to Pages.enterPage for my includes after the buldView call in the view handler. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072261#4072261 Reply to the post :

[jboss-user] [JBoss Tools (users)] - Re: Disable the internal browser in the nightly tools?

2007-08-02 Thread andrew.rw.robinson
okay: http://jira.jboss.org/jira/browse/RHDS-67 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070168#4070168 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4070168 ___ jboss-user

[jboss-user] [JBoss Seam] - javax.faces.el.ReferenceSyntaxException: Functions not suppo

2007-08-02 Thread andrew.rw.robinson
When I use #{s:hasRole('test')} in a facelet view it works. However, when I try to use facesContext.getApplication().createValueBinding(#{s:hasRole('test')}); I get the following error: ... | Caused by: javax.faces.el.ReferenceSyntaxException: Functions not supported in expressions.

[jboss-user] [JBoss Tools (users)] - Disable the internal browser in the nightly tools?

2007-08-01 Thread andrew.rw.robinson
I keep having Eclipse continuously crash on me. There seems to be some kind of conflict between the code completion using the browser and the jboss tools using the browser. If I open an XHTML file, I can no longer use the code completion (crashes eclipse in the XUL shared library). If I

[jboss-user] [JBoss Seam] - Hibernate Tools with Seam entity security possible?

2007-07-09 Thread andrew.rw.robinson
I have installed the nightly JBossTools for eclipse 3.3 and am trying to use the hibernate console to run HQL queries in a JPA session context. Everything is working except for the seam listener that is throwing exceptions in eclipse. In my META-INF/orm.xml I have: ... entity-listener

[jboss-user] [JBoss Tools (users)] - Get nightly exadel plugins working with JBossIDE

2007-07-09 Thread andrew.rw.robinson
I installed the plug-ins for the JBossTools nightly and had the red hat developer studio (RHDS) functionality working. I then wanted to edit a Drools file, so I went to the update site and installed the JBossIDE 2.0.0.Beta2 drools plug-in version 3.0.4. Once I did that all the Exadel/RHDS

[jboss-user] [JBoss Tools (users)] - Servlet 2.5 support?

2007-07-08 Thread andrew.rw.robinson
I just installed the nightly tools (JBossTools-200706241629-nightly-ALL-linux-gtk.zip) and was re-adding JSF support to my project. When I am doing so, the servlet version drop down has 2.3 and 2.4. How can I get 2.5 support? View the original post :

[jboss-user] [JBoss Seam] - Seam security with drools logging not working

2007-06-22 Thread andrew.rw.robinson
I have setup the Drools based security with a Seam project residing on Tomcat 6. I am getting an exception of: Caused by: java.lang.IllegalArgumentException: The rule called TestRule is not valid. Check for compile errors reported. (stack) In the tomcat6/logs/localhost.2007-06-22.log file.

[jboss-user] [JBoss Seam] - Re: Seam security with drools logging not working

2007-06-22 Thread andrew.rw.robinson
In seam 1.2.1 in RuleBase.java there is the following code: packageDescr = new DrlParser().parse(drlReader); It never checks to see if the parser had any errors and therefore does not log them. Even worse, DrlParser is not a local variable to even have a look at using a debugger, and the

[jboss-user] [JBoss Seam] - Re: Seam security with drools logging not working

2007-06-22 Thread andrew.rw.robinson
Gavin, I am no longer sure if this is a seam problem after all, but a problem with drools. In rules 3.0.6 (the only source I could get my hands on), The Rule.isValid() has: if ( this.consequence == null || !isSemanticallyValid() ) { but nowhere in the code is the consequence set, so it is

[jboss-user] [JBoss Seam] - Re: Seam security with drools logging not working

2007-06-22 Thread andrew.rw.robinson
Okay, found the issue. I used maven to build my war, and I built the dependencies that pulled the jars from maven central. It appears those are incompatible with the Seam setup. What I had from maven: commons-jci-core-1.0.jar commons-jci-janino-1.0.jar drools-compiler-3.0.5.jar

[jboss-user] [JBoss Seam] - Re: Nested conversation ending problem

2007-04-24 Thread andrew.rw.robinson
http://jira.jboss.org/jira/browse/JBSEAM-1243 Will try to get some example code working to reproduce it View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040322#4040322 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040322

[jboss-user] [JBoss Seam] - Nested conversation ending problem

2007-04-23 Thread andrew.rw.robinson
I have an AJAX'd (A4J) page that shows a dialog. There is a link that opens that dialog. The action of that link is annotated with @Begin(ifOutcome=success, nested=true) The OK button of the dialog (a4j:commandLink) calls: @End(ifOutcome=success) | public String applyChanges()... There is

[jboss-user] [JBoss Seam] - Keep losing my conversation with A4J and one page

2007-03-30 Thread andrew.rw.robinson
I keep losing my conversation when using a redirect. Environment: Seam 1.1.6 A4J 1.1.0 MyFaces 1.1.5 Page flow: 1) user hits landing page (conversation started from pages.xml) 2) user clicks link (conversation still active, also a join=true used on action method) 3) user fills out information

[jboss-user] [JBoss Seam] - Re: Keep losing my conversation with A4J and one page

2007-03-30 Thread andrew.rw.robinson
Some how it seemed like an error was getting processed. So I commented out the following from web.xml: error-page | error-code500/error-code | location/displayError.jsf/location | /error-page | error-page | error-code404/error-code |

[jboss-user] [JBoss Seam] - Re: Feature request - @InOut

2007-02-23 Thread andrew.rw.robinson
shouldn't normally need such verbose in/out declarations -1 It is often very helpful with rendering specific member variables with conversation or session scoped beans. For example, a SELECT box may use a selectItems that takes a List return value from a backing bean. If this were to be

[jboss-user] [JBoss Seam] - Re: Feature request - @InOut

2007-02-23 Thread andrew.rw.robinson
I find things defined in XML files to be very hard to maintain and try to stay away from them and use annotations instead. Also putting variables not tied to beans into the request scope also makes it hard to maintain -- as it is hard to determine what bean put them there. I like to bean

[jboss-user] [JBoss Seam] - Re: Feature request - @InOut

2007-02-22 Thread andrew.rw.robinson
http://jira.jboss.org/jira/browse/JBSEAM-903 I put in @Bidirectional. @Bi doesn't sound any less perverted than @InOut :-). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020637#4020637 Reply to the post :

[jboss-user] [JBoss Seam] - Feature request - @InOut

2007-02-21 Thread andrew.rw.robinson
Before making this an official JIRA request, I wanted to make sure that there wasn't already something out there that I missing. IMO, it would be great to have an InOut annotation that can combine In and Out to avoid excessive typing. Examples: Now: @In(required=false, value=someString,

[jboss-user] [JBoss Seam] - Seam releases via RSS?

2007-02-08 Thread andrew.rw.robinson
Is there any way to get notifications of JBoss-Seam releases via RSS (preferably) or at least email? I know I can get email of every post, but I just release notifications if possible. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4013098#4013098

[jboss-user] [JBoss Seam] - Seam no longer compatible with facelets 1.0.14?

2007-02-08 Thread andrew.rw.robinson
I just tried to upgrade Seam from 1.1.0 to 1.1.6 and I can no longer deploy our EAR/WAR. We are running facelets 1.0.14 and cannot switch to 1.1.x at this time due to compatibility breaking changes in 1.1.x. Seam is now throwing: 10:44:47,253 ERROR [[/OSoft]] Exception sending context

[jboss-user] [JBoss Seam] - Re: Seam no longer compatible with facelets 1.0.14?

2007-02-08 Thread andrew.rw.robinson
Just tried 1.1.1, and it looks like the problem is there as well. This is unfortunate as 1.1.1 has bug fixes for bugs that are affecting us. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4013183#4013183 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam no longer compatible with facelets 1.0.14?

2007-02-08 Thread andrew.rw.robinson
It looks like the problem is: org/jboss/seam/ui/facelet/FaceletsRenderer.java I don't see any code referring to this class or any configuration referring to it (including the @Name(renderer)). What is the purpose of this class? View the original post :

[jboss-user] [JBoss Seam] - Re: Seam no longer compatible with facelets 1.0.14?

2007-02-08 Thread andrew.rw.robinson
We cannot upgrade facelets due to the fact that 1.1 breaks backwards compatibility. I deleted that class and rebuilt the jars for 1.1.6 and it seems to work. Is email the only thing that will be broken without that class? View the original post :

[jboss-user] [JBoss Seam] - Undefined member variables with seam remoting

2007-01-26 Thread andrew.rw.robinson
I am trying to send a hierarchy of java objects back to the JS client using Seam remoting. The call is working, I am getting the top level class back fine, but the data in that class is undefined. I have turned on debugging and the result looks fine to me. I am not sure what is wrong. Return

[jboss-user] [JBoss Seam] - Re: Undefined member variables with seam remoting

2007-01-26 Thread andrew.rw.robinson
Fri Jan 26 2007 14:20:22 GMT-0700 (MST): Request packet: | envelopeheadercontextconversationId2/conversationId/context/headerbodycall component=insightDashboard method=getKpis id=0 | params/paramsrefs/refs/call/body/envelope | | Fri Jan 26 2007 14:20:22 GMT-0700 (MST): Response packet:

[jboss-user] [JBoss Seam] - Re: Undefined member variables with seam remoting

2007-01-26 Thread andrew.rw.robinson
Never mind found the solution. I needed to tell the proxy script: /seam/remoting/facesInterface.js?insightDashboardamp;com.outlooksoft.cpm.insight.dashboard.DashboardKpi View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4007036#4007036 Reply to the post :

[jboss-user] [JBoss Seam] - Re: End doesn't really end the conversation in 1.1

2007-01-24 Thread andrew.rw.robinson
Never mind, found the description in the docs http://docs.jboss.com/seam/1.1GA/reference/en/html/annotations.html#d0e6964 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4005852#4005852 Reply to the post :

[jboss-user] [JBoss Seam] - End doesn't really end the conversation in 1.1

2007-01-23 Thread andrew.rw.robinson
I have an event listener with an End attribute on it inside of a conversation scoped bean: @Observer(UserContextUtils.APP_SET_CHANGE_EVENT_NAME) | @End | public void currentViewAppSetChanged(CurrentViewApplicationSetChangeEvent evt) {...} There is no nested conversation when this

[jboss-user] [JBoss Seam] - Re: End doesn't really end the conversation in 1.1

2007-01-23 Thread andrew.rw.robinson
Thank you @End(beforeRedirect=true) was exactly what I was looking for. Didn't realize the conversation would propagate with the redirect filter and having the End. Is there documentation on this (if so I'd like to see if there is more that I wasn't aware of)? View the original post :

[jboss-user] [JBoss Seam] - Conversation in request parameter

2007-01-18 Thread andrew.rw.robinson
I just started having issues with the conversation IDs with AjaxAnywhere: Below is in the format of: Action (AJAX state, Conversation action, conversation ID) 1) create new report (AJAX, Begin/join, #22) 2) Next page (AJAX-redirect, same, #22) 3) Add new item (AJAX, Begin/nested, #25) 4) Finish

[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2007-01-02 Thread andrew.rw.robinson
Please help! This is a crucial show stopping bug with 1.1. I am having null pointer exceptions all over my code (and not just with circular dependencies) because Seam keeps setting all of my member variables to null right in the middle of method calls! I haven't been able to pinpoint exactly

[jboss-user] [JBoss Seam] - Seam 1.1 nullifies member variables when it shouldn't

2007-01-02 Thread andrew.rw.robinson
A circular call in Seam 1.1 causes null references to injected values. Circular call use case: @Name(a) | public class A { | @In(create=true) | private B b; | | public void doSomething(ActionEvent evt) { | b.thisWorks(); | b.nullPointerHere(); | } | | public void

[jboss-user] [JBoss Seam] - Re: Seam 1.1 nullifies member variables when it shouldn't

2007-01-02 Thread andrew.rw.robinson
Just found the bug for this (was already open): http://jira.jboss.org/jira/browse/JBSEAM-631 This is a show stopper for us, so please upgrade the severity to Blocker View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3997285#3997285 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Fields of Seam-managed-component are loosing values

2007-01-02 Thread andrew.rw.robinson
We are having the same issue, and the work-around is not acceptable (we cannot pass this around, as B is not always called by A). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3997289#3997289 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-21 Thread andrew.rw.robinson
Okay, that fixed the inner class problem (I moved my code to an external class). However, I am getting exceptions, where it *should* be working. I have a class that is called via EL, it is SESSION scoped, and the @In(create=true) variables are still null! I don't know if there is some kind of

[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-21 Thread andrew.rw.robinson
A little more information. I found a work-around, but not sure why it works. The method: changeCurrentViewSelection(currentDimensionName, oldValue, newValue.getKey()); Causes a seam event to be thrown and some other things. When that method returns my injected member variables are set to null

[jboss-user] [JBoss Seam] - Value injection not always working with Seam 1.1

2006-12-19 Thread andrew.rw.robinson
I needed some functionality from seam 1.1 compared to 1.0.1, so I just tried to upgrade and I'm having some really bad luck. The worst is problems with the @In(create=true) annotation. Exception: java.lang.NullPointerException | at

[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread andrew.rw.robinson
It looks like Seam is no longer intercepting all of my calls. Normally the stack would be full of proxy class names. Below, there are no proxies, only the real classes. So it seams something has changed that seam is no longer createing the proxy. here is the stack: at

[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread andrew.rw.robinson
Here is the stack from the inner-class constructor: 16:26:38,374 INFO [STDOUT] java.lang.Exception: Stack trace | 16:26:38,375 INFO [STDOUT] at java.lang.Thread.dumpStack(Thread.java:1158) | 16:26:38,375 INFO [STDOUT] at

[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread andrew.rw.robinson
An inner class is part of the outer class. If the outer class as @In variables, they should be visible from the inner class. Inner classes are not independant of their outer classes. It worked just fine in 1.0.1. Are you saying that this is no longer supported? View the original post :

[jboss-user] [JBoss Seam] - Re: [OT] Seam and Tomahawk - lost property?

2006-12-14 Thread andrew.rw.robinson
Tomahawk Seam guys, is there a way we can end the flame wars? I am using Tomahawk and Seam together for two projects and have not had many issues (at least that I know of). Instead of saying don't use tomahawk or don't use seam, why don't we just work through bugs and fix the issues. Both

[jboss-user] [JBoss Seam] - Re: Combinding Seam's pages.xml and the a4j:include of Ajax4

2006-12-13 Thread andrew.rw.robinson
I looked into this a bit, and it seems like I would need a change to the Pages.java in the seam core package. Right now the method I could use (that takes a view-id as a parameter) is marked private (1.0.1). That method could be used to check a view that is not the current view root. View the

[jboss-user] [JBoss Seam] - Combinding Seam's pages.xml and the a4j:include of Ajax4Jsf?

2006-12-11 Thread andrew.rw.robinson
The pages.xml features have been invaluable for executing actions when a page is loaded. I also see that it now has support for changing the view if a conversation is not active. These features are great, but unfortunately on apply to root views. Ajax4Jsf has a include tag that pulls in a

[jboss-user] [JBoss Seam] - Re: Handling remoting exceptions

2006-11-28 Thread andrew.rw.robinson
I ended up creating a special return class that can hold a value as well as return an exception to the client caller, but I would be nice to be able to have this automatically wrapped. I tried a custom annotation and interceptor on my @WebRemote method that would catch exceptions and change the

[jboss-user] [JBoss Seam] - Re: Handling remoting exceptions

2006-11-28 Thread andrew.rw.robinson
One more question, Do @Render/@Redirect work with Seam remoting @WebRemote methods, so that the page can be redirected to a new view if the @WebRemote method fails with an exception? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3989390#3989390 Reply to the

[jboss-user] [JBoss Seam] - Handling remoting exceptions

2006-11-22 Thread andrew.rw.robinson
I am curious on the recommended way to handle errors in the Seam remoting calls. Since Java doesn't have multiple return value support it is hard to return one type of data (like an int) and also return error information to show to the user. I could develop some kind of special return value

[jboss-user] [JBoss Seam] - Possible bug in remoting with POJO backing bean w/ interface

2006-11-15 Thread andrew.rw.robinson
Seam 1.0.1 GA My remoting just stopped working on my POJO: java.lang.RuntimeException: No compatible method found. | at org.jboss.seam.remoting.Call.execute(Call.java:118) | at org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:92) After looking at the

[jboss-user] [JBoss Seam] - NPE in Seam conversation code

2006-10-18 Thread andrew.rw.robinson
Seam version 1.0.1 I just had an NPE in my site. The page almost always works, so this is hard to reproduce. The use case is this: Web page with a conversation that has two IFRAME references. These IFRAMES contain the same JSF page URL but two difference parameters of what to load. Using the

[jboss-user] [JBoss Seam] - @Out and default ScopeType

2006-10-13 Thread andrew.rw.robinson
I have a question regarding @Out and its use without the scope parameter. JavaDoc: ScopeType.UNSPECIFIED: Indicates that the scope is implied. So, I assumed wrongly that this would use the scope of the managed bean that it is in: @Name(mybean) | @Scope(ScopeType.CONVERSATION) | public

[jboss-user] [JBoss Seam] - Re: @Out and default ScopeType

2006-10-13 Thread andrew.rw.robinson
Great news. Thank you. Can't wait for 1.1, looks like it has a lot of nice new functionality View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978280#3978280 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978280

[jboss-user] [JBoss Seam] - Seam remoting -- any plans for FacesContext support?

2006-09-26 Thread andrew.rw.robinson
I just tried a little demo of using seam remoting in my JSF app using Seam, and found that I can't use it for my needs. We have a lot of code that uses the FacesContext and its internal classes for our beans methods. It looks like Seam doesn't create a FacesContext inside of the remoting

[jboss-user] [JBoss Seam] - Unique validation?

2006-08-01 Thread andrew.rw.robinson
I would like to have unique validation for a user object's username in a JSF page. Ideally, it will create a faces message and mark the UI input component as not valid when not unique. It should allow the value if the object is the same and the property hasn't changed (the user found in the

[jboss-user] [JBoss Seam] - Is a custom method interceptor in a POJO possible?

2006-07-31 Thread andrew.rw.robinson
I have an issue in which a 3rd party control is attempting to access a bean property of a conversation state bean during the decode phase. This property returns null (which the 3rd party control hates) when there is no conversation. So I thought that I would add a custom method interceptor on

[jboss-user] [JBoss Seam] - Re: Is a custom method interceptor in a POJO possible?

2006-07-31 Thread andrew.rw.robinson
Unfortunately I am stuck in POJOs for this project at the moment and the @Interceptors doesn't seem to work with them. I think I'll use another work-around. Good to know that is a TODO item though. Thank you, Andrew View the original post :

[jboss-user] [JBoss Seam] - FacesMessages looses component ID for validation?

2006-07-24 Thread andrew.rw.robinson
Okay, I am observing some odd behavior. I have a backing bean with a custom validation method. In there I added a validation error message using the FacesMessages.add(String, FacesMessage) method. However, when I debug the faces context, the message is there, but the component ID is not. If I

[jboss-user] [JNDI/Naming/Network] - CommunicationException -

2006-07-12 Thread andrew.rw.robinson
I am trying to track down some slow code in my JBoss/JBoss-Seam JSF code. After debugging into the source, I have found the culprit. The problem is in the code that is attempting a JNDI lookup. This lookup is resulting in a CommunicationException with the message Receive timed out. The code

[jboss-user] [JBoss Seam] - Re: Considerably slow after execute phase

2006-07-11 Thread andrew.rw.robinson
No dice unfortunately, still a problem. I started BIND for DNS caching and although it made my internet a little faster, it didn't help JBoss at all View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3957181#3957181 Reply to the post :

[jboss-user] [JBoss Seam] - Considerably slow after execute phase

2006-07-11 Thread andrew.rw.robinson
After the execute phase there is a large delay in my application. I went hunting it down to find out why. I found the slowness in Seam. From inside of isTransactionAvailableAndMarkedRollback of Transactions.java, the return (UserTransaction)