seam

Generating absolute URLs from Seam emails

Is there a way to coax either the h:outputLink or s:link tags into generating absolute URLs? In a Seam email message, I want to be able to do something like <s:link view="/someView.xhtml"> <f:param name="a" value="#{a.nastyParam}" /> <f:param name="b" value="#{b.nastyParam}" /> <h:outputText value="Come do something awesome...

Disabling seam's redirect filter

I'm doing a project in seam that requires restful URLs. I have a view that is mapped to /group/{group}/{locale}. On that page I have a list of so called messages. Each message has a button to save changes to the message. This is linked to an action bean like this: <h:commandButton type="submit" value="Save Changes" action="#{groupAction...

Seam JNDI injection

How do you inject a JNDI value in Seam? I read that you can use @Resource or @JndiInject, but it is not working. ...

seam-gen, netbeans and completion

How can I make seam-gen work with NetBeans 6.5 so that completion of tags (s:, ui:, rich:, ...) works? In the free-form project that seam-gen creates, this does not seam to work. If I create a standard NetBeans web application (File -> New Project), completion does work though. Thanks, m. ...

selectOneRadio with action immediately after click

Hi This should be easy for a pro: I am using JSF/Facelets/Seam and am trying to display radiobuttons. Then, after the user has clicked on one of the buttons, the value should be saved and the user redirected to another page immediately (i.e. with no needed click on a submit button). The radio button works, but not the forwarding. Tha...

How easy is it to set up JBoss Seam to run on GlassFish with JPA instead of Hibernate?

Question pretty much says it all - I'm interested to find out about how to set up JBoss Seam on a GlassFish (v3 prelude) application server rather than JBoss. Also, I prefer JPA over Hibernate for persistance but it looks as though Seam has dependencies on Hibernate (or at least parts of it), has anyone got any experience with a stack li...

How to invalidate seam POJO session

Hi I am playing around with a little seam app that has session scope. The last method is sending as mail. How can I invalidate my session after having the mail sent? Right now, when the user calls the initial url again, the session still lives and all of the previously filled in form data is still there. I have found examples how to do...

Does anyone know how to successfully integrate Seam and Spring MVC?

As the title says. Is there a way to integrate the two? ...

How do I listen to all Seam contextual events with parameterized names?

Seam will fire different kinds of events that relate to particular scopes, tasks, or processes and appends the name of the scope, task or process to the end of the event. How do I listen to all the events of a type? E.g. for any <name> I'd like to listen to events such as these: org.jboss.seam.createProcess.<name> — called when the p...

Best Framework For Accessing OpenLDAP With Seam & JBoss AS?

We are currently implementing a portal to our web based services. The portal and services are written with Seam and we are using OpenLDAP to store the security data such as users, groups and permissions. So far we have looked at writing our own code to access LDAP but are there any existing APIs that we could use? ...

How to output a string attribute on an object that may be be null

As part of a dataTable in a seam JSF page, one column requires the output of a name: <h:outputText value="#{listing.staffMember.name}"/> The problem is that "staffMember" may be null on some listings, so I get the error: javax.el.ELException: /xxxxx.xhtml @42,67 value="#{listing.staffMember.name}": Error reading 'name' on type xxxx.m...

Spring vs Jboss

What are the advantages and disadvantages for Spring vs. Jboss for an enterprise web application. ...

JBoss Seam tutorials

Let's say that I'm new to JBoss Seam, is there a way to get my skills up to speed? Are there any good tutorials? ...

Tricks to speed up Jboss Seam debug cycle

We deploy and debug a Jboss Seam 2.0 EAR app from within eclipse, booting it on Jboss AS 4.2.2. Right now we need to reboot it every time we change the message bundle, pages.xml, components.xml, or the model, which takes up to 45 seconds. Is it possible to include aforementioned files in hot deployment, and what are the options for boos...

Seam: Stream File Contents To Area On Page

HI all, I was just wondering if someone could give me some guidance on the best way to output the contents of a file to a user using a Seam application. I've got a proportion of my application that I would like to display the contents of a log file in. This log file could be quite large so I don't want to load it into memory - I want ...

Audit log with JBoss Seam (EJB3+JSF)

I would need to implement an audit log for a web application written with JBoss Seam. EntityListeners seem like good candidates, but I don't know how to connect the EntityListeners to the application session context to include the logged in used principal in the audit record. I wonder if there is a way to do this "connection", or if the...

Achieving seam hot deployment with Intellij-idea

How can I achieve hot deployment with Intellij-IDEA and Seam 2? I've set up a separate module to deploy hot deployable class files to WEB-INF/dev/, but it still deploys as one big clump. ...

Simple solution needed for jBPM asynchronous continuations in Seam environment

I have a Seam application that kicks off business processes. At the moment there is no other application or component that needs to co-ordinate, there is just the one web app. I'd like to use asynchronous continuations in the business processes, but at the moment if I do the process just sits there inactive and the relevant actions are ...

Which framework should I choose - Seam, Wicket, JSF or GWT?

I'm debating whether to use Seam, Wicket, JSF or GWT as the foundation for my presentation layer in a Java project. I narrowed my selection of Java web frameworks down to this subset based on job market considerations, newness of the technology and recommendations from other S.O. users. What factors should I take into consideration in...

Seam/Hibernate validator listener

Hi, We use a standard SEAM setup here ... complete with the validation system that uses hibernate. Basically what happens is a user enters a value into an html input and seam validates the value they entered using the hibernate validation. Works fine for the most part except here's my problem: We need to record the results of validati...