License of Oracle ADF Faces and IBM FacesClient ?

2005-01-26 Thread Jozef Hribik
Does anybody know how are these commercial JSF component libraries lincensed? I can not find any licensing informations on their web sites and discussion forums. The last reply to licensing issues was in october 2004 http://forums.oracle.com/forums/thread.jsp?forum=83&thread=270099&message=817629

[WML RenderKit] custom validator

2005-01-26 Thread Matthias Wessendorf
Hi Jiri, I am using your WML RenderKit. Works fine! Thanks for contribution, but I have used the MyFaces' EmailValidator () inside of It is not invoked. I was able to submit *silly* email address :-( Any ideas? Btw. required="true" works. Best regards Mit freundlichen Grüßen Matthias Weßendorf

[WML RenderKit] binding attribute

2005-01-26 Thread Matthias Wessendorf
Hi Jiri, have you tried to *bind* UIDataTable via to a backing bean? If I have in Bean: private UIData tabelle = new UIData(); (plus it's set/get) also I call setValue() and set an Array of a clazz I developed In JSP: I logged that getErklaerung() of my custom clazz is called, but not

Re: How do you handle security with JSF?

2005-01-26 Thread niksa_os
How did you build JAAS? JAAS is just API, not implementation right? Did you use any framework or tool for help? For smaller projects I use a managed bean in conjunction with a servlet filter. I also have singleton UserRegistry class that both the loginhandler and the filter can access. this wor

Re: How do you handle security with JSF?

2005-01-26 Thread Dave Sag
we wrote our own LoginModule and User and Role classes (implementing javax.security.Principal) and have installed these classes into Tomcat as per the various books on JAAS and Tomcat. you can then access that user's name with request.getUserPrincipal().getName() or in jsf #{request.userPrin

findComponent with UIData

2005-01-26 Thread Martin Marinschek
Hi there, I am having a problem giving me a hard time with components nested in a UIData. The problem is that finding these components does not work in all cases - imagine the case that a message is added by a validator. This message gets a client-id, as this is done while stepping through the r

myfaces-examples.war yields blank screen...?

2005-01-26 Thread Tony Kerz
trying to run myfaces-examples.war with tomcat 5.5.4 and jdk 1.5 and just getting blank screen, any suggestions as to what stupid thing i'm doing (now)...? ;)

Re: myfaces-examples.war yields blank screen...?

2005-01-26 Thread Tony Kerz
also, getting same result with 1.0.7 and 1.0.8...? Tony Kerz wrote: trying to run myfaces-examples.war with tomcat 5.5.4 and jdk 1.5 and just getting blank screen, any suggestions as to what stupid thing i'm doing (now)...? ;)

RE: myfaces-examples.war yields blank screen...?

2005-01-26 Thread Matthias Wessendorf
Remove jsp2.0.jar and perhaps commons-el.jar HTH, Matthias > -Original Message- > From: Tony Kerz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 26, 2005 1:58 PM > To: 'MyFaces Discussion' > Subject: myfaces-examples.war yields blank screen...? > > > trying to run myfaces-example

Re: myfaces-examples.war yields blank screen...?

2005-01-26 Thread Sean Schofield
Check the Tomcat log. I'm sure there must be some kind of message there that will help you (and us) understand. sean On Wed, 26 Jan 2005 14:06:27 +0100, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Remove jsp2.0.jar > and perhaps commons-el.jar > > HTH, > Matthias > > > -Original Mess

Re: How do you handle security with JSF?

2005-01-26 Thread niksa_os
Do you know for anyAPI or framework that simplify JAAS? Or you build all from start? What about using different web server then Tomcat and your JAAS? Is it possible to move that core or you need to change something? we wrote our own LoginModule and User and Role classes (implementing javax.securit

Re: Need some design ideas

2005-01-26 Thread Heath Borders
Well, since you are the one that writes the event listener, you can impose your own more stringent restrictions than that of the API, if necessary. On Tue, 25 Jan 2005 21:11:34 -0500, Sean Schofield <[EMAIL PROTECTED]> wrote: > I've been thinking some more about this idea. I'm starting to think

Re: findComponent with UIData

2005-01-26 Thread Heath Borders
I'm thinking this might be a spec bug. The UIData should override the findcomponent method to call findcomponent for all of its applicable rows. Unfortunately this is not the case now. On Wed, 26 Jan 2005 13:57:29 +0100, Martin Marinschek <[EMAIL PROTECTED]> wrote: > Hi there, > > I am having

Re: License of Oracle ADF Faces and IBM FacesClient ?

2005-01-26 Thread Heath Borders
IBM FacesClient comes with WSAD 5.1.2 On Wed, 26 Jan 2005 10:18:49 +0100, Jozef Hribik <[EMAIL PROTECTED]> wrote: > Does anybody know how are these commercial JSF component libraries > lincensed? > I can not find any licensing informations on their web sites and > discussion forums. > The last re

Re: How do you handle security with JSF?

2005-01-26 Thread Dave Sag
there are only 3 classes you need to write, the loginmodule, the user and the role. and the role can be as simple as a string. JAAS is extremely portable. dave On 26/01/2005, at 2:23 PM, niksa_os wrote: Do you know for anyAPI or framework that simplify JAAS? Or you build all from start? What abo

required input character

2005-01-26 Thread mfaine
Has anyone ever suggested an attribute to input fields that if required would set which character would indicate the field is required. Something like requiredChar="*" This way I wouldn't have so many  * tags in my code. Just a suggestion, if someone else has suggested it what is the status? Al

Re: required input character

2005-01-26 Thread Heath Borders
You can just use an that would be easier than verbatim's. On Wed, 26 Jan 2005 07:37:25 -0800 (PST), mfaine <[EMAIL PROTECTED]> wrote: > Has anyone ever suggested an attribute to input fields that if required > would set which character would indicate the field is required. Something > like req

Re: required input character

2005-01-26 Thread Stefan Langer
Why not use the label tag and get a value that contains the corresponding char whenever you have a required field?? Stefan mfaine wrote: Has anyone ever suggested an attribute to input fields that if required would set which character would indicate the field is required. Something like required

override log4j settings

2005-01-26 Thread Borja Martín
hi, is there any way to override the default myfaces log4j configuration? I would like to change the logging level thanks in advance

Re: override log4j settings

2005-01-26 Thread Heath Borders
MyFaces uses commons-logging, which should try to pick up your log4j configuration automatically. So, just setup your logging as you normally would, and commons-logging will try to find it. Also, make sure that your container doesn't have its own logger that hooks in with commons-logging, or else

RE: How do you handle security with JSF?

2005-01-26 Thread Korhonen, Kalle
> -Original Message- > From: niksa_os [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 26, 2005 5:23 AM > Subject: Re: How do you handle security with JSF? > Do you know for anyAPI or framework that simplify JAAS? > Or you build all from start? > > From: Dave Sag [mailto:[EMAIL PROTECT

Re: Is it possible to integrate the MyFaces components in Sun Java Studio Creator

2005-01-26 Thread Patrick B. Haggood
I'm guessing the answer is still 'no'. I've been hoping myfaces integration was just around the corner, but I think we'll just have to wait until Sun releases the components we need most (upload, et.al) in some later iteration of Creator. I just hope it's before my annual subscription runs out.

FileInput tag, save file on server

2005-01-26 Thread mfaine
I would like to use the fileinput tag to save a file on the server until such a time it is deposited into another system. The user has the option of depositing the file now, or at a later date. I also need to save the path of the file into a field so that it can be persisted to the database. Thi

Can't implement radio button per row in data table

2005-01-26 Thread Pat Young
I would like to implement a radio button per row in a data table. However, I can't because the name generated in each readio button contains the row number. Therefore the radio buttons don't work together. Has anyone tried to do this? Is this something that the new forceid property will help wi

Include a tag libs in a JSP page using XDoclet ...

2005-01-26 Thread fabio quimbay
Grettings, I try to refer me to the tags of myfaces on a JSP page, but I can't. The lines that I include are: <%@ 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/extensions"; prefi

Re: Can't implement radio button per row in data table

2005-01-26 Thread Sean Schofield
> Is this something that the new forceid property will > help with? Unfortunately not. You'll just get RadioButton[0], RadioButton[1], etc. That's much better than the JSF bastardized version (in my opinion) but that won't help you in this case. Why don't you submit a bug/enhancement report in

Re: Upgrading to 1.0.8

2005-01-26 Thread Pat Young
So the forceId attribute implemented 1.0.8? Is is not in the taglib documentation on the apache site. --- Sean Schofield <[EMAIL PROTECTED]> wrote: > My personal opinion is that right now, you're always > better off with > the latest code. There are still a lot of bugs that > are being found >

Re: Can't implement radio button per row in data table

2005-01-26 Thread Heath Borders
I made this as a custom component from my group. Unfortunately, I don't think I'll ever be able to contribute the code to MyFaces, but I'll tell you how I implemented it. Basically, I had a and tag that contained the valuebinding, converter, id, etc. However, this was just a placeholder tag.

Re: Can't implement radio button per row in data table

2005-01-26 Thread Sean Schofield
I'm going to try and see if I can fix this by tweaking the new forceId attribute. sean On Wed, 26 Jan 2005 18:07:20 -0600, Heath Borders <[EMAIL PROTECTED]> wrote: > I made this as a custom component from my group. Unfortunately, I > don't think I'll ever be able to contribute the code to MyFac

Re: required input character

2005-01-26 Thread Mark
Heath Borders wrote: You can just use an that would be easier than verbatim's. On Wed, 26 Jan 2005 07:37:25 -0800 (PST), mfaine <[EMAIL PROTECTED]> wrote: Has anyone ever suggested an attribute to input fields that if required would set which character would indicate the field

messages with embedded html

2005-01-26 Thread Mark
How can a resource bundle string have embedded html so that I can have a message like: form_entry_help=Enter the information in the fields provided. Fields marked with * are required. I know the answer probably is that they can't but you can't blame a guy for trying. Could I use a string res

Re: Fire action event via JavaScript?

2005-01-26 Thread Ray Clark
Hey Heath: What ever happened to your tag? Where do you stand on that? Thanks Ray --- Heath Borders <[EMAIL PROTECTED]> wrote: > We've been using a J4J component that writes out a > proxy id. Since > we're developing all of our javascript from scratch, > its not really a > big deal. You cou

Re: Fire action event via JavaScript?

2005-01-26 Thread Heath Borders
I still want to do it. Basically the last month has been crunch time at work, so I haven't had any free time to pursue it. I have forgotten about it, and I plan on working on it this weekend if I finish my project, next weekend if I have to burn myself out working. On Wed, 26 Jan 2005 19:04:58

RE: Upgrading to 1.0.8

2005-01-26 Thread Matthias Wessendorf
no, that is in CVS, will be shipped with 1.0.9 > -Original Message- > From: Pat Young [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 27, 2005 12:05 AM > To: MyFaces Discussion; Sean Schofield > Subject: Re: Upgrading to 1.0.8 > > > So the forceId attribute implemented 1.0.8? Is

solved (was RE: [WML RenderKit] custom validator)

2005-01-26 Thread Matthias Wessendorf
doh! introducing x taglib is a good approach... I guess... Btw. the binding is (perhaps) really a problem... -Matthias > -Original Message- > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 26, 2005 11:09 AM > To: myfaces-user@incubator.apache.org > Subje

RE: messages with embedded html

2005-01-26 Thread Matthias Wessendorf
If you set escape to false you will be able to render something like: So it should be posible to place "Hello" in your bundle, *when* you use the escape attribute. HTH, Matthias > -Original Message- > From: Mark [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 27, 2005 2:40 AM > To

Re: Is it possible to integrate the MyFaces components in Sun JavaStudio Creator

2005-01-26 Thread niksa_os
Design-Time API: http://developers.sun.com/prodtech/javatools/jscreator/reference/apis/index.html http://developers.sun.com/prodtech/javatools/jscreator/reference/apis/designtime/jscreator-designtime-javadoc.zip http://developers.sun.com/prodtech/javatools/jscreator/reference/apis/designtime/Design