RE: Urgent: Collapsible Panel with data table not working IllegalStateException: Client-id : _id3ToggleCollapsed

2006-01-12 Thread Simon Kitching
Hi Saurabh, You can use subversion to look at the history of the CollapsiblePanel component/tag/renderer classes and see what patches have been applied since the last release. You'll need to figure out which bits are suitable for applying to the 1.1.1 release and which are not. I expect the irian

Re: How can I redirect from a servlet to a JSF page (that is backed by a bean)?

2006-01-12 Thread Simon Kitching
Hi Mike, I've gathered the info posted so far and created this page: http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls Anyone who actually gets this working, please review the wiki page and make any necessary corrections/enhancements! Cheers, Simon Corrections or enhancements O

Re: commandlink/button client-id bug

2006-01-12 Thread Simon Kitching
Hi Hans, You say you are using "current myfaces with Sun RI". What does that mean? You can use *either* the myfaces JSF implementation *or* the Sun RI (Reference Implementation), but not both; they do exactly the same thing. Perhaps you mean you're using myfaces-tomahawk on Sun RI? But I can't se

RE: How to override the MyFaces 1.1.1 taglib listener registration?

2006-01-12 Thread David G. Friedman
I've been playing with Facelets so I'm all ears. Feel free to backchannel me or to move this to the facelets list if you prefer. Regards, David -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Laurie Harper Sent: Thursday, January 12, 2006 10:52 PM To: users@myfaces.apac

Re: How to override the MyFaces 1.1.1 taglib listener registration?

2006-01-12 Thread Laurie Harper
David, I have a solution for this based on subclassing FaceletsViewHandler; the trick is to map the view ID to a view, load the view to create the component tree, but retain the view ID. It's a little tricky -- and can't be done in a way that's portable, so if you're not using Facelets my solut

MYFACES-27 JSCOOKMENU

2006-01-12 Thread Igor Marakov
In the last build that I have ( 12/12 ) JSCookmenu fix to allow component to work within form and submit forms is incomplete. There are still two issues in the code preventing it from operating properly. Below is a description and temporary fixes.   Even though code to find encl

RE: dataScroller

2006-01-12 Thread Tom Butler
Is there an easy way to further control the datascroller functionality – specifically, not display the ‘previous’ or ‘first’ control if on the first page of data (and also not display the ‘next’ or ‘last’ control if on the last page of data)?   From: Miller, John [mailto:[EMAIL PR

RE: dataScroller

2006-01-12 Thread Tom Butler
Is there an easy way to further control the datascroller functionality – specifically, not display the ‘previous’ or ‘first’ control if on the first page of data (and also not display the ‘next’ or ‘last’ control if on the last page of data)?   From: Miller, John [mailto:[EMAIL PR

JSF Chart Creator released in JSF-COMP

2006-01-12 Thread Cagatay Civici
Hi,I have deployed JSF Chart Creator to jsf-comp project in sourceforge. Both the distribution - source files are released and can be downloaded from sourceforge.Also I have written a doc, it will be helpful hopefully, except the layout of course:) You can reach and download the component here;http

Re: commandlink/button client-id bug

2006-01-12 Thread Dennis Byrne
You may want to add your self as a watcher on this one. http://issues.apache.org/jira/browse/MYFACES-1010 Dennis Byrne >-Original Message- >From: Hansjörg Meuschel [mailto:[EMAIL PROTECTED] >Sent: Thursday, January 12, 2006 06:40 PM >To: 'MyFaces Discussion' >Subject: commandlink/button

commandlink/button client-id bug

2006-01-12 Thread Hansjörg Meuschel
Hi guys, the following jsf code: id="savebutton"/> --> all data can be submitted, but commandButton / commandlink components get identical client-ids: theForm:table1:savebutton --> very strange about this - the iteration on the text input is correctly done: [that's why the

Re: how to load string resources from bundle files in backing beans ?

2006-01-12 Thread Cagatay Civici
Hi,I never tried changing the locale on runtime but to make a guess;- Get the supported locales by;getFacesContext().getApplication().getSupportedLocales(); // This returns a locale collection; Find the locale that the user wanted from the locale collection; And the code will look like; String bund

Re: MyFaces + Shale + Facelets

2006-01-12 Thread Alexandre Poitras
The thing I like about JSF managed beans is the clean EL syntax instead of the very verbose xml language (I have nothing against xml files but I do think we abuse its usage). I hope Spring IoC container adopt it one day if it is possible. But using annotations is going to be even better :) Can't wa

RE: selectOneMenu question

2006-01-12 Thread Balaji Kalyansundaram
You can    set the width:120px; in CSS and use it in styleCass OR    set style="width:120px;" for the component.   Balaji -Original Message-From: Yixing Ma [mailto:[EMAIL PROTECTED]Sent: Friday, 13 January 2006 8:28 AMTo: users@myfaces.apache.orgSubject: H:selectOneMenu

H:selectOneMenu question

2006-01-12 Thread Yixing Ma
Quick question,     How to change the width of a drop down list ?   H:selectOneMenu     I want to set a fixed width to the drop down list. It trims off the empty spaces automatically.   Thanks

Re: how to load string resources from bundle files in backing beans ?

2006-01-12 Thread Legolas Woodland
Cagatay Civici wrote: Hi Legolas, You should try this; String bundleName = getFacesContext().getApplication().getMessageBundle(); Locale locale = facesContext.getApplication().getDefaultLocale(); ResourceBundle bundle = ResourceBundle.getBundle (bundleName, locale); String msg = bundle.ge

RE: Urgent: Collapsible Panel with data table not working IllegalStateException: Client-id : _id3ToggleCollapsed

2006-01-12 Thread Saurabh Rasinghaney
Also if you go to this URL http://www.irian.at/myfaces/collapsiblePanel.jsf Looking at the example given here.it looks like it worksand there is some way to make it work Best Regards, Saurabh Raisinghaney -Original Message- From: Saurabh Rasinghaney Sent

RE: Urgent: Collapsible Panel with data table not working IllegalStateException: Client-id : _id3ToggleCollapsed

2006-01-12 Thread Saurabh Rasinghaney
Hi Simon & Martin, I tried using a foreach loop and Collapsible Panel...but now I am facing problem with that too inside foreach loop h:input tags dosen't work - data is not getting populated in input tags - so now I m stuck again, please tell me the patch which I can apply to make collapsible pan

Re: how to load string resources from bundle files in backing beans ?

2006-01-12 Thread Cagatay Civici
Hi Legolas,You should try this;String bundleName = getFacesContext().getApplication().getMessageBundle();Locale locale = facesContext.getApplication().getDefaultLocale();ResourceBundle bundle = ResourceBundle.getBundle (bundleName, locale);String msg = bundle.getString("your key here");regards,Caga

how to load string resources from bundle files in backing beans ?

2006-01-12 Thread Legolas Woodland
Hi Thank you for reading my message. I have a problem , I need to load some of my resource string from String bundle By string bundle i mean the .properties file that we use to make application i18n-ed . Now i need to load some of my key from bundle file in one of my jsf page backing bean. f

RE: How to override the MyFaces 1.1.1 taglib listener registration?

2006-01-12 Thread David G. Friedman
I don't have control over that option with my hosting provider. I just have JSF (MyFaces) to work with to make everything dynamic. I tried creating the new UIViewRoot with the /hostname/whatever path then resetting it back to /whatever before returning it with CreateViewRoot but that didn't wor

Re: JSF Chart Creator and JSF Client Side Validators

2006-01-12 Thread Kurt Edegger
Hi, I'd like to use the chart creator component in one of my JSF applications. I followed the installation steps in the manual[1] and copied the jars to the /lib folder. I followed the example in the manual, but when my jsf page is rendered, I just get a broken image icon and a "NullPointerExc

RE: How to override the MyFaces 1.1.1 taglib listener registration?

2006-01-12 Thread Jesse Alexander \(KBSA 21\)
Why not use an apache webserver with its url-rewriting capabilities? hth Alexander -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 5:55 PM To: MyFaces Discussion Subject: RE: How to override the MyFaces 1.1.1 taglib listener registra

Re: MyFaces + Shale + Facelets

2006-01-12 Thread Marco Mistroni
Hello all,   it seems to me that the Spring-JSF project allows you to scope beans... isn't that so? pls correct me if i m wrong./...   regards  marco  On 1/12/06, Werner Punz <[EMAIL PROTECTED]> wrote: Laurie Harper schrieb:> Spring provides a much more capable IoC solution than Faces alone; I > pr

ExecutingMethodsFromLinkButtonParameters

2006-01-12 Thread Vladimir Coutinho
I tried to follow the instruction to open a detail page from a table. The first time I click the commandlink opens the detail page. But if I click the BACK button of the BROWSER, the table apears, but the links doesn't work more. Master table     preserveDataModel="false"     cellpadding="0" cel

Re: How can I redirect from a servlet to a JSF page (that is backed by a bean)?

2006-01-12 Thread Mike Kienenberger
If nothing else, this question has been asked enough times that someone who's using it or has ideas how to solve it should write up a wiki page on the topic :) On 1/11/06, Volker Weber <[EMAIL PROTECTED]> wrote: > Hi Jeffrey, > > you are in the situation to serve a Non-Faces Request to a Faces > R

Re: NullPointerException of running tabpane

2006-01-12 Thread Bruno Aranda
you have to include the f:view in your code, which is the container of all the JSF components: HTH, Bruno 2006/1/12, wch zll <[EMAIL PROTECTED]>: > Hi, > > I just faced a very simple problem, but i just cant it > figure out. > I make a very simple test.jsp like: > <%@ taglib uri="h

Re: How do I disable autocomplete

2006-01-12 Thread Matthias Wessendorf
> What you can do, is creating a custom renderer for the standard > UIInput component if you change *default* behavior of a standard component, you should also provide a tag, to ensure, that the usage of has no side effects for a user. So something like: is better ;) btw. you don't need to cr

Re: How do I disable autocomplete

2006-01-12 Thread Matthias Wessendorf
That is fixed in jsf 1.2. currently there is no autocomplete attribute in any jsf standard component. What you can do, is creating a custom renderer for the standard UIInput component -Matthias On 1/12/06, Vladimir Coutinho <[EMAIL PROTECTED]> wrote: > How do I disable autocomplete in a form? >

How do I disable autocomplete

2006-01-12 Thread Vladimir Coutinho
How do I disable autocomplete in a form? In html I use autocomplete="off". But jsf did not recognize this propertie.

Rendering Question

2006-01-12 Thread Matias Gomez Carabias
Hi guys, how's going. I have the following question. I have a table with some checkboxes that hold a state and It's correctly updated in the form submit. My problem is that I have to show the first record selected in a new page when a button is pressed. Just to test, y put an output text renderin

RE: How to override the MyFaces 1.1.1 taglib listener registration?

2006-01-12 Thread David G. Friedman
Ronald, I want to virtual host so the path /hello maps internally to /hostname/hello. I'm trying to do some sort of internal redirect WITHOUT having to put dummy/stub files in the main /WEBAPP folder which would then include the relevant virtual host file(s). So, this kind of cancels out Facel

Re: MyFaces + Shale + Facelets

2006-01-12 Thread Werner Punz
Laurie Harper schrieb: > Spring provides a much more capable IoC solution than Faces alone; I > prefer to use it for everything I can, to get things like automatic > dependency injection. I'd use it to manage all my beans, but it doesn't > have support for scoping beans (i.e. request/session/appli

Re: Welcome!

2006-01-12 Thread Matthias Wessendorf
Karma seams to be granted (http://people.apache.org/~jim/committers.html) Also for Arvid et. al. but because of "gentlement agreements" they don't commit to myfaces ;) On 1/12/06, Manfred Geiler <[EMAIL PROTECTED]> wrote: > Welcome Bernd and Volker, > As a first thing, could you please add yours

Re: MyFaces + Shale + Facelets

2006-01-12 Thread Laurie Harper
Gary VanMatre wrote: From: Julián García <[EMAIL PROTECTED]> Hi, I am using Hibernate + Spring + Myfaces. It's been working but I think that I am writing a LOT of code in the view layer. I have a small custom validation framework of my own, and my own init mechanisms in my beans. I use tile

RE: abt tree2 collapse other node, just open select one

2006-01-12 Thread Saurabh Rasinghaney
I faced the similar problem, You can use these: http://myfaces.apache.org/tomahawk/tree2.html http://wiki.apache.org/myfaces/Tree2?highlight=%28tree2%29 http://myfaces.apache.org/javadoc/tomahawk/org/apache/myfaces/custom/tre e2/package-summary.html Hope this helps, Best Regards, __

Re: Welcome!

2006-01-12 Thread Manfred Geiler
Welcome Bernd and Volker, As a first thing, could you please add yourself to the contributors list to check karma? Thanks, Manfred 2006/1/11, Martin Marinschek <[EMAIL PROTECTED]>: > Bernd, Volker, > > the MyFaces PMC has decided (due to your continuing help in making > Apache MyFaces the best JS

RE: dataScroller

2006-01-12 Thread Miller, John
DataScroller by default will not render if there is only one page of data, however the facets will, you can turn this off by simply adding the following attribute to your datascroller   renderFacetsIfSinglePage="false"     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: T

Re: MyFaces + Shale + Facelets

2006-01-12 Thread Alexandre Poitras
Yeah or use the Spring-JSF integration libraries to combines the IoC container together. On 1/11/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > >From: Julián García <[EMAIL PROTECTED]> > > > > > Hi, > > > > I am using Hibernate + Spring + Myfaces. It's been working but I think > > that I am writ

Cannot disable h:commandButton in IE

2006-01-12 Thread Nikita Shah
 HiAs everyone on post mentions about the jenia4faces popups , I have used that and its working gr8 for me. Thanks to all for that.But I have a problem of disabling a button in certain cases, so dat it shldnt be clickable and therefore should not allow popup to open. There is a property c

Cannot disable h:commandButton in IE

2006-01-12 Thread Nikita Shah
Hi As everyone on post mentions about the jenia4faces popups , I have used that and its working gr8 for me. Thanks to all for that.But I have a problem of disabling a button in certain cases, so dat it shldnt be clickable and therefore should not allow popup to open. There is a property c

AW: dataScroller

2006-01-12 Thread andreas.mitter
Another possible is that you set the rendered attribute of the datascroller  to false or true at the point where you get your list for the datatable in the backing bean. e.g something like that in your backing bean:   rowList is the result you will display on the datatable. In my example a d

dataScroller

2006-01-12 Thread Vladimir Coutinho
I'm trying to render a dataScroller only when the number of rows of the table are greater than rows exibited on a page. I tried this :  rendered="#{((rowsCount>displayedRowsCountVar) ? true : false)}" , but the dataScroller is not displayed, despite the number of rows. ... <%@ tagli

Re: How to override the MyFaces 1.1.1 taglib listener registration?

2006-01-12 Thread R. Müller
Hi David, why you want to override - define your own in the web.xml ! myServletContextListener You have to implement the 'javax.servlet.ServletContextListener' - Interface with the following two methods : public void contextInitialized(ServletContextEvent e); public void contextDestroyed(S

NullPointerException of running tabpane

2006-01-12 Thread wch zll
Hi, I just faced a very simple problem, but i just cant it figure out. I make a very simple test.jsp like: <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>

PanelNavigation2 and workaround and serialization

2006-01-12 Thread Carsten Stiller
Hi, I'm trying to solve the problem with PanelNavigation2 and redirects (the active elements can't be saved when using redirects so the menutree doesn't stay open after invoking one action.) I put a bean called menu into the weblayer where I can save the current HtmlNavigationMenu-item. Pret

abt tree2 collapse other node, just open select one

2006-01-12 Thread wch zll
Hi, I am wondering how to configure the tree2 has behavior as Click to expand a node, but collapse the other opened node. And where to get more doc about using tree tags, as in the -->> , the usage of the varNodeToggler="t", "t". Like from the sample jsp, i saw t.nodeExpanded, t.nodeSelected, but