Hi,
We have a system built on seam/richfaces.
There's this webpage where the tables are rendered from dynamic context (from multiple different datasources, and each of them uses a different layout to represent essentially the same real world concept). As a result, this table is binded to a bean, and it's columns/layout are generated fro...
Is it possible to create restriction clauses for the Seam EntityQuery, that are ORed instead of always being ANDed together?
...
I've got the following jsf page:
<h:form>
<ui:repeat value="#{list.categories}" var="cat">
<h:selectOneRadio id="sel1Rad" value="#{list.choose}" layout="pageDirection">
<f:selectItems value="#{list.names}"/>
</h:selectOneRadio>
</ui:repeat>
<h:commandButton id="submit"...
And my confusion with JSF continues. This is a continuation of a question asked yesterday, but I feel it warrants a new question. I have a single seam component that expects a URL parameter to be injected for retrieving a List<String> from a method. This works perfectly on the first navigation to the page. The List is used to display man...
Hi,
I need to get a
<rich:modalPanel id="mod1" .../>
component to load an external page on "show" action, defined as:
<a4j:commandButton value="link" id="l1" reRender="mod1" oncomplete="Richfaces.showModalPanel('mod1')">
<f:setPropertyActionListener target="#{mybean.someParam}" value="#{myOtherbean.someOtherparam}" />
</a4j:co...
Hi,
I am trying to use Seam to persist my jpa entities, when I reference an entity that is in a jar seam says unknown entity. I don't want to add all classes in persistence.xml I want seam to scan my jars and auto detect entities (as done by spring).
what I miss?
...
Hello,
I am learning facelets and Seam and I'm facing the following problem: I have 2 xhtml files, one includes the other and each one has its own Seam component as backing bean. I want to send and object to the included facelet and obtain that object in the backing bean corresponding to the included facelet. I'll take an example to exp...
I am using JBoss Seam and working with transactions.
I have 2 methods with the @Transactional annotation.
@Transactional
public void method1()
{
...
entityManager.flush();
}
@Transactional
public void method2()
{
...
entityManager.flush();
}
My problem is that if method1 and method2 are being executed at the same time and...
Hi,
I have this simple class:
public class LuceneUtil{
private final EntityManager entityManager;
public LuceneUtil() {
entityManager = (EntityManager) Component.getInstance("entityManager");
}
//other code
}
If i use this class "normally" (i mean with deploy and etc) all works well.
But, if i try to use it from...
I was wondering if anyone out there knew of a way to have EL expressions in included JavaScript files be evaluated by JSF. I was hoping that Seam might have a way around this but no luck so far. All I want is to be able to use localized messages in my Javascript functions which are shared across pages.
...
Hi,
i'm getting a very strange error while opening one of the pages in my web app. The application is built on Seam 2.2 and is using JSF (RichFaces) in the presentation layer. I run it on Tomcat 6.
In logs everything looks fine - each next JSF Phase executes normally, and after the last one, there is this moment when the request starts...
Hi,
Does anyone know a workaround for the bug
https://jira.jboss.org/jira/browse/RF-8076 ?
Just to clarify things, we have a form with multiple inputs, one of them being a combobox with auto complete features. We've setup a hotkey via
<rich:hotKey key="return" ... />
It works great everywhere except in the combobox, and I would rea...
Hi,
I am using the hibernate increment strategy to create my IDs on my entities.
@GenericGenerator(name="increment-strategy", strategy="increment")
@Id @GeneratedValue(generator="increment=strategy")
@Column(name="HDR_ID", unique=true, nullable=false)
public int getHdrId(){
return this.hdrId;
}
The entity has the following table...
Is there such a thing as JspC in the Seam/JSF/Facelets world?
I used the Tomcat's JspC to validate a JSP/Struts application to validate if there are typos in the JSPs or some JSP was calling a Java function that didn't exist, etc. etc.
From time to time I come across bugs in my current project (Seam/Facelets/RichFaces) where it's cause...
Environment: Seam, Richfaces
The following code snippet causes the method getUsers to be called multiple times, how do I avoid this in my application so that it gets called only once.
<c:forEach items="#{userHome.getUsers()}" var="_user">
</c:forEach>
...
I would like to use IntelliJ IDEA for development of JBoss Seam project. seam-gen is creating the project stub, however the stub is not complete. In particular it is not clear how to deploy such project.
First of all I had to define manually web project facelet and add libraries to its deployment definition.
The other problem was pers...
Is it possible to have support for enabling DataModelSelection on a list page paginated via EntityQuery? (All the examples load the list by performing a query on the @Factory method). But, I would like to re-use the existing pagination mechanism and just enable the ability to support DataModelSelection on it.
I am also assuming that Dat...
Hello
We are using
Seam 2.2.0
Java 1.6.14
Weblogic 10.3.1.0 (named 11g Doh!)
I have looked at
Seam reference
Seam in action
These web pages
However I still do not understand how to inject an EJB3 bean into a JSF backing bean. It seems to me that I have to (correct me if I am wrong)
Annotate with @Name my backing bean
Annotate...
I have a search screen, using JSF, JBoss Seam and Hibernate underneath. There are columns for A, B and C, where the relations are as follows:
A (1< -- >) B (1< -- >) C
A has a List< B > and B has a List< C > (both relations are one-to-many).
The UI table supports ordering by any column (ASC or DESC), so I want the results of the quer...
How do you setup a navigation rule based on a function with parameters in SEAM ?
For example
<page view-id="/firstPage.xhtml" back="enabled">
<navigation from-action="#{actionBean.fetchItem(int index)}">
<redirect view-id="/itemDetail.xhtml" />
</navigation>
</page>
Thanks
...