[JBoss Seam] - Re: Can I end a conversation programmatically?
by raffaele.camanzo
Hi Gavin,
works!
but:
anonymous wrote :
| Currently there is no API in Seam to end a toplevel conversation and switch to some other conversation, you are supposed to use nested conversations if this is the kind of behavior you want.
|
means that your solution uses another not public library and what I need to do is not currently "officially" provided by Seam, am I right?
Unfortunately I cannot use nested conversations because, if I'm right, if I end a nested conversation which is parent of other conversations also the children ones are ended with it and this behaviour does not fit my needs because each conversation is a tab and if I close the leftmost I don't want to remove the conversations of all the tabs on its right.
Is it possible to expose in a public API the remotion of a top level conversation and the redirection to another top level one?
Thanks for the support Gavin!
Regards,
Raffaele Camanzo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025734#4025734
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025734
19Â years, 1Â month
[JBoss Seam] - @In with primitives
by docjava
Hi
My Task is to keep a few Parameters of a Conversational Bean as defaults in the Session scope.
My first try is:
@In(required = false, scope = ScopeType.SESSION)
@Out(scope = ScopeType.SESSION)
private int documentListPageSize=0;
which gives me an exception in
sun.reflect.UnsafeIntegerFieldAccessorImpl.set due to trying to set an int to null.
My question is: why does seem try to inject this at all, where the corresponding Object in the Session Scope cannot be found ?
To work around this, i tried to add a @Factory method returning some default. Did´t help at all.
What is the best practice for this usage pattern ?
(I´m using 1.1.7 on JBossAS 4.0.5)
Thanks, Uwe
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025733#4025733
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025733
19Â years, 1Â month
[Installation, Configuration & Deployment] - JBoss Management - Tomcat Status XML
by sunrise78
Hi
I have 2 question about Tomcat Status Monitor
1) Tomcat Status (XML format).
If i have into 'request stack' a request with 2 or + parameter (GET) i receive this error
| Error XML: non well-formed
|
| <?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" ref="/manager/xform.xsl" ?><status>
| <jvm><memory free='1430730056' total='2123628544' max='2123628544'/></jvm>
| <connector name='jk-7213'>
| <threadInfo maxThreads="700" minSpareThreads="4" MaxSpareThreads="50" currentThreadCount="60" currentThreadsBusy="35" />
| <requestInfo maxTime="...." processingTime="..." requestCount="267168" errorCount="..." bytesReceived="0" bytesSent="...." />
| <workers>
| <worker stage="K" requestProcessingTime="..." requestBytesSent="0" requestBytesReceived="0" remoteAddr="...." virtualHost="?" method="?" currentUri="?" currentQueryString="?" protocol="?" />
| <worker stage="K" requestProcessingTime="..." requestBytesSent="0" requestBytesReceived="0" remoteAddr="...." virtualHost="?" method="?" currentUri="?" currentQueryString="?" protocol="?" />
| <worker stage="S" requestProcessingTime="..." requestBytesSent="...." requestBytesReceived="0" remoteAddr="...." virtualHost="....." method="GET" currentUri="...." currentQueryString="HPR=Adv&advId=578&rChId=&....
| On 2nd '=' into querystring i have error
|
2) Can i have Full Status in XML format?
Sorry for bad english :-)
Best regards
Luca
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025732#4025732
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025732
19Â years, 1Â month
[JBoss Seam] - SeamEntityConverter - Cannot access entityManager
by giannidoe
Just starting out with EJB3 and Seam ....
I have followed the Wiki instructions for using s:selectItems with the SeamEntityConverter to populate a select menu, the menu is populated correctly but when I sumbit the form I get a Faces Message:
"Cannot access entityManager; Either use the default name (entityManager) for your entity manager or specify it in components.xml"
I do have the entity manager specified in components.xml:
<components
......
<core:managed-persistence-context
name="entityManager"
persistence-unit-jndi-name="java:/Orpello-PU"
auto-create="true" />
<h:selectOneMenu value="#{appUser.title}"
id="usertitle" required="true" >
<s:selectItems value="#{personTitles}"
var="personTitle"
label="#{personTitle.description}"
noSelectionLabel="#{msgs['label.please-select']}"
hideNoSelectionLabel="true" />
<ec:convertEntity />
</h:selectOneMenu>
Seam version: 1.2.0.PATCH1
Not sure where to go next and I'd appreciate it if someone could point me in the right direction.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025726#4025726
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025726
19Â years, 1Â month