Re: General JSF Question regarding duplicate component ID

2007-09-26 Thread CD
.: all componets which are not created by the framework via jsf tags. And (according to my experience) you should not use createUniqueId() of UIViewRoot. Regards, Volker 2007/9/25, CD [EMAIL PROTECTED]: Hi All, I seem to get a occasional incident in my application where I receive

General JSF Question regarding duplicate component ID

2007-09-25 Thread CD
. Thanks! CD

Generic JSF question

2007-07-19 Thread CD
At what point in the lifecycle is a bean declared as session scoped get stored in the session?

Re: Generic JSF question

2007-07-19 Thread CD
(first time it is accessed) On 7/19/07, CD [EMAIL PROTECTED] wrote: At what point in the lifecycle is a bean declared as session scoped get stored in the session?

Re: Making sure no user input is allowed whilst server is processing...[ajax for jsf]

2007-03-30 Thread CD
One thought... You can use divs with z-index layering to accomplish this task. This will allow you to use a transparent div on top of page (essentially functioning as the glass pane in a Swing application). On 3/30/07, Julien Martin [EMAIL PROTECTED] wrote: Hello all, I am wondering if it

Re: how to include javascript selectively

2007-03-29 Thread CD
. HTH, CD On 3/29/07, Dave [EMAIL PROTECTED] wrote: How to include javascript conditionally in a page? It seems that ExtensionFilter is for this purpose? For example, include javascript when #{bean.value == 1} Thanks for ideas. -- Never miss an email again! Yahoo

Re: redirect question

2007-03-29 Thread CD
with the response.encodeRedirectURL() method. To redirect to an external site outside of the application context, you will need to supply an absolute URL. HTH, CD On 3/29/07, David Delbecq [EMAIL PROTECTED] wrote: This is the way to go. However it will throw an exception is response has already been committed

Re: redirect question

2007-03-29 Thread CD
... 10x On 3/29/07, CD [EMAIL PROTECTED] wrote: Any particular reason you are performing a redirect (I'm assuming you are using this as a command link) rather than just using a standard output link? Regardless of the answer, I am in agreement with David. One suggestion I can make is to be sure

Re: redirect question

2007-03-29 Thread CD
If it is a servlet, redirect like so: response.sendRedirect(response.encodeRedirectURL(/servlet)); On 3/29/07, CD [EMAIL PROTECTED] wrote: On 3/29/07, Sorin Silaghi [EMAIL PROTECTED] wrote: I am using it as a hack for JSCookMenu :D Sadly it didn't work this way ... the thing

Re: t:inputCalendar popup location

2007-01-28 Thread CD
It is defined in the .js files accompanying the distribution. specifically, popcalendar_init.js and popcalendar.js (Not sure about the exact filenames, going from memory here). On 1/27/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am getting this weird behavior where the popup dialog for

Re: Consultant Developers needed for JSF

2007-01-25 Thread CD
You're on my hotlist now ;) On 1/25/07, Mick Knutson [EMAIL PROTECTED] wrote: Sorry, my bad. It looked like it was sent directly to me. And I get heaps of recruiters scraping emails from my Dice account and putting me on their hot list without my permission. On 1/25/07, Jeff Bischoff

Re: [ABOT] Sending pdf file from webserver to browser?

2007-01-17 Thread CD
I believe you also want to make sure to set it as attachment. If I'm not mistaken it defaults to inline which will render the pdf in the browser. On 1/17/07, Bjørn T Johansen [EMAIL PROTECTED] wrote: I am talking about printing to a printer... :) But thanks for the suggestion on how to go

problem with dataTable

2006-09-20 Thread StreetCookie CD Duplication
I am working on an application that uses myfaces, facelets and tomahawk. We have numerous t:dataTable's in our application (that use ArrayDataModel). We use rendered to dictate the display of certain links inside the table rows, which has usually worked fine. All the sudden without changes to

Re: Problem with jsp:include/

2006-09-12 Thread CD
/ /f:subview This approach does work for our needs however, maybe I don't understand what is attempting to be done in this case. I apologize for the lack of good code snippet previously. I will admit that it did look bad and was not explained clearly. Regards, CD On 9/12/06, Jeff Bischoff

Re: Problem with jsp:include/

2006-09-12 Thread CD
Perhaps this is another solution as well (kinda ugly but maybe it will work) h:outputText escape=false value=f:subview id=\#{subviewIDBinding}\jsp:include page=\#{pageIncludeBinding}\/f:subview/ Any thoughts? On 9/12/06, Mike Kienenberger [EMAIL PROTECTED] wrote: On 9/12/06, Jeff Bischoff

Re: how to add dynamic div tag

2006-09-12 Thread CD
One other solution:h:outputText escape=false value=div width=\{yourBean.width}\...h:outputText escape=false value=/div On 9/12/06, Mike Kienenberger [EMAIL PROTECTED] wrote: If you're using facelets or JSF 1.2, I think you can simply use:div style=width:#{yourBean.yourWidthHere}%/divOtherwise, you

Re: Problem with jsp:include/

2006-09-11 Thread CD
subview tags go around the jsp:include in your page i.e.f:subview id=subviewID jsp:include page=f.jsp//f:subviewThen f.jsp just needs to contains the content you would like to render. HTHOn 9/11/06, Jordan Laughlin [EMAIL PROTECTED] wrote: I can confirm I have experienced this problem as

Re: RE: Problem with jsp:include/

2006-09-11 Thread CD
- session scope bean- subview does not fix it.Ursprüngliche NachrichtVon: [EMAIL PROTECTED]Datum: 11.09.2006 12:16An: MyFaces Discussionusers@myfaces.apache.org Betreff: RE: Problem with jsp:include/ I?ve tried that too, but that does not solve the problem? same results From: CD

Re: very simple question regarding h:inputText

2006-08-22 Thread CD
IMHO, it's not duplicating it but rather exposing the data contained in the model in MVC fashion. How else would you display your data from a model in a view without coupling the view and the model together while retaining the purity MVC? On 8/22/06, Iordanov, Borislav (GIC) [EMAIL PROTECTED]

Re: nested datatable

2006-08-04 Thread CD
Greetings, Would you mind explaining your dilemma a bit more clearly? I'm not sure I follow what you mean. Perhaps provide a code sample outlining what you are trying to accomplish and what your results are? On 8/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: HelloI would like to use a a

Re: Re: Re: nested datatable

2006-08-04 Thread CD
Is there some sort of selection mechanism which causes these categories to be dynamically show based on the selection of the assortment or do you have a list of assortments and each assortment in the list has an associated list of categories assigned to it? On 8/4/06, [EMAIL PROTECTED] [EMAIL

Re: can I perform a disable operation on a selectManyListBox

2006-07-26 Thread CD
Bind the rendered attribute to a bean property that provides a boolean value encapsulating your logic for when it should be disabled or enable. HTH, CD On 7/26/06, Chandra Sekhar [EMAIL PROTECTED] wrote: Hi , Can I perform a disable operation on the selectManyListBox by means of _javascript_

Re: Displaying data from a map

2006-07-26 Thread CD
What kind of set are you using? I will assume that you are using a HashSet as I see key/value pairs mentioned. You should probably look closer at the javadoc for HashSet (or whatever set you are using) to ensure that it has appropriate getters/setters for the methods you are trying to invoke (if

Re: question

2006-07-18 Thread CD
Puedo hablarlo un poquito pero tienes que tener paciencia. Que quieres saber?On 7/18/06, wdiaz [EMAIL PROTECTED] wrote:somebody Spanish speech?soy nuevo en esto de tobago, y deseo obtener información para aprender el manejo

Re: deploy MyFaces as portlet into Websphere Portal 5.1

2006-07-18 Thread CD
-1.0.jarportals-bridges-jsf-1.0.jarportals-bridges-portletfilter-1.0.jarLazy to try which jar is depended. My advice to try myfaces inside websphere portal: 1. this mailing list, really helpful! lots of kind ppl here willing to help, special thanks to CD, Ryan Wynn. Can't get any help from websphere

Re: deploy MyFaces as portlet into Websphere Portal 5.1

2006-07-17 Thread CD
Bruce, Have you selected the box in your server config in RAD that allows the portal to pipe it's output to the console? Also, one thing I noticed when attempting to use myfaces with JSR-168 is that a problem occurs due to the faces-config.xml being included in the jar file. On 7/17/06, Matthias

Re: Something Simple

2006-06-21 Thread CD
f:verbatim h2 /f:verbatim af:outputText value=Welcome#{authedUser.firstName}/ f:verbatim /h2 /f:verbatim On 6/21/06, Troy Bull [EMAIL PROTECTED] wrote: Greetings:I have an attribute in a backing bean and I want to display it in a jspinline.I tried to use OutputText and it doesn't seem to work

Re: Something Simple

2006-06-21 Thread CD
I also would recommend the stylesheet approach rather than the h2. In fact, avoiding HTML tags altogether would be in your best interest. On 6/21/06, Clement, James [EMAIL PROTECTED] wrote: af:outputTextstyleClass=my-own-h2-from-my-css value=Welcome#{authedUser.firstName}/ From: CD

Re: Something Simple

2006-06-21 Thread CD
}/ *From:* CD [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]] *Sent:* Wednesday, June 21, 2006 3:10 PM *To:* MyFaces Discussion *Subject:* Re: Something Simple f:verbatim h2 /f:verbatim af:outputText value=Welcome

Re: Something Simple

2006-06-21 Thread CD
}/ *From:* CD [mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED]] *Sent:* Wednesday, June 21, 2006 3:10 PM *To:* MyFaces Discussion *Subject:* Re: Something Simple f:verbatim h2 /f:verbatim af:outputText value=Welcome #{authedUser.firstName

Re: t:inputCalendar popup not displaying on first page

2006-06-15 Thread CD
Jeff, Can you attach the js files you are using as well as the script include snippet from the page? Regards, C. Dillon On 6/15/06, Reid, Jeff (Liquidity Risk Technology) [EMAIL PROTECTED] wrote: I'm using myfaces 1.1.1 and have a t:inputCalendar with renderAsPopup=true on the first page of

Re: t:inputCalendar popup not displaying on first page

2006-06-15 Thread CD
. Is there something I need to add to my search.jsp page in addition to the t:inputCalendar statement above? -Original Message-From: CD [mailto: [EMAIL PROTECTED]] Sent: Thursday, June 15, 2006 9:49 AMTo: MyFaces DiscussionSubject: Re: t:inputCalendar popup not displaying on first page Jeff

Re: Sending a file to ServletContext Response failure

2006-06-12 Thread CD
Johnny, Try setting the header for the response: response.setHeader(Content-disposition, attachment; filename=+filename); Regards, CD On 6/12/06, Johnny Gonzalez [EMAIL PROTECTED] wrote: Hello everybody,I have to send a file to the response for the browserto show a save/open file dialog box

Command Link issue

2006-05-19 Thread CD
I have a peculiar issue. Perhaps one of you might be able to help a poor soul.Scenario: I have a command link on a page which specifies its action handler method in a backing bean. In the action handler method, I perform a redirect to another servlet which composes a file andwrites it's contents

Re: beginner is looking for myfaces source code

2006-05-01 Thread CD
You may download the source from the svn repository. Instructions are at the bottom of this page: http://myfaces.apache.org/download.html On 5/1/06, Julien Martin [EMAIL PROTECTED] wrote: Hello,I am looking for myfaces source code.(impl + tomahawk + examples suchas simple.war).Can anyone help?

Re: beginner is looking for myfaces source code

2006-05-01 Thread CD
You can also find the source download information on the Wiki here : http://wiki.apache.org/myfaces/Building_With_Maven HTH, CD On 5/1/06, CD [EMAIL PROTECTED] wrote: You may download the source from the svn repository. Instructions are at the bottom of this page: http://myfaces.apache.org

Re: Problem wit textfield and commandButton

2006-04-28 Thread CD
Can you post sample code here? On 4/28/06, Hans Sowa [EMAIL PROTECTED] wrote: HiI have following situation. I klick on a textfield, write a text and press enter. What happend is that in Netscape Navigator the event behind the commandButton calls my method. Great. But on Internet Explorer the

Re: Problem wit textfield and commandButton

2006-04-28 Thread CD
/div On 4/28/06, CD [EMAIL PROTECTED] wrote: Can you post sample code here? On 4/28/06, Hans Sowa [EMAIL PROTECTED] wrote: HiI have following situation. I klick on a textfield, write a text and press enter. What happend is that in Netscape Navigator the event behind the commandButton ca

Re: selectListBox

2006-04-26 Thread CD
Hi Sophie, You might also try the readonly attribute as well. On 4/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi!Does somebody know if there is a way to display a list of String withoutselectItems. I do not want the user to select an item of this list, I just want to display it.It does

Re: inputdate popup problem

2006-04-07 Thread CD
Hi Lisaa, Have you ensured that the proper js files (date.js, popcalendar_init.js and popcalendar.js) have been included in your page? Regards, CD On 4/7/06, Lisaa [EMAIL PROTECTED] wrote: Hi.,I added the following codet:inputDate value=#{date} type=datepopupCalendar=true / inorder to use

Re: inputdate popup problem

2006-04-07 Thread CD
Lisaa, Did you include the popcalendar_init.js (included *before* popcalendar.js) on the page? I had a similar problem previously with that being the case but that could have been unique to my situation. popcalendar_init.js sets up some functions/properties that are used by popcalendar.js. Do

Re: Popup calendar javascript - loadPopupScript not defined

2005-12-22 Thread CD
app in debugging mode, attach themyfaces-sources to the jar-file, and debug into ExtensionsFilter? CD - do you have the same issue as Kurt - no resources beingdelivered, or is your head not showing the additional scripts?regards,MartinOn 12/22/05, Martin Marinschek [EMAIL PROTECTED] wrote: Sounds

Re: JSCookMenu and JSCalendar script tag contents commented out

2005-12-22 Thread CD
Louis, I am working in the same environment as you and I am trying to get the popup calendar working as well. Are you developing in RAD and if so, what type of portlet project are you using with MyFaces? Is it JSR168 or IBM portlet standard? On 12/21/05, Louis Burroughs [EMAIL PROTECTED] wrote:

Re: Popup calendar javascript - loadPopupScript not defined

2005-12-22 Thread CD
together ;)regards,MartinOn 12/22/05, CD [EMAIL PROTECTED] wrote: Martin, I am encountering both as the resources and the _javascript_ are not showing up in the head.I had modified my xmls (portlet, faces-config, and web) to represent how I thought they should be configured for MyFaces but I

Re: JSCookMenu and JSCalendar script tag contents commented out

2005-12-22 Thread CD
environment. This would be a bad thing. On 12/22/05, Louis Burroughs [EMAIL PROTECTED] wrote: I am developing using RAD. My portlet uses the JSR168 spec. Louis M. Burroughs III CD [EMAIL PROTECTED] 12/22/2005 01:57 PM Please respond to MyFaces Discussion To:MyFaces Discussion

Re: Popup calendar javascript - loadPopupScript not defined

2005-12-22 Thread CD
as well be your problem. There are several knownissues with the extension-filter and portlets, they boil down to the fact that the two don't work together ;)regards,MartinOn 12/22/05, CD [EMAIL PROTECTED] wrote: Martin, I am encountering both as the resources and the _javascript_ are not showing

Re: Popup calendar javascript - loadPopupScript not defined

2005-12-22 Thread CD
D'oh! Do you know what the timetable is on MyFaces supporting a portal environment? On 12/22/05, Martin Marinschek [EMAIL PROTECTED] wrote: Well, what I remember it wouldn't work as we used the ServletRequestin the filter - and that wasn't available in the portlet environment? But actually, upon

Re: Popup calendar javascript - loadPopupScript not defined

2005-12-22 Thread CD
-name url-pattern/faces/* /url-pattern /filter-mapping filter-mapping filter-nameextensionsFilter /filter-name url-pattern*.jsf /url-pattern /filter-mapping Louis M. Burroughs III CD [EMAIL PROTECTED] 12/22/2005 02:58 PM Please respond to MyFaces

Re: Popup calendar javascript - loadPopupScript not defined

2005-12-22 Thread CD
and added commons-el. Louis M. Burroughs III CD [EMAIL PROTECTED] 12/22/2005 03:17 PM Please respond to MyFaces Discussion To:MyFaces Discussion users@myfaces.apache.org cc: bcc: Subject:Re: Popup calendar _javascript_ - loadPopupScript not defined Louis

Re: Popup calendar javascript - loadPopupScript not defined

2005-12-22 Thread CD
l, you can work around the issues.just add the resources yourself! this is not ideal, but better than nothing. I don't know of any of the MyFaces committers being involved withportals, so I really don't know about a timetable, sorry.regards,Martin On 12/22/05, CD [EMAIL PROTECTED] wrote: D'oh! Do

Popup calendar javascript - loadPopupScript not defined

2005-12-21 Thread CD
I am attempting to use the MyFaces calendar object as a popup (I have a working version of the inline calendar working). However, I am running into _javascript_ errors resulting from loadPopupScript not being defined as well as DateFormatSymbols not being defined. I have put the sample Extensions

Re: Popup calendar javascript - loadPopupScript not defined

2005-12-21 Thread CD
That did not work as was expected since the /faces/* path is used nowhere in my application. Thank you for the suggestion though :) On 12/21/05, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi ! However, I am running into _javascript_ errors resulting from loadPopupScript not being defined as well

Re: Popup calendar javascript - loadPopupScript not defined

2005-12-21 Thread CD
if the othermapping is unnecessary.On 12/21/05, CD [EMAIL PROTECTED] wrote: That did not work as was expected since the /faces/* path is used nowhere in my application.Thank you for the suggestion though :) On 12/21/05, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi ! However, I am running

Re: Popup calendar javascript - loadPopupScript not defined

2005-12-21 Thread CD
Hi Kurt, Are you working in a portal environment perhaps? I don't think that has any bearing on the issue I'm dealing with as you are getting the same problems I am, but it would be comforting to know :) On 12/21/05, Kurt Edegger [EMAIL PROTECTED] wrote: Hi,I posted the same issue couple of weeks