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

Re: Long transactions

2010-07-02 Thread Mario Ivankovits
- 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 [1]. If you are going

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

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

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

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

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

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

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

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

2009-12-10 Thread Mario Ivankovits
. Shouldn't we generally synchronize those Maps or use ConcurrentMaps? Regards, Jakob Korherr 2009/12/10 Mario Ivankovits ma...@ops.co.at For me, this clearly looks like concurrent usage of the request map. All the servlet scopes (session, request, …) are not thread safe and one

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

2009-12-10 Thread Mario Ivankovits
. 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 out of our scope, isn't it? These maps are create by the servlet container and thus are part of the servlet spec. And even

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

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

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

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

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. if

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 bean name=searchParametersBean class=com.xxx.SearchParametersBean scope=conversation.access property name=serviceBean ref=serviceBean / property

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. Unhappily JSF

[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 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

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: [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 within

Re: [Orchestra] How to annotate conversation scope bean

2008-06-02 Thread Mario Ivankovits
wrote: Hello, I would like to use spring 2.5.x to annotate my backing bean with conversation. So here is what have so far @Component @Scope( conversation.access ) what about conversation' name? big thanks ahead. -D -- mit freundlichen Grüßen Mario Ivankovits Software

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! 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 this,

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, though.

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 as

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 =

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] 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 'send

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 will

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

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 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

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 views

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 flow. Oh - and there is a not very well

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 scope

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

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 component of

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: bean id=timeChainJSF_1 class=com.playoli.timeperiod.jsf.TimeChainJSF bean id=timeChainJSF_2 class=com.playoli.timeperiod.jsf.TimeChainJSF You need to use the two separate bean definitions approach. That gives your EL

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 what I meant here. If possible

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 Ciao, Mario

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 import

[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? Currently

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

2008-03-17 Thread Mario Ivankovits
it easy to figure out what 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: Re: [Orchestra] Question

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 document

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: 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 beans xmlns=http://www.springframework.org/schema/beans;

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:

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

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 problem as

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: 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

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. What

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 much slower

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

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

2008-01-08 Thread Mario Ivankovits
Hi! % String beanName = request.getParameter(beanName); % tc:panel f:facet name=layout tc:gridLayout rows=fixed columns=1*;1*;1*/ /f:facet tc:out id=out value='%= #{ + beanName + .value} %'/ tc:in id=in value='%= #{ + beanName + .value2} %'/ Woho would never have

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

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 with

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 ... now

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: 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

Re: JSF Performance

2007-11-15 Thread Mario Ivankovits
Hi! On 11/15/07, *Andrew Robinson* [EMAIL PROTECTED] mailto:[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: 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 fields (or all

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 columns which

Re: Redirect to URL with param from navigation-case

2007-10-30 Thread Mario Ivankovits
Hi! navigation-case from-outcomeadded/from-outcome to-view-id/view.jsf?myParam=#{myManagedBean.id}/to-view-id redirect/ 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

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

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

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

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

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

[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

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: filter filter-namespringRequestContextFilter/filter-name

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-11 Thread Mario Ivankovits
) -- 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 + 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. filter filter-nameframeworkAdapterFilter/filter-name filter-classorg.apache.myfaces.orchestra.frameworkAdapter.jsf.FrameworkAdapterServletFilter/filter-class

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 you

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: dispatcherFORWARD/dispatcher dispatcherREQUEST/dispatcher and you should be done. In the end it should look like this: filter-mapping filter-nameorchestraFilter/filter-name url-pattern*.faces/url-pattern

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 - you

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

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

[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! 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: 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 is

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 for the

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 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:

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?)

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 to the

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: 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: 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! 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: 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: [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 :

Re: [Orchestra] Orchestra and ajax

2007-07-08 Thread Mario Ivankovits
Hi Michael! Do you have plans for a release? Yes, I think to start a release mid August (after my vacation). Everyone should have had enough time then to uncover major bugs. Ciao, Mario

Re: how to render various components dynamically for a generic editor ?

2007-07-03 Thread Mario Ivankovits
Hi! I have to create a generic editor with various fields based on a configuration(file, database …). Each field can be rendered as a different input type, e.g. selectOneCheckbox, selectManyCheckbox, selectOneRadio, selectOneMenu, selectManyMenu or even inside a tree2 structure. Moreover I

Re: [Orchestra] Orchestra and ajax

2007-06-30 Thread Mario Ivankovits
Hi Michael! the problem seems to be the first partial submit. After that a new Conversation is created. On subsequent partial submits it works like expected. Thanks for your webapp! I managed to find the problem and I think I fixed it. The problem was: I tried to work with the

  1   2   3   4   >