Antwort: Re: Idea for new "privacy" feature

2005-01-18 Thread christian . rueedi
Personally I would implement this with converters. What I miss often is to enable / disable converters and validators with a rendered or required attribute. The only possibility to control this is the validator/converter attribute on the component itself: But in this case you are restricted t

Re: passing from one backing bean to another

2005-01-18 Thread Sean Schofield
You can also explicitly store the value in the request in the first bean and retrieve it via the request in the second bean. Both ways are acceptable. sean On Tue, 18 Jan 2005 22:26:44 -0500, Jesse Vitrone <[EMAIL PROTECTED]> wrote: > Never mind, I was able to do it with this: > FacesContext c

Re: passing from one backing bean to another

2005-01-18 Thread Jesse Vitrone
Never mind, I was able to do it with this: FacesContext context = FacesContext.getCurrentInstance(); BackingBeanB b = (BackingBeanB) context.getApplication().getVariableResolver().resolveVariable(context, "BackingBeanB"); >From there I was able to set stuff on my bean and it wa

passing from one backing bean to another

2005-01-18 Thread jesse
Is there a way to pass a value from one backing bean to another? I have a value set on BackingBeanA User clicks command link that calls method doStuff on my Backing Bean A. doStuff method does some stuff, and returns a value that will bring me to another page. This other page needs the same value

New Tree Table

2005-01-18 Thread Hermann . Fahle
Hello, If I use columns (h:colum or x:treeColumn) with the new tree table MyFaces does not render links for the nodes and so there is no possibility to call the treeSelectionListener . Is this a bug? Please help! Mit freundlichen Grüßen / Best regards Hermann Fahle Hella KGaA Hueck & Co. Individ

Re: Idea for new "privacy" feature

2005-01-18 Thread Sean Schofield
I am leaning towards that conclusion. We'll leave this thread up here and see what others think. There isn't really any harm in including it in MyFaces. It would be another attribute that you could add to a tag and a few custom renderers. Not a big deal really. On the other hand, if this is re

Re: Idea for new "privacy" feature

2005-01-18 Thread Travis Reeder
I think you should just create your own custom components to add this, definitely not something that should be in MyFaces. Travis Sean Schofield wrote: That's a bit difficult in my case. I have a perfectly functioning system already with real data. Suppose I don't want to add fake data t

Re: Idea for new "privacy" feature

2005-01-18 Thread Sean Schofield
That's a bit difficult in my case. I have a perfectly functioning system already with real data. Suppose I don't want to add fake data to my production system. Also, the data is in a lot of different tables with foreign keys, etc. Finally some of the data tables are not under our control - we j

Re: Idea for new "privacy" feature

2005-01-18 Thread Heath Borders
You can't just create dummy data? On Tue, 18 Jan 2005 17:13:38 -0500, Sean Schofield <[EMAIL PROTECTED]> wrote: > What do you think about this idea ... > > Our current application at work uses very sensitive data. I've often > wanted to show the application to other clients but I don't want any

Idea for new "privacy" feature

2005-01-18 Thread Sean Schofield
What do you think about this idea ... Our current application at work uses very sensitive data. I've often wanted to show the application to other clients but I don't want any of this data to be shown. Maybe we could modify the ext tags to provide a "private" attribute (true/false.) Then suppl

Re: Security question about serialized bytes

2005-01-18 Thread Heath Borders
Try making a simple class and serializing it to a file. You'd be surprised at what it spits out. It is somewhat possible to learn about the values within a class and encripting the session is probably not a bad idea. On Tue, 18 Jan 2005 16:31:14 -0500, Sean Schofield <[EMAIL PROTECTED]> wrote:

Security question about serialized bytes

2005-01-18 Thread Sean Schofield
I've been thinking about the security implications of storing the JSF state on the client. It looks like MyFaces is serialzing, encoding and then zipping. My question is, if you had the serialized bytes for some java classes, how hard would it be to learn anything about the classes? I know this

Re: How are the null objects handled in value bindings

2005-01-18 Thread Sean Schofield
I'm not really that experienced with faces so perhaps others can chime in here ... but I will try to help with what I can. I seriously doubt that your spouse object is actually null as you are claiming it to be. I would think that would definitely get you a NPE if you tried to call a method on it

Re: ActionListener get value of component

2005-01-18 Thread Heath Borders
Have your commandButton use a MethodBinding for its actionListener. Make sure the methodBinding method has access to the value that you bound your listbox to. You will be guaranteed to have your value updated before your actionListener is called. On 18 Jan 2005 20:36:05 -, mfaine <[EMAIL PR

ActionListener get value of component

2005-01-18 Thread mfaine
I have a commandButton that depends on the value of the selected Item in a list box. I don't want to do a value change listener because then every time someone clicks a different item there will be a post. I want to do an action listener but I don't know how in my action listener code to get the

RE: How are the null objects handled in value bindings

2005-01-18 Thread Srikanth Madarapu
I am using 1.0.7 beta, and not ready for upgrading. Thanks -Original Message- From: Srikanth Madarapu Sent: Tuesday, January 18, 2005 2:10 PM To: MyFaces Discussion; Sean Schofield Subject: RE: How are the null objects handled in value bindings >> In my situation isExists is always r

RE: How are the null objects handled in value bindings

2005-01-18 Thread Srikanth Madarapu
>> In my situation isExists is always returning false if "spouse" is null. >How can isExists return anything if spouse is null? What is it that you are >trying to accomplish with the field. What kind of value are you expecting to >see under what circumstances. That is exactly what is puzzl

RE: How are the null objects handled in value bindings

2005-01-18 Thread Srikanth Madarapu
correct, I have getFirstName( returns String) and isExists( returns boolean) methods in the spouse object. -Original Message- From: Sean Schofield [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 1:47 PM To: MyFaces Discussion Subject: Re: How are the null objects handled in valu

Re: How are the null objects handled in value bindings

2005-01-18 Thread Sean Schofield
> But my question was why am I NOT getting the NullPointerException. In my case > I am NOT getting the exception, I am getting an empty string for a method > that returns String and false for a method that returns boolean. So you are getting empty string for #{...spouse.firstName} and false for

Re: How are the null objects handled in value bindings

2005-01-18 Thread Sean Schofield
> In my situation isExists is always returning false if "spouse" is null. How can isExists return anything if spouse is null? What is it that you are trying to accomplish with the field. What kind of value are you expecting to see under what circumstances. Maybe we can help if we know these de

RE: How are the null objects handled in value bindings

2005-01-18 Thread Srikanth Madarapu
But my question was why am I NOT getting the NullPointerException. In my case I am NOT getting the exception, I am getting an empty string for a method that returns String and false for a method that returns boolean. -Original Message- From: Heath Borders [mailto:[EMAIL PROTECTED] Sent

Re: How are the null objects handled in value bindings

2005-01-18 Thread Heath Borders
Here is what happens when you use a ValueBinding like that: MyFaces checks the request, session, and application maps for a bean named "manageProfileFace". If it is in any of those, it returns it, if not, it creates it and returns it. MyFaces checks the "manageProfileFace" for a "bioHelper" prope

How are the null objects handled in value bindings

2005-01-18 Thread Srikanth Madarapu
Hi I have the following line in my jsp... The object "spouse" is null. But I am not getting a NullPointerException !! Why? Does the JSF handle nulls and does not throw an exception ? What happens in case if the method returns a boolean ? For example.. In my situation isExists is always

Re: HtmlTableRenderer enhancement

2005-01-18 Thread Martin Marinschek
You are right, the hook-methods are not there... my +1 for adding them. regards, Martin On Tue, 18 Jan 2005 09:23:30 -0600, Heath Borders <[EMAIL PROTECTED]> wrote: > Yeah, I checked the cvs, and the latest version does not have > abstractions for starting and ending the row. > > I'm creating

Re: HtmlTableRenderer enhancement

2005-01-18 Thread Heath Borders
Yeah, I checked the cvs, and the latest version does not have abstractions for starting and ending the row. I'm creating a custom table that will allow built-in selection of rows, with highlighting of the selected row. However, in order to do this, I need to mark each row with an id, which I curr

Re: Which web hosting company for JSF?

2005-01-18 Thread Sean Schofield
Please excuse my smart alec reply earlier. I'm now seeing that your message includes "personal" web pages. Those are a bit harder to advertise (safely) to the outside world on your own machine. I couldn't figure out why you would need a public site for "testing." sean On Tue, 18 Jan 2005 15:2

RE: Which web hosting company for JSF?

2005-01-18 Thread AUGE FrÃdÃric GC EUR
They probably use something like http://user-mode-linux.sourceforge.net/ Frederic > -Message d'origine- > De : Sean Schofield [mailto:[EMAIL PROTECTED] > Envoye : mardi 18 janvier 2005 14:19 > A : MyFaces Discussion > Objet : Re: Which web hosting company for JSF? > > > Just curious how

Re: HtmlTableRenderer enhancement

2005-01-18 Thread Heath Borders
I haven't pulled down the latest code for a while (maybe 2 weeks), so I don't know what's been added. Howvever, in the code I'm looking at, there are places in the renderer for placing code before and after the row, however, the actual code for starting and ending the row is still only in the rend

RE: Which web hosting company for JSF?

2005-01-18 Thread Jesse Alexander (KBSA 21)
-Original Message- OK, do you know for any free or cheap web hosting company? I only need for testing and for my personal web pages. - Original Message - In this case a very old frined pops up: hth Alexander

Re: HtmlTableRenderer enhancement

2005-01-18 Thread Martin Marinschek
There should already be such methods for many of the components... we should have them in each component, with that writing a custom renderer can be much easier! regards, Martin On Tue, 18 Jan 2005 08:31:19 -0600, Heath Borders <[EMAIL PROTECTED]> wrote: > I would like to refactor the HtmlTable

Re: Which web hosting company for JSF?

2005-01-18 Thread Sean Schofield
> OK, do you know for any free or cheap web hosting company? > I only need for testing and for my personal web pages. Why not start your own "free" company on your local machine? Just install Tomcat. sean

HtmlTableRenderer enhancement

2005-01-18 Thread Heath Borders
I would like to refactor the HtmlTableRenderer to have a protected method for starting and finishing a row. This shouldn't change any functionality in the code, its mainly so that I can reuse the renderer for a datatable-like component. I'll commit the enhancement later today, but I just wanted t

Re: Which web hosting company for JSF?

2005-01-18 Thread niksa_os
OK, do you know for any free or cheap web hosting company? I only need for testing and for my personal web pages. - Original Message - From: "Guy Katz" <[EMAIL PROTECTED]> To: "MyFaces Discussion" ; <[EMAIL PROTECTED]> Sent: Tuesday, January 18, 2005 3:06 PM Subject: RE: Which web hosting

Re: Which web hosting company for JSF?

2005-01-18 Thread Sean Schofield
Just curious how that works. Do they configure the Java Security Manager to restrict permissions? How do they prevent you from putting up a malicious WAR file or hogging all of the resources? sean On Tue, 18 Jan 2005 08:16:25 -0600, Nail, Evan Burke <[EMAIL PROTECTED]> wrote: > > I have used

RE: Which web hosting company for JSF?

2005-01-18 Thread Nail, Evan Burke
  I have used www.kgbinternet.com in the past and they have been really good, for Canadians :) . I believe they have TC version 5 and mysql for about $20 cad - about $15 US. ( private instance ). I hosted a struts app not jsf, but as noted by others it should work.   However a Google of js

RE: Which web hosting company for JSF?

2005-01-18 Thread Jesse Alexander (KBSA 21)
-Original Message- you dont need anything special just a regular JSP/servlet hosting company. -Original Message- Except maybe a few more megabytes of memory...

RE: Which web hosting company for JSF?

2005-01-18 Thread Guy Katz
you dont need anything special just a regular JSP/servlet hosting company. all the JSF jars are delivered with the application anyway. a JSF app does not need anyrhing special installed in the environment in advance. -Original Message- From: Heath Borders [mailto:[EMAIL PROTECTED] Sent:

Re: Which web hosting company for JSF?

2005-01-18 Thread Heath Borders
You probably just need to find a company that gives you a tomcat instance with the JSF minimum requirements (I don't know what those are offhand). On Tue, 18 Jan 2005 14:55:34 +0100, niksa_os <[EMAIL PROTECTED]> wrote: > Do you have list of web hosting company where I can deploy my JSF web > appl

Which web hosting company for JSF?

2005-01-18 Thread niksa_os
Do you have list of web hosting company where I can deploy my JSF web application?   Thanks.

RE: Need some design ideas

2005-01-18 Thread Matthias Wessendorf
No! index.html and index1.html :-) > -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 18, 2005 9:03 AM > To: MyFaces Discussion > Subject: Re: Need some design ideas > > > Thanks! You gave me two URLs that are the same, however. > > Mi

Re: Need some design ideas

2005-01-18 Thread Michael McGrady
Sorry, I missed the difference. Thanks again. Michael Matthias Wessendorf wrote: Michael, Hans Bergesten has two online articles regarding JSF and events: http://www.onjava.com/pub/a/onjava/excerpt/JSF_chap8/index.html and http://www.onjava.com/pub/a/onjava/excerpt/JSF_chap8/index1.html HTH, Mat

Re: Need some design ideas

2005-01-18 Thread Michael McGrady
Thanks! You gave me two URLs that are the same, however. Michael Matthias Wessendorf wrote: Michael, Hans Bergesten has two online articles regarding JSF and events: http://www.onjava.com/pub/a/onjava/excerpt/JSF_chap8/index.html and http://www.onjava.com/pub/a/onjava/excerpt/JSF_chap8/index1.ht