Re: embedded x:dataTable bug ?

2005-07-28 Thread Gérard COLLIN
Thanx ! Gérard On Thursday 28 July 2005 18:21, Bruno Aranda wrote: > Yes, Gérard, nesting tables is a known issue which has been already > fixed. You can try with a nightly build... > > Regards, > > Bruno > > 2005/7/28, Gérard COLLIN <[EMAIL PROTECTED]>: > > Hello, > > > > Using myfaces 1.09, i

[ANNOUNCE] New JIRA categories

2005-07-28 Thread Sean Schofield
We've just created new component categories in JIRA. If you have reported an issue already in JIRA and it is still open, it would be helpful if you categorized your own issue for us. From now on, when reporting bugs please use one of the following issues: General - General MyFaces issue. Not ea

Re: MYFACES-365 + h:graphicImage alt tag + jsf 1.1 spec

2005-07-28 Thread Sean Schofield
You're correct. http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/tlddocs/index.html When I fixed the other attributes the alt attribute was commented as not being in the spec (along with the others) so I removed it without doublechecking. Please add a JIRA issue on this. sean On 7/28/05, P

Re: Tree2 Image problems

2005-07-28 Thread Sean Schofield
Client side tree has the same options (to supply your own images or javascript.) You shouldn't *need* that feature at all though. Its mostly there is you find the extension filter to be unacceptable. Take a look at the simple examples. Look at the web.xml and faces-config.xml and see how the ex

Re: composite controls

2005-07-28 Thread Mike Kienenberger
The composite component example provided above is a custom DataTable with a footer containing a UICommand, a row header UIColumn (with a UIOutput) and a UIColumns object with a UIOutput header and a UISelectBoolean. On 7/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Did any of these ta

Re: composite controls

2005-07-28 Thread Dennis_Byrne
Did any of these tags have children that render themselves?  I can save and restore state fine, but I'm stuck as far as getting children to render.  I get as far as UIComponent.encodeChildren() and I can query each child for it's renderer type.  Thoughts? Dennis Byrne

RE: Tree2 Image problems

2005-07-28 Thread Balaji Saranathan
Thanks I figured it out after sending that mail ;-) I extracted the images from the jar file :-). However, the clientside tree wouldn't work because of the same issue :-( -Original Message- From: Sean Schofield [mailto:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 5:57 PM To: MyFaces

Re: Tree2 Image problems

2005-07-28 Thread Sean Schofield
There are attributes for the tree2 tag that allow you to specify an alternate image and javascript location: (imageLocation and javascriptLocation). sean On 7/28/05, Balaji Saranathan <[EMAIL PROTECTED]> wrote: > > Sean, > > Can you let me know about the extra configuration? > I would appreciat

Re: Variable cell style classes in data table

2005-07-28 Thread Mathias Broekelmann
I will commit it into the tomahawk sources. Richard Wallace schrieb: > Sounds awesome! Where will you be committing it to? Sandbox or Tomahawk? > > Thanks, > Rich > > Broekelmann, Mathias wrote: > >> I´ve create a special column component which allows you to define >> different styles and mor

Re: composite controls

2005-07-28 Thread Mike Kienenberger
They are added via getChildren().add() in the constructor of the UIComponent. On 7/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Mike, for the first option. I take it you created UI components on the fly > added them to tree via a call to getChildren().add() ? If so, where did you >

Re: composite controls

2005-07-28 Thread Dennis_Byrne
Mike, for the first option.  I take it you created UI components on the fly added them to tree via a call to getChildren().add() ?  If so, where did you do this?  In the Tag handler itself (perhaps setProperties)? or in some method or constructor of the UIComponent ? Dennis Byrne

RE: Tree2 Image problems

2005-07-28 Thread Balaji Saranathan
Sean, Can you let me know about the extra configuration? I would appreciate it. Thanks Balaji -Original Message- From: Sean Schofield [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 5:18 PM To: MyFaces Discussion; [EMAIL PROTECTED] Subject: Re: Tree2 Image problems Don't bot

Re: composite controls

2005-07-28 Thread gvanmatre
> There are three ways to do this that I have successfully used. > > #1) Programmically create a set of controls as a new component. > > #2) Use x:aliasBean and a jsp include to represent your composite control. > > #3) Use ui:composition with the facelets library. > > #1 is the hardest, mos

Re: [ot] Tor Norbye's AJAX-suggest JSF component

2005-07-28 Thread Werner Punz
Matt Blum wrote: (off-topic because, while JSF-related, this isn't specifically MyFaces-related) I came across this while doing a Google search for AJAX-enabled JSF components. It's a JSF autocompletion input component that uses AJAX to retrieve values from the server. It was developed by T

RE: ClassCastException calling encodeBegin

2005-07-28 Thread Curtney Jacobs
Ok, I decided to extend HtmlCommandLink directly instead of UICommand for my UITabLabel. It appears this works. No more ClassCastException. Everything displays correctly. However, I am still puzzle as to why this works. Because HtmlCommandLink subclasses UICommand, thus I should be able to do this

Re: composite controls

2005-07-28 Thread Mike Kienenberger
Right, this is option #2. x:aliasBean simply allows you to redefine the backing beans used by your included piece of code and uses f:subview instead of f:view. On 7/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Thank you for your time. I am going to weight each of these options w/ th

Re: composite controls

2005-07-28 Thread Dennis_Byrne
Thank you for your time.  I am going to weight each of these options w/ the one I just thought of below. Familiar w/ tag files?  Try this, it'll take 2 minutes.  Create a tags dir under WEB-INF .  Put these lines in a file called Test.tag . <[EMAIL PROTECTED] uri="http://java.sun.com/jsf/html" p

RE: ClassCastException calling encodeBegin

2005-07-28 Thread Curtney Jacobs
I might have narrowed down the ClassCastException to the following method in "org.apache.myfaces.renderkit.html.HtmlLinkRenderBase.renderJavaScriptAnchorStart" I am not to sure, but the ClassCastException could be comming from ((HtmlCommandLink)component).getOnclick(); I am viewing the source c

Re: composite controls

2005-07-28 Thread Mike Kienenberger
There are three ways to do this that I have successfully used. #1) Programmically create a set of controls as a new component. #2) Use x:aliasBean and a jsp include to represent your composite control. #3) Use ui:composition with the facelets library. #1 is the hardest, most involved, and mo

Re: composite controls

2005-07-28 Thread Dennis_Byrne
Thanks for the reply.  Right now I'm doing a little of what McClanahan suggested to comeone else: http://www.mail-archive.com/users%40myfaces.apache.org/msg06173.html . Let me elaborate:  I have JSP after JSP that go inputText, label, message , inputText, label, message, ...  I want one control

Re: composite controls

2005-07-28 Thread Werner Punz
Dennis Byrne wrote: I can't seem to find a lot of resources on creating composite controls ( an .ascx in .NET speak ). Does anyone have a web site or a war story for this? Dennis Byrne depends on what you want to do, if you want to stay on a high level, check out struts clay, facelets or jsf

[ot] Tor Norbye's AJAX-suggest JSF component

2005-07-28 Thread Matt Blum
(off-topic because, while JSF-related, this isn't specifically MyFaces-related) I came across this while doing a Google search for AJAX-enabled JSF components.  It's a JSF autocompletion input component that uses AJAX to retrieve values from the server.  It was developed by Tor Norbye of Sun; here

RE: Anyone have a example of Tiles support with MyFaces?

2005-07-28 Thread Brent Baxter
  Go to http://www.marinschek.com/myfaces/tiki/tiki-index.php?page=TilesSupport   Also if you d/l the MyFaces example webapps there is a Tiles example WAR.   Brent   --- Brent Baxter Owner and Principal Consultant EVOTEQ LLC [EMAIL PROTECTED]     From: Glenn Davidson [mailto:[EMAIL PROTEC

RE: ClassCastException calling encodeBegin

2005-07-28 Thread Curtney Jacobs
Greetings Eric, what you have listed would just recursively call my encodeBegin() method in my renderer class, since this is where I am calling encodeRecursive () method in the first place. However, I did tried it and got errors, as expected. From what I have read and understood the UITabLabel sup

composite controls

2005-07-28 Thread Dennis Byrne
I can't seem to find a lot of resources on creating composite controls ( an .ascx in .NET speak ). Does anyone have a web site or a war story for this? Dennis Byrne

Re: Variable cell style classes in data table

2005-07-28 Thread Richard Wallace
Sounds awesome! Where will you be committing it to? Sandbox or Tomahawk? Thanks, Rich Broekelmann, Mathias wrote: I´ve create a special column component which allows you to define different styles and more for the cells. It just needs some testing. I think I will have commited it tomorrow.

Re: embedded x:dataTable bug ?

2005-07-28 Thread Bruno Aranda
Yes, Gérard, nesting tables is a known issue which has been already fixed. You can try with a nightly build... Regards, Bruno 2005/7/28, Gérard COLLIN <[EMAIL PROTECTED]>: > > > Hello, > > Using myfaces 1.09, if I embed a x:dataTable inside another one, then the > model values are wrongly

embedded x:dataTable bug ?

2005-07-28 Thread Gérard COLLIN
Hello, Using myfaces 1.09, if I embed a x:dataTable inside another one, then the model values are wrongly updated for the embedded table. (I.E. It seems the model for the first row is updated with the data entered for the last one) Moreover, If I change the x:datatable to h:datatable, then it wor

Anyone have a example of Tiles support with MyFaces?

2005-07-28 Thread Glenn Davidson
Specificlly I am looking at using JspTilesViewHandler.   Thanks   Glenn Start your day with Yahoo! - make it your home page

RE: Variable cell style classes in data table

2005-07-28 Thread Broekelmann, Mathias
I´ve create a special column component which allows you to define different styles and more for the cells. It just needs some testing. I think I will have commited it tomorrow. Best Regards, Mathias > -Original Message- > From: Richard Wallace [mailto:[EMAIL PROTECTED] > Sent: Thursday,

Re: Variable cell style classes in data table

2005-07-28 Thread Martin Marinschek
What about just subclassing the renderer of the component? regards, MartinOn 7/28/05, Richard Wallace <[EMAIL PROTECTED]> wrote: Alright, well my back is sort of up against a wall now.  I had thought Icould figure out an alternative for now but I was wrong.  I had thoughtthat wrapping the column

Re: Variable cell style classes in data table

2005-07-28 Thread Richard Wallace
Alright, well my back is sort of up against a wall now. I had thought I could figure out an alternative for now but I was wrong. I had thought that wrapping the column data in a div and setting the width and height to fill the cell would allow me to change the background color on a per cell b

MYFACES-365 + h:graphicImage alt tag + jsf 1.1 spec

2005-07-28 Thread Paul Klaer
Hi, I'm testing the daily build and the first thing I saw was that the graphicImage "alt" tag has been removed. Looking to myfaces jira MYFACES-365 I can follow the change: http://issues.apache.org/jira/browse/MYFACES-365?page=all But looking the jsf 1.1 spec the "alt" tag for the graphicImag

RE: RE: x:inputCalendar + Firefox = JS Error

2005-07-28 Thread Christian Froelich
Thank you for your patience...I had an error in my treeNode... key word: "isLeaf" ... > --- Ursprüngliche Nachricht --- > Von: "Christian Froelich" <[EMAIL PROTECTED]> > An: users@myfaces.apache.org > Betreff: RE: x:inputCalendar + Firefox = JS Error > Datum: Thu, 28 Jul 2005 15:20:46 +0200 (MEST)

Re: HowTo: change scheme, server or port for action urls?

2005-07-28 Thread Martin Marinschek
tricky question. I really don't have a clue. I mean this is something JSF is based upon, that every submit goes back to the same view. What do the spec-buffs have to say about this? regards, MartinOn 7/28/05, Broekelmann, Mathias <[EMAIL PROTECTED]> wrote: I have to use it in the action of the

RE: HowTo: change scheme, server or port for action urls?

2005-07-28 Thread Broekelmann, Mathias
I have to use it in the action of the form which contains the inputfields. > -Original Message- > From: Bruno Aranda [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 28, 2005 2:03 PM > To: MyFaces Discussion > Subject: Re: HowTo: change scheme, server or port for action urls? > > > An o

Rendering selectManyCheckBox with images

2005-07-28 Thread Klug, Boris
Hi! we use the following selectManyCheckbox as below: Now I want to exchange the textual representation of the checkboxes (<-, ->, v^) agains images - how do I do that? Thanks in advance! -- Boris Klug Debeka Hauptverwaltung Abteilung IE/Q Ferdinand-Sauerbruch-St

RE: ClassCastException calling encodeBegin

2005-07-28 Thread Eric Kelm
I had problems when I tried to use this example as well. Look at the method signatures. If I remember correctly the functions are not being called correctly. E.G. Method signature: public void encodeBegin(FacesContext context, UIComponent component) Method Usage in the example: {... compone

RE: x:inputCalendar + Firefox = JS Error

2005-07-28 Thread Christian Froelich
Thanks for reply, I've tested it with the available nightly builds => inputCalendar works now. But I ran into some other problems now: For example the tree2 component doesn't work properly. The "+" image is only at the leaves... Any ideas? Or has anybody the librarys with a working inputCalenda

Re: HowTo: change scheme, server or port for action urls?

2005-07-28 Thread Bruno Aranda
An outputLink which points to a https address does not work for you? Regards, Bruno 2005/7/28, Broekelmann, Mathias <[EMAIL PROTECTED]>: > Does anyone have a solution for that? > > We have a site which is running on http for our data. > Now we need to switch to https if the user logs in to prot

HowTo: change scheme, server or port for action urls?

2005-07-28 Thread Broekelmann, Mathias
Does anyone have a solution for that? We have a site which is running on http for our data. Now we need to switch to https if the user logs in to protect transmitting of the credentials. I can´t do that with a redirect since the user can define username and password on every page and press the l

Re: ClassCastException calling encodeBegin

2005-07-28 Thread Curtney Jacobs
The following is an abbreviated (My stacktrace is really long) version of my stacktrace: java.lang.ClassCastException: com.oim.faces.custom.tabbedpane.UITabLabel at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.renderJavaScriptAnchorStart(HtmlLinkRendererBase.java:323) at

Re: ClassCastException calling encodeBegin

2005-07-28 Thread Martin Marinschek
Find out which classes are involved in the failed casting and then get back to us. regards, MartinOn 7/28/05, Curtney Jacobs <[EMAIL PROTECTED]> wrote: Greetings! I have copied a custom component from "JavaServer Faces" by O'Reilly touse in my myfaces application and I am getting ClassCastExcepti

ClassCastException calling encodeBegin

2005-07-28 Thread Curtney Jacobs
Greetings! I have copied a custom component from "JavaServer Faces" by O'Reilly to use in my myfaces application and I am getting ClassCastException whenever I call "component.encodeBegin(context)": The following code is what throws the ClassCastException: Calling code: UITabLabel tabLabel = (U

Re: MYFaces and frames

2005-07-28 Thread Martin Marinschek
As for intermingling text and JSF tags - JSF 1.2. is also going to fix that, so you'll be happy even staying with JSP. regards, MartinOn 7/28/05, Maksimenko Alexander <[EMAIL PROTECTED]> wrote: Balaji Saranathan wrote:> I knowHeard very often of the saying " Frames are Evil"  ;-) But> there i

Re: [ANNOUNCE] New "In the Trenches" article: Alfresco Chooses JSF for Enterprise Content Management System

2005-07-28 Thread Matthias Wessendorf
wow, that sounds cool. btw. anyone using Alfresco CMS ? -Matthias On 7/28/05, Kito D. Mann <[EMAIL PROTECTED]> wrote: > Hello, > > I'm pleased to announce another installment in JSF Central's "In the > Trenches" series about real world projects that use JavaServer Faces. In > this article, tw

Re: Tree2 with Sun RI

2005-07-28 Thread Matthias Wessendorf
can you please add some code and some describtion of your problem? :) thanks, On 7/28/05, Kenneth Cheng <[EMAIL PROTECTED]> wrote: > Hi, > > I have had problems using Tree2 with Sun JSF RI. I was using myfaces > 1.09 during that time.Has the problem been solved already in the > latest so

Tree2 with Sun RI

2005-07-28 Thread Kenneth Cheng
Hi, I have had problems using Tree2 with Sun JSF RI. I was using myfaces 1.09 during that time.Has the problem been solved already in the latest source code build? Or does anyone successfully use Tree2 with Sun RI in 1.09? Thanks, Ken

Re: MYFaces and frames

2005-07-28 Thread Maksimenko Alexander
Balaji Saranathan wrote: I knowHeard very often of the saying " Frames are Evil" ;-) But there is one thing that we do not want to compromise on... It is the resizing of the width of the navigation tree on the left. I know horizontal scroll bars will help but our user interface guide line