I have a maven project in Eclipse, a web-project using Seam. Now I wanted to use Seam Test for unit test. I dit not use SeamGen to create the project.
I followed this guide, but when I run my test I get this error. I get a feeling the wrong sax parser is being used. Does anyone recognize it?
[Parser] Running: :\Documents and Setti...
I realize it's a chicken and egg problem and that it's not possible to accurately resolve the time it took to render a page (or the size of response) and insert that number into the page itself without affecting either measure. Nevertheless, I'm looking for a way to insert either number partially in a page of a JSF/Facelets/Seam applicat...
I would like a quick way to get started with Seam Framework. I have looked at the official website, seamframework.org, but I found it to be complex. Is there other site that is more simpler and quick tutorial to get started with Seam.
Thanks
...
I have a question about outputing a list of objects as a comma separated list in JSF.
Let's say:
public class SomeObj {
private String name;
... constructors, getters and setters ...
}
and List<SomeObj>:
List<SomeObj> lst = new ArrayList<SomeObj>();
lst.add(new SomeObj("NameA"));
lst.add(new SomeObj("NameB"));
lst.add(new SomeOb...
I am writing SEAM integration test using Oficial RedHat tutorial.
On running any test exception appears:
FAILED: testOperation
java.lang.NullPointerException
at java.lang.String.startsWith(String.java:1421)
at java.lang.String.startsWith(String.java:1450)
at org.ajax4jsf.webapp.WebXml.getFacesResourceKey(WebXml.java:189)
at org.a...
Hi guys,
I try to deploy an application which uses EJB on weblogic 10.3. I use the framework seam 2.2.0
I created an EJB project and en EAR project with workshop.
When I compile the project, I get this error:
weblogic.ejb.container.compliance.ComplianceException: No business interface, component interface or web service endpoint inte...
This is a fairly lengthy (not overly complex) design question so please bear with me. I'm trying to implement a person/role management system with POJOs and JPA. I'm fairly new to ORM and this is mostly a mapping problem.
I've got this working as POJOs and am comfortable with the caller-level API, but would now like to map it to a datab...
Hello,
I am trying to create 3 drop down menu for a form. First one, is LOB field. Second one is Application field and last one is CTA field. There is one to many relationship between LOB and Application. There is many to many relationship from Application to CTA.
CreateRequest.xhtml
<h:selectOneMenu id="lobField" value="#{mana...
I'm pretty new to JBoss and Seam. My project has a REST service of the style
@Path("/media")
@Name("mediaService")
public class MediaService {
@GET()
@Path("/test")
public Response getTest() throws Exception {
String result = "this works";
ResponseBuilder builder = Response.ok(result);
return builder...
I'm using these classes:
ShoppingCart <-ManyToMany-> Item <-ManyToOne-> ItemCategory
All of them are JPA @Entitys with relevant getters and setters for relations:
Shopping cart:
public class ShoppingCart {
...
@ManyToMany
public List<Item> getItems() {
return items;
}
...
}
Item:
public class Item {
...
@...
Hello,
I am trying to use SEAM managed transactions in my application (using in components.xml) deployed in Weblogic 10.3. The application deploys succesfully but when I load the start page it is never loaded. Does anyone have a clue why this is happening?
Thank you.
...
Seam advises using an Extended persistent context in a Stateful Session Bean, in order to have Seam-managed persistence.
I am not clear on whether the above advice casts any implications on the way we want to have Seam-managed transactions. This is because our architecture is different. We have the following persistence context in a St...
Hi guys,
I have this config in my components.xml:
<web:authentication-filter url-pattern="/resource/rest/*" auth-type="basic"/>
<security:identity authenticate-method="#{basicAuthenticator.login}"/>
Well, my basicAuthenticator is a Stateless seam component where i have that login method which returns true/false depending on credentia...
I'm a bit confused about the meaning of values used in the @Transactional annotation, specifically @TransactionPropagationType. Perhaps Gavin thought it would be obvious enough from the name of each enum type and decided not to document the actual meaning... Be that as it may I have no clue what any of the following actually mean: MANDAT...
Hi there.
I'm using the annotation @Length on a String:
@Length
private String variable;
I know that i can set a maximum value on this annotation, but does anyone knows if it is possible to set an unlimited max value?
Thanks
...
HI all! I am working on a JAVA/JSF app that runs within an iFrame. The client authenticates Outside of the iFrame, then redirects back to a page that contains the application inside of an iFrame. If the client has 3rd party cookies disabled, the iFrame will not be able to access the cookie, and it will never see the jsessionid.
What I w...
Hi guys,
I develop an application with Seam 2.2.0 on weblogic 10.3
In my components.xml, when I set my entityManager, I do this:
<persistence:managed-persistence-context name="entityManager"
auto-create="true" persistence-unit-jndi-name="OSSPortailDataSource" />
My DataSource is configured like this on weblogic:
JNDI name: ...
Hi,
Can anyone tell me why this happens?
Thanks, Philip
Jul 20, 2010 9:24:13 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
java.lang.IllegalAccessError: tried to access class javassist.bytecode.StackMapTabl...
I have been mocking out some seam components using the following signature:
@Name("myService")
@Install(debug = true, precedence = Install.MOCK)
public class MyServiceMock implements MyService
I enable my mocks by changing this line in my components.xml
<core:init transaction-management-enabled="false" />
to this:
<core:init tran...
Hello,
I am trying to create a form with 3 drop downs and a text area. I am using conversation as scope. I end the conversation when user click on submit button. The problem that I am facing is back button issue. When back button is clicked, previous data is remembered. If I try to select from a drop down, I get a message that conversat...