DWR and ADF Faces

2006-10-05 Thread Anthony Yulo
Has anyone tried to integrate DWR with ADF Faces? *The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action

Re: DWR and ADF Faces

2006-10-05 Thread Simon Lessard
I did not try it, but I don't see any reason why it would not work though, as long as you don't need a FacesContext instance in your DWR method. If you do, it might get hellish. Regards, ~ Simon On 10/5/06, Anthony Yulo [EMAIL PROTECTED] wrote: Has anyone tried to integrate DWR with ADF

RE: DWR and ADF Faces

2006-10-05 Thread Anthony Yulo
Actually what I want is to launch a dialog when the onfocus() event fires. I am getting the FacesContext Instance on the method that is called by the javascript so that will pose a problem? af:inputText ... onfocus=FocusFunction() / ... ... ... // function FocusFunction() {

Re: DWR and ADF Faces

2006-10-05 Thread Matthias Wessendorf
Try a filter that hooks up the FacesContext like the faces_servlet. look at MyFAces' FacesServlet (init(), service (would be the doFilter()) and destroy()) and put it (your filter) in front of DWR. feedback welcome :) -M On 10/5/06, Simon Lessard [EMAIL PROTECTED] wrote: Yeah, that won't

RE: DWR and ADF Faces

2006-10-05 Thread Anthony Yulo
How do I put in front of the DWR servlet? :D Do I just set it on the web.xml file. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Thursday, October 05, 2006 10:23 PM To: adffaces-dev@incubator.apache.org Subject: Re: DWR and

Re: DWR and ADF Faces

2006-10-05 Thread Matthias Wessendorf
filter-mapping filter-namemyHackFilter/filter-name servlet-namefaces/servlet-name /filter-mapping this assumes, that your filter is named myHackFilter and the JSF servlet faces On 10/5/06, Anthony Yulo [EMAIL PROTECTED] wrote: How do I put in front of the DWR servlet? :D Do I just

Re: DWR and ADF Faces

2006-10-05 Thread Matthias Wessendorf
I think we can't say that. We just haven't used it. But you see from our mails that there maybe some issues... On the other hand, I read a success message about JSF and DWR on the myfaces list in the past... On 10/5/06, Anthony Yulo [EMAIL PROTECTED] wrote: Im planning to do this on a

Re: DWR and ADF Faces

2006-10-05 Thread Simon Lessard
If it works, the result will be consistent in any environment. What I'm unsure about is the feasibility in a short time in an easy way. Let me enumerate the technical difficulties I see, maybe they willappear trivial to you: 1. Get a FacesContext instance. Fix: Change DWRServlet code a bit to

RE: DWR and ADF Faces

2006-10-05 Thread Anthony Yulo
Alright. Thanks guys. I'll try to do your suggestions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Thursday, October 05, 2006 10:54 PM To: adffaces-dev@incubator.apache.org Subject: Re: DWR and ADF Faces I think we can't

Re: DWR and ADF Faces

2006-10-05 Thread Simon Lessard
On a side note, I didn't check at all if it's doable, but you could check how a commandButton opening a dialog looks like (the javascript enerated mainly) and add that code to your onmouseover event. That way you would use the PPR framework instead of DWR, and if it works, all technical

Re: DWR and ADF Faces

2006-10-05 Thread Matthias Wessendorf
regarding 1) I wouldn't change the DWRServlet, hard to maintain... just create your own filter that does the same like the FacesServlet. 4,5) yeah can be tricky :) Good luck ;) On 10/5/06, Simon Lessard [EMAIL PROTECTED] wrote: If it works, the result will be consistent in any environment.

Re: svn commit: r451772 [1/8] - in /incubator/adffaces/trunk/trinidad: src/site/xdoc/ trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/ trinidad-impl/src/main/jav

2006-10-05 Thread Jeanne Waldman
I might be assuming something that is not correct, so let me ask, in the case of the train, what part is delegating to the navigationItem renderer? I'm assuming the af|train::link part. So, regardless of the skinning syntax (af|train::stop::link or af|train::stop af|train::link) you would map

Re: svn commit: r451772 [1/8] - in /incubator/adffaces/trunk/trinidad: src/site/xdoc/ trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/desktop/ trinidad-impl/src/main/jav

2006-10-05 Thread Simon Lessard
Oh, I see. Yeah, if the CSS generator break it that way, it would work. However, that kind of behavior would have to be well documented to allow developers to create new components because they would have no way to guess that af|train::link (for example) is valid to use in the renderer code.

[Proposal] enable indentation when panelHeaders are nested on PDA

2006-10-05 Thread Piyush Hari
Hello, A nested panelHeader (panelHeader within a panelHeader) is indented by 5 px spaces on a desktop. However, on a PDA it is not. I propose to fix this disparity by indenting a nested panelHeader. I will go ahead and create a JIRA for this. Take Care, Piyush Hari

[Proposal] display Error Message Icon on a PDA

2006-10-05 Thread Piyush Hari
Hello, When a validation error occurs on an input field, for ex : 'value not entered' when 'required' attribute is set to 'true' on an inputText, messages are rendered alongwith a Icon that is specific to the type of message (For ex : one icon for ERROR, one icon for INFORMATION). This appears