AW: How to use https together with http

2008-02-01 Thread René Günther
* sometimes The IE browser shows a warning: the page contains both secure and nonsecure data. what is the meaning? how to avoid the warning? This happens if the source of some objects of the page (eg. Images, javascript) is http://... and other the source of other objects is https://... Eg.

RE: [tomahawk] oamSubmitForm causes parse error

2008-02-01 Thread Michael Heinen
The problem is the missing CDATA around the script tag content. TIDY HTML parser adds automatically following block: //![CDATA[ ]] Shouldn't this be standard if javascript is used inside? Otherwise it is only useable in ajax responses with very strict parsers like TIDY.

Re: submitOnEvent callback

2008-02-01 Thread Dave
the bean method return a string that is a javascript function name. Mario Ivankovits [EMAIL PROTECTED] wrote: 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

Re: Question about filling page objects

2008-02-01 Thread Martin Marinschek
Are you using JSF1.2? Check out f:setPropertyActionListener for changing from a list-page to a detail-page. regards, Martin On 2/1/08, Martyn Hiemstra [EMAIL PROTECTED] wrote: Hi All My company has chosen to use jsf in a new project. I myself am used to SpringMVC which works perfectly for

Question about filling page objects

2008-02-01 Thread Martyn Hiemstra
Hi All My company has chosen to use jsf in a new project. I myself am used to SpringMVC which works perfectly for my needs but I figured, why not try jsf since I have to use. I am running into a problem which is a pretty huge problem in jsf. Maybe someone can explain it to me how to solve my

RE: [tomahawk] oamSubmitForm causes parse error

2008-02-01 Thread Simon Kitching
Hi Michael, Are you generating html or xhtml? And which JSF implementation/version are you running tomahawk on? For html, a CDATA tag should not be needed, as script tags have special parsing rules in html. For xhtml, things like do indeed need to be escaped, and CDATA is best. This Jira

RE: [tomahawk] oamSubmitForm causes parse error

2008-02-01 Thread Michael Heinen
Hi Simon, see my first mail below: myFaces 1.1.5 tomahawk snapshot 1.1.5 richfaces 3.1.4 I don’t use facelets but normal jsp files (so not xhtml). The problem occurs in my app only in ajax responses which must be of course xml compliant. The causing class is

Re: [Trinidad] Is there a way to have a custom JavaScript function be called when a validation error occurs?

2008-02-01 Thread Matthias Wessendorf
not really. in case you do a ppr submit, u could use this: function loader(state) { var busy = state == TrRequestQueue.STATE_BUSY; var div = document.getElementById(load); div.style.display = busy ? inline : none; if(!busy) {

Re: Question about filling page objects

2008-02-01 Thread Simon Kitching
But f:setPropertyActionListener doesn't work well with redirects. Martyn, JSF does require a different view of the world. In many other frameworks, html and http are the only supported technologies. JSF instead is designed to work with things other than html (eg generating XUL) and view-logic

Re: JSF pages rendering 4 times more slowly in IE7 than Firefox

2008-02-01 Thread caped crusader
I appreciate everyone's input and help, and this may well just be an IE issue. I've found an obvious difference in the headers. In IE the connection header is set to 'close', in FF it's 'keep-alive'. As a test in FF I turned off the keep-alive setting in 'about:config' and this slowed down

Re: submitOnEvent callback

2008-02-01 Thread Gerald Müllan
Hi Dave, don`t know why the method is not called, maybe Mario knows it. It`s not that nice, but you may also write: callback=mySpecialUserCallback .. function mySpecialUserCallback(event, srcComponentId, clickComponentId) { return #{bean.submitOnChange}; } This should work without any

Re: JSF pages rendering 4 times more slowly in IE7 than Firefox

2008-02-01 Thread David Delbecq
It would be better to figure out why setting off Keep-Alive has such drastic performances problems. Might be an issue with some proxy / nat / router at the server side. En l'instant précis du 01/02/08 12:59, caped crusader s'exprimait en ces termes: I appreciate everyone's input and help, and

Re: Can I use MyFaces Tomahawk 1.1.6 with MyFaces Core 1.1.5?

2008-02-01 Thread Matthias Wessendorf
Hi, On Feb 1, 2008 1:25 PM, merkas [EMAIL PROTECTED] wrote: It SHOULD work? But why is there no entry in the compatibility matrix? simply forgotten to update. things like that can happen. -M The compatibility matrix says that no of the MyFaces Core versions is compatible with Tomahawk

Re: Can I use MyFaces Tomahawk 1.1.6 with MyFaces Core 1.1.5?

2008-02-01 Thread merkas
It SHOULD work? But why is there no entry in the compatibility matrix? The compatibility matrix says that no of the MyFaces Core versions is compatible with Tomahawk 1.1.6. That confuses me! Si I have to use SUN RI 1.1 with Tomahawk 1.1.6? Regards, merkas Martin Marinschek wrote: Yes, it

Re: Upgrading from myfaces 1.6 to 2.2?

2008-02-01 Thread Martin Marinschek
Are you using Tomcat 6? You need a JSP 1.2.1 compatible container. Also, we are using Tiles2 now - you would need to upgrade this as well. regards, Martin On 2/1/08, Bjørn T Johansen [EMAIL PROTECTED] wrote: Is there something I need to do to upgrade? I am using Spring, Tiles, and myfaces

Re: [Trinidad] Is there a way to have a custom JavaScript function be called when a validation error occurs?

2008-02-01 Thread Richard Yee
Walter, Thanks. I'll try it out and let you know. -Richard Walter Mourão wrote: Hi Richard, I suppose you're not using the PPR API to show the Loading... message. If so the message should appear only after the client validation. I suggest you start using the PPR start/stop events. From the

Re: [Trinidad] Is there a way to have a custom JavaScript function be called when a validation error occurs?

2008-02-01 Thread Walter Mourão
I see... by the way: is this the correct way to know when a specific component started the PPR ? -- Walter Mourão http://arcadian.com.br http://waltermourao.com.br 2008/2/1, Matthias Wessendorf [EMAIL PROTECTED]: not really. in case you do a ppr submit, u could use this: function

Re: submitOnEvent callback

2008-02-01 Thread Martin Marinschek
I have prepared a fix and will commit it, if someone (Dave?) provides me with an issue-number ;) regards, Martin On 2/1/08, Martin Marinschek [EMAIL PROTECTED] wrote: Hi guys, the clue is that restoreState/saveState was implemented wrongly in submitOnEvent - another reason to get the

Re: [Trinidad] Is there a way to have a custom JavaScript function be called when a validation error occurs?

2008-02-01 Thread Walter Mourão
Hi Richard, I suppose you're not using the PPR API to show the Loading... message. If so the message should appear only after the client validation. I suggest you start using the PPR start/stop events. From the developer's guide: Monitoring AJAX requests If you want to be notified when the

Upgrading from myfaces 1.6 to 2.2?

2008-02-01 Thread Bjørn T Johansen
Is there something I need to do to upgrade? I am using Spring, Tiles, and myfaces and when I just switch myfaces jar files, I just get a blank page after login.. Haven't digged into this yet, just wonder if there were some specific steps that needed to be followed when upgrading? Regards, BTJ

Need Filter that caches resources - a more general Extensions Filter?

2008-02-01 Thread Daniel Niklas
Hi, i need a filter that adds Cache-control to the response-header. I want to configure this out for pictures, javascript files and other resources. Do you know something like this in myfaces or somewhere else? I can't believe, that i have to write my own implementation of such a filter!? Best

Re: Need Filter that caches resources - a more general Extensions Filter?

2008-02-01 Thread Matthias Wessendorf
On Feb 1, 2008 2:38 PM, Simon Kitching [EMAIL PROTECTED] wrote: I have also done something like this in the past. like almost every body :-) It would be nice to add an implementation of this to one of the new myfaces-commons projects...but AFAIK there isn't like this anything available

Re: Need Filter that caches resources - a more general Extensions Filter?

2008-02-01 Thread Simon Kitching
I have also done something like this in the past. It would be nice to add an implementation of this to one of the new myfaces-commons projects...but AFAIK there isn't like this anything available from the myfaces code at the moment. Matthias Wessendorf [EMAIL PROTECTED] schrieb: hey,

Re: Can I use MyFaces Tomahawk 1.1.6 with MyFaces Core 1.1.5?

2008-02-01 Thread merkas
Hi, but Tomahawk 1.1.6 is not compatible with MyFaces Core 1.2.2? Or do they also fergot this to update? Regards, merkas Matthias Wessendorf-4 wrote: Hi, On Feb 1, 2008 1:25 PM, merkas [EMAIL PROTECTED] wrote: It SHOULD work? But why is there no entry in the compatibility matrix?

Custom DataScroller (t:dataScroller)

2008-02-01 Thread Tathagat
Hi All. Current data scroller gives a paginator in the following format: 1-100, 101-200, 201-300.. and so on. What I would like is value of a column (along which the table is sorted), for example: AAA-CAT, CAU-FAX, FBC-MPC... and so on. The advantage is that user sees immediately where the value

(Trinidad) Pages with Tabs not working on Websphere

2008-02-01 Thread sandeep gururaj
Hello All, I see a strange behavior when I deploy my Trinidad Faces-based application on Websphere 6.1.0.13 on AIX. Please note that I do not see this behavior on Websphere 6.1.0.13 on Windows or with Weblogic environments. I am using trinindad-1.0.4 jars and viewing the application on IE 7.

Re: [Trinidad] Is there a way to have a custom JavaScript function be called when a validation error occurs?

2008-02-01 Thread Matthias Wessendorf
On Feb 1, 2008 3:06 PM, Walter Mourão [EMAIL PROTECTED] wrote: I see... by the way: is this the correct way to know when a specific component started the PPR ? for monitoring? yeah, use similar custom JS, or just add the tr:statusIndicator component -M -- Walter Mourão

Re: Can I use MyFaces Tomahawk 1.1.6 with MyFaces Core 1.1.5?

2008-02-01 Thread Matthias Wessendorf
On Feb 1, 2008 1:48 PM, merkas [EMAIL PROTECTED] wrote: Hi, but Tomahawk 1.1.6 is not compatible with MyFaces Core 1.2.2? Or do they also fergot this to update? yeah. bad guys :-) Regards, merkas Matthias Wessendorf-4 wrote: Hi, On Feb 1, 2008 1:25 PM, merkas [EMAIL

Re: submitOnEvent callback

2008-02-01 Thread Martin Marinschek
Hi guys, the clue is that restoreState/saveState was implemented wrongly in submitOnEvent - another reason to get the component-generator up and running. This is the erronous code - it uses the getter to access the component-attributes (and will therefore store the return-value of the method as

Re: Can I use MyFaces Tomahawk 1.1.6 with MyFaces Core 1.1.5?

2008-02-01 Thread Matthias Wessendorf
oh, btw. you can update the wiki on your own ;-) On Feb 1, 2008 1:53 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: On Feb 1, 2008 1:48 PM, merkas [EMAIL PROTECTED] wrote: Hi, but Tomahawk 1.1.6 is not compatible with MyFaces Core 1.2.2? Or do they also fergot this to update?

Re: Need Filter that caches resources - a more general Extensions Filter?

2008-02-01 Thread Daniel Niklas
Hi, Matthias Wessendorf-4 wrote: like almost every body :-) Me too, that is why i'm asking ;-) Matthias Wessendorf-4 wrote: It would be nice to add an implementation of this to one of the new myfaces-commons projects...but AFAIK there isn't like this anything available from the

Re: Need Filter that caches resources - a more general Extensions Filter?

2008-02-01 Thread Matthias Wessendorf
hey, did a quick search, and found this article: http://www.infoq.com/articles/etags I did something like that in the past, but I have no access to the code. -Matthias On Feb 1, 2008 2:22 PM, Daniel Niklas [EMAIL PROTECTED] wrote: Hi, i need a filter that adds Cache-control to the

RE: Need Filter that caches resources - a more general Extensions Filter?

2008-02-01 Thread Michael Heinen
Very easy: filter filter-nameBrowserCache/filter-name filter-classcom.bla.CacheFilter/filter-class init-param param-nameCache-Control/param-name param-valueprivate,max-age=3600/param-value /init-param init-param param-namePragma/param-name

Re: How to use https together with http

2008-02-01 Thread Andrew Robinson
Note that when you switch you may lose your servlet session. Cookies built in https are not visible to http. And using an http cookie in https is a security hole. On Feb 1, 2008 12:45 AM, Dave [EMAIL PROTECTED] wrote: For jsf page (myfaces), some data need to go through SSL such as bank

Re: Upgrading from myfaces 1.6 to 2.2?

2008-02-01 Thread Matthias Wessendorf
Also, we are using Tiles2 now - you would need to upgrade this as well. that is in tomahawk, right ? regards, Martin On 2/1/08, Bjørn T Johansen [EMAIL PROTECTED] wrote: Is there something I need to do to upgrade? I am using Spring, Tiles, and myfaces and when I just switch myfaces

Re: Need Filter that caches resources - a more general Extensions Filter?

2008-02-01 Thread Matthias Wessendorf
Daniel, feel free to add a filter. I'd prefer a bit more complex one, that deals with ETag, if-none-Match, ... as well -M On Feb 1, 2008 3:00 PM, Daniel Niklas [EMAIL PROTECTED] wrote: Hi, Matthias Wessendorf-4 wrote: like almost every body :-) Me too, that is why i'm asking ;-)

ILOG JViews Diagrammer - Trinidad

2008-02-01 Thread Ana Tatavu
Hi, I am trying to use ILOG JViews Diagrammer(8.1) in a Trinidad(1.0.5) environment. The ILOG jsp is embedded into an accordation panel . If the panel is expanded from the start the graph is shown. If the panel is collapsed and after that expanded the graph is not shown anymore. The tomcat

Re: Upgrading from myfaces 1.6 to 2.2?

2008-02-01 Thread Martin Marinschek
Hi Matthias, right - sorry, Tomahawk hasn't been released so far. regards, Martin On 2/1/08, Matthias Wessendorf [EMAIL PROTECTED] wrote: Also, we are using Tiles2 now - you would need to upgrade this as well. that is in tomahawk, right ? regards, Martin On 2/1/08, Bjørn T

Re: Upgrading from myfaces 1.6 to 2.2?

2008-02-01 Thread Bjørn T Johansen
Does that mean I can't upgrade to 2.2 before Tomahawk is released or? And yes, I am using Tomcat 6... BTJ On Fri, 1 Feb 2008 18:37:20 +0100 Martin Marinschek [EMAIL PROTECTED] wrote: Hi Matthias, right - sorry, Tomahawk hasn't been released so far. regards, Martin On 2/1/08,

Re: Upgrading from myfaces 1.6 to 2.2?

2008-02-01 Thread Martin Marinschek
Hi BTJ, for me, tomahawk 1.1.5 works with impl 1.2.2 - that is all I can say right now. regards, Martin On 2/1/08, Bjørn T Johansen [EMAIL PROTECTED] wrote: Does that mean I can't upgrade to 2.2 before Tomahawk is released or? And yes, I am using Tomcat 6... BTJ On Fri, 1 Feb 2008

Re: submitOnEvent callback

2008-02-01 Thread Dave
Hi Martin, I have filed a bug in MyFaces jira. http://issues.apache.org/jira/browse/TOMAHAWK-1187 I also suggest adding a onsubmit=javascript code that can return true/false. Thanks. dave Martin Marinschek [EMAIL PROTECTED] wrote: I have prepared a fix and will commit it,

Re: R: JBoss Portal and encodeNamespace

2008-02-01 Thread Scott O'Bryan
Hey Mike, thanks for following up on this. I was beginning to think 301 missed somthing even though I was sure on the intent of the API. Nice to get some official clairification. On Jan 31, 2008, at 1:36 PM, Michael Freedman [EMAIL PROTECTED] wrote: FYI ... I contacted the JBoss rep in