question for filedownload jsp with commandLink and commandButton

2006-05-30 Thread Yasushi Okubo
Hi experts, I have multiple download links [commandLink] /buttons[commandButton] on the same page. I realized that a user needs to click twice to see an open directory window from the second attempt, I do not understand why this is happening. The download page was implemented with jsp

RE: question for filedownload jsp with commandLink and commandButton

2006-05-30 Thread James Richards
I ran into something along these lines recently. In my case, there was a managed bean with a public void changeSpecifiedRole(ValueChangeEvent event) method being called by MyFaces after the first button press which was erroneously [for that version of MyFaces] invoking renderResponse().

Re: question for filedownload jsp with commandLink and commandButton

2006-05-30 Thread Yasushi Okubo
Hi, James Thanks for the info, but I do not see any code fragment for renderResponse inside my code. I am using myface 1.1.1, is this a generic issue on myfaces 1.1.1 ? Thanks, yasushi James Richards wrote: I ran into something along these lines recently. In my case, there was a managed

RE: question for filedownload jsp with commandLink and commandButton

2006-05-30 Thread James Richards
The example I gave was very specific to the application I was working on. Have you tried plugging in the FacesTrace from http://facestrace.sourceforge.net/ onto the view in question? Someone from the list pointed me to it and it helps to follow what's happening. If you plug it into the page

Re: question for filedownload jsp with commandLink and commandButton

2006-05-30 Thread Yasushi Okubo
Thanks James. I will try both. yasushi James Richards wrote: The example I gave was very specific to the application I was working on. Have you tried plugging in the FacesTrace from http://facestrace.sourceforge.net/ onto the view in question? Someone from the list pointed me to it and

Re: question for filedownload jsp with commandLink and commandButton

2006-05-30 Thread Yasushi Okubo
I installed ftrace, but I do not see any errors from output, it only gave a waring message since the page was directed to jsp page. Could you explain to me what you are achieved using AspectJ a little more ? I am not sure what you are trying to do here by just looking at the link:

RE: question for filedownload jsp with commandLink and commandButton

2006-05-30 Thread James Richards
I use AspectJ to build a trace of MyFaces behavior and interaction with the application backing beans. Starting with the lifecycle, I progressively add elements to the trace to drill down into the runtime behavior. It's a tedious debugging approach but is much faster than, for example,

Re: question for filedownload jsp with commandLink and commandButton

2006-05-30 Thread Yasushi Okubo
Thanks James I will investigate this approach further. yasushi James Richards wrote: I use AspectJ to build a trace of MyFaces behavior and interaction with the application backing beans. Starting with the lifecycle, I progressively add elements to the trace to drill down into the runtime