Re: Long transactions

2010-07-02 Thread Mario Ivankovits
che Nachricht----- Von: Mario Ivankovits [mailto:ma...@ops.co.at] Gesendet: Freitag, 02. Juli 2010 10:27 An: 'MyFaces Discussion' Betreff: Re: Long transactions Hi! I know, I might sound like a broken record already ... But also consider using a JPA-like persistence provider like Ebean [

Re: Long transactions

2010-07-02 Thread Mario Ivankovits
Hi! I know, I might sound like a broken record already ... But also consider using a JPA-like persistence provider like Ebean [1]. If you are going to deatach your objects, you can avoid the persistence context at all. Ebean just maintains a persistence context per transaction. So, if you are ha

Re: Problems with orchestra and JSF 2

2010-07-01 Thread Mario Ivankovits
Heya! Please check the url parameter conversationContext has been added to each and every url. If it is missing, a new context will be created each request and then a new bean will be created too. Now you sure would like to know why it is missing ... if it is missing. Hmmm ... do you use portle

Re: [TRINIDAD] German umlauts get ignored when entered in

2010-03-15 Thread Mario Ivankovits
Sorry, I have absolutely no clue with Webspehere, but a search in google with "websphere utf-8" brings up the following: http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzatz /51/admin/help/trun_svr_utf.html Ciao, Mario -Ursprüngliche Nachricht- Von: schneidc [mailt

Re: [TRINIDAD] German umlauts get ignored when entered in

2010-03-15 Thread Mario Ivankovits
Did you try the connector stuff either? If you have configured e.g. an access-valve this might force the container to choose a charset either, and it might choose the wrong one. Ciao, Mario -Ursprüngliche Nachricht- Von: schneidc [mailto:simon.w...@gmx.de] Gesendet: Montag, 15. März 201

Re: [TRINIDAD] German umlauts get ignored when entered in

2010-03-15 Thread Mario Ivankovits
Hi! Probably have a look at this: http://www.jroller.com/mert/entry/utf_8_encoding_with_jsf Also, given you use Tomact, the connector's encoding configurations might be interesting for you: http://tomcat.apache.org/tomcat-5.5-doc/config/http.html Not sure if Trinidad has something special he

RE: 100% CPU Usage and blocking concurrent Threads when using t:saveState

2009-12-10 Thread Mario Ivankovits
t; so what do you think of using a concurrent counterpart of TreeMap > instead, e.g. java.util.concurrent.ConcurrentSkipListMap? > > Best regards, > -- Jan > > Am 10.12.2009 um 11:08 schrieb Mario Ivankovits: > > > Ja, a ConcurrentMap might do the trick, but the thing is, this is o

RE: 100% CPU Usage and blocking concurrent Threads when using t:saveState

2009-12-10 Thread Mario Ivankovits
g in some infinite loop and causing > 100% > CPU. > > Shouldn't we generally synchronize those Maps or use ConcurrentMaps? > > Regards, > > Jakob Korherr > > 2009/12/10 Mario Ivankovits > > > For me, this clearly looks like concurrent usage of the req

RE: 100% CPU Usage and blocking concurrent Threads when using t:saveState

2009-12-09 Thread Mario Ivankovits
For me, this clearly looks like concurrent usage of the request map. All the servlet scopes (session, request, …) are not thread safe and one has to assure that they are not accessed at the same time by multiple threads. This turns out to be hard as e.g. there is no "standard" how to synchroni

RE: Orchestra multi-bean Conversation strange behaviour

2009-09-21 Thread Mario Ivankovits
Hi! Check if the conversationContext= url parameter is correctly passed through the link. Ciao, Mario > -Ursprüngliche Nachricht- > Von: jid1 [mailto:ideligian...@velti.com] > Gesendet: Montag, 21. September 2009 12:24 > An: users@myfaces.apache.org > Betreff: Orchestra multi-bean Con

RE: MyFaces Spring Orchestra Best Practice

2009-09-18 Thread Mario Ivankovits
Hi! You can use two strategies: 1) use conversation.access (as you outlined) with the same conversationName. You can configure the conversationName in your spring config. Just use the same name for aBean and bBean. This makes it easy to pass the selected bean to the second bean, and due to the

RE: Concurrent requests and Orchestra

2009-08-20 Thread Mario Ivankovits
Hi! A PersistenceContext is not thread safe, therefore, Orchestra tries to avoid that by locking the request. It would be nice, if Orchestra does this just for requests requireing a PersistenceContext. But till today, we did not manage to spend some time to optimize that code. You can set the

Re: spring security/acegi and myFaces orchestra conversation scope

2009-06-08 Thread Mario Ivankovits
Hi! > Is there a proper way to integrate spring security on an conversation scope, > provided by orchestra, so that one can login for each conversation > separately? Phu, we too use Spring Security, but to authenticate against the whole session. First, I think you meant you would like to authe

RE: Orchestra Core 1.3.1 Released

2009-03-05 Thread Mario Ivankovits
YAH ! :-) > -Original Message- > From: Simon Kitching [mailto:skitch...@apache.org] > Sent: Thursday, March 05, 2009 3:44 PM > To: MyFaces Discussion > Subject: Orchestra Core 1.3.1 Released > > The Apache MyFaces Orchestra team is pleased to announce the release of > Apache MyFaces O

RE: Problem Using Orchestra with Realm after Session-Timeout

2009-02-12 Thread Mario Ivankovits
Hi! > -Original Message- > From: Filip Lyncker [mailto:lync...@lyth.de] > Sent: Thursday, February 12, 2009 11:29 AM Yep, here it is: > javax.faces.application.ViewExpiredException: > viewId:/pages/start/actuell.jsf - View /pages/start/actuell.jsf could > not be restored. >

RE: Problem Using Orchestra with Realm after Session-Timeout

2009-02-11 Thread Mario Ivankovits
Hi! > What normally happens then is that the JSF implementation will just log > an "unable to restore view" message to its logfile, and simply *render* > the specified page rather than doing a "postback", just as if the user > had done a GET request for the url rather than a POST request. Unhappi

RE: orchestra/datatable/datascroller LazyInitializationException

2009-02-11 Thread Mario Ivankovits
Hi! > -Original Message- > From: Carl Howarth [mailto:carl.howa...@dlapiper.com] > Sent: Wednesday, February 11, 2009 11:56 AM >class="com.xxx.SearchParametersBean" > scope="conversation.access"> > > > > >scope="conversation.access"/> > > Before orchestra, all collec

[orchestra] Re: a4j:commandButton break orchetra conversation?

2008-09-03 Thread Mario Ivankovits
Hi! I use richfaces 3.1.4, myfaces orchestra 1.2,myfaces 1.1.5, We use RichFaces 3.2.1 with Orchestra without any problems, even with ajax. I can't say much about 3.1.4, though. To mask sure a a4j request will break orchestra conversation, I build a demo project, here are the code segment.

Re: [Orchestra] javax.faces.application.ViewExpiredException after session timeout

2008-07-16 Thread Mario Ivankovits
Hi! I am absolutely sure, that it works with myfaces-orchestra-core-1.0.jar - I need only to replace the .jar to see the difference! Nothing else changes! Strange, I have no clue why Orchestra 1.0 will avoid this problem. Unfortuantly, we can not allow the user to stay online all the time.

Re: [Orchestra] javax.faces.application.ViewExpiredException after session timeout

2008-07-16 Thread Mario Ivankovits
Hi! I am using MyFaces+RichFaces+Orchestra When I update from Orchestra 1.0 to 1.1, I am getting javax.faces.application.ViewExpiredException: /pages/dms/dms_overview.jsfThe expected view was not returned for the view identifier: /pages/dms/dms_overview.jsf I guess you are using MyFaces 1

Re: [TOMAHAWK] modalWindow

2008-06-05 Thread Mario Ivankovits
Hi Kito! > > Two questions: (1) How well does the Tomahawk sandbox modalWindow > work, and (2) has anyone tried using it with RichFaces? (Their modal > window is pretty buggy.) > Well, I use modalWindow and ... let's say, "it works". I use in the special mode where another view will be rendered wit

Re: [Orchestra] How to annotate conversation scope bean

2008-06-02 Thread Mario Ivankovits
t conversation' name? >> >> big thanks ahead. >> >> -D >> >> >> >> > > -- mit freundlichen Grüßen Mario Ivankovits Software Engineering OPS EDV VertriebsgesmbH A-1120 Wien, Michael-Bernhard-Gasse 10 Firmenbuch Nr.: FN51233v, Handelsgericht Wien Tel.: +43-1-8938810; Fax: +43-1-8938810/3700 http://www.ops.co.at E-Mail: [EMAIL PROTECTED] Skype: mario_ivankovits

Re: [Orchestra] Session is closed

2008-05-21 Thread Mario Ivankovits
Hi Cagatay! > I'm trying to convert an existing application to use Orchestra. > Followed the installation documentation but I'm getting > org.hibernate.SessionException: Session is closed! exception after I > add Orchestra. Just cant make it work so far. Unfortunately I can't see anything obviously

Re: [Orchestra] Explicit conversation starting and nested conversations

2008-04-24 Thread Mario Ivankovits
Hi! > I don't know if I understood very > well, but I'm going to fix Shale to store data in the current > conversationContext. So I can have same dialog in differents windows. > Do you think I have a chance of success? ( :) ) > Yep, sounds very good! Don't know if Shale allows this easily, thou

Re: [Orchestra] Explicit conversation starting and nested conversations

2008-04-24 Thread Mario Ivankovits
Hi! > The user is inserting data for a Claim reading > from a paper, receive a call and start to insert a new Claim in a new > browser window (or tab). At the moment I have two browser using the same > HttpSession, the same function and same shared data and my application > does not work! > For

Re: orchestra and richfaces table scroller

2008-04-05 Thread Mario Ivankovits
Hi! > Now, when I open the page > in two browser windows it seems as if the datascroller is using the > model in session scope, because when scrolling in one window, the > selected range in the other window is also updated. > I've tried to implement a StateManager using the ConversationContext a

Re: [Orchestra] Mixed evironment installation problem - Complete Mail

2008-04-02 Thread Mario Ivankovits
Hi! I've committed a SpringBasicFrameworkAdapter, could you please give it a try and see if it works now. At the moment the flash scoped beans are not released after the JSP request! We will have a look how to fix that, but that should not be a major problem for now. Thanks! Ciao, Mario

Re: [Orchestra] Mixed evironment installation problem - Complete Mail

2008-04-02 Thread Mario Ivankovits
Hi! > However Orchestra does need a proper solution for this. I've created the > following JIRA issue to track it: > http://issues.apache.org/jira/browse/ORCHESTRA-18 > Yes! What about creating a BasicSpringFrameworkAdapter which uses the same "trick" ApplicationContext appContext = WebApplicat

Re: [Orchestra] Explicit conversation starting and nested conversations

2008-04-01 Thread Mario Ivankovits
Hi! > If you're injecting conversation-scoped beans you're actually > injecting a bean being tied to a specific conversation (i.e. you'd > also have to copy bean definitions just referencing > conversation-scoped beans, not only pages!). This is how spring works, no? You always put a bean in a scop

Re: [Orchestra] Explicit conversation starting and nested conversations

2008-04-01 Thread Mario Ivankovits
Mario Ivankovits schrieb: >> So, for example, while in the "Relationships" tab, I may want >> to quickly view or edit a Party. The view/edit Party view is usually in the >> Party tab. So, essentially I'm reusing the same page in a completely >> different f

Re: [Orchestra] Explicit conversation starting and nested conversations

2008-04-01 Thread Mario Ivankovits
Hi! > So, for example, while in the "Relationships" tab, I may want > to quickly view or edit a Party. The view/edit Party view is usually in the > Party tab. So, essentially I'm reusing the same page in a completely > different flow. > > Now, in reality, I may end up using two different Facelet v

Re: orchestra and richfaces table scroller

2008-04-01 Thread Mario Ivankovits
Hi >> Now I am wondering, would it theoretically be possible for Orchestra >> to also intervene in the server side state saving so that the >> component tree is stored in a conversation context? >> > Theoretically yes. And this is also a wish others expressed already. > We will investigate if

Re: orchestra and richfaces table scroller

2008-04-01 Thread Mario Ivankovits
Hi! > Now I am wondering, would it theoretically be possible for Orchestra > to also intervene in the server side state saving so that the > component tree is stored in a conversation context? Theoretically yes. And this is also a wish others expressed already. We will investigate if it is possible

Re: [Orchestra] Explicit conversation starting and nested conversations

2008-04-01 Thread Mario Ivankovits
Hi! > Just to be clear, what you're saying is that you can't use the same view in > more than one conversation at a time? > At the moment: yes! As I wrote, this is something we will allow in the near future, but it would require to have a page-flow configuration. Hmmm probably the new refac

Re: [Orchestra] Explicit conversation starting and nested conversations

2008-04-01 Thread Mario Ivankovits
Hi! > Use of tag separateConversationContext allows to start a new > conversation but it isn't really a nested conversation context, since > it has to be done in a new browser window (no context stack). Am I > right? > Exactly! This is something we might implement in the (near?) future. This wi

Re: [Orchestra] Explicit conversation starting and nested conversations

2008-04-01 Thread Mario Ivankovits
Hi! > Thank's a lot for your response. What I would like to do is to be able > to share a page (ant its backing bean) between 2 conversations types, > like an activity définition can be shared between 2 process definition > in BPM. For exemple, the select customer page can be shared between > the '

Re: orchestra conversation closed by stylesheet

2008-03-29 Thread Mario Ivankovits
Hi! > Weblets for instance allows a zeroconf resource loading > via phase listeners which trigger, usually this triggering > is done before phase1, but there are portlet cases where > it happens later. What are the JSF phases executed by weblets then? Probably we find a pattern which allows us to d

Re: orchestra conversation closed by stylesheet

2008-03-28 Thread Mario Ivankovits
Hi! > many thanks for your tips. I checked the phase-listener solution, but > it's a little dirty. > The resource request skips phases 2-5. And the after RESTORE_VIEW > callback is not called. > In the before callback I do not know how to get the view id. As a > solution i check the source componen

Re: AW: Orchestra beginner question: conversation.flash behaves like request scope

2008-03-18 Thread Mario Ivankovits
Hi! >> > I'll need to ask Matthias to update his example ;-) >> >> that is not mine. Mine is kind of up-to-date (facesgoodies) >> > > it is mario's project: > http://code.google.com/p/myfaces-orchestra-goodies/ > I totally forgot that there are examples too :-) I am getting old Cia

Re: AW: AW: Orchestra beginner question: conversation.flash behaves like request scope

2008-03-18 Thread Mario Ivankovits
Mario Ivankovits schrieb: > Are you using persistence from within the timeChainJSF bean? > If not, you can inject the bean into your controller bean and use it > through your controller. > This is the solution I'd prefer. > Should elaborate a little bit more about wh

Re: AW: AW: Orchestra beginner question: conversation.flash behaves like request scope

2008-03-18 Thread Mario Ivankovits
Hi! >> Or do I have to define two separate beans in Spring: >> >> > > >> > > You need to use the "two separate bean definitions" approach. That gives > your EL expressions the ability to say "I want the instance from > conversation X" by referencing a different name. I would suggest names >

Re: [Orchestra] Question to myFaces Orchestra configuration (Error on each request)

2008-03-17 Thread Mario Ivankovits
was wrong. Ciao, Mario > I sent you my application as an attachment. > > Regards > > Michael > > > -Ursprüngliche Nachricht- > Von: Mario Ivankovits [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 17. März 2008 11:42 > An: MyFaces Discussion > Betreff:

[orchestra] Re: Bean Scope Problems

2008-03-17 Thread Mario Ivankovits
Hi! > I already decided before you answered - I just search since 15 minutes for a > myFaces + orchestra tutorial or example. Now I have to change my little > application (to use spring and orchestra) - theres any archetype to create a > myFaces+spring+orchestra webproject with maven? > Curre

Re: [Orchestra] Question to myFaces Orchestra configuration (Error on each request)

2008-03-17 Thread Mario Ivankovits
Hi Michael! > ERROR 2008-03-17 08:24:35,110 [http-8000-Processor25] > org.ajax4jsf.resource.ResourceLifecycle: Exception in PhaseListener, render > view : beforePhase > java.lang.IllegalArgumentException: No AccessScopeManager found. Probably you > forgot to add resource="classpath*:/META-INF/s

Re: FacesContext.getCurrentInstance() provoking StackTraceException on initialization

2008-02-28 Thread Mario Ivankovits
Hi! > If I uncomment this code, orchestra + trinidad 1.2 works fine. Is it possible for you to move on with such a locally patched Orchestra version for now? I'd like to wait for Simon to be back (in a few days) and will see what he has in mind how this could be solved. Personally I'd upgrade to J

Re: Portlet Environment and Orchestra

2008-02-07 Thread Mario Ivankovits
Hi! > If you wrap the FacesContext, then maybe when FacesContext.release is called? > Yep, good idea. Done so. Thanks! Ciao, Mario

Re: Portlet Environment and Orchestra

2008-02-07 Thread Mario Ivankovits
Hi! > The short answer to your question is no, the bridge won't help you > here. Portlet 1.0 didn't define support for filters or wrapping > request/response objects. Hence initialization done in filters in the > servlet environment should be rewritten/migrated to FacesContextFactory. This docume

Re: Portlet Environment and Orchestra

2008-02-06 Thread Mario Ivankovits
Hi! The short answer to your question is no, the bridge won't help you here. Portlet 1.0 didn't define support for filters or wrapping request/response objects. Hence initialization done in filters in the servlet environment should be rewritten/migrated to FacesContextFactory. Yep, I'll try

Re: MyFaces-Orchestra-ViewController : NullpointerException

2008-02-06 Thread Mario Ivankovits
Hi! > currently I am using Orchestra in Portlet Environment and faced with > ViewController exception: > > java.lang.NullPointerException > at > org.apache.myfaces.orchestra.conversation.ConversationManager.getInstance(ConversationManager.java:90) > at > Seems like the same pro

Re: [orchestra] Spring 2.5

2008-02-06 Thread Mario Ivankovits
Hi! > I think it would be nice also to see an attractive example > application (separated from others) where Orchestra is used in > conjunction with Absolutely, you might not being able to imagine how much I'd appreaciate such a demo application. Any plan to volunteer? :-) > -minimal applicationCo

Re: Portlet Environment and Orchestra

2008-02-06 Thread Mario Ivankovits
Hi! >I have access to FacesContext. The ExternalContext in case of Portlet > Environment is - PortletExternalContextImpl and ofcourse in servlet > environment it is ServletExternalContextImpl. > So then, could you please try the following in your method: FrameworkAdapter.setCurrentInst

Re: How can I have more than one bean in an orchestra conversation

2008-02-06 Thread Mario Ivankovits
Hi! > I have tried to define a name for my conversation but did not succeed. All > I found in the documentation was the hint of some hidden id on page specs. > In your spring config add the orchestra xsd http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSc

Re: [orchestra] Spring 2.5

2008-02-05 Thread Mario Ivankovits
Hi! > Are there any plans about migration over Spring 2.5 in Orchestra? Orchestra itself is compatible with Spring 2.5. We use this combination in our projects. > I'd like to see if Spring 2.5 can simplify orchestra configuration and > if we can now completely declare bean throught annotations. Wh

Re: Portlet Environment and Orchestra

2008-02-05 Thread Mario Ivankovits
Hi! > currently we're prototyping a portlet application (liferay 4.33) with > orchestra , JPA (Hibernate) and myFaces 1.1.5. Unhappily I have zero experience with portlets. If you could provide a simple webapp to test this thing it would greatly help, though, I know how much work it is to setup o

Re: submitOnEvent callback

2008-01-31 Thread Mario Ivankovits
Hi! > callback="#{bean.callbackFunction}" The callback should point to a javascript function name instead of a bean method. callback is meant to be executed on the client. This javascript method then should allow you to return true/false, on false the click should not happen. Ciao, Mario

Re: performance comparison between 1.1.5 and 1.2.2?

2008-01-30 Thread Mario Ivankovits
Hi! >> Is it better to use plain html tags (if possible) instead of jsf-tags >> e.g. for images, divs etc when no EL expressions are used ? >> > > Yes, definitely. This is just a block of "verbatim" text, which is written > out very efficiently. Using a component to write the same text is muc

Re: Tomahawk Sandbox promotion schedule?

2008-01-25 Thread Mario Ivankovits
Hi! > I'd also like to see submitOnEvent promoted. I've gotten a lot of use > out of it, although I don't know how may others are using it. > +1 to submitOnEvent I use it constantly too. Ciao, Mario

Re: [orchestra] nullpointer in AbstractViewControllerManager.getViewController - probably bad configuration?

2008-01-24 Thread Mario Ivankovits
Hi! > I probably have changed something, which I am unable to find again, > and I keep having this exception now: > > 2008-01-23 17:31:56,789 [btpool0-1] ERROR (PhaseListenerManager,77) - > Exception in PhaseListener RENDER_RESPONSE(6) beforePhase. > java.lang.NullPointerException > at > org

Re: How to use one subview more than once in one page

2008-01-08 Thread Mario Ivankovits
Hi! > <% String beanName = request.getParameter("beanName"); %> > > > > > > Woho would never have thought about such a solution myself :-) kudos to you. If you already use tomahawk have a look at the aliasBean which allows you to get rid of the JSP stuff.

Re: orchestra with plain hibernate

2008-01-07 Thread Mario Ivankovits
Hi! WOW that was quick. If you also have an exitsing ApplicationContext.xml file and an example DAO, that would help a lot. I specially dont know what object will be injected into the DAO instead of the EntityManager from the regular examples. Ok, I took the time to setup the long awaited orch

Re: orchestra with plain hibernate

2008-01-06 Thread Mario Ivankovits
Hi! Is there any reason not to use plain Hibernate ? No. It should work by design. In fact, we use plain Hibernate 3 + Hiberanate-Annotations which is VERY close to JPA, well, but not exactly. Does anyone have some sample configuration and DAOs to illustrate how this could work ? One of

Re: [Trinidad] Issue with Tomahawk integration - Schedule component

2007-12-15 Thread Mario Ivankovits
Hi! And why not helping fixing the tomahak component? Shouldn't we stop duplicating work and making the user worring about which comp-lib to choose? Mario -Original Message- From: "Andrew Robinson" <[EMAIL PROTECTED]> Date: Friday, Dez 14, 2007 6:09 pm Subject: Re: [Trinidad] Issue wit

Re: Future Focus Question: Tomahawk or Trinidad

2007-11-29 Thread Mario Ivankovits
Hi! > -- Then I'm sure you're not working with the combo MF1.2 + Facelets + > Tomahawk 2.0 because that's a joke. Even selectOneMenu's don't work > properly. (have a look at the posted bugs) Dont know what Tomahawk 2.0 is, but this is the list of libraries we use (-dev means they are home-made snap

Re: Future Focus Question: Tomahawk or Trinidad

2007-11-29 Thread Mario Ivankovits
Hi! > I am afraid that Tomahawk could be a showstopper for a migration from > myFaces 1.1.5 to 1.2.1. > I use tomahawk here with MyFaces 1.2.x-head (with facelets). No real problems here so far. Ciao, Mario

Re: Tomcat or Geronimo ?

2007-11-29 Thread Mario Ivankovits
Hi! >> Hopefully JSF2.0 will have a better managed bean (IOC) system defined. Or >> that they will drop that part of the spec completely, and just recommend >> that an external one be used. >> > > due to the lack of openness, we'll get a surprise :-) > If Sun would recommend to use Spring

Re: JSF Performance

2007-11-15 Thread Mario Ivankovits
Hi! On 11/15/07, *Andrew Robinson* <[EMAIL PROTECTED] > wrote: It seems like, for the most part, tomahawk is a dead project (no releases for a long time, no promotion of the sandbox to the core tomahawk project in a long time, etc.). I am still VERY happy

Re: [OT] Re: Locking a webapp against parallel using

2007-10-31 Thread Mario Ivankovits
Mike Kienenberger schrieb: >> Beware, (especially with the "or all that are important" thing) this >> might allow to become your entity out of sync. Means, your entity is a >> mixture of >> > Well, we're getting a bit off topic, but there's nothing to beware of > here. If you lock on all col

Re: Locking a webapp against parallel using

2007-10-31 Thread Mario Ivankovits
Hi! >> Is it possible to describe "full attribute optimistic locking" in a couple >> of sentences, or should I look at the cayenne docs? (A quick google didn't >> show anything obviously related..) >> > > Sure. Instead of creating and locking on a special version field, > lock on all field

Re: Redirect to URL with param from

2007-10-30 Thread Mario Ivankovits
Hi! > >added >/view.jsf?myParam=#{myManagedBean.id} > Have a look at MyFaces-Orchestra. Especially at urlParamNav package [1] to get an idea how this can be done. I hope we can provide an implementation without Orchestra in the upcoming MyFaces Commons project soon. Ciao, Mario [

Re: [orchestra] how to enter to a specific conversation

2007-10-23 Thread Mario Ivankovits
Hi! I think that the orchestra conversation (or conversationContext?) can exist simultaneously; the problem is I cant switch between conversation; I can do it manually; Yep, but the main idea of the conversationContext is to allow to use multiple windows. So, if you wrap an outputLink withi

Re: [orchestra] flush mode

2007-10-23 Thread Mario Ivankovits
Hi! Do you know how to handle this situation? Do you use the Hibernate Persistence Context? If, you could try to add a session.setFlushMode(FlushMode.MANUAL) which should avoid any unwanted flush ... Back buttons are really nasty. Very nasty. So any solution to problems with back-butto

Re: [orchestra] how to enter to a specific conversation

2007-10-18 Thread Mario Ivankovits
Hi! > So a user have few (manual) conversation at the same time; How do I > switch the user between those conversations? > Are you trying to allow the user to navigate within the same set of pages but with different data? Then, this is not supported by Orchestra yet. Else, there is no need to sw

Re: Why "no backing beans required" in the Seam is so important?

2007-10-17 Thread Mario Ivankovits
Hi! I have seen this new feature in the Seam about the backing beans and I am afraid now whether all the work we have done up until now would not be the best practice using JSF. Is that a real difference in not using backing beans with Myfaces? Backing-Beans are just a virtual concept, you're pe

[Announce] Release of Apache MyFaces Orchestra 1.0

2007-10-12 Thread Mario Ivankovits
The Apache MyFaces Orchestra team is pleased to announce the release of Apache MyFaces Orchestra Core 1.0. Apache MyFaces Orchestra is a library which introduce a new scope called "conversation scope" to your web based application which will help you alot building applications using ORM by avoi

Re: orchestra + security-constraint

2007-10-12 Thread Mario Ivankovits
Hi! Ah try configuring Spring's RequestContextFilter [1] instead of (or in addition to) the RequestContextListener and use the same filter config (FORWARD,REQUEST) as for Orchestra. I've done it in the examples with: springRequestContextFilter org.springframework.web.filter.Requ

Re: orchestra + security-constraint

2007-10-12 Thread Mario Ivankovits
Hi! I hope I can find a solution cos I really needed the conversation scope in ma app, but cant leave without logging. If you didn't get to the real problem, you probably could use plain JSP login pages. Then the orchestra filter wouldn't jump in and everything should work fine. I'll look

Re: orchestra + security-constraint

2007-10-12 Thread Mario Ivankovits
Hi! Hello Mario, Thanx for the answer. I have modified the orchetra filter mapping but still have an exception in the example application (after clicking on PC Configurator): Oh, I've overseen this exception. But now this looks more like a Spring problem . As far as I can tell you can i

Re: orchestra + security-constraint

2007-10-11 Thread Mario Ivankovits
BTW: Thanks for the web.xml config to reproduce it with our examples - was a great help! Ciao, Mario

Re: orchestra + security-constraint

2007-10-11 Thread Mario Ivankovits
Hi! Add this to the Orchestra filter mapping: FORWARD REQUEST and you should be done. In the end it should look like this: orchestraFilter *.faces FORWARD REQUEST I'll add this to the docs. Ciao, Mario

Re: orchestra + security-constraint

2007-10-11 Thread Mario Ivankovits
Hi! > I ve added the new orchestra core from [1] + new configuration and now > everything works ok (without tomcat security-constraint); > > With the security-constraint set I have the following exception: > ok, thanks, this one I can locate. I'll have a look at it. It might speed up things if

Re: orchestra + security-constraint

2007-10-11 Thread Mario Ivankovits
Hi! Yea, for the 1.0 release we changed something with the configuration, but all the changes are reflected on out installation page. > > frameworkAdapterFilter > org.apache.myfaces.orchestra.frameworkAdapter.jsf.FrameworkAdapterServletFilter > > It is no longer required if you are on an JSF

Re: orchestra + security-constraint

2007-10-11 Thread Mario Ivankovits
4) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) > at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > at java.lang.Thread.run(Thread.java:619) > > -- mit freundlichen Grüßen

Re: Orchestra Question / another solution?

2007-09-28 Thread Mario Ivankovits
Hi! > So, the question is now... what are the benefit of the conversation > scope? and what is it exactly? There is not need to use Orchestra just do declare beans in spring. This is something spring provides out of the box. The conversation scope is a scope between request and session. Means - yo

Re: [jira] Commented: (MYFACES-1714) submitted (or local) values are not erasable after conversion or validation error

2007-09-25 Thread Mario Ivankovits
Hi! I am just curious which ajax framework do you use/recommend? It is not meant as a recommendation, I have no further experience with other ajax frameworks. I use the pprPanelGroup from tomahawk-sandbox. Compared to the other ajax frameworks the pprPanelGroup might be too limited, don't k

Re: orchestra support for RI 1.2

2007-09-25 Thread Mario Ivankovits
Hi! Does Orchestra support JSF 1.2, Reference Impelementation? Yes. I am getting this error: "Bean property 'dataSource' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?" This seems to be a problem with your Spring co

[ANNOUNCE] myfaces-maven and myfaces-shared release

2007-09-14 Thread Mario Ivankovits
Hi! We are proud to announce the availability of myfaces-maven 1.0.6 and myfaces-shared 2.0.7. Ciao, Mario PS: Since this stuff is not that important to the community (I think) I didn't sent this announce to the [EMAIL PROTECTED] address. If you are not fine with this we can forward this

Re: number conversion and null values

2007-09-13 Thread Mario Ivankovits
Hi! > Isn't the default converter useless in combination with doubles without > this destType ? > Notice, in most situations you do not have to set this destType, the converter will determine this automatically. Well, the default converter, I think the common strategy when using this converter

Re: number conversion and null values

2007-09-13 Thread Mario Ivankovits
Hi! > The NumberConverter returns a Long instead of a Double! > > How can I get a simple automatic NumberConversion working ? > This is really annoying! > I am not sure if this has already been mentioned in this thread. But there is a numberConverter in Tomahawk's sandbox which will do the trick

Re: Orchestra dependent on MyFaces 1.1.6-SNAPSHOT?

2007-09-11 Thread Mario Ivankovits
Ok, so I've seen we already moved on to myfaces 1.2.0 - so no SNAPSHOT here. The examples still run on 1.1.5 to ensure backward compatibility. Ciao, Mario

Re: Orchestra dependent on MyFaces 1.1.6-SNAPSHOT?

2007-09-11 Thread Mario Ivankovits
Hi! > I don't think so. > Just a standard error, that all trunk projects rely on the latest > greatest (trunk) version of myfaces. > See tomahawk (or it least was the case). > > Should be 1.1.5, that makes it also easier to release Orchestra. > Yes, it would be necessary to downgrade to 1.1.5 fo

Re: Orchestra integration with legacy Hibernate 2 app

2007-09-08 Thread Mario Ivankovits
Hi! I made my simple test app work by stripping out all the JPA stuff I had, both in the code and the applicationContext.xml, and then using Spring to inject the DAO with a LocalSessionFactoryBean. Is that the right way to approach it? (Or is that a naive solution, with lurking problems?) J

Re: Orchestra integration with legacy Hibernate 2 app

2007-09-08 Thread Mario Ivankovits
Well, i haven't done it yet, but I am pretty sure there is a way. Please send over a small app (including libs) with your setup so I can have a look at it. Thanks. Mario -Original Message- From: "William H. Mitchell" <[EMAIL PROTECTED]> Date: Saturday, Sep 8, 2007 5:49 am Subject: Re: O

Companies using Orchestra - wiki page

2007-09-06 Thread Mario Ivankovits
Hi! Just in case there are already people using MyFaces Orchestra in their day work (which will grow I hope), your are invited to add your company to the wiki page [1]. Thanks! Ciao, Mario [1] http://wiki.apache.org/myfaces/Companies_Using_Orchestra

Re: Orchestra integration with legacy Hibernate 2 app

2007-09-06 Thread Mario Ivankovits
Hi! > The Orchestra installation page has a tantalizing sentence: "The > installation guide will show you how to setup a JPA entity manager > ..., later a chapter explaining how to access Hibernate directly will > be added." Yep, we use it here with a completely custom way of how to get in touch t

Re: javax.faces.ViewState contents?

2007-08-23 Thread Mario Ivankovits
Hi! > With client state saving, I was under the impression that only managed > beans in session scope or used in t:saveState would be serialized into > the hidden javax.faces.ViewState variable. However, my application's > creating ViewStates in pages with very simple forms that are almost 70 > kb

Re: global error handling (especially exception in backing bean)

2007-08-17 Thread Mario Ivankovits
Hi! > I submitted a patch to Jira: > https://issues.apache.org/jira/browse/MYFACES-1711 > If there are any questions or requests for improvements, do not hesitate to > contact me. > I haven't read all the thread, so I am not sure, but I think the latest MyFaces already deals with this, and even

Re: Is it possible to develop a JSF application that gracefully degrades?

2007-08-12 Thread Mario Ivankovits
Hi! > Manfred Geiler is going to commit something to MyFaces (impl) soon > which will allow JSF without JavaScript, even displaying things like > links (by styling buttons as links). Stay tuned... > With having f:param still working? Cool stuff! Ciao, Mario

Re: Adding FacesMessage that can be available in view after handleNavigation

2007-07-19 Thread Mario Ivankovits
Hi! > Sorry, maybe I am ambiguous. I mean changing navigation flow using > getNavigationHandler().handleNavigation() but not really redirect with > context.getExternalContext().redirect("error.faces"); > > Should I use RedirectTracker also for handleNavigation? The RedirectTracker will handle every

Re: Adding FacesMessage that can be available in view after handleNavigation

2007-07-19 Thread Mario Ivankovits
Hi! > But after redirecting to errors.faces all messages are discarded. And > therefore user doesn't see his fatal error. How can I using JSF add > all messages to view to redirect? See the tomahawk sandbox RedirectTracker stuff [1]. Correctly configured it will make the messages available after a

Re: [Orchestra] location of orchestra.xsd

2007-07-09 Thread Mario Ivankovits
Hi Michael! > Spring itself uses the following pattern for handling namespaces: > xsi:schemaLocation="http://www.springframework.org/schema/lang > http://www.springframework.org/schema/lang/spring-lang-2.0.xsd"; > > spring.schemas : > http\://www.springframework.org/schema/lang/spring-lang.xsd=org/

  1   2   3   4   5   >