Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Hi! have you got any clue on this? I have't used Trinidad till now. @carsten: Do you see some javascript regarding submitOnEvent stuff rendered into the resulting html? @martin: I rely on the ComponentFamily, do you know if input fields in Trinidad use UIInput.COMPONENT_FAMILY and commands

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Hi Matthias! But, the problem is, that Family/Type are strings. Why not going against the base interfaces, provided by JSF ? -javax.faces.component.EditableValueHolder -javax.faces.component.ActionSource Yepp, I'll change it that way. I just wanted to know ;-) Thanks! Ciao, Mario

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Matthias Wessendorf schrieb: On 6/1/07, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi! have you got any clue on this? I have't used Trinidad till now. @carsten: Do you see some javascript regarding submitOnEvent stuff rendered into the resulting html? @martin: I rely

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Hi Matthias! Hi Matthias! But, the problem is, that Family/Type are strings. Why not going against the base interfaces, provided by JSF ? -javax.faces.component.EditableValueHolder -javax.faces.component.ActionSource When I hook on one of the UISelect* components I use a different

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Hi! just a short question: Does the Tomahawk sandbox component submitOnEvent collaborate with Trinidad components? I've change submitOnEvent in a way that should make it work with Trinidad too, though, I have no Trinidad here and do not have the time to test it. Please give it a try and

Re: how to create dynamic grahpics with JFreeChart and myfaces?

2007-06-06 Thread Mario Ivankovits
Hi! I want to show a BufferedImage on a JSF-generated page. In my case, this Image is generated by the JFreeChart[1] library. Now my question: What must I do, that I can show this image as a graphic on a JSF Page? Hehe - I had the same problem yesterday. One solution is the latest

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-15 Thread Mario Ivankovits
Hi Carsten! I've change submitOnEvent in a way that should make it work with Trinidad too, though, I have no Trinidad here and do not have the time to test it. Please give it a try and report back. Hm, as far as I can see, the behaviour didn't change: A Trinidad developer promised

[orchestra] Announce of

2007-06-18 Thread Mario Ivankovits
Hi! We would like to announce the availability of Apache MyFaces Orchestra [1]. Orchestra is yet another try to simplify the development of web applications using JPA or any other object relational mapper like plain Hibernate. In contrast to the other solutions we think ours is easier to use with

Re: Orchestra vs Spring-Annotations

2007-06-25 Thread Mario Ivankovits
Hi Michael! did not find the connector for Hibernate. I do not want to use JPA, but rather just spring DAOs. Is a direct Hibernate connector available? If so, how do I use it? Due to license restrictions we are not able to depend on LGPL code. I use a custom Hibernate connector, just,

Re: [Orchestra] Orchestra and ajax

2007-06-27 Thread Mario Ivankovits
Hi Michael! But now I have a problem with orchestra when using partial submits (we use ICEFaces by the way). As there is no page refresh the request attribute CONVERSATION_CONTEXT_REQ is not set. I tried the following with the latest ICEFaces (1.6.0-DR5) and it works as expected. Though, I

Re: [Orchestra] Orchestra and ajax

2007-06-28 Thread Mario Ivankovits
something is configured differently. Thanks Michael Mario Ivankovits wrote: I tried the following with the latest ICEFaces (1.6.0-DR5) and it works as expected. Though, I have to admit I am wondering WHY it works as as you stated Icefaces do not add the conversationContext= url parameter

Re: [Orchestra] Orchestra and ajax

2007-06-29 Thread Mario Ivankovits
Hi Michael! Thanks, I will have a look at it over the weekend. Ciao, Mario Hi, the problem seems to be the first partial submit. After that a new Conversation is created. On subsequent partial submits it works like expected. You can see that with the included war (no jars included,

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

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

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

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

2006-12-21 Thread Mario Ivankovits
Hi! in jsf 1.2 the component tree is created and rendered during reading the jsp. should have been jsf 1.2 Ciao, Mario

Re: Attribute for

2006-12-21 Thread Mario Ivankovits
Hi! Is there any solution? I can use t:dataScroller before t:dataTable and there are no problems with the for element. Hmmm ... did you put your dataScroller/dataTable combination within an panelGroup, as far as I remember that helped. Though, don't you have any problems with the

Re: Hibernate Object and JSF Bean Design

2007-01-19 Thread Mario Ivankovits
Hi! Well, I work in an mid size project, approx 3000 java files and 300 jsps. No need for load balancing or failover, which makes things easier ;-) We moved (or currently move) from our own persistence to hibernate with all its problems (Lazy loading, detached objects, ...) Exceptions all

Re: Hibernate Object and JSF Bean Design

2007-01-19 Thread Mario Ivankovits
Hi! Well, I work in an mid size project, approx 3000 java files and 300 jsps. No need for load balancing or failover, which makes things easier ;-) Oh, I forget, we directly use Hibernate Objects in our view too. Ciao, Mario

Re: How to submit a form using javascript

2007-01-19 Thread Mario Ivankovits
Hi! I can give you an example of how I use javascript to do a “click” on a button. :) Please have a look at our tomahawk-sandbox submitOnEvent [1] component. Should already do what you want. Ciao, Mario [1] http://wiki.apache.org/myfaces/SubmitOnEvent

Re: Jsf_tree_64

2007-01-30 Thread Mario Ivankovits
Hi should be looking to solve both load balancing and low page size? Perhaps a sticky load balancer, ie one that is http-session-aware and therefore directs all requests for a specific session to a single tomcat instance? For simplifications I'd prefer the sticky way too, though, it should be

Re: Jsf_tree_64

2007-01-30 Thread Mario Ivankovits
Hi Daniel! As Simon said, it's basically server-side state saving with a single client-side token. But normal server-side state saving already has a token (the SESSION ID!!) that maps to the HttpSession anyway... so what's the difference?? The thing is to not only find the correct

Re: Another question about RedirectTracker

2007-02-01 Thread Mario Ivankovits
Hi Aleksandr! Is it posible to restore states for all components? Is it right way? AFAIK, not using GET only. GET request URLs are limited in size, depending on the browser, proxy and web-server you have between you and your clients browser. Its something between 1-2kb. A view state

Re: Another question about RedirectTracker

2007-02-01 Thread Mario Ivankovits
Hi Aleksandr! Is it posible to restore states for all components? Is it right way? AFAIK, not using GET only. GET request URLs are limited in size, depending on the browser, proxy and web-server you have between you and your clients browser. Its something between 1-2kb. A view state could

Re: s:inputSuggestAjax problems with onchange

2007-03-29 Thread Mario Ivankovits
Hi! Be aware that if there is a bug in inputSuggestAjax, using submitOnEvent won't fix it. Jumping up to this discussion lately .. sorry for this .. too much work here. It might be that the submitOnEvent do not work with inputSuggestAjax. Do one have it running with it? As far as I remeber

Re: s:inputSuggestAjax problems with onchange

2007-03-29 Thread Mario Ivankovits
Hi Mike! I don't think this is the issue. snip Yep. This code works as I'd expect it to work: snap Great, thanks for the test!! :-) Ciao, Mario

Re: Custom Managed Bean scope

2007-04-11 Thread Mario Ivankovits
Hi! What other ways such a problem can be handled? You can use JBoss Seam or Apache MyFaces Orchestra (which is the successor of the MyFaces conversation tag). JBoss Seam is a rather full blown thing which can do much more please refer to their homepage for further informations. Orchestra

Re: Custom Managed Bean scope

2007-04-11 Thread Mario Ivankovits
Hi Conway! Does Orchestra require you to use Spring? Yes, parts of it. Some reasons are: *) Defined way to create a custom scope, means, in your spring config you can configure your beans with 'scope=conversation' *) Aspects. They are used to solve the ORM stuff and use cases where e.g.

Re: Custom Managed Bean scope

2007-04-11 Thread Mario Ivankovits
Hi Conway! Uhm .. sorry, should have been Hi Fintan!

enhanced modal dialog

2007-04-13 Thread Mario Ivankovits
Hi! I'd like to announce that the latest tomahawk-sandbox (as per today) contains an enhanced version of the ModalDialog component. Its now possible to render another view within the content area of the dialog. To achieve this I've added three new attributes to the component: dialogTitle -

Re: enhanced modal dialog

2007-04-13 Thread Mario Ivankovits
Hi Matthias! Is the closeButton rendering a x image? If yes, I think it might be nice to have that button rendered as default. Yes I thought that too ... ok, will do so. Thanks for your input! Ciao, Mario smime.p7s Description: S/MIME Cryptographic Signature

Re: redirect / and FacesMessage problem

2007-04-24 Thread Mario Ivankovits
Hi! I was checking out the RedirectTracker documentation. Is there any installation/usage documents other than the javadoc? To make use of the RedirectTracker you have to: * add the myfaces sandbox to your project * configure the init paramter org.apache.myfaces.redirectTracker.POLICY in

Re: redirect / and FacesMessage problem

2007-04-25 Thread Mario Ivankovits
Hi! So I don't need to register a PhaseListener or anything? Yep, no additional registration required. You'll get it automatically through the tomahawk sandbox jar. --- Mario Shawn -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007

Re: ExtensionsFilter amd compression filter

2007-05-09 Thread Mario Ivankovits
Hi! i have implemented a GZIP Filter for a JSF application that compresses the response that is sent to the browser. Can you please let me know how I can get these two working together. Any help or advice will be very useful. Check the ordering of your filter-mapping. It should be: 1)

Re: [Announcement] MyFaces 1.2 - 100%

2007-05-10 Thread Mario Ivankovits
Great work 1.2-Team! :-) Congratulation! --- Mario

Re: ClassNotFoundException RedirectTrackerNavigationHandler

2007-05-14 Thread Mario Ivankovits
Hi Michael! I get the following Exception after updating myFaces and tomahawk from 1.1.4 to 1.1.5. javax.faces.FacesException: java.lang.ClassNotFoundException: org.apache.myfaces.custom.redirectTracker.RedirectTrackerNavigationHandler at

Re: Sandbox behaviour!!

2007-05-15 Thread Mario Ivankovits
Hi! try using s:loadBundle instead of f:loadBundle for your messages If there is only one bundle for your application I'd suggest to configure it as managed bean (implementing the map interface). That way you * can get rid of configuring it on each page * have it available even for ajax requests

configure language bundle as managed bean (was: Sandbox behaviour!!)

2007-05-16 Thread Mario Ivankovits
Response). -- Adam Winer On 5/15/07, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi! try using s:loadBundle instead of f:loadBundle for your messages If there is only one bundle for your application I'd suggest to configure it as managed bean (implementing the map interface). That way you

Re: [Tomahawk] ModalDialog: close with dialogok-event

2007-05-23 Thread Mario Ivankovits
Hi! after open the modal dialog with the link open dialog and then closing it with the link close window there should be a server call cause it's the dialogok-event. but nothing happens ... But the dialog box closes? Do you use IE or firefox? Do you see any javascript error? For firefox

Re: [Tomahawk] ModalDialog: close with dialogok-event

2007-05-23 Thread Mario Ivankovits
Hi Matthias! But the dialog box closes? Do you use IE or firefox? Do you see any javascript error? For firefox install the FireBug extensions and for IE you might have to enable the checkbox in extras/... (dont know where exactly ;-) ) to show javascript errors now I've tested the

Re: [Tomahawk] ModalDialog: close with dialogok-event

2007-05-25 Thread Mario Ivankovits
Hi Matthias! I'm trying to use some inputfields in the modaldialog but the input seems not to be set in my backing bean. h:panelGrid columns=2 h:outputText value=Name: / s:inputSuggestAjax

Re: Submit using the enter key?

2007-05-25 Thread Mario Ivankovits
Hi ! I am trying to submit a form using the enter key, but it doesn't work... Ever tried to use our SubmitOnEvent [1] sandbox component? Ciao, Mario [1] http://wiki.apache.org/myfaces/SubmitOnEvent

Re: [Tomahawk] ModalDialog: close with dialogok-event

2007-05-25 Thread Mario Ivankovits
Hi! didn't I have to close the dialog immediatly ? without closing the dialog there wouldn't be a call to the backing bean .. ? Keep in mind that the dialog is in fact a different jsf page. So you have to finish the lifecycle of this sub page to get the model updated and then refresh the

Re: Orchestra vs Spring-Annotations

2007-05-25 Thread Mario Ivankovits
Hi! Hey, can anyone tell me how Orchestra compares to Spring-Annotations JSF module (http://sannotations.sourceforge.net/jsf.html)? I did not find the required information on their homepage, though, it looks like there is indeed some overlap. Some quick differences are: * Orchestra do not

Re: [COMMUNITY] Ernst Fastl - Committer

2007-05-29 Thread Mario Ivankovits
Hi! Thanks Ernst, and welcome to the team! Welcome on board! Ciao, Mario

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: 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: 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: best approach for SelectItems inside a datatables

2005-12-05 Thread Mario Ivankovits
Hi! rowStyleClass=row#{(idx%2==0)?'0':'1'} rowStyleClass=row0,row1 should do the trick too But this approach has a big disadvantage : the method 'selectItemList' is called in every rendered row even though the list themself isn't change. So why dont you cache the list in your bean? Or

Re: AW: Problems with ValueChangeListener and FacesMessages

2005-12-05 Thread Mario Ivankovits
Hi! The only thing I want to do is: Set some values from the backing bean into some inputtext tags (and this is done in the valuechangelistener method) I guess you might experience other problems too. The valueChangeListener is executed before the model update, so if you change a value in

Re: Error adding dataScroller before my UIData

2005-12-06 Thread Mario Ivankovits
Hi! I need to add a dataScroller to both the top and bottom of my dataTable. However I get an exception when putting it before the dataTable is defined (i.e. in the header) saying it cant find the UIData element. Does anyone know the solution for this (other than adding it after the

Re: PanelNavigation2 not saving state

2005-12-12 Thread Mario Ivankovits
Hi Jan! But if the outcome String in the action of the backingbean matches an navigation-rule, faces changes (redirect/forwards...whatever) the *.jsp / *.jsf as it should do. Unfortunately panelNavigation2 loses its state and all nodes which need to stay opened are closed. Do you use redirect /

Re: Validation issue concerning navigation

2005-12-13 Thread Mario Ivankovits
Hi Daniel! Has anyone another idea, to switch off validation for such cases? You can set the immediate=true attribute on your button. The drawback (sometimes) is that than your model wont be updated. --- Mario

Re: myFaces 1.1.1 Date problem

2005-12-14 Thread Mario Ivankovits
Hi! Im facing a problem in that my project used to work fine before on 1.0.9 but since iv migrated to 1.1.1 i have been encountering a starnge error. some jsf setting( porbably locale) sets the dates that the current dates that jsf displays are of the previous date i.e. 1 less than they

Re: JBoss Seam JSF

2005-12-15 Thread Mario Ivankovits
Hi! From what I could gather, the seam people already work on a Rails like crud generation mechanism. Isnt it they use templating? So once you modified the resulting jsp you cant recreate it without loosing all your modifications? --- Mario

Re: Submit and h:commandLink question

2005-12-16 Thread Mario Ivankovits
Hi! I've tried with both request and session scope for the mainWindowBeanHandler, but it's still doing nothing :( If you say you press the link and nothing happens, do you mean no http request will be sent to the server? To you see any browser action? If not, it might be a javascript

Re: Problem with valueChangeListener method invocation

2005-12-16 Thread Mario Ivankovits
Hi! Sorry for reading this thread that late, but to fix this you might use the valueChangeNotifier http://issues.apache.org/jira/browse/MYFACES-864 This will collect all valueChange events and fire them AFTER the model update. So you can update/change your model how you like - and you have

Re: Problem with valueChangeListener method invocation

2005-12-16 Thread Mario Ivankovits
Mike Kienenberger wrote: If he's using renderResponse(), there won't be a model update phase. Sure, but you might still generate new valueChange events if you change the value of your model of components AFTER the one you currently process the event. --- Mario

Re: Submit and h:commandLink question

2005-12-16 Thread Mario Ivankovits
Hi! I use myfaces-1.1.1 and it looks like I have a similar problem when I place a inputHtml component in my form ... currently investigating it. I dont know what was the problem, but using the lates nightly fixed it. --- Mario

Re: AW: Problem with valueChangeListener method invocation

2005-12-16 Thread Mario Ivankovits
Hi! In this phase, the change of values of other components with a valueChangeNotifier will not cause new valueChangeEvents to be fired? Yes, thats the idea. Is the valueChangeNotifier contained in MyFaces 1.1.1 or in later Nightlys, or not at all? Currently it isnt contained in MyFaces,

Re: AW: Problem with valueChangeListener method invocation

2005-12-16 Thread Mario Ivankovits
Hi Mike! Thanks for take a look at it. You'll get better acceptance of your new component if you provide patches for examples, documentation, tlds, and faces-config. Also, you need to correctly package it (It'll need to start in the sandbox). I just thought it will be that easy to replace,

Re: Popup calendar javascript - loadPopupScript not defined

2005-12-21 Thread Mario Ivankovits
Hi ! However, I am running into javascript errors resulting from loadPopupScript not being defined as well as DateFormatSymbols not being defined. You have to map the extension filter to /faces/* too. --- Mario

Re: Cannot get t:saveState to work

2006-01-10 Thread Mario Ivankovits
Hi ! Hi, I’m having a problem with t:saveState. I want to use it to pass a whole bean between one view and another but when I get to the second view the bean is empty. This appears like it should be easy and I’ve followed the previous threads on this issue and I think I’m doing everything

Re: Cannot get t:saveState to work

2006-01-10 Thread Mario Ivankovits
Hi Thomas! I would not have expected the request scoped beans to survive between requests but I would have expected the beans/properties serialized by the t:saveState component to survive. I thought that redirect just updated the URL. The redirect directs JSF to send a real http redirect

JFYI: change session to request bean - the way life

2006-01-11 Thread Mario Ivankovits
(Sorry for the crosspost, initially my intention was to post it on ther user list but selected the wrong address) Hi! It cost me a couple of hours to figure it out, so I'll share my insights with you. I have had a bean which I declared in session scope at first. After a while I decided to

Re: JFYI: change session to request bean - the way life

2006-01-11 Thread Mario Ivankovits
Hi David! So you never did a session.invalidate() or removed the object from the session? Not before your removal of the sessions file? No, why should I? During development I often restart tomcat, but not more. Once I figured out the bean is still in session scope the first idea I had was

keep resulting html small (was: Re: commandLink)

2006-01-15 Thread Mario Ivankovits
Hi! a href=# onclick=clear__5Fid0();document.forms['_id0'].elements['autoScroll'].value= getScrolling();document.forms['_id0'].elements['_id0:_link_hidden_'].value=' _id0:pageID';if(document.forms['_id0'].onsubmit){if(document.forms['_id0'].o nsubmit())

Re: keep resulting html small

2006-01-15 Thread Mario Ivankovits
Simon Kitching wrote: Rather than return submit__5Fid0(), I'd like to see: onclick=return myfaces_submit(this) where the myfaces_submit function gets defined only once. Is there any reason not to do this? The only thing which comes in my mind is that we then have to require the

Re: keep resulting html small

2006-01-15 Thread Mario Ivankovits
Hi! The function definition should be inline in the page rather than a reference to an external resource file. Isn't it possible to simply emit the script when first needed, and put a boolean flag somewhere to indicate that the script has been output so later command components don't

unencode # encodings in javascript

2006-01-18 Thread Mario Ivankovits
Hi! We merged our JSP project with JSF so we can slowly migrate to JSF at all. This has been done by heavily using the verbatim tag - and even if its butt ugly ;-) it works. Though, there is still one problem left. Now that the whole page renderes through the HtmlResponseWriter all the umlauts

Re: unencode # encodings in javascript

2006-01-18 Thread Mario Ivankovits
Hi! What I need now is a javascript function to unencode this string - is there already something in myfaces of do one know a library for this. Thanks for your tips. *) \u - you cant convert a # to \u (even if its the same code what I don't know now) - however \u will be evaluated at parsing

Re: unencode # encodings in javascript

2006-01-19 Thread Mario Ivankovits
Hi Enrique! But shouldn't it be a more generic and straightforward mechanism to solve this problem? To the best of my knowledge, the problem is with the class HTMLEncoder, and particularly with this method: Thanks for begging me - not sure if this is the correct word ;-) . It forced me to dig a

HtmlRendererUtils.selectContentType (was: Re: unencode # encodings in javascript)

2006-01-19 Thread Mario Ivankovits
Hi My problem has nothing to do with encoding/decoding, but I got a null pointer exception in AddResources.writeWithFullHeader/HtmlRenderUtils.selectContentType area.(See below) The statements that the exception occurs are: FacesContext context = FacesContext.getCurrentInstance();

Re: Dynamically refer to a component from another component

2006-01-19 Thread Mario Ivankovits
Hi Enrique! But this is what Simon tries to show you. Its possible to inject the other bean instance or to look it up through the context. Ciao, Mario Hi Simon, I mean accesing one component to another from inside the same bean 2006/1/19, Simon Kitching [EMAIL PROTECTED] mailto:[EMAIL

Re: Dynamically refer to a component from another component

2006-01-19 Thread Mario Ivankovits
Enrique Medina schrieb: The problem is I don't know the HTML ID until the page is rendered, and that ID is the one I want to refer in code, as it will be the input to a Javascript method. and what if you set a binding in your created components so they will automatically register to your

Re: HtmlRendererUtils.selectContentType

2006-01-19 Thread Mario Ivankovits
Hi! Ok, In my case the FacesContext is null. html.HtmlRendererUtils - *NULL* context null Servlet.service() for servlet opsj threw exception java.lang.NullPointerException at org.apache.myfaces.renderkit.html.HtmlRendererUtils.selectContentType(HtmlRendererUtils.java:1008) at

Re: I need a WebMenu, free or not

2006-01-20 Thread Mario Ivankovits
Hi Anyone knows a webmenu like the JScookMenu, a stable menu, with action and actionListener feature... I was thinking on Otrix webmenu, but it is too expensive. I use a tree2 with a little bit customized renderer so it didn't use any navigation icons. It expands by clicking on the text. The

calendar, iframe popup prevention and https

2006-01-26 Thread Mario Ivankovits
Hi! Our application generally uses https. We also use the HtmlInputCalendar component which uses the iframe trick to avoid combo-boxes show through. The iframe in question will be generated in javascript without the src= attribute. Now, if the user clicks on the calendar-popup-button we get a

Re: calendar, iframe popup prevention and https

2006-01-26 Thread Mario Ivankovits
Hi Martin! I hope that's not causing any other issues then - like trying to load from that URL or so? I tested it and got no further message or warning. Anyway, once it is applied in myfaces I will be happy to test it. Do you implement it yourself or would you like to have a patch? ---

Re: Bug nightly charset problem

2006-01-26 Thread Mario Ivankovits
Hi! I am not sure if the nightlies are already up and running. This bug should already be fixed in svn head. Did you build myfaces from SVN? Thanks to the hard work of the myfaces team and their maven2 integration this is as easy as buying a paper ;-) Ciao, Mario Using the nightly build, I

  1   2   3   4   >