Refreshing when downloading

2006-03-24 Thread Emmanuel Jay
Hi all,Is there any way at all to refresh a page when downloading a file. The problem I have is that in our app downloading a file changes the state of the interface, and because the save as window pops up the page is not refreshed and the interface is left in an incoherent state. Thanks for any

Re: SelectItem style

2006-03-22 Thread Emmanuel Jay
: Emmanuel Jay [mailto: [EMAIL PROTECTED]] Gesendet: Dienstag, 21. März 2006 14:17An: MyFaces DiscussionBetreff: Re: SelectItem style hmmh ok, I guess the way is to create a custom renderer for it then.For your problem you can use a valueChangeListener for server side or the tomahawk

SelectItem style

2006-03-21 Thread Emmanuel Jay
Hi all,Isn't there any way to set the style of a selectItem?Thanks,Emmanuel

Re: SelectItem style

2006-03-21 Thread Emmanuel Jay
)34124495-0 office | +49(0)34124495-25 fax | www.tomtomwork.com Von: Emmanuel Jay [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. März 2006 11:25An: MyFaces DiscussionBetreff: SelectItem style Hi all,Isn't there any way to set the style of a selectItem?Thanks,Emmanuel

AjaxAnywhere and DataScroller

2006-03-01 Thread Emmanuel Jay
Hi, I am having problems ajax-ifying the MyFaces dataScroller with AA. I basically get a JSerror of the type:'document.forms.mainForm.elements.mainForm:ds_9898989' is null or not an object. where ds_9898989 is the id of the dataScroller (links). Using AA the links don't seems to be rendered if

AjaxAnywhere and DataScroller

2006-03-01 Thread Emmanuel Jay
Hi, I am having problems ajax-ifying the MyFaces dataScroller with AA. I basically get a JSerror of the type:'document.forms.mainForm.elements.mainForm:ds_9898989' is null or not an object. where ds_9898989 is the id of the dataScroller (links). Using AA the links don't seems to be rendered

Re: Ajaxanywhere

2006-02-21 Thread Emmanuel Jay
Hi Enrique,If you want you button or link action not to go through AA you have to return null for those in getZonesToReload.Hope that helps,EmmanuelOn 2/21/06, Enrique Medina [EMAIL PROTECTED] wrote: Hi,Has anyone successfully used Ajaxanywhere inside a JSF page with a piece of the page being

Re: Ajaxanywhere

2006-02-21 Thread Emmanuel Jay
a NullPointerException. What should be the reason why returning NULL should work?2006/2/21, Emmanuel Jay [EMAIL PROTECTED]:Hi Enrique, If you want you button or link action not to go through AA you have to return null for those in getZonesToReload. Hope that helps,EmmanuelOn 2/21/06, Enrique Medina [EMAIL

Re: Ajaxanywhere

2006-02-21 Thread Emmanuel Jay
whether it's an ajaxed request or not? Thanks very much for your support.2006/2/21, Emmanuel Jay [EMAIL PROTECTED]: I think the AA filter is totally by passed if the list of zones to reload is null (getZonesToReload returns null). In our app we mostly have links and returning null works fine. On 2/21

Re: Ajaxanywhere

2006-02-21 Thread Emmanuel Jay
save state ofa variable, it does'nt update his value.Variable's value is always the first. Any idea ?Thanks.EnricoOn 2/21/06, Emmanuel Jay [EMAIL PROTECTED] wrote: Yes our app has ajaxed and non ajaxed part. For example some parts can't be ajaxed at all, such as the part using the fileUpload

Re: ajax

2006-02-03 Thread Emmanuel Jay
AjaxAnywhere is at http://ajaxanywhere.sourceforge.net Emmanuel On 2/3/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: http://java.sun.com/blueprints/ajax.htmlMyFaces' Sandbox also contains ajax components -MatthiasOn 2/3/06, Dave [EMAIL PROTECTED] wrote: I ggled, but did not find good links

Re: PermGen Space problem???

2006-01-25 Thread Emmanuel Jay
We are using JBoss on windows, and we have been getting this for a long time. As far as we have seen it is due to multiple hotdeploy, and has not happened during our testing phase where the app is only deployed once... Emmanuel On 1/25/06, Frank Felix Debatin [EMAIL PROTECTED] wrote: For more

Re: inputSuggestAjax and Rico Problem

2006-01-24 Thread Emmanuel Jay
Thanks for your replies. I had some double imports and i removed them but that didn't seem to fix the problem. Rico should now be using the Prototype from inputSuggestAjax, but i still geta js error: Rico.Effect is null or not an object or Rico.Effect.AcordionSizeis null or not an object (this

inputSuggestAjax and Rico Problem

2006-01-23 Thread Emmanuel Jay
Hi all,I have seen some post going around about problems with inputSuggestAjax and Prototype (MYFaces-871 issue...).We have our own implementation of an accordeon panel which uses Rico (with Prototype 1.4.0 ). This works fine until we try to use the inputSuggestAjax. When doing that the accordeon

inputSuggestAjax and Rico Problem

2006-01-23 Thread Emmanuel Jay
Hi all, I have seen some post going around about problems with inputSuggestAjax and Prototype (MYFaces-871 issue...). We have our own implementation of an accordeon panel which uses Rico (with Prototype 1.4.0). This works fine until we try to use the inputSuggestAjax. When doing that the

Re: dataScroller total page number (large data set)

2006-01-18 Thread Emmanuel Jay
, Emmanuel Jay [EMAIL PROTECTED] wrote: Hi all,We are trying the use the dataScroller for a large data set (I have read the threads about that). Our business logic is all there but we can't figure out how to set the total number of pages on the dataScroller without loading the whole model. Basically we

Re: dataScroller total page number (large data set)

2006-01-18 Thread Emmanuel Jay
How do you make the dataScroller think it has all the data ready?Thanks,EmmanuelOn 1/18/06, Bruno Aranda [EMAIL PROTECTED] wrote:You can also check this entry [1] in the wiki. It might help! Regards,Bruno[1] http://wiki.apache.org/myfaces/WorkingWithLargeTables2006/1/18, Emmanuel Jay [EMAIL

Re: dataScroller total page number (large data set)

2006-01-18 Thread Emmanuel Jay
and in the public int getRowCount()execute a sql to count(*) all the data.Regards,Bruno2006/1/18, Emmanuel Jay [EMAIL PROTECTED]: How do you make the dataScroller think it has all the data ready? Thanks, Emmanuel On 1/18/06, Bruno Aranda [EMAIL PROTECTED] wrote: You can also check this entry [1

Re: dataScroller total page number (large data set)

2006-01-18 Thread Emmanuel Jay
Ok found it, overriding isRowAvailable and getRowData does the job...On 1/18/06, Emmanuel Jay [EMAIL PROTECTED] wrote:I have another question:Using a DataModel how can I just show the data the user sees (I know how to load it, this is not a problem), i.e. if I am on page 2 of the dataScroller

dataScroller total page number (large data set)

2006-01-17 Thread Emmanuel Jay
Hi all,We are trying the use the dataScroller for a large data set (I have read the threads about that). Our business logic is all there but we can't figure out how to set the total number of pages on the dataScroller without loading the whole model. Basically we just want to specify on the

Re: Tree2 : Is it possible to remove the selected node dynamically?

2005-11-27 Thread Emmanuel Jay
At the moment I don't believe there is any easy way to do that other than subclassing TreeNodeBase and storing the parent in it when you generate the model. This is the way we do it. That way you have access to the parent node from the selected node a+ Emmanuel On 11/25/05, rahmoune patrick

Re: Antwort: Re: URGENT! HELP ME! Tree2 state problem

2005-10-04 Thread Emmanuel Jay
. Regards, Bruno 2005/9/18, Emmanuel Jay [EMAIL PROTECTED]:ok, but in any case do you know if the patch will make it into the nightlybuild next week? Thanks, Emmanuel On 9/17/05, Sean Schofield [EMAIL PROTECTED] wrote: You can always build the jars yourself using

Re: Rif: jboss problem

2005-09-29 Thread Emmanuel Jay
We are using JBoss 4.0.2 and having no problem with JSF. We have even recently tried some Jenia4Faces component and all works fine... For the login we use a standard html page together with j_security_check and that works fine... Regards, EmmanuelOn 9/29/05, Bruno Aranda [EMAIL PROTECTED] wrote:

Error Handling

2005-09-27 Thread Emmanuel Jay
Hi, I keep having the following exception after I adding error handling pages in my web.xml (for example for a 404 error). I have not found any good answer to this problem so far so I was wondering if any of you has seen that before and managed to fix it... Cheers, Emmanuel

Re: URGENT! HELP ME! Tree2 state problem

2005-09-23 Thread Emmanuel Jay
seems ok but I am not familiar with tree2. Regards,Bruno2005/9/18, Emmanuel Jay [EMAIL PROTECTED]: ok, but in any case do you know if the patch will make it into the nightly build next week? Thanks,EmmanuelOn 9/17/05, Sean Schofield [EMAIL PROTECTED] wrote: You can always build the jars yourself

Highlighting a specifc row in a datatable

2005-09-19 Thread Emmanuel Jay
Hi, Is it possible to highlight a specifc row in a datatable? I have tried the following but it doesn't work dataTable.setValueBinding(rowClasses, createValueBinding(#{(myvar.highlight) ? 'style1' : 'style2'})); Thanks, Emmanuel

Re: URGENT! HELP ME! Tree2 state problem

2005-09-18 Thread Emmanuel Jay
on the MyFaces 1.1 release on Monday.seanOn 9/17/05, Emmanuel Jay [EMAIL PROTECTED] wrote: Hi,I have the same problem as my app involves changing the tree2 all the time, modifying node, changing the root... I really hope the patch will make it in the build soon!CheersEmmanuel On 9/16/05, Enrico Nicola Mirco

Re: URGENT! HELP ME! Tree2 state problem

2005-09-17 Thread Emmanuel Jay
Hi, I have the same problem as my app involves changing the tree2 all the time, modifying node, changing the root... I really hope the patch will make it in the build soon! Cheers EmmanuelOn 9/16/05, Enrico Nicola Mirco [EMAIL PROTECTED] wrote: Hi, Thank you very much for your answer. I hope

JSF and j_security_check

2005-09-01 Thread Emmanuel Jay
Hi, I am looking at form based authentication with JSF and have seen a post on the SDN forum (http://forum.java.sun.com/thread.jspa?threadID=579873messageID=2929577) saying that this was not possible. Is anyone trying to do the same? and is the only to achieve form based authentication to

Re: tree2 binding

2005-08-29 Thread Emmanuel Jay
To identify which node was pressed add an actionListener (that implements javax.faces.event.ActionListener) to your commandLink (in your jsp). In the actionListener you can then retrieve the commandLink selected: HtmlCommandLink link = (HtmlCommandLink)event.getComponent(); Then if you do:

createUniqueIds problems

2005-08-29 Thread Emmanuel Jay
Hi, I keep having problems with createUniqueId. Basically most of the UI in my app is dynamically generated, and I am trying to understand why createUniqueId keeps producing ClassCastException in VerbatimTag.doAfterBody... If I dont call createUniqueId and use automatic ids I do not have problems

Re: createUniqueIds problems

2005-08-29 Thread Emmanuel Jay
that might fix this. seanOn 8/29/05, Emmanuel Jay [EMAIL PROTECTED] wrote: Hi,I keep having problems with createUniqueId. Basically most of the UI in my app is dynamically generated, and I am trying to understand why createUniqueId keeps producing ClassCastException in VerbatimTag.doAfterBody... If I dont

Re: Tree2 and actionListeners

2005-08-26 Thread Emmanuel Jay
Not sure if this is a tree2 specific problem, I can just see that for some reason the behaviour seems to have changed in my app when I switch to 20050822. Yes the actionListener is called in the APPLY_REQUEST_VALUES(2) phase, and the repopulation is done before that (which means that when I click

Re: Tree2 and actionListeners

2005-08-26 Thread Emmanuel Jay
mean by the repopulation is done before that?Thecomponent tree will be recreated and the tree data can be set but it should still be possible to add to the tree data before rendering.seanOn 8/26/05, Emmanuel Jay [EMAIL PROTECTED] wrote: Not sure if this is a tree2 specific problem, I can just see

rowOn... scripts not fired when creating datatable programmatically

2005-08-26 Thread Emmanuel Jay
Hi, Have any of you seen any issue with setting the rowOnMouseOver, rowOnMouseOut... fields of a datatable programmatically. I am dynamically generating datatables, and the scripts do not seem to be triggered (they were triggered correctly when I was declaring and creating the datatable in the

Opening a new window

2005-08-26 Thread Emmanuel Jay
Hi, I would like to know if there are any solution to open a new (sub) window with MyFaces. I have a button on my main page and on user clicc I would like to open a new window and display some data in it. Are there any other solutions than using _javascript_? Can the JSF navigation system handle

Re: Opening a new window

2005-08-26 Thread Emmanuel Jay
as in the popup example. On 8/26/05, Dennis Byrne [EMAIL PROTECTED] wrote: This one might help.http://myfaces.apache.org/tlddoc/tomahawk/t/popup.html Original message Date: Fri, 26 Aug 2005 17:53:04 +0200 From: Emmanuel Jay [EMAIL PROTECTED]Subject: Opening a new windowTo: MyFaces Discussion users

Re: Opening a new window

2005-08-26 Thread Emmanuel Jay
) Sent: Friday, August 26, 2005 11:43 AMTo: 'MyFaces Discussion'Subject: RE: Opening a new window See the book Core JavaServer Faces (Geary, Horstman), pp. 587 - 595 (in the section: How do I generate a popup window). - Brendan -Original Message-From: Emmanuel Jay

Tree2 and actionListeners

2005-08-23 Thread Emmanuel Jay
Hi, Just got the 20050822 build and I have problems with my app (I did not have this problem with the 20050802 build). The problem is as follows. I have a tree2 where each item is a commandLink (with immediate set to true) with an actionListener. A click on a tree item should trigger the

Weird Validator problem

2005-08-05 Thread Emmanuel Jay
Hi, I am having a very odd validator problem (I do think that there is nothing out of the usual in what I am doing do at the moment I still think it is a problem in my code but I can't understand why I have this problem). Baiscally I am programmatically adding 2 validators to an HtmlInputText:

Re: Dynamic image generation

2005-08-04 Thread Emmanuel Jay
project... Regards, Bruno PS we still need more svg browser support... 2005/8/3, Emmanuel Jay [EMAIL PROTECTED]: Hi all, Are there any plans at all for providing support for SVG or any other technology enabling the dynamic generation of 2d images? Thanks, Emmanuel Jay

Re: Dynamic image generation

2005-08-04 Thread Emmanuel Jay
,Bruno2005/8/4, Emmanuel Jay [EMAIL PROTECTED]: Yes more SVG browser support is definitely needed...I am interrested in having something like the SVG Generator in Batik that would provide a very easy way to generate 2d rasters on the fly. In that respect I might even be able to use the SVG generator

Dynamic image generation

2005-08-03 Thread Emmanuel Jay
Hi all, Are there any plans at all for providing support for SVG or any other technology enabling the dynamic generation of 2d images? Thanks, Emmanuel Jay

Re: MyFaces CVS down?

2005-08-01 Thread Emmanuel Jay
] wrote: yes, downtime...sorry for that. regards, Martin On 7/29/05, Emmanuel Jay [EMAIL PROTECTED] wrote: Hi all, Just trying to get yesterday's nightly build but no success Is the CVS down? Emmanuel

Re: Catching the Tree2 Collapse/Expand Event

2005-07-29 Thread Emmanuel Jay
being down.seanOn 7/25/05, Emmanuel Jay [EMAIL PROTECTED] wrote: Hi,I have seen a few posts about that subject but this does not work for me. The solutions seemed to be to use the actionListener of the commandLink, but I have been using it for a while now to process event on the commandLink

Re: Problem with loading Tree2 resource (20050725 build)

2005-07-29 Thread Emmanuel Jay
a bit weird, especially if you have connecting lines ...seanOn 7/29/05, Emmanuel Jay [EMAIL PROTECTED] wrote: By the way do you know if it is possible to hide the + image when a node doesn't have any children. At the moement it seems that it is always there... On 7/29/05, Emmanuel Jay [EMAIL

Re: Problem with loading Tree2 resource (20050725 build)

2005-07-29 Thread Emmanuel Jay
Hi Sean, Sorry been busy on other things. Coul dyou tell me if this issue has been resolved or is scheduled to be resolved? I have reverted to an older build at the moment. EmmanuelOn 7/26/05, Sean Schofield [EMAIL PROTECTED] wrote: I accidentally responded to the dev list (instead of user

Re: Problem with loading Tree2 resource (20050725 build)

2005-07-29 Thread Emmanuel Jay
I have changed my code to reflect the fact that isLeaf now returns the correct value but it still doesn't work. I now get an Invalid bit mask of 6 error. I will get yesterdays nightly build and see if that changes anything... EmmanuelOn 7/29/05, Christian Froelich [EMAIL PROTECTED] wrote: Hi

MyFaces CVS down?

2005-07-29 Thread Emmanuel Jay
Hi all, Just trying to get yesterday's nightly build but no success Is the CVS down? Emmanuel

Problem with loading Tree2 resource (20050725 build)

2005-07-26 Thread Emmanuel Jay
Hi, I have just updated to yesterdays (20050725) nightly build (from 1.0.9) and I get the following error on tree2. My extension filter settings haven't changed so I don't really understand why I get that all the sudden... It is a little weird as some of the resource images used by the script

Re: Problem with loading Tree2 resource (20050725 build)

2005-07-26 Thread Emmanuel Jay
) ... 25 more On 7/26/05, Sean Schofield [EMAIL PROTECTED] wrote: Have you tried the tree2 examples in the simple webap?I'm assumingthey are working but maybe you should double check those to make surethey still work.seanOn 7/26/05, Emmanuel Jay [EMAIL PROTECTED] wrote: Hi,I have just updated

Re: COMPONENT_TYPE seems to be wrong

2005-07-25 Thread Emmanuel Jay
the component.seanOn 7/25/05, Emmanuel Jay [EMAIL PROTECTED] wrote: Hi,I have noticed that the COMPONENT_TYPE in all javax.faces.component.html.* components are of the form javax.faces.class_name rather than javax.faces.component.html.class_nameIs that normal?I would expect them to be of the later form