Hello,
I have a project using Jboss Seam + Richfaces and I want to use comet (ajax push).
I've been reading some stuff and found Icefaces ajax push really interesting.
The problem is that I can´t get icefaces and richfaces work together... not sure if I'm configuring it right.
Somebody already did this? What are my alternatives using...
Hello stackoverflow,
I currently work with Java JBoss Seam.
I've been looking for some information on how to url rewriting, to accomplish something like what WordPress does.
In WordPress you can create a page and give out a url for that page. Thats pretty sweet.
How could I accomplish that in Java? preferably in Seam?
Some reading w...
Hi,
I do not know whether it is possible but i want something like
<f:view>
<h:form>
<div>
<label for="accountId">Type your account id</label>
<input type="text" name="accountId"/>
</div>
<div>
<label for="amount">Type amount</label>
<input type="text" name="amount"/>
</div>
<di...
I have a simple form that I don't want accidentally submitted multiple times.
I can easily block the user from multiple clicks when they first see the page, but I have no control over them hitting the back button.
So, having worked with Struts, I decided that a form submit token was the way to go.
Is there an easier way? Is this func...
I'm new to Seam and I've been searching the internet and the Seam in Action book for this, but I'm looking for way to insert today's date in a seam page (myReport.xhtml or myPdfReport.xhtml)
...
Hi, I just got an answer to my seam question about displaying current date. Now I'm searching around to find the place to change the format for this feature. Is that possible?
Thanks.
...
Hi
I've created SEAM component which checks that at least one user with global admin rights exists and creates one if no.
@Name("installer")
@Stateless
public class InstallerBean implements Installer, Serializable{
@Observer("org.jboss.seam.postInitialization")
public void install() {
...
}
public boolean isInstalled...
What is best practice for using Database Transactions with Seam when not using EJBs - ie. when deploying Seam as a WAR?
By default Seam JavaBeans support Transactions. I can annotate a method with @Transactional and that will ensure that a transaction is required. Or I can use @Transactional(NEVER) or @Transactional(MANDATORY). What I c...
Hi,
I have a form where i have to preselect some checkboxes. How is that possible with jsf/seam? In plain html you would just add the "checked" (or checked="checked") as attribute to the checkboxes. But with f:selectItems I have no clue...also the Object "SelectItem" does not provide any setter for this...
...
Hi. I'm working in a project using Seam and JSF. For some reason (don't ask me, I don't know) the people before me decided to redirect the user to the response page through a FacesContext.getExternalContext().redirect(). The problem I'm seeing is that some pages, when redirected to themselves, never release the conversation (the conversa...
Hi. I've been working with Seam recently and temporary conversations still confuse me.
In our project we're using ExternalContext.redirect() to redirect the user to the response page. From what I've read, a Seam conversation ends when the render response phase is called.
But then I read somewhere else that: Seam transparently propagate...
I have included xhtml page where in I have plain html form with get method. I include that page with <ui:include> in parent xhtml.
In the parent xhtml I have a dropdown box in which I use the a4j:support -tag. After I choose another item from the dropdownbox, I have an ajax request done that updates the server side variable based on th...
Hello everyone.
I want to be able to :
define different jobs and triggers.
modify the expirations dates and intervals on demand
pause or cancel an execution (trigger)
the jobs would be ejbs or call ejbs and i would want to manage everything from the website (the user will have to define the executions)
So i looked at the timerservi...
hi, please take a look at this error, how can i fix it?
An internal error occurred during: "Building workspace".
java.lang.StackOverflowError
...
I'm using Seam and trying to organize inheritence among several entities using JPA.
A Person entity should be a parent, User and Partner entities ought to be children.
The chosen strategy of inheritance is SINGLE_TABLE.
The Person entity is as follows:
@Entity
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(
...
I need to offer SSO for Windows users in a Seam web application. In our previous project (non-Seam) we used a modified jcifs NTLM filter to handle this, but the solution is crappy, cannot support NTLMv2 and is not supported by jcifs anymore.
JBossNegotiation seems to offer SPNEGO support for JBoss, but I couldn't find any information on...
Hi,
What the best way to get custom post-processing after binding to a backing bean, similar to onBind event when using a Spring MVC controller ?
I suppose i need a PhaseListener (after phase Update Model Values) as follows
new PhaseListener() {
public void beforePhase(PhaseEvent event) {}
public void afterPhase(PhaseEvent e...
Hello.
It would be nice if anybody could show me how to use setRestrictions method whitch belongs to the EntityQuery object from the org.jboss.seam.framework.EntityQuery package.
I have tried to use it this way:
...
import org.jboss.seam.framework.EntityQuery;
import org.jboss.seam.core.Expressions.ValueExpression;
public class Lette...
Hello everyone.
I've found a strange behaviour using rich:tabPanel in RichFaces 3.3.0.GA and Facelets 1.1.14
The problem occurs when I try to nest a tabPanel in a rich:panel, simpleTogglePanel, or h:panelGrid. The panel is in sever mode.
It suddenly switch to first tab. It's not that easy to reproduce:
If I've got three tabs:
click...
Hi.
I have a seam-gen generated project which was developed for a month. After some modifications IdentityManager.createUser, IdentityManager.createRole, IdentityManager.grantRole functions stop saving modifications in the database. I've spent more then a week for this issue investigation and now I completely have no idea what is wrong...