[jboss-user] [JBoss Seam] - Re: Bypassing validations when using EntityQuery with exampl

2008-02-15 Thread stu2
Hmm, that is odd. Can you post the relevant portions of your xhtml and also your template? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129696#4129696 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129696

[jboss-user] [JBoss Seam] - Re: Bypassing validations when using EntityQuery with exampl

2008-02-13 Thread stu2
Pete was exactly right in my case. I was using the edit.xhtml template that did validation. For search fields you shouldn't use your edit template. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129230#4129230 Reply to the post :

[jboss-user] [JBoss Seam] - Bypassing validations when using EntityQuery with example ob

2008-01-19 Thread stu2
I'm using the EntityQuery framework class, and it's working fine. As per the seam docs I'm using the Example object to hold query parameters. It works very well. BUT, Seam is running the validations on the example object, validation fails, and the search can't proceed. While the entity

[jboss-user] [JBoss Seam] - Re: Where to invoke implicit login for custom SSO?

2007-11-15 Thread stu2
Got it! Approach stolen from AuthenticationFilter. Essentially the issue is that identity.login() needs to run with Seam contexts initialized, BUT the filter apparently runs before these are initialized by Seam. Here's what works: new ContextualHttpServletRequest(request) |

[jboss-user] [JBoss Seam] - Where to invoke implicit login for custom SSO?

2007-11-14 Thread stu2
I'm implementing simple custom SSO, and am struggling to find the correct place to perform an implicit login when the user first hits the application. I had thought that a filter would be the natural place for this, and have a SsoFilter created and registered with SeamFilter. This works as I

[jboss-user] [JBoss Seam] - problems running new seamgen-created project

2007-11-09 Thread stu2
Is anyone else able to run a newly-created seamgen project? Seam from cvs head. Build seam, run seamgen. Deploy the project to Jboss 4.2.2. For me it explodes while starting up Identity, spitting out such large stacktraces that I'm having trouble diagnosing. I added some extra info to

[jboss-user] [JBoss Seam] - Re: Claim: Seam is not for large Java EE applications

2007-10-23 Thread stu2
Check out the wiki example in the seam source. I bet that'll be what drives the community site. Incidently the wiki example is an excellent place to look at to see a non-trivial seam application. I've learned a lot from it. View the original post :

[jboss-user] [JBoss Seam] - Re: Seam 2 on Websphere 5

2007-09-24 Thread stu2
Seam is built using JDK 5 features. IBM is a little, er, more patient than their customers regarding JDK 5, and so decided to wait until their Websphere 6.1 release to start using JDK 5. So unless you're deploying to WAS 6.1, you're not going to be able to use Seam. View the original post :

[jboss-user] [JBoss Seam] - Re: Usefulness of Conversations?

2007-09-10 Thread stu2
anonymous wrote : I'm starting to see more and more that it is about aiding the programmer with managing object lifetimes and function specific features such as wizards, rather than giving the user free reign to edit as many instances of objects at the same time as they want in a controlled

[jboss-user] [JBoss Seam] - Re: Can I define some

2007-08-29 Thread stu2
Btw take a look at the wiki example. There's a pretty nice example of doing exactly this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079371#4079371 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079371

[jboss-user] [JBoss Seam] - Re: Flex + Seam integration approaches

2007-08-20 Thread stu2
Nice. Your experience binding seam via FDS sounds similar to that of someone who began the same thing for GDS. The guys developing GDS have listed Seam integration as one of their main priorities for the 1.0 release, as described in http://tech.groups.yahoo.com/group/graniteds/message/539.

[jboss-user] [JBoss Seam] - Re: Flex + Seam integration approaches

2007-08-16 Thread stu2
No tinkering yet, but I've done quite a bit of research. The approach I'm most drawn to is the optimized flex remoting support. The serverside impl from Adobe (Flex Data Services) costs on the order of $20,000/CPU apparently... #$%^ scratch that. I just stumbled on

[jboss-user] [JBoss Seam] - Flex + Seam integration approaches

2007-08-15 Thread stu2
I wonder if there's interest in discussing the pros and cons of ways a Flex UI might communicate with a Seam backend. In a previous thread someone described using the Seam Remoting support and the AjaxFlex bridge http://www.jboss.com/index.html?module=bbop=viewtopict=114080. Another way would

[jboss-user] [JBoss Seam] - Re: Flex + Seam integration approaches

2007-08-15 Thread stu2
Oh, duh. Ixnay my last suggestion - using the Spring - Flex Data Services integration as a crutch. Turns out that's a user-provided adapter between FDS and Spring. So going that route would be silly. It's just a small class you register with FDS via web.xml.

[jboss-user] [JBoss Seam] - Re: Trinidad table binding

2007-08-13 Thread stu2
I'm curious about this as well. I understand that binding JSF components to logic in Seam component is somewhat impure. But occassionally it's needed. Pete, do you suggest avoiding binding because it won't work with Seam or because it isn't as elegant? View the original post :

[jboss-user] [JBoss Seam] - Re: File upload to application folder

2007-07-31 Thread stu2
The seam component lets you bind to a stream. You can then do just what Shane suggests. Here's how I use it: private InputStream uploadFileInputStream; | and s:fileUpload id=catalog data=#{catalogUpdate.uploadFileInputStream} |

[jboss-user] [JBoss Seam] - Re: SeamTest breaks on drools 4.0

2007-07-31 Thread stu2
Thanks Dmitriy. I'll try that again. As for slow test startup, I try to design so that much of the interesting logic can be tested in vanilla unit tests (not extending SeamTest) with dependencies filled via JMock. Because you're right, waiting 15 seconds for the test to start up slows things

[jboss-user] [JBoss Seam] - Re: SeamTest breaks on drools 4.0

2007-07-29 Thread stu2
ellenzhao wrote : There are two solutions: | | 1.delete the Janino compiler in Seam lib and use Eclipse compiler. You can get the Eclipse compiler after downloading the Drools 4.0 binary. In the drools/lib, you see a core-.jar. That is Eclipse compiler. Drop it into your Seam lib

[jboss-user] [JBoss Seam] - Re: Startup exception: Ajax4jsfFilter

2007-07-29 Thread stu2
Yeah, I hit the same thing not long ago. Look carefully at the package names: tried to access field org.jboss.seam.web.Ajax4jsfFilter.del | egate from class org.jboss.seam.ui.filter.Ajax4jsfFilter. I don't remember the exact fix, but I think it was that I referred to the wrong filter in one

[jboss-user] [JBoss Seam] - Re: SeamTest breaks on drools 4.0

2007-07-29 Thread stu2
Oh, and after doing the above, drools is now not working when I startup the app for real - so obviously I've done something wrong. Here's what I see: Caused by: java.lang.NoSuchMethodError: org.drools.compiler.PackageBuilderConfiguration.setCompiler(I)V | at

[jboss-user] [JBoss Seam] - Re: SeamTest breaks on drools 4.0

2007-07-29 Thread stu2
Thanks Shane. It works fine from within JBoss, but when I run the unit test here's what I see: FAILED CONFIGURATION: @BeforeMethod begin | org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java' | at

[jboss-user] [JBoss Seam] - Re: s:conversationPropagation/ has no effekt

2007-07-19 Thread stu2
Could you please post the showAll() method (and any annotations) as well as the stacktrace? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065895#4065895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065895

[jboss-user] [JBoss Seam] - Re: facelets and seam2

2007-07-19 Thread stu2
I'd use seam-gen to create a blank new project, then carefully compare your config files with those in the new project. This will always work, as seam-gen is generally quickly updated to reflect seam changes (and has helped me several times). View the original post :

[jboss-user] [JBoss Seam] - Re: SEAM Tesing

2007-07-15 Thread stu2
While I haven't used it via EJB3, in the past I've done unit testing using ActiveMQ as a JMS provider. It can be configured to run purely in-memory, which is ideal for unit tests View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4064303#4064303 Reply to the post

[jboss-user] [JBoss Seam] - Re: Seam performance concerns

2007-06-23 Thread stu2
I think you would want to run your app with a profiler and find out, empirically, where your app is spending its time. I think most commercial profilers have trial versions, and there are a variety of ways to do this. Your app design based on Seam/JSF is no doubt quite different than it was

[jboss-user] [JBoss Seam] - Re: Seam performance concerns

2007-06-23 Thread stu2
mgrouch wrote : Use factories for stateless objects such as DAOs (so they are created once and not repeteadly created/destroyed). | | ... | Do not forget to cache JNDI lookups. | Again, you can certainly spend time doing this kind of stuff on the off chance that it will improve

[jboss-user] [JBoss Seam] - Re: UnitTesting Components

2007-06-22 Thread stu2
Could you post example code? If you're extending SeamTest the mock contexts are setup for you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056858#4056858 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056858

[jboss-user] [JBoss Seam] - Re: UnitTesting and jBPM pageflow

2007-06-22 Thread stu2
It's definitely possible, but I don't know how to make it pretty. Here's an example from one of my tests: log.info(Begin testing initial mapping); | setViewId(MappingViewId.APPLICABLE_FIELDS.id); | invokeMethod(#{catalogMapping.beginForInitialMapping()});

[jboss-user] [JBoss Seam] - Re: UnitTesting Components

2007-06-22 Thread stu2
No, I haven't seen examples of the MOCK precendence. But think I remember Gavin describing that it would always be used if it was present. That is, it should be in your classpath during tests, but not when you run it. Seam would always install the component marked with MOCK precedence if it

[jboss-user] [JBoss Seam] - Re: UnitTesting and jBPM pageflow

2007-06-22 Thread stu2
It does work, but you really have to carefully simulate the browser to make it work. Note that those methods are all in SeamTest (now no doubt in BaseSeamTest). You'll find methods there to set request parameters and other things that simulate the browser. View the original post :

[jboss-user] [JBoss Seam] - Re: Why limiting SEAM to Web Applications?

2007-06-14 Thread stu2
Nothing in seam limits its use to web clients, though obviously a large amount of effort has been put into making JSF development smoother. A swing client can access a seam backend via EJBs remotely (right? I don't think you'd get conversational support though that's less important anyway with

[jboss-user] [JBoss Seam] - Re: Seam 1.3.0 ALPHA released

2007-06-13 Thread stu2
Hmm. I'm not seeing the class org.jboss.seam.core.ConversationPropagation in Head, and this is causing compilation errors for me after todays update from CVS (most recently, just a minute ago). Am I doing something wrong or is there something that still needs to be checked in? View the

[jboss-user] [JBoss Seam] - Re: What is Gravel?

2007-06-10 Thread stu2
I was wondering the same thing myself. Is this complimentary to Seam, or is it accomodating non-seam jsf? I know it's a brand new project, so forgive us if we're being a little too impatient in our curiosity... View the original post :

[jboss-user] [JBoss Seam] - Problem running seam-discs example from CVS

2007-06-09 Thread stu2
First, this is with Seam 1.3alpha, from CVS, Jboss 4.2.0GA, on OS X. I'm able to run the other seam examples I've tried, but seam-discs gives me the following exception when I hit the landing page. 13:42:05,448 ERROR [ExceptionFilter] uncaught exception javax.servlet.ServletException: Servlet

[jboss-user] [JBoss Seam] - Re: Seam and Adobe Flex

2007-06-08 Thread stu2
According to the http://jira.jboss.com/jira/browse/JBSEAM?report=com.atlassian.jira.plugin.system.project:roadmap-panel it should be in the 1.3Alpha release his week (or maybe next?). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052610#4052610 Reply to the

[jboss-user] [JBoss Seam] - Re: Where is Petemuir?

2007-06-06 Thread stu2
He's on a well deserved trip to Chile! http://pmuir.bleepbleep.org.uk/ Hope you have a blast Pete. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4051783#4051783 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051783

[jboss-user] [JBoss Seam] - Re: s:fileupload and a4j

2007-06-06 Thread stu2
Well the idea behind a4j is to asynchronously issue xml get requests, and update the page without doing a page refresh. file updload is, by definition, post-based. The whole form is submitted as a specially encode post, as per the http spec. View the original post :

[jboss-user] [JBoss Seam] - Re: Seam + JSF + EJB3 + GWT example application

2007-05-30 Thread stu2
Thanks for such a thorough writeup and example on this Rob. I'm exploring using this now that gwt 1.4RC is out, using the latest seam from cvs. Any updates or other things those of us exploring using your approach should be aware of before I jump in? Thanks :-) View the original post :

[jboss-user] [JBoss Seam] - Re: Upgrade JBoss 4.2.0, Seam 1.2.1 and JSF 1.2

2007-05-25 Thread stu2
When i did this, I took one of the converted seam examples, made sure I could get it to run, then carefully made sure my configuration and setup looked like the example. All of the examples in cvs are now like this, so if you can live with it being an unreleased seam version (next version

[jboss-user] [JBoss Seam] - Re: Dynamic view for s:button control?

2007-05-23 Thread stu2
s:button results in a get, not a post. I think you want h:commandButton. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4047895#4047895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047895

[jboss-user] [JBoss Seam] - Re: How to build Seam from CVS snapshot?

2007-05-23 Thread stu2
once you've checked out the source, just type 'ant'. it will create all of the dist jars for you. Richfaces is a separate project of course, with a different build mechanism (maven I think). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048029#4048029

[jboss-user] [JBoss Seam] - Re: Creating Mock for identity component

2007-05-22 Thread stu2
Support for this was just added to seam in CVS (yesterday). From the docs: 12.3. Disabling Security In some situations it may be necessary to disable Seam Security, for example during unit tests. This can be done by calling the static method Identity.setSecurityEnabled(false) to disable

[jboss-user] [JBoss Seam] - Re: Using log4j's NDC

2007-05-22 Thread stu2
Seam's logger works much like Jakarta Commons Logger, delegating to an underlying provider. If you're setup to use log4j underneath, then you'll have access to NDC or MDC. So I'm not sure this is really a seam question - it's more of a general logging configuration one. View the original

[jboss-user] [JBoss Seam] - Re: Test EJB3/Seam from eclipse

2007-05-18 Thread stu2
If you used seamgen to create your project (highly recommended), that will include the embedded ejb microcontainer. You can import it directly into eclipse as a java project (look for wtp-style projects once the new ide comes out apparently - until then don't try, nearly impossible). Anyway,

[jboss-user] [JBoss Seam] - Re: Fileupload contentLength maxRequestSize throws Runtime

2007-05-16 Thread stu2
You should file a request in Jira for this if you'd actually like to see it happen. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4046117#4046117 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4046117

[jboss-user] [JBoss Seam] - Re: DVD Store (Online) Demo it does not work

2007-05-15 Thread stu2
When posting an issue, please include enough details for others to understand what you're seeing. In your case, you should include at the very least: version of seam appserver version what you did to cause the problem (startup or hitting a certain page) Having said that, I just tested the

[jboss-user] [JBoss Seam] - Re: empty option with convertEnum

2007-05-14 Thread stu2
Take a look at the seam docs. Seam has a s:selectItems that gives you what you're looking for. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045605#4045605 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045605

[jboss-user] [JBoss Seam] - Re: Unit Testing EL in EJB-QL/HQL

2007-05-13 Thread stu2
Well injection of logs is only saving you this: public Log log = Logging.getLog(RegisterAndLoginTest.class); | I use this outside of SFSBs where unit testing is important. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045302#4045302 Reply to the post

[jboss-user] [JBoss Seam] - Re: Raising an event in Seam without violating EJB's concurr

2007-05-12 Thread stu2
Coud you post some more details. I'm using events raised by SFSB just fine. Please post the relevant snippets where your event is raised, the receiver, and where the event handling is configured in components.xml. Also your stacktrace doesn't show any application code, so more of that would

[jboss-user] [JBoss Seam] - Re: s:fileUpload throw

2007-05-12 Thread stu2
Isn't it just that the uploaded file is too big for the column? You might want to put some debug in the byte [] setter to check the size, and also specify the column size. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045204#4045204 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Load Templates from Database?

2007-05-12 Thread stu2
Pete wrote up a nice blog post on that at http://pmuir.bleepbleep.org.uk/2007/04/building-plugin-system-in-facelets.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045227#4045227 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Pass JavaScript method outcome to server?

2007-05-11 Thread stu2
eirirlar wrote : Hi, | | I'm working with the richfaces gmap component. I need to send some data to the server that is the outcome of some JavaScript method call, along with calling an action method. | | I would like this to be as easy as the following: | h:commandButton

[jboss-user] [JBoss Seam] - Re: Captcha

2007-05-11 Thread stu2
You might file an enhancement request for this in jira. It would be nice if the captcha image were optionally generated once per conversation for instance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044983#4044983 Reply to the post :

[jboss-user] [JBoss Seam] - Re: javax.ejb.EJBNoSuchObjectException

2007-05-11 Thread stu2
Btw, what's the point of having an event scoped SFSB? SFSB's strength is statefulness across requests, which is why they default to conversational scope. Just curious. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044979#4044979 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam EL Exception: Argument type mismatch

2007-05-11 Thread stu2
fyi, this section of the seam docs in cvs was just updated yesterday. Might be worth a look. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044984#4044984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044984

[jboss-user] [JBoss Seam] - Re: javax.ejb.EJBNoSuchObjectException

2007-05-11 Thread stu2
You'd get the same behavior by just using a pojo. They're event-scoped by default for that reason. Using a SFSB that way certainly works, but if you look at the interceptor stack, there's definitly more overhead when using a SFSB as a pojo. View the original post :

[jboss-user] [JBoss Seam] - Re: SessionContext injection throws NullPointerException

2007-05-11 Thread stu2
The docs discuss accessing the session context (not by injection btw) in section 3.1.8. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044987#4044987 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044987

[jboss-user] [JBoss Seam] - Re: home.update not being called.

2007-05-11 Thread stu2
I think you'd get a better response if you posted more details of what you're doing. it's tough to follow your description. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044996#4044996 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Spawning a thread from a seam component

2007-05-11 Thread stu2
Btw I don't believe there is anything special regarding user-created threads in seam. Just normal JEE restrictions (disallowed though possible in the EJB container). If the async support in seam fits your needs, you'll find that's a clean option. View the original post :

[jboss-user] [JBoss Seam] - Re: seam-ide seam-tools frm cvs

2007-05-11 Thread stu2
btw the seam eclipse tools aren't terribly interesting at this point. I develope with eclipse wtp (just for the server controls, as I'm using a seam-gen project structure), and haven't found anything of particular seam value in the other plugins. I'm definitely looking forward to the

[jboss-user] [JBoss Seam] - Re: Mixing EJB3 and POJO

2007-05-11 Thread stu2
You might also take a look at the wiki example, which demonstrates this extensively. Its dao layer is pojos and the pattern works extremely well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045067#4045067 Reply to the post :

[jboss-user] [JBoss Seam] - Re: javax.ejb.EJBNoSuchObjectException

2007-05-11 Thread stu2
sradford wrote : True, but... | | However, they [POJOs] do not provide the functionality of a session bean (declarative transaction demarcation, declarative security, efficient clustered state replication, EJB 3.0 persistence, timeout methods, etc). | | (taken from 3.2.4 of the Seam

[jboss-user] [JBoss Seam] - Re: Spawning a thread from a seam component

2007-05-11 Thread stu2
The spec is _the_ place to look for this stuff. Regarding restrictions, here's an overview: http://java.sun.com/blueprints/qanda/ejb_tier/restrictions.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045052#4045052 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Spawning a thread from a seam component

2007-05-11 Thread stu2
Have you looked into the async support built into seam? Take a look at chapter 17 in the docs. It's a much simpler pattern for threading, and seam manages the threads for you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045039#4045039 Reply to the post :

[jboss-user] [JBoss Seam] - Re: s:fileUpload throw

2007-05-11 Thread stu2
could you please attach the relevant sections of your xhtml and bean? There isn't enough info in your post to answer your question. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045154#4045154 Reply to the post :

[jboss-user] [JBoss Seam] - Re: seam-ide seam-tools frm cvs

2007-05-11 Thread stu2
Not sure what your first question is about seam-ide. I'm not aware of any such thing at this point, though there will be later this summer. CVS is working fine. I followed the instructions at http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamRepository, with username/password anonymous and

[jboss-user] [JBoss Seam] - Re: JBoss Rules update in Seam CVS - migration notes

2007-05-09 Thread stu2
Hi Shane. Could you list the jars that are no longer needed? Obviously the older versions of the one you mentioned in your post. But if there were other jars there needed only by the older version of Drools, I'd rather clean them out. Thanks View the original post :

[jboss-user] [JBoss Seam] - Re: Inserting data int DB using hibernate

2007-05-09 Thread stu2
You'll probably have better luck getting help if you post to the Hibernate user group. From the details you've provided it doesn't appear to be seam related. You also would need to give more details of what you're doing. View the original post :

[jboss-user] [JBoss Seam] - Re: No active JTA transaction on joinTransaction call

2007-05-08 Thread stu2
Yeah, eclipse has been kindly trimming some important lines from stacktraces for me too from time to time. I've had to go in with a debugger and manually inspect to find the root cause. Wish I knew what caused this. View the original post :

[jboss-user] [JBoss Seam] - Re: EL and accessing .size or isEmpty

2007-05-04 Thread stu2
You can use the empty keyword, like this: #{advertisingCampaign.keywords == null || empty advertisingCampaign.keyword} View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043400#4043400 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How can i config or use SEAM in Rational Application Dev

2007-05-03 Thread stu2
Java 5 support isn't solid in Eclipse 3.0 (RAD 6). It'll work just fine in RAD 7. Note though that if you're using WebSphere, you must be using at least WAS 6.1 to run Java 5 which Seam requires. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042878#4042878

[jboss-user] [JBoss Seam] - Anyone else find SeamTest broken in CVS?

2007-05-03 Thread stu2
Since updating from CVS (JBoss 4.2.0CR2, Facelets) expressions in SeamTest fail. Here's what breaks it: setValue(#{identity.username}, userName); And I'm seeing: | FAILED: registerTest | java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | at

[jboss-user] [JBoss Seam] - Re: Ajax4jsf UnboundedFifoBuffer

2007-05-03 Thread stu2
Hmm. This one's supposed to be fixed. The initial fix was to downgrade commons jars to the older ones ajax4jsf was using. I noticed that the newer libs came in through cvs the other day though. I wonder if this got reintroduced. http://jira.jboss.com/jira/browse/JBSEAM-1158 View the

[jboss-user] [JBoss Seam] - Re: While Seam is great, is any weakness of this framework?

2007-05-03 Thread stu2
Scheduling is a major focus of the next release of Seam. http://jira.jboss.com/jira/browse/JBSEAM?report=com.atlassian.jira.plugin.system.project:roadmap-panel[/url] and specifically [url]http://jira.jboss.com/jira/browse/JBSEAM-161. I agree with the previous poster about Seam being very

[jboss-user] [JBoss Seam] - Re: Is seam-gen really a good idea to learn about seam?

2007-05-03 Thread stu2
I was a complete newbie in January, so have recently followed the path you're on. I think seam-gen's main benefit is just providing a project structure and correct packaging of a seam app. The generation stuff was useful for my first test page, but I haven't used it since. It's much better

[jboss-user] [JBoss Seam] - Re: While Seam is great, is any weakness of this framework?

2007-05-03 Thread stu2
vwu98034 wrote : | It is great to hear that. | | What is the next release time table? | | Right now, I can't see how to do a small set of integrations that I have done with Spring. They have some major features to add... Generally releases come ever month and a half. Someone

[jboss-user] [JBoss Seam] - Re: While Seam is great, is any weakness of this framework?

2007-05-03 Thread stu2
There's code in cvs for integrating with GWT, and a pretty sophisticated remoting mechanism for general webapps. I'm not familiar with how remoting via Flex would work, but it should be very doable. You might make a top-level post on that to see if anyone else is doing it. You're going to

[jboss-user] [JBoss Seam] - Re: Anyone else find SeamTest broken in CVS?

2007-05-03 Thread stu2
The debugger shed some light on the problem. In Application: private static Application getRIApplicationImpl(FacesContext context) { | ExternalContext extContext; | if (context != null) { | extContext = context.getExternalContext(); | } else { |

[jboss-user] [JBoss Seam] - Re: Really simple, please advice (passing h:dataTable to eve

2007-05-03 Thread stu2
viniciuscarvalho wrote : Hi there! I have a really simple question, can not find the answer :( | | I'm trying to start a conversation on a second page after the user clicks on | a link in a view: | | | | h:dataTable value=#{customers} var=c | | | | | | |

[jboss-user] [JBoss Seam] - Re: import.sql and hsqldb

2007-04-29 Thread stu2
It's a hibernate thing, not seam-related. Check out http://www.hibernate.org/381.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041682#4041682 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041682

[jboss-user] [JBoss Seam] - Re: RememberMe example?

2007-04-25 Thread stu2
Seamgen produces a starter app with this working out of the box. Even if you don't use the seamgen-produced project, you can run it and see how it works. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040627#4040627 Reply to the post :

[jboss-user] [JBoss Seam] - Wiki question: File to db with minimal memory

2007-04-23 Thread stu2
The wiki source (which btw I've found the wiki app source to be tremendously useful - thanks for doing this in the open) for FileHome.java has the following comment: | // TODO: This should really use an InputStream and directly stream into the BLOB without consuming server memory |

[jboss-user] [JBoss Seam] - MultipartRequest: Access to the underlying tmp file

2007-04-23 Thread stu2
Looking over the source I see methods to get the file contents as bytes and as an InputStream. But no way to get a handle on the tmp file itself. I understand it's a tmp file with deleteOnExit() set. And I can certainly create my own tmp file and copy the contents over. But is there a reason

[jboss-user] [JBoss Seam] - Re: MultipartRequest: Access to the underlying tmp file

2007-04-23 Thread stu2
Actually, looking at the FileUploadTag, it looks like the only useage mode for this is to have a byte [] set directly in the component the tag is bound to. Since the tag itself supports working with a tmpfile, I'd prefer to be able to refer to the uploaded data as a reference to the file, or at

[jboss-user] [JBoss Seam] - Re: MultipartRequest: Access to the underlying tmp file

2007-04-23 Thread stu2
http://jira.jboss.com/jira/browse/JBSEAM-1234 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039987#4039987 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039987 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-22 Thread stu2
[EMAIL PROTECTED] wrote : This might be useful for people migration from MyFaces to the JSF RI: | | The default content type for a page is application/xhtml+xml with the JSF RI and Facelets, not text/html as with MyFaces. If you have existing content that is not strict XHTML (and it seems

[jboss-user] [JBoss Seam] - Programatic SFSB instantiation and associating w/conversatio

2007-04-19 Thread stu2
I need to hand off from 1 SFSB to another at a certain point. I see that Manager has everything I need to manipulate conversations. But looking through Seam source I didn't see where Seam instantiates beans AND associates them with contexts. I'd like to do this correctly. Should I just do

[jboss-user] [JBoss Seam] - Re: Programatic SFSB instantiation and associating w/convers

2007-04-19 Thread stu2
Btw, what I think might be the way to do this is the following: | // get the mapping action | CatalogMappingAction mappingAction = (CatalogMappingAction) Component.getInstance(catalogMapping, true); | assert mappingAction != null; | | //

[jboss-user] [JBoss Seam] - Re: Seam without EJB, AKA Seam with JavaBeans, why bother?

2007-04-19 Thread stu2
Looks to me like the biggest losses when not using EJB are the conversational stuff around SFSB and the JMS tie-ins. Neither are essential though. Seam without this stuff is very much intact. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038967#4038967

[jboss-user] [JBoss Seam] - Re: Pros/Cons of war vs. ear deployments (Jboss 4.2)

2007-04-17 Thread stu2
Thanks for the info Christian. You saved me from jumping in to find this out myself. Agreed - the xhtml reloading is the most important, as everything else can be unit tested. I am intrigued by the JBoss 5 capabilities though. I'll wait until it gets fully baked. View the original post :

[jboss-user] [JBoss Seam] - Integration testing: verifying navigation, redirects, etc.

2007-04-17 Thread stu2
The seam docs give examples of integration testing, which has been working very well for me. I'd like to also test expected outcomes from pages.xml navigation rules, redirects and basically anything else that a real brower would normally respond to. Are there examples of this in the seam

[jboss-user] [JBoss Seam] - Re: Problem using Expression language enhancements

2007-04-16 Thread stu2
http://jira.jboss.com/jira/browse/JBSEAM-697 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037669#4037669 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037669 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Where is Gavin?

2007-04-16 Thread stu2
http://www.jboss.com/index.html?module=bbop=viewtopict=106369 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037683#4037683 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037683

[jboss-user] [JBoss Seam] - Pros/Cons of war vs. ear deployments (Jboss 4.2)

2007-04-16 Thread stu2
I'd like to switch to a war deployment to take advantage of Seam's dynamic classloader enhancements. Using Jboss, are there any capabilities that will be lost? I'd like access to the full EJB 3 stack, will be using messaging, etc. Or is it really just a matter of packaging? Thanks, Stu

[jboss-user] [JBoss Seam] - Re: Pros/Cons of war vs. ear deployments (Jboss 4.2)

2007-04-16 Thread stu2
Ahh, so that hasn't changed. I wondered if the embeddable microcontainer stuff might make that a viable option. Has anyone explored using the dynamic classloader for ear deployments? The docs say it's war-only. I understand any EJBs wouldn't be reloadable, but it would be fantastic to get

[jboss-user] [JBoss Seam] - Re: Unit Testing EL in EJB-QL/HQL

2007-04-12 Thread stu2
I've been using SeamTest in integration mode (I'm not using setField for instance) and the em accepts seam parameters in EJB-QL. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4036731#4036731 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Http Session Management into Seam

2007-04-10 Thread stu2
What specifically are you looking to do? Seam doesn't have much in the way of session-specific management, at least that I'm aware of. Session is just one of the available contexts. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035869#4035869 Reply to the

[jboss-user] [JBoss Seam] - a4jsf issue impacting seam-gen from CVS

2007-04-09 Thread stu2
I see seam-gen was updated today to prepare for general targeting of Jboss 4.2. I gave it a try, and bumped into issue http://jira.jboss.com/jira/browse/AJSF-32 , which I also saw on my own when I tried targeting 4.2 a few weeks ago. It's easy to reproduce, and I added comments to the Jira

[jboss-user] [JBoss Seam] - Re: Injected SLSB not getting interceptors sometimes

2007-04-06 Thread stu2
Any suggestions on this one? I'm fine with doing investigation myself, but I'm not sure where to look. Something tells me the Seam team is in overdrive right now with the new 1.3 featureset, which is pretty exciting. Thanks! Stu View the original post :

[jboss-user] [JBoss Seam] - Re: Injected SLSB not getting interceptors sometimes

2007-04-05 Thread stu2
I'm exploring this in the debugger, but admit it's a bit of a mystery to me where injection takes place (Interceptor driven and via the Component class I think). Here's what I'm seeing. In this case, IngestService is a SLSB injected into a SFSB. This is injected and initialized properly.

  1   2   >