RE: Design Type Question

2006-06-28 Thread L Frohman
pe if myBackingBean is request scope. The call to sessionScope.myBackingBean does not initialize the myBackingBean, so myBackingBean must already "be there". De : Gregg Bolinger [mailto:[EMAIL PROTECTED] Envoyé : mercredi 28 juin 2006 20:31À : MyFaces DiscussionObjet : Re: Desi

Re: Design Type Question

2006-06-28 Thread Gregg Bolinger
about adding how you did it to the wiki and pass on your know-how as I'm sure others will be facing the same problem :) From: Gregg Bolinger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2006 3:33 PMTo: MyFaces DiscussionSubject: Re: Design Type Question New info.  If I place al

RE: Design Type Question

2006-06-28 Thread Julian Ray
Great. How about adding how you did it to the wiki and pass on your know-how as I'm sure others will be facing the same problem :) From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 3:33 PMTo: MyFaces DiscussionSubject: Re: Design Type Question New info. 

RE: Design Type Question

2006-06-28 Thread Julian Ray
How are you loading the JS and performing the initialization? onload event or appending to the window.onload? From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 3:26 PMTo: MyFaces DiscussionSubject: Re: Design Type Question Alright.  Thanks for the info

Re: Design Type Question

2006-06-28 Thread Gregg Bolinger
but these will get removed then replaced by the JS as it loads. Remember that the page is rendered before its loaded by the browser so the JS will execute after the rendering has been performed. From: Gregg Bolinger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2006 3:05 PMTo: MyFaces

Re: Design Type Question

2006-06-28 Thread Gregg Bolinger
ould reference the selectOne components via ids - you might have to pass dummy select items but these will get removed then replaced by the JS as it loads. Remember that the page is rendered before its loaded by the browser so the JS will execute after the rendering has been performed. From: G

RE: Design Type Question

2006-06-28 Thread Julian Ray
browser so the JS will execute after the rendering has been performed. From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 3:05 PMTo: MyFaces DiscussionSubject: Re: Design Type Question Ok, got it working now. One final question.  If I do this with _javascript_, I am

Re: Design Type Question

2006-06-28 Thread Gregg Bolinger
uot;   From: Gregg Bolinger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2006 2:31 PMTo: MyFaces DiscussionSubject: Re: Design Type Question Doh!  Didn't even think about that.  Thanks. On 6/28/06, Julian Ray <[EMAIL PROTECTED]> wrote: Couldn't you use

RE: Design Type Question

2006-06-28 Thread Julian Ray
You need to set escape="false" on the outputText so the text does not get escaped. From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 2:58 PMTo: MyFaces DiscussionSubject: Re: Design Type Question Scratch that.  I am getting the value. But all t

Re: Design Type Question

2006-06-28 Thread Gregg Bolinger
:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2006 2:31 PMTo: MyFaces DiscussionSubject: Re: Design Type Question Doh!  Didn't even think about that.  Thanks. On 6/28/06, Julian Ray <[EMAIL PROTECTED]> wrote: Couldn't you use a     From: Gregg Bolinger

Re: Design Type Question

2006-06-28 Thread Gregg Bolinger
e to prefix the component ids with "formname:"   From: Gregg Bolinger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2006 2:31 PMTo: MyFaces DiscussionSubject: Re: Design Type Question Doh!  Didn't even think about that.  Thanks. On 6/28/06, Julian Ray <[EMAIL PROTECTED]&

RE: Design Type Question

2006-06-28 Thread Julian Ray
Make sure to use forceId on the select items so the JS can find them otherwise you will have to prefix the component ids with "formname:"   From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 2:31 PMTo: MyFaces DiscussionSubject: Re: Design Type Qu

Re: Design Type Question

2006-06-28 Thread Gregg Bolinger
Doh!  Didn't even think about that.  Thanks.On 6/28/06, Julian Ray <[EMAIL PROTECTED]> wrote: Couldn't you use a     From: Gregg Bolinger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2006 1:38 PMTo: MyFaces DiscussionSubject: Re: Design Type Questi

RE: Design Type Question

2006-06-28 Thread Julian Ray
ednesday, June 28, 2006 11:45 AMTo: MyFaces DiscussionSubject: Re: Design Type Question Julian,Thanks for the suggestions.  How would I go about populating _javascript_ values with data from the backing bean if I were to go with [1]?  Any links with this info?Thanks. On 6/28/06

Re: Design Type Question

2006-06-28 Thread Gregg Bolinger
DiscussionSubject: Re: Design Type Question Julian,Thanks for the suggestions.  How would I go about populating _javascript_ values with data from the backing bean if I were to go with [1]?  Any links with this info?Thanks. On 6/28/06, Julian Ray <[EMAIL PROTECTED]> wrote: Some

RE: Design Type Question

2006-06-28 Thread Julian Ray
Here is an example, I have not tested it but have used similar approaches   http://www._javascript_kit.com/script/script2/multiplecombo.shtml     From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 11:45 AMTo: MyFaces DiscussionSubject: Re: Design Type Question

Re: Design Type Question

2006-06-28 Thread Gregg Bolinger
Julian,Thanks for the suggestions.  How would I go about populating _javascript_ values with data from the backing bean if I were to go with [1]?  Any links with this info?Thanks. On 6/28/06, Julian Ray <[EMAIL PROTECTED]> wrote: Some suggestions   [1] Use client-side population of teh drop d

Re: Design Type Question

2006-06-28 Thread Gregg Bolinger
Option #1 sounds good.  Thanks.GreggOn 6/28/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote: Your backing-bean method is request or session scoped?1) With request-scoped bean, I would set the value binding of your filter components to a different bean property than the one that isused by your "getA

RE: Design Type Question

2006-06-28 Thread Julian Ray
Some suggestions   [1] Use client-side population of teh drop downs [2] Use 2 backing beans, 1 for the drop down and 1 for the articles. Lazily load all getters. Use t:saveState to store the filter bean. [3] Use Ajax From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28,

Re: Design Type Question

2006-06-28 Thread Cosma Colanicchia
Your backing-bean method is request or session scoped? 1) With request-scoped bean, I would set the value binding of your filter components to a different bean property than the one that is used by your "getArticles" method, and create a method "applyFilters" that simply copies the "temporary" fi