[jboss-user] [JBoss Seam] - Re: Saving e-mails generated by Seam

2008-02-09 Thread rhasselbaum
Thanks for your reply. I know there are other ways to achieve the same effect, but the easiest solution is for me to to get a handle to the rendered HTML (or e-mail payload) directly through Seam if that's possible. If it's not possible, then I'll look at other options. View the original post :

[jboss-user] [JBoss Seam] - Re: Saving e-mails generated by Seam

2008-02-09 Thread rhasselbaum
I considered that, but it doesn't accomplish what I want to do. I want to be able to retrieve the e-mail later via the web site. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128109#4128109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [JBoss Seam] - Saving e-mails generated by Seam

2008-02-09 Thread rhasselbaum
Is there a way I can get access to the rendered HTML of a Seam-generated e-mail? I want store a record of it on the server. I thought this would be the string that Renderer.render returns, but that only contains an XML header. View the original post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2008-01-18 Thread rhasselbaum
Even with this tag, there are problems when the form is submitted via ENTER. For example, it appears that in Firefox, the redirect following the form submission is executed as a POST. That's the way it looks in Wireshark, anyway. In my case, if the user presses ENTER on the last page of a wizard

[jboss-user] [JBoss Seam] - Re: Validation annotations on private fields

2008-01-14 Thread rhasselbaum
Confirmed, it is the "m_" prefix on the private field names that is throwing it off. If I get rid of it, validation works fine. I'll just annotate the getter methods. Not a big deal. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119774#4119774 Reply to the

[jboss-user] [JBoss Seam] - Re: Validation annotations on private fields

2008-01-14 Thread rhasselbaum
Well, if I annotate a private field with, say, @Length(max=50) and validate a form, invalid data doesn't get flagged. But when I move the same annotation to the corresponding property getter, validation works perfectly. Hmm... I wonder if it has anything to do with my naming convention for priva

[jboss-user] [JBoss Seam] - Validation annotations on private fields

2008-01-12 Thread rhasselbaum
It seems when I annotate private fields with Hibernate Validator constraints, they are ignored by Seam. Is this a known limitation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119397#4119397 Reply to the post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [JBoss Seam] - Re: test enum values in EL expressions

2008-01-12 Thread rhasselbaum
If you search this forum, you'll see this question gets asked a lot. Quick answer is that it's not supported by EL, but there are a few workarounds described in other threads. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119377#4119377 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Spring and Seam managed persistence contexts

2008-01-02 Thread rhasselbaum
Good stuff. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116499#4116499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116499 ___ jboss-user mailing list jboss-user@

[jboss-user] [JBoss Seam] - Making Spring beans into Seam components via annotations?

2008-01-02 Thread rhasselbaum
Is there any way to make a Spring bean into a Seam component using annotations? All of the examples in the Seam reference doc assume the Spring beans are configured via XML, but newer versions of Spring don't require that. Thanks. View the original post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss Seam] - Re: Spring and Seam managed persistence contexts

2008-01-02 Thread rhasselbaum
Right, but I'm just wondering how (internally) the Seam-managed factory knows which session to return, given the fact that the object holding the factory (i.e. the DAO) is shared among all threads/conversations. Does the conversation state get put into thread-local storage and the Seam-managed s

[jboss-user] [JBoss Seam] - Re: Spring and Seam managed persistence contexts

2008-01-02 Thread rhasselbaum
Hmm... pretty cool. How does the factory know what session to use? Must be storing some contextual state in thread-local storage? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116437#4116437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=p

[jboss-user] [JBoss Seam] - Re: Spring and Seam managed persistence contexts

2008-01-01 Thread rhasselbaum
Is it possible to have a conversation-scoped persistence context (or Hibernate session) inside a Spring-based "stateless" DAO, which is not a Seam component? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116274#4116274 Reply to the post : http://www.jboss.

[jboss-user] [JBoss Seam] - Re: Using Seam as a simple IoC bean factory in console app

2008-01-01 Thread rhasselbaum
For what it's worth, I found a workable solution in my case. I'm using Spring anyway instead of EJB, and I really only need Spring beans for my console applications. The problem was that I configured Spring/Seam to use Seam-managed (conversation-scoped) Hibernate sessions via the SeamManagedSess

[jboss-user] [JBoss Seam] - Re: Using Seam as a simple IoC bean factory in console app

2008-01-01 Thread rhasselbaum
I am interested in doing this, as well. The project I'm working on is a web application, but it also includes some command line utilities for certain administrative tasks. One of the things I like most about Spring is its ability to be bootstrapped outside of any web container. Is there any way

[jboss-user] [JBoss Tools (users)] - Re: Problem controlling and deploying to JBoss AS

2007-11-21 Thread rhasselbaum
Submitted JBIDE-1349 and JBIDE-1350. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106834#4106834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106834 ___ jboss-user

[jboss-user] [JBoss Tools (users)] - Re: Problem controlling and deploying to JBoss AS

2007-11-21 Thread rhasselbaum
BTW- I did upgrade to last night's build. No change in behavior, though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106804#4106804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106804 __

[jboss-user] [JBoss Tools (users)] - Re: Problem controlling and deploying to JBoss AS

2007-11-21 Thread rhasselbaum
Thanks, Max, for replying (again)! Ah yes, I do see an error in the event log. It is saying that it failed to deploy because it couldn't copy the WAR file. And when I look at the source path in the error details, it is indeed wrong. It's looking for the file in a subfolder under "/". But, as yo

[jboss-user] [JBoss Tools (users)] - Problem controlling and deploying to JBoss AS

2007-11-20 Thread rhasselbaum
Hi! I'm trying to deploy an Eclipse project to JBoss AS 4.2 via the JBoss Tools 2.0 nightly build (2007-11-19). I have created a WAR file via the "Project Archives" view and the WAR file appears in the workspace. Now I'm trying to deploy it, so I configured and started the server, and then I r

[jboss-user] [JBoss Tools (users)] - Re: How to debug an old J2EE Project created with an older J

2007-11-15 Thread rhasselbaum
Submitted JBIDE-1325. Nothing special I can think of about the project directory. It's not a symlink, but it is external to the "workspace" hierarchy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105189#4105189 Reply to the post : http://www.jboss.com/inde

[jboss-user] [JBoss Tools (users)] - Re: How to debug an old J2EE Project created with an older J

2007-11-15 Thread rhasselbaum
Thanks! I actually found the "Project Archives" view on my own and started playing with it. However, when I try to add a new fileset to the WAR, I'm getting a NullPointerException before the dialog comes up. java.lang.NullPointerException | at org.jboss.ide.eclipse.archives.core.model

[jboss-user] [JBoss Tools (users)] - Re: How to debug an old J2EE Project created with an older J

2007-11-15 Thread rhasselbaum
"[EMAIL PROTECTED]" wrote : 3-7) Use the *Archiving* features; not old Packaging JBoss IDE (it sounds like you have a mix of jboss tools and jboss ide) Hi! I'm in a similar situation, trying to migrate my project from JBoss-IDE to JBoss Tools (Beta4). So I understand the old "Run Packaging" meth

[jboss-user] [Remoting] - Re: Error connecting to ejb3 cluster

2007-01-09 Thread rhasselbaum
Hi all, I have encountered a similar problem on Ubuntu Edgy. I have a web app that listens for browser connections on port 8345. But apparently, it is binding to the loopback interface because I can only connect via "localhost" on the same machine. I have tried specifying -Djboss.bind.address=