What am I doing wrong with DEFAULT_SUFFIX?

2005-10-13 Thread Boris Kovalenko
Hello! I want my pages to be .xhtml extension instead of standard jsp. So in my web.xml I use javax.faces.DEFAULT_SUFFIX .xhtml And nothing happened. Files not going through MyFaces precompiler and I getting them as is. Where am I wrong? Or may be this is a bug? MyF

Re: Bewildered by JSCookMenu

2005-10-13 Thread Simon Kitching
James Reynolds wrote: Thanks Simon, I had overlooked the Extensions Filter page on the site. Having read it, I've a much better understanding about what it's doing. However, when I add the necessary parts to my Web.xml, my app breaks. I've watched the FINE logging entries go by in my console w

Re: Cookmenu Problem

2005-10-13 Thread Simon Kitching
The only issues I'm aware of with the latest version of the jscookMenu JSF tag are to do with defining custom themes. If you're not using a custom theme then the latest code is fine AFAIK. I'm using a custom theme, so am staying with myfaces-1.1.0 release at the moment, which works fine for me

RE: Bewildered by JSCookMenu

2005-10-13 Thread James Reynolds
Thanks Simon, I had overlooked the Extensions Filter page on the site. Having read it, I've a much better understanding about what it's doing. However, when I add the necessary parts to my Web.xml, my app breaks. I've watched the FINE logging entries go by in my console when I start the app. It

RE: Cookmenu Problem

2005-10-13 Thread James Reynolds
Oh! Maybe I'm not an idiot after all and this is the reason I can't get it to work. Although, I have to wonder, why does it work properly in the example war? At any rate, do you happen to know the build number of the last known working candidate? Thanks! -Original Message- From: Gri

RE: dataTable error message - Validation Error "_id49": Value is not a valid option.

2005-10-13 Thread CONNER, BRENDAN \(SBCSI\)
Title: Message For dataTables, I believe it takes the column heading, if provided.  I'm not sure whether it can get more specific than that.   What I'd like to see is an option to use the component's title as the name of the field in the message.  That's because I usually have a colon at the

Re: dataTable error message - Validation Error "_id49": Value is not a valid option.

2005-10-13 Thread Dave
I tried outputLabel, but it still did not work.      var="student"    value="#{bean.students}">                   All the validation error messages are using the same id "score".  when I tried to use student name as id,      var="student"

JSF tree

2005-10-13 Thread speriyas
I am able to create a output text component dynamically inside value change event. BUt, its not getting rendered. Why. Help ...

JSF Tree

2005-10-13 Thread speriyas
Hi, Are u working on tree or tree2. Thanks, suba.

JSCookMenu and nighly build

2005-10-13 Thread rahmoune patrick
Hi,   I finally get something that works with an external theme. I'm using the last svn with:     theme="ThemeIE"  imageLocation="menu/ThemeIE/"  styleLocation="menu/ThemeIE/"  _javascript_Location="menu/ThemeIE/">    

RE: Portlet Modes

2005-10-13 Thread Stan Silvert
You are correct Dave. That's why we did it. It's sort of hackey, but it works very well. Stan Silvert JBoss, Inc. [EMAIL PROTECTED] callto://stansilvert > -Original Message- > From: Dave Brondsema [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 06, 2005 8:42 AM > To: MyFaces Discuss

RE: Problem with outputText in portlets

2005-10-13 Thread Stan Silvert
Very strange.  I can’t imagine that the portlet stuff would have anything to do with it.  It is possible that the component code has some sort of “if portal do this”, but I really doubt it.   Maybe the portal is changing the html?  Just a shot in the dark.   Stan Silvert JBoss, Inc.

Re: [tobago] Documentation or HowTo for using tobago

2005-10-13 Thread Stefan Hedtfeld
OK ;-) I finally came to your mini howto with the following link: http://tobago.atanion.net/tobago-example-demo/faces/mini-howto/intro.jsp. That's excellent! Regards, Stefan. Stefan Hedtfeld schrieb: Hi, is there some documentation available on how to start with tobago? Generating the s

Re: Cookmenu Problem

2005-10-13 Thread Grigoras Cristinel
[EMAIL PROTECTED] wrote: >I have a weird problem, i took the nightly build of the 12 october and my >jsCookMenu doesn't work anymore (does not appear anymore cannot find cmDraw), >is there anything I need to change. My previous build was one from late >September. Do I need to remove some config

Hiding Exceptions

2005-10-13 Thread Travis Reeder
I am finding this time and time again that I can't find my RuntimeException's because they are being hidden and I just get the following type of message in the browser and nothings comes up in the console.  I find myself wrapping my action methods in a try/catch clause so I can spit out the stack t

[tobago] Documentation or HowTo for using tobago

2005-10-13 Thread Stefan Hedtfeld
Hi, is there some documentation available on how to start with tobago? Generating the site doesn't really provide that much information ;-) Regards, Stefan.

Re: Bewildered by JSCookMenu

2005-10-13 Thread Simon Kitching
James Reynolds wrote: I would love to use the JSCookMenu, but I'm apparently too dumb to make it work. I started out with these steps: 1. Grabbed the latest nightly build. 2. Set up a menu file with the component using a standard theme. 3. Included the menu file in my page via . The page loads

Bewildered by JSCookMenu

2005-10-13 Thread James Reynolds
I would love to use the JSCookMenu, but I'm apparently too dumb to make it work. I started out with these steps: 1. Grabbed the latest nightly build. 2. Set up a menu file with the component using a standard theme. 3. Included the menu file in my page via . The page loads fine, but the menu is

JSF Tree with right mouse click

2005-10-13 Thread Shital Joshi
Hello, I am trying to build a JSF tree such that If I right click on any of tree nodes, it should display a vertical menu. Is it possible to do with MyFaces JSF Tree? Can someone point me where I should start from? Thanks.

Re: Customize icons in Myfaces tree

2005-10-13 Thread speriyas
To customize, we just have implement the IconProvider interface. It works. Do u know how to programmatically create output component . When I click the node of a tree(not tree2), I need to display a output text box with some stringvalue. I am dynamically able to create a output text in the value

Re: dataTable error message - Validation Error "_id49": Value is not a valid option.

2005-10-13 Thread Mike Kienenberger
Yes, that's why I suggested you'd be better off trying to use a label and have the value bound to your row data instead. But I haven't tried it. Remember that components in your dataTable may represent multiple rows, but every row is still represented by only one component. So only by binding s

Re: dataTable error message - Validation Error "_id49": Value is not a valid option.

2005-10-13 Thread Dave
This approach works fine if data are not in . For dataTable, we have a collection of data. Suppose the collection have ten rows.  All of them will have the same id(s). If there is a validation error, user will not be able to know which row has the error.   - Mike Kienenberger <[EMAIL PROTEC

Re: Customize icons in Myfaces tree

2005-10-13 Thread Sean Schofield
IMO this is easier to do with tree2. There are plenty of examples to show the way if you use this component. I'm not very amiliar with the original tree so I can't help much. I ran into a lot of problems configuring tree which is why I started the tree2. sean On 10/10/05, [EMAIL PROTECTED] <[E

Re: dataTable error message - Validation Error "_id49": Value is not a valid option.

2005-10-13 Thread Mike Kienenberger
There's an example of using labels here: http://wiki.apache.org/myfaces/Create_and_Display_Messages On 10/13/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > I'd probably go with a label instead, but you could just use > > > > > On 10/13/05, Dave <[EMAIL PROTECTED]> wrote: > > what id should

Dynamically creating output component.

2005-10-13 Thread speriyas
Hi , When I click the node of a tree(not tree2), I need to display a output text box with some stringvalue. I am dynamically able to create a output text in the valuechanged method. How should I display it. If I use panelgrid, I am getting error. Please, let me know where I going wrong. Heres

Re: dataTable error message - Validation Error "_id49": Value is not a valid option.

2005-10-13 Thread Mike Kienenberger
I'd probably go with a label instead, but you could just use On 10/13/05, Dave <[EMAIL PROTECTED]> wrote: > what id should I assign to them statically? The data model is a list of > objects. Thanks. > > var="student" >value="#{bean.students}"> > > >

Re: dataTable error message - Validation Error "_id49": Value is not a valid option.

2005-10-13 Thread Dave
what id should I assign to them statically? The data model is a list of objects.  Thanks.        var="student"    value="#{bean.students}">                 Mike Kienenberger <[EMAIL PROTECTED]> wrote: You can statically assign an id on your page.I think yo

Cookmenu Problem

2005-10-13 Thread sgelinas
I have a weird problem, i took the nightly build of the 12 october and my jsCookMenu doesn't work anymore (does not appear anymore cannot find cmDraw), is there anything I need to change. My previous build was one from late September. Do I need to remove some config?? Any help will be appreciate

Re: UISelectMany (Problem Resolved). Mr. Weber, Regarding Cleaning Multiple Selections

2005-10-13 Thread Caroline Jen
Hi Volker, Thanks a lot. I have an answer to the question that I posted earlier. In the submit() method that is invoked by an action, I nullify the selectedItems after the StringBuffer is created. This way, the multiple selections that were made previously will not show up (not be hig

Re: dataTable error message - Validation Error "_id49": Value is not a valid option.

2005-10-13 Thread Mike Kienenberger
You can statically assign an id on your page. I think you can also assign a label to your component, and that label value will be used instead of the id. On 10/13/05, Dave <[EMAIL PROTECTED]> wrote: > > Hello, > I am using with two columns. > one is label, the other is . > If there is any valida

[tobago] How to include themes in war using maven2

2005-10-13 Thread Solgrims
Hi, this is not really a myfaces / tobago issue but I just started to develop a webapp using tobago and maven2 as build tool - but I failed to create the war as I could not extract the themes and include the extracted files in the war using maven2. OK, I could use maven2 calling ant targets.

Re: Another Problem with t:inputHtml

2005-10-13 Thread Dave
I have the same issue with inputHtml. It seems there are some mouse events going on.[EMAIL PROTECTED] wrote: When a page containing this widget is presented, the initial htmlfragment I want the user to see/edit is shownAs the mouse enters the widget the data is cleared - as thought thevalue has bee

dataTable error message - Validation Error "_id49": Value is not a valid option.

2005-10-13 Thread Dave
Hello, I am using with two columns. one is label, the other is . If there is any validation problem, I get the message like:   Validation Error "_id49": Value is not a valid option.   How can I replace _id49 with some meaningful id? I notieced that component id can not bind to backing bean(or da

Re: ClassCastException in HtmlCommandLink

2005-10-13 Thread Volker Weber
Marius Kreis wrote: > >>> [...] >>> When I remove the verbatim tag (by putting the f:view tags only around >>> the commandLink and panelGrid) everything seems to work fine. >>> >> >> >> I don't know the reason to put those html tags inside of verbatim, but i >> often see this. >> if i use html i

Re: ClassCastException in HtmlCommandLink

2005-10-13 Thread Andrew robinson
If you are in a subview, you will always have to put all non-JSF components inside of verbatim tags unless you use Facelets. That is one major reason for using verbatim tags.On 10/13/05, Marius Kreis <[EMAIL PROTECTED]> wrote: >> [...]>>When I remove the verbatim tag (by putting the f:view tags onl

Re: ClassCastException in HtmlCommandLink

2005-10-13 Thread Marius Kreis
[...] When I remove the verbatim tag (by putting the f:view tags only around the commandLink and panelGrid) everything seems to work fine. I don't know the reason to put those html tags inside of verbatim, but i often see this. if i use html i wrote it directly into the jsp. @all: Is there

Re: ClassCastException in HtmlCommandLink

2005-10-13 Thread Volker Weber
Hi, Marius Kreis wrote: > Hi! > You're right, the cause of this exception is a verbatim tag, I was not > aware that the verbatim tag is getting an id aswell and this might cause > the exception... > the complete jsp is: > > <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %> > <%@ tagl

Re: overriding a built in Converter

2005-10-13 Thread Dennis Byrne
Check out http://svn.apache.org/repos/asf/myfaces/share/trunk/src/java/o rg/apache/myfaces/renderkit/html/HtmlTextRendererBase.java in renderInput(), line starting w/ writer.writeAttribute (HTML.VALUE_ATTR . HtmlTextRendererBase renders both inputText and outputText . Original message --

Re: ClassCastException in HtmlCommandLink

2005-10-13 Thread Marius Kreis
Hi! You're right, the cause of this exception is a verbatim tag, I was not aware that the verbatim tag is getting an id aswell and this might cause the exception... the complete jsp is: <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core";

Re: reating and setting value to a component(UIOouput) dynamically in code.

2005-10-13 Thread Mike Kienenberger
There's an example of doing this as an attachment to http://issues.apache.org/jira/browse/MYFACES-331 The code dynamically creates several components, including a UIOutput programmatically and adds them to a dataTable. On 10/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi > > Can anyone

Re: UISelectMany. Mr. Weber, Regarding Cleaning Multiple Selections

2005-10-13 Thread Caroline Jen
Hi Volker, I asked a wrong question in my previous post. Sorry. Your code works fine. It cleans the multiple selections "internally". I observe a problem: After a user submits his/her multiple selections, which is an action (instead of an action listener), I display the files

reating and setting value to a component(UIOouput) dynamically in code.

2005-10-13 Thread speriyas
Hi Can anyone explain me if possible with code snippets for the following problem. How to create and set value to a component(UIOouput) dynamically in code. Anyhelp is greatly appreciated. Thanks.

Re: overriding a built in Converter

2005-10-13 Thread Mike Kienenberger
I don't see what you're talking about. Nothing in renderInput looks appropriate. Even if something could be changed there, it'd only affect conversion during rendering for components using HtmlTextRenderer. The line that would need to be changed (again, only fixing a subset of the problem) is _

Re: Using t:inputCalendar

2005-10-13 Thread Mike Kienenberger
2)  Maybe this can help you: http://wiki.apache.org/myfaces/SubmitPageOnValueChange It may require a different _javascript_ hook to trigger it, though. -MikeOn 10/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: am looking at using the inputCalendar widget - value="#{MBean.date}" re

RE: Using t:inputCalendar

2005-10-13 Thread CONNER, BRENDAN \(SBCSI\)
Title: Message 1) Yes, that's what we did. 3) Your JAR files are out of date.  See http://svn.apache.org/builds/myfaces/release/ and download myfaces-1.1.1RC2.zip   - Brendan -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 13, 2

Exception Handling Blues...

2005-10-13 Thread Marios Kerkemezos
Dear all, I know this has been discussed before, but some issues are still troubling me... I’ve been experimenting with different methods for handling exceptions in managed beans. The way I see it, handling exceptions can be performed in the following ways: (A). Handling the exception internall

Re: ClassCastException in HtmlCommandLink

2005-10-13 Thread Volker Weber
Hallo, you should post a litle more of your code, the exception occures in a verbatim tag, i can't see a verbatim tag in your posted code. so just a guess: could be a problem with ids: you should assign an id to every created component. if on one request one of your commandlinks became a automa

Re: UISelectMany. Mr. Weber, Question Regarding Cleaning Multiple Selections

2005-10-13 Thread Caroline Jen
Mr. Weber: Thanks for your guidance again. One problem remains. If users change mind about the multiple selections that have been made "before" submitting the form, the action listener will invoke the clear( ActionEvent e ) method in the backing bean. And then, users make another set

Re: deleting nodes in tree2

2005-10-13 Thread Alban Coulange
Well, I tried both of your solutions, I thought it was working, but after a while it has re-appeared!!! I don't know what to do. Maybe I will change the look of my web page. If I delete a node it turns " " (it is an example) into "

 

"!! And it is not because I am using &nsbp I tried with

RE: Error message display...

2005-10-13 Thread Jeffrey Porter
Thanks Stefan & Conner for your input.   I’ve now got actual error messages.   J   What I’ve got (incase anyone else cares)  is…     for="partNumber"   value="#{my_properties['label_partNumber']}" />   id="partNumber" value="#{problem.partNumber}" maxlength="10" size="15" r

RE: Using t:inputCalendar

2005-10-13 Thread stefan.maric
Title: Message 1)    So I guess that I'm going to have to setup a Date Validator to enforce it 2) 3)    Am using the Jars from MyFaces 1.1.0 (ALL files MyFaces-1.1.0.zip have Date 13/09/2005)   Stefan Maric | IT & Professional Services | BT Global Services E: [EMAIL PROTECTED]  |  www.bt.com

RE: Error message display...

2005-10-13 Thread stefan.maric
Take a look at the JSF sections in the J2EE Tutorial see section - 'The UIMessage and UIMessages Components'   If I remember correctly you can also specify navigation rules for Error pages handling     Stefan Maric | IT & Professional Services | BT Global Services E: [EMAIL PROTECTED]  |  w

RE: Using t:inputCalendar

2005-10-13 Thread CONNER, BRENDAN \(SBCSI\)
Title: Message 1) I don't think so (although enforcing a date range would be a welcome feature that we could use as well) 2) I don't know 3) It's working fine for us.  Are you using the JARs from Release 1.1.1RC2?   - Brendan -Original Message-From: [EMAIL PROTECTED] [mailt

RE: Error message display...

2005-10-13 Thread CONNER, BRENDAN \(SBCSI\)
Title: Message If you supply an tag that refers to that field, then the content of that label will be used.   Also, you can experiment with showDetail="true" and showSummary="true"   - Brendan -Original Message-From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: Thursday,

Error message display...

2005-10-13 Thread Jeffrey Porter
What’s the best way to display an error message?   I have the tags…   id="supplierCode" value="#{improvementRequest.supplierCode}" maxlength="10" size="15" required="true" />     id="messageList" styleClass="error" summaryFormat="{0} in {1}" />     When the form is subm

Using t:inputCalendar

2005-10-13 Thread stefan.maric
am looking at using the inputCalendar widget - value="#{MBean.date}" renderAsPopup="true" > partial screen-shot shown below I have a few of questions 1)    Is there any way to STOP a USER from selecting a date in the past 2)    is there any way of firing an ACTION as a result of the

Re: UISelectMany. Millions of Thanks for Your Guidance, Mr. Weber.

2005-10-13 Thread Caroline Jen
Hi Volker, This morning, I followed and tested the example that you provided to render a list box into the browser using a UISelectMany. It was a success. I had not found much, either in books or on the internet, about using UI components. Therefore, I had had a very tough time. Othe

Three Problems with InputSuggestTag

2005-10-13 Thread andreas.mitter
Hi all!   I have tried to implement the InputSuggestComponent but I'm confused with the following errors. I would be terribly grateful, if somebody could help me:     1.)When I choose an entry from the suggested entries in the list of the SuggestBox, I get the following ID: e_choiceEntry. H

Re: HtmlCommandLink ActionListener throwing Exception

2005-10-13 Thread Marius Kreis
i thought i could use the method addActionListener... but setActionListener isn't working either. it seems as if the error is not dependent of the actionListener but thrown if an HtmlOutputLink is clicked itself i just described the problem in another mail... Mike Kienenberger wrote: setA

extended HtmlDataTable

2005-10-13 Thread Piotr Boninski
Hi,   I’m trying to derive my own component based on Myfaces HtmlDataTable. I will have to modify all significant parts – render class, tag class and base class. I took proper files form myfaces into my project, repackaged them and try to make them work. But there is a problem with main c

ClassCastException in HtmlCommandLink

2005-10-13 Thread Marius Kreis
hello! i'm still working on generating a _simple_ list of hyperlinks. but when i click on one of them a ClassCastException is thrown. at first i thought about an error with the ActionListener, but in fact the exception is thrown even if there was no actionlistener assigned at all. i just can't

Another Problem with t:inputHtml

2005-10-13 Thread stefan.maric
When a page containing this widget is presented, the initial html fragment I want the user to see/edit is shown As the mouse enters the widget the data is cleared - as thought the value has been set to "" or null Is there a fix / workaround for this Thanks Stefan Maric | IT & Professional Servi

Re: I Created a UISelectMany, But, It Was Not Acceptable to the

2005-10-13 Thread Volker Weber
Hi Caroline, Caroline Jen wrote: ... > Meanwhile, would you mind advising: > You want to clear the selected Items? just clear or null the field in the bean. public void clear(ActionEvent e) { FacesContext facesContext = FacesContext.getCurrentInstance(); ValueBinding vb = e.getCompo

Problem with t:inputHtml

2005-10-13 Thread stefan.maric
Have got this built into my WebApp, seems like it might be a useful widget   Am NOT sure if this is a bug or something I've NOT configured/controlled properly   If I type in some text, then select it I CANNOT get the Foreground colour to apply     Similarly for the Background colour     NO

Tabindex handler

2005-10-13 Thread Dennie de Lange
Hello,   I like to have more control over the tabindex of the elements. Does anybody have a pointer how to do this? I think something like: #{focusHandler.nextIndex} would be great, but tabindex only accepts integer string values (?).   Thanks in advance.   Dennie de Lange ddelang

[ANN] JAVAWUG / BOF XIII / Belgo Central / Friday 28th Sept 2005 / 19:00

2005-10-13 Thread Pilgrim, Peter
Hi The ``JAVA Web User Group'' is pleased to announce. Please meet for the BOF XIII London meet-up at the ``Belgo Central Restaurant'' at 19:00M on Friday, 28th October, 2005. 50 Earlham Street, Covent Garden, London, WC2H 9HP United Kingdom Nearest Tube: Covent Garden Cuisine: Belgian Te

Re: Ajax and JSF

2005-10-13 Thread Werner Punz
Dave wrote: > Has anyone made Ajax work with JSF? how is the integration? is it a > good idea? > Thanks. > Dave > > > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. >

Re: Ajax and JSF

2005-10-13 Thread Matthias Wessendorf
well, Apache MyFaces has inside of his sandbox some ajax components (ajax suggest, autotable, dynamic image) go and get the myfaces-examples file; deploy sandbox.war and take a look. HTH, Matthias On 10/13/05, Alan Biggs <[EMAIL PROTECTED]> wrote: > Take a look at ICEfaces: www.icesoft.com > > I