You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
(1159) |
Apr
(2137) |
May
(2414) |
Jun
(3068) |
Jul
(2160) |
Aug
(1232) |
Sep
(881) |
Oct
(682) |
Nov
(577) |
Dec
(311) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(619) |
Feb
(563) |
Mar
(594) |
Apr
(694) |
May
(1004) |
Jun
(2251) |
Jul
(1258) |
Aug
(1309) |
Sep
(1246) |
Oct
(1084) |
Nov
(934) |
Dec
(823) |
| 2003 |
Jan
(1102) |
Feb
(1115) |
Mar
(1138) |
Apr
(1369) |
May
(1356) |
Jun
(1119) |
Jul
(1074) |
Aug
(1062) |
Sep
(918) |
Oct
(834) |
Nov
(707) |
Dec
(716) |
| 2004 |
Jan
(571) |
Feb
(2397) |
Mar
(3637) |
Apr
(3718) |
May
(3095) |
Jun
(3054) |
Jul
(2532) |
Aug
(2092) |
Sep
(2217) |
Oct
(2336) |
Nov
(2406) |
Dec
(2315) |
| 2005 |
Jan
(2624) |
Feb
(2540) |
Mar
(2489) |
Apr
(2549) |
May
(2468) |
Jun
(2531) |
Jul
(2500) |
Aug
(2422) |
Sep
(2124) |
Oct
(2692) |
Nov
(2487) |
Dec
(4165) |
| 2006 |
Jan
(4721) |
Feb
(5016) |
Mar
(5630) |
Apr
(4747) |
May
(6193) |
Jun
(5074) |
Jul
(1734) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <nor...@jb...> - 2006-07-10 17:30:16
|
Do we have a component registry? It might be interesting to start collecting some of these to give seam developers more tools to choose from. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956660#3956660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956660 |
|
From: rpiaggio <do-...@jb...> - 2006-07-10 17:30:03
|
How do I specify the pageflow to start from pages.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956659#3956659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956659 |
|
From: gus888 <do-...@jb...> - 2006-07-10 17:29:40
|
Petemuir and Gavin, Thank you very much for your directions, I fixed my problem after removing javax.faces.CONFIG and recoding my web.xml. I have one more question, did anyone ever combine faces/tiles with facelets? Or is it possible? Thank you. Best regards, GUS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956658#3956658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956658 |
|
From: <gav...@jb...> - 2006-07-10 17:28:34
|
Any non-null result that does not have an explicit navigation rule defined is ignored by the navigation handler" So just return "success". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956657#3956657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956657 |
|
From: rpiaggio <do-...@jb...> - 2006-07-10 17:21:56
|
http://jira.jboss.org/jira/browse/JBSEAM-300 I also included some sueggestions for possible ways to implement it. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956654#3956654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956654 |
|
From: <gav...@jb...> - 2006-07-10 17:21:43
|
Nice. It might be worth including this in Seam. Can commons-email also be used for processing incoming emails? If so, could get something decent be combining this with JCA message inflow mapped to a message-driven bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956653#3956653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956653 |
|
From: <gav...@jb...> - 2006-07-10 17:15:22
|
Try beginning the conversation from a Seam page action. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956650#3956650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956650 |
|
From: Awia <do-...@jb...> - 2006-07-10 17:13:25
|
I have spent 3 days to migrate seam application working well on JBOSS JBoss_4_0_4_RC1 date=200602071519 and Seam 1.0 beta 2
I had many issuse with EJB migration, but i have fixed it. But Seam is not working. I have used special JEMS installation (JEMS-installer 1.2.0-beta) Now seam examples/booking demo works well.
My current state:
Deployment is without errors now but it looks like @In annotation does not work and my application crashes. In debugging I sysout the values of injected beans and it is always null.
application.xml:
<?xml version="1.0" encoding="UTF-8"?>
<display-name>FG Management</display-name>
<web-uri>fg.war</web-uri>
<context-root>/fg</context-root>
fg.ejb3
ejb-jar.xml:
<ejb-jar>
<assembly-descriptor>
<interceptor-binding>
<ejb-name>*</ejb-name>
<interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
</interceptor-binding>
</assembly-descriptor>
</ejb-jar>
jboss-app.xml:
<jboss-app>
<loader-repository>
seam.jboss.org:loader=seam-seamapp
</loader-repository>
</jboss-app>
persistence.xml:
<entity-manager>
<persistence-unit name="fgEntityManager">
org.hibernate.ejb.HibernatePersistence
<jta-data-source>java:/FG_DS</jta-data-source>
</persistence-unit>
</entity-manager>
components.xml:
<?xml version="1.0" encoding="utf-8"?>
true
fg/#{ejbName}/local
java:/fgEntityManager
faces-config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config
PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<faces-config>
<navigation-rule>
...
</navigation-rule>
<!-- Same for all Seam applications -->
<variable-resolver>
org.jboss.seam.jsf.SeamVariableResolver
</variable-resolver>
<phase-listener>
org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener
</phase-listener>
<!--lifecycle>
<phase-listener>
org.jboss.seam.jsf.SeamPhaseListener
</phase-listener>
</lifecycle-->
</faces-config>
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<filter-name>Seam Exception Filter</filter-name>
<filter-class>
org.jboss.seam.servlet.SeamExceptionFilter
</filter-class>
<filter-name>MyFacesExtensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.component.html.util.ExtensionsFilter
</filter-class>
<init-param>
<param-name>maxFileSize</param-name>
<param-value>500k</param-value>
<!-- description>
Set the size limit for uploaded files. Format: 10 - 10
bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
</description -->
</init-param>
<filter-mapping>
<filter-name>Seam Exception Filter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<!-- MyFaces -->
<!-- extension mapping for adding , , and other resource tags to JSF-pages -->
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -->
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
<!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -->
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
</filter-mapping>
<!-- MyFaces -->
<listener-class>
org.jboss.seam.servlet.SeamListener
</listener-class>
<listener-class>
org.apache.myfaces.webapp.StartupServletContextListener
</listener-class>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
</web-app>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956649#3956649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956649
|
|
From: <gav...@jb...> - 2006-07-10 17:11:43
|
"FrustratedBySeam" wrote : The next problem is that when I delete a child row, the action is persisted to the db. Is there a way to stop this. One way to stop this is to use TransactionType.NOT_SUPPORTED View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956648#3956648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956648 |
|
From: trouby <do-...@jb...> - 2006-07-10 17:09:37
|
Hey, Nothing, no errors in <h:messages/>, nothing at the backend (server logs), but as I said, it's for sure related to the checkboxes, no clue what... any way to debug such a situation? i'm clueless... thanks for answering :) Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956647#3956647 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956647 |
|
From: bkyrlach <do-...@jb...> - 2006-07-10 17:09:32
|
I'm replacing part of a struts web application with Seam and I'm having some strange problems with pages.xml
Problem one: I have a pages.xml that runs an action on pageload that grabs some request values and stores them in a session scoped Seam component so that I can use them later. However, when I preform any action on said page that would navigate me to a new page, the action defined for this page runs again. Since the request parameters are now lost, this results in all the values in my bean being nulled out, and my application throws null pointer exceptions.
pages.xml
<page view-id="/ben/infozap.xhtml" action="#{infozapAction.createInfoZapDTO}"/>
InfoZap action:
@Stateless
@Name("infozapAction")
@Interceptors(SeamInterceptor.class)
public class InfozapActionImpl implements InfozapAction
{
@RequestParameter
String[] schoolList;
@RequestParameter
String productAreaID;
@RequestParameter
String infozapType;
@RequestParameter
String productTypeID;
@Out
private InfoZapDTO izdto;
//@In(create=true)
//private Redirect redirect;
public void createInfoZapDTO()
{
izdto = new InfoZapDTO();
if(schoolList != null)
{
izdto.setSchoolList(schoolList);
}
if(productAreaID != null)
{
izdto.setProductAreaID(productAreaID);
}
if(infozapType != null)
{
izdto.setInfozapType(infozapType);
}
if(productTypeID != null)
{
izdto.setProductTypeID(productTypeID);
}
//redirect.setViewId("/ben/infozap.jsf");
//redirect.execute();
}
}
infozap.xhtml
...
<h:commandButton action="#{someActionClass.someAction}"/>
...
Problem two: In light of the above, I made a dummy page and edited the URL pattern in pages.xml to fire my action when the dummy page is navigated to. I edited the action to redirect to the correct page after it grabs the request values. I can see in my code that the method is fired, but even though I outject the member variable, after the redirect, it's no longer available
pages.xml
<page view-id="/ben/test.xhtml" action="#{infozapAction.createInfoZapDTO}"/>
InfoZap action:
same as above with redirect lines uncommented
Any help would be greatly appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956646#3956646
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956646
|
|
From: rpiaggio <do-...@jb...> - 2006-07-10 17:09:20
|
"nor...@jb..." wrote : Have your start-node transition directly to a decision node. When the process is signaled, you will go through the decision node and, I assume, to a page node for display. If you are in the situation mentioned where you need use start-page, you I guess you'd need to find a way to inject the actual process instance somewhere and signal it.
That's what I am doing but the change described above seems to break the correct behavior.
Here's how my pageflow starts:
| <pageflow-definition
| name="PaymentAuthorization">
| <start-state name="start">
| <transition to="selectSource">
| <action expression="#{sourceManager.selectSource}"/>
| </transition>
| </start-state>
|
| <decision name="selectSource" expression="#{sourceManager.result}">
| <transition name="abort" to="menu"></transition>
| <transition name="proceed" to="requestPin"></transition>
| <transition name="chooseSource" to="chooseSource"></transition>
| </decision>
|
If the pageflow is started from this method via a POST it works:
| @Begin(pageflow="PaymentAuthorization")
| public void start() {
| }
|
However, if I started via a GET (calling the above method via pages.xml) or via a method anneotated like this:
| @Begin(ifOutcome="proceed", pageflow="PaymentAuthorization")
| public String initiate() {
| ...
| }
|
then I get the following:java.lang.ClassCastException: org.jbpm.graph.node.StartState
| at org.jboss.seam.core.Pageflow.getPage(Pageflow.java:129)
| ...
which seems to be a direct result of the change described above, since the start node is forced to cast to a Page, which of course fails if it is a <start-state> instead.
Any ideas on how to start with a decision when forced to start with a page?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956645#3956645
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956645
|
|
From: <gav...@jb...> - 2006-07-10 17:09:03
|
I think your approach with merge() in a non-transactional method is the correct one. HEM should _not_ throw an exception if the PC is an extended PC. So either (a) your PC is not an extended PC and it should be or (b) this is a bug in HEM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956644#3956644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956644 |
|
From: iradix <do-...@jb...> - 2006-07-10 17:00:13
|
The documentation says they default to conversation scope but as far as I can tell they are going to event. Am I missing something? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956643#3956643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956643 |
|
From: <gav...@jb...> - 2006-07-10 16:58:55
|
For "tweaking", a servlet filter seems the right approach. Perhaps you might like to take a look at SiteMesh for this kind of work? If so, let me know how well sitemesh integrates with Seam... I also added this issue, though it is probably not what you want: http://jira.jboss.com/jira/browse/JBSEAM-299 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956642#3956642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956642 |
|
From: denis-karpov <do-...@jb...> - 2006-07-10 16:46:30
|
Hello. May I ask here about implementation details? Gavin, why do you keep conversation scope variables directly in the session context map? Why do we need so complicated scheme with ?additions? and ?removals? in the ServerConversationContext? What if we have just a simple Map inside ConversationEntry, for instance? Thanks. Denis. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956641#3956641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956641 |
|
From: <gav...@jb...> - 2006-07-10 16:43:20
|
You do not need pages.xml at all, it is an optional file! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956640#3956640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956640 |
|
From: <gav...@jb...> - 2006-07-10 16:39:49
|
No, you could use an EJB3 container-managed extended persistence context in a stateful session bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956639#3956639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956639 |
|
From: <gav...@jb...> - 2006-07-10 16:37:53
|
"trouby" wrote : but since JSF/Seam limitations(or am I wrong?), I can't pass parameters to methods and execute them This is a limitation of JSTL-EL. In our experimental JSF fork, Stan has actually implemented method parameter support, but note that we have no current plans to productize this work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956638#3956638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956638 |
|
From: malmei <do-...@jb...> - 2006-07-10 16:37:37
|
I put more research into it - it seems that this one is not deadly. I can send 1000 messages, close the ProducerManager, get the Exception and then can just send the next 1000 messages (with a new ProducerManager). If it's true, that the Exception means that the client is not reading messages from the server, then my DLQ will not be happy about it. So it's possibly more than just a cosmetic problem ... Malte View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956637#3956637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956637 |
|
From: <gav...@jb...> - 2006-07-10 16:35:29
|
Right, you should definitely not use javax.faces.CONFIG_FILES to reference /WEB-INF/faces-config.xml. I don't know what your other exceptions are about, I have never seen them before. Probably not related to Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956636#3956636 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956636 |
|
From: trouby <do-...@jb...> - 2006-07-10 16:33:40
|
Hey guys,
I was wondering,
Assuming I have an entity with one_to_many relationship, i.e:
| class X {
| String name;
| Collection<Y> yList;
|
| @Column(name="NAME")
| public long getName() {
| return name;
| }
|
| public void setName(String name) {
| this.name = name;
| }
|
|
| @OneToMany(mappedBy="x")
| public Collection<Y> getyList() {
| return yList;
| }
|
| public setYList(Collection<Y> yList) {
| this.yList = yList;
| }
| }
|
Assuming I'd like to build some web GUI for class X, but except simple fields (such as name) I'd also like to set multiple Y entities to the collection of the X class through a WEB interface,
Does Seam supports this easily? or i'll have to create a 'multiple selectbox' and pass IDs of Y entities, load the Y entities and set them into the collection by myself?
Thanks a lot,
Asaf.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956635#3956635
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956635
|
|
From: cpob <do-...@jb...> - 2006-07-10 16:11:23
|
You have to add the Handler to the decision node for it to work. Look at the API for Decision. There's a setAction method. Create a new action and set it to the decision object using that method. You'll have to investigate what creating a new action involves (you have to create a new Action Delegation). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956634#3956634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956634 |
|
From: snig178 <do-...@jb...> - 2006-07-10 16:10:43
|
Hi folks, I'm working on a web site which needs to integrate web pages generated using different technology, such as PHP and Ruby On Rails. The backbone of the web site is going to based on the Portal, due mainly to the content management system but also because most existing work is in Java. Our problem is the synchronisation between the portal, using JBOSS and the other web applications (using a variety of technology). How accessible to these web applications is the user information? Do portals include any methods to assist single-signon? I'd appreciate any help or advice you can give me? O. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956633#3956633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956633 |
|
From: <nor...@jb...> - 2006-07-10 16:06:31
|
I don't think we create a datasource component. You might be forced to fall back on EJB3 injection. For example: | @Resource(name="jdbc/whatever", mappedName="java:/DefaultDS") | private javax.sql.DataSource ds; | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956630#3956630 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956630 |