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
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
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.
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
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
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
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
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
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
:[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
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]&
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
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
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
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
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
h 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, 2006
10:20 AMTo: MyFaces DiscussionSubject: Design Type
Qu
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
, 2006
10:20 AMTo: MyFaces DiscussionSubject: Design Type
Question
This isn't about MyFaces specifically so I apologize but this list is
the best JSF resource I know of. ;)I have a page that contains a list of
Articles. There are also filter criteria to filter the list of
Articles. The ar
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
This isn't about MyFaces specifically so I apologize but this list is the best JSF resource I know of. ;)I have a page that contains a list of Articles. There are also filter criteria to filter the list of Articles. The article list is a dataTable who's value is a method in the backing bean that
21 matches
Mail list logo