[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2267) conversations problem :: sourceId=null
by Tomas Cerny (JIRA)
conversations problem :: sourceId=null
--------------------------------------
Key: JBSEAM-2267
URL: http://jira.jboss.com/jira/browse/JBSEAM-2267
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.0.0.GA
Environment: Linux
Reporter: Tomas Cerny
Priority: Critical
Fix For: 2.0.1.GA
ref: http://www.icefaces.org/JForum/posts/list/0/6264.page#27733
I have an explicit named conversation.
I am starting the conversation on my method
@Begin(flushMode=FlushModeType.MANUAL,join=true, pageflow="personHomeFlow",id="person-#{person.username}")
I am using pageflow that start by state
Everything worked fine until I sticked to my page about 20 UIinputs
Then it started to behave completely crazy. Navigation goes well, then I want to call #{manager.save}. It even does not call the method save and log has
---------------------------------------------
20:31:21,692 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
sourceId=null[severity=(WARN 1), summary=(The conversation ended, timed out or was processing another request), detail=(The conversation ended, timed out or was processing another request)]
sourceId=null[severity=(WARN 1), summary=(The conversation ended, timed out or was processing another request), detail=(The conversation ended, timed out or was processing another request)]
---------------------------------------------
but conversation is still alive I can go back!
my jpdl file
---------------------------------------------
<pageflow-definition
xmlns="http://jboss.com/products/seam/pageflow"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://jboss.com/products/seam/pageflow http://jboss.com/products/seam/pageflow-2.0.xsd"
name="personHomeFlow">
<start-state name="personHomeFlow" >
<transition name="success" to="viewPersonHome"/>
</start-state>
<page name="viewPersonHome"
redirect="yes"
view-id="/private/people/personHome.xhtml">
<description>View person home: #{person.username}</description>
<transition name="success" to="end"></transition>
<transition name="cancel" to="end"></transition>
</page>
<page name="end" redirect="yes" view-id="/private/people/personList.xhtml">
<end-conversation/>
<redirect/>
</page>
</pageflow-definition>
---------------------------------------------
pages.xml had
--------------------------------------------
<!--
<page view-id="/private/people/personHome.xhtml"
conversation-required="true"
no-conversation-view-id="/private/home.xhtml"/>
-->
------------------------------------------------
by commenting it out does not work redirect
but message has not repeated second line
My conversation is still alive ? that is a question
I am using richfaces and reRender for my form
I cannot send you simple code because I have a million facelet pages.
When I use just 5 UIinputs it works??
So problem can also be in JPDL that starts by state.
I tried to increase conversation timeout did not help!
I tried to use not named conversation and did not help neither!
What about redirects?
Tomas
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2272) Workspace description
by Tomas Cerny (JIRA)
Workspace description
---------------------
Key: JBSEAM-2272
URL: http://jira.jboss.com/jira/browse/JBSEAM-2272
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.0.0.GA
Environment: Linux Gentoo
Reporter: Tomas Cerny
Fix For: 2.0.1.GA
In your documentation is many various combinations of managing workspace.
But it seem like there is not a combination that would allow me to redirect in jPDL and to specify description together.
There are examples where I can use pages.xml like this
====================================================
<page view-id="/private/people/personHomeView.xhtml"
conversation-required="true"
no-conversation-view-id="/private/home.xhtml">
Foo at #{bar.circle}
</page>
====================================================
but this is completely ignored when I use pageflow jPDL!
other alternative is to use jPDL
====================================================
<page name="viewPersonHomeAjax"
timeout="600000"
view-id="/private/people/personHomeAjax.xhtml">
<description>
View person home: #{person.username}
</description>
<transition name="cancel" to="end"></transition>
</page>
====================================================
but then I cannot use redirect!
this fails to deploy:
====================================================
<page name="viewPersonHomeAjax"
timeout="600000"
view-id="/private/people/personHomeAjax.xhtml">
<redirect/>
<description>
View person home: #{person.username}
</description>
<transition name="cancel" to="end"></transition>
</page>
====================================================
this is ignored at all (what is the purpose of that???):
====================================================
<page name="viewPersonHomeAjax"
timeout="600000"
redirect="yes"
view-id="/private/people/personHomeAjax.xhtml">
<description>
View person home: #{person.username}
</description>
<transition name="cancel" to="end"></transition>
</page>
====================================================
Maybe there is some magic combination but then it is not in documentation
Tomas
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2190) SeamScopePostProcessor should include defaultAutoCreate attribute
by Dan Allen (JIRA)
SeamScopePostProcessor should include defaultAutoCreate attribute
-----------------------------------------------------------------
Key: JBSEAM-2190
URL: http://jira.jboss.com/jira/browse/JBSEAM-2190
Project: JBoss Seam
Issue Type: Feature Request
Components: Spring
Affects Versions: 2.0.0.CR3
Reporter: Dan Allen
Assigned To: Michael Youngstrom
Fix For: 2.0.1.GA
In terms of the Seam-Spring bridge, the auto-create functionality is almost always desired. The default behavior for Seam-scoped Spring beans is to not register an auto-create variable. As a result, I find that I have to resort to using a nested <seam:component> simply to get auto-create functionality. I can understand that the setting has to be global (whether or not to register an auto-create variable in the SeamScopePostProcessor), but I feel it should at least be a switch that would appear on the <seam:configure-scopes> tag.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2224) EntityQuery.resultList contains all nulls after AJAX request
by Alex Savitsky (JIRA)
EntityQuery.resultList contains all nulls after AJAX request
------------------------------------------------------------
Key: JBSEAM-2224
URL: http://jira.jboss.com/jira/browse/JBSEAM-2224
Project: JBoss Seam
Issue Type: Bug
Components: Framework
Affects Versions: 2.0.0.GA
Reporter: Alex Savitsky
The resultList of an EntityQuery gets reset to contain all nulls after several AJAX interactions. I'm not sure whether it's Seam or RichFaces that causes the problem (I'm still investigating the cause), but it's bound to be one or the other, because a) it's the EntityQuery that gets reset and b) it only happens when one or more Ajax-enabled RichFaces controls are present on the page. The attached test case uses datascroller & data table, but I was able to observe it with other controls, such as suggestion box.
Steps to reproduce:
1. Put all libraries listed in WEB-INF/lib/libs.txt in WEB-INF/lib (essentially Seam 2.0.0 GA, RichFaces 3.1.2 GA, Hibernate EM 3.3.1 GA, Facelets 1.1.14, Sun JSF RI 1.2.05, plus supporting libs). I didn't put them into WAR, as this makes it >10M big.
2. Deploy the WAR and access it at http://hostname/TestCase/index.jsf
3. Activate the data scroller TWICE IN A ROW (important) - e.g., press "next page" twice
4. Check the contents of the dropdown (just to know what's there normally)
5. Select an item in the data table
6. Check the contents of the dropdown. All entries are empty now!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months