RE: Quickest/Safest way to get clientId from for name in JSF?

2005-05-27 Thread Mike Burati
Good luck on doing that outside of a JSF UI tag - you may want to consider biting the bullet and writing your own tag. I had looked into something very similar recently (just to apply an error style class to the prompt / output label if there was an error on the field - I hear something like that

Re: tabbed pane problem

2005-05-27 Thread Enrique Medina
Yes, I experienced that problem with request scoped beans and tabbed panes. There are several solutions to the problem: a) Scope the beans as being session scoped b) Use some kind of object that holds the model of the tabbed beans, put it in session and inject it to the request scoped beans throug

Re: tabbed pane problem

2005-05-27 Thread Csík Norbert
Hi! I think this is becase your backing beans are request scope. When you display the second tab it is empty, because submitting the page with the first tab doesn't set those values. I've implemented a tab change eventlistener, which reloads the request scope backing bean's data. It is working f

Re: tabbed pane problem

2005-05-27 Thread Werner Punz
I will try to isolate the problem in a few days (I currently am in crunch time :-( ) Implemented the tabbing with a bunch of javascript and css now :-) That is more elegant anyway than having to have a full round trip for switching tags. Werner Philipp Ahlner wrote: I use the tabbedPanes

Re: tabbed pane problem

2005-05-27 Thread Philipp Ahlner
I use the tabbedPanes in a complex project at work. I've fixed a bug in the tabbedPane: http://issues.apache.org/jira/browse/MYFACES-214 but this bug is only fixed on trunk (next version) and not in the actual 1.0.9. Maybe this bug is your problem (I can't really imagine). Without a example snipp

Re: java studio creator and myfaces

2005-05-27 Thread Lorenzo Sicilia
Craig McClanahan wrote: One of my developers on the Sun Java Studio Creator team, Edwin Goei, has collected a set of information needed by third party component libraries for successful import into Creator. There are issues to pay attention to with both the components themselves and with how the

Re: Navigating "back"

2005-05-27 Thread Craig McClanahan
On 5/27/05, Werner Punz <[EMAIL PROTECTED]> wrote: > Craig McClanahan wrote: > > On 5/27/05, Werner Punz <[EMAIL PROTECTED]> wrote: > > > >>Sean Schofield wrote: > >> > >>>FYI there is some really cool stuff going on with dialogs in Struts > >>>Shale right now. Its all built on top of JSF and ther

Re: tabbed pane problem

2005-05-27 Thread Werner Punz
I have it like that, but there seems to be another problem which causes this behavior, I will try to isolate the problem to nail it down whether it is my code or the tabbed pane. Werner Philipp Ahlner wrote: Hi Werner! You should enclose your x:tabbedPane - tag in a x:form like this:

Re: tabbed pane problem

2005-05-27 Thread Philipp Ahlner
Hi Werner! You should enclose your x:tabbedPane - tag in a x:form like this: . . and not a form pe

Re: java studio creator and myfaces

2005-05-27 Thread Craig McClanahan
On 5/27/05, Lorenzo Sicilia <[EMAIL PROTECTED]> wrote: > Hi to all, > > it's possible to import myfaces in java studio creator? > In jsc exists "Added Components" feauture but when I try to import > myfaces.jar One of my developers on the Sun Java Studio Creator team, Edwin Goei, has collected a

App won't start: Error reading standard-faces-config.xml from jar. EOFException: Unexpected end of ZLIB input stream

2005-05-27 Thread steve rock
Hi, Getting this error when starting my app on linux, jboss 4. latest myfaces. Have no idea what is causing this nor how to fix. The app works on my local notebook, but not on our testing server. 2005-05-27 10:40:12,075 INFO [org.apache.myfaces.config.FacesConfigurator] Reading standard config o

Quickest/Safest way to get clientId from for name in JSF?

2005-05-27 Thread IdRatherBeSailing
What's the quickest and safest (works across JSF impls and doesn't depend on an impl-specific mapping of clientId to a local name of a component) to get the clientId of a component from the local name (eg, for="myinputname" value)? If you must know, I'm trying to determine if a field has errors,

Re: Tomcat 5.5 problems

2005-05-27 Thread alex
Francesco Consumi wrote: you should toggle log4j.jar file from your project.. This is unfortunately not possible, because jpox.jar (I use jpox jdo2.0 implementation for persistence) needs log4j.jar. Otherwise the application doesn't start due to the fact that inside of jpox errors appea

Re: tabbed pane problem

2005-05-27 Thread Werner Punz
Werner Punz wrote: Hi... Hi have following problem: I have a form with lots of entry fields, in the form there is a tabbed pane with four tabs all of them containing fields. No when i open the page, the fields are set correctly in the fields outside the tab and in the first tab, but as soon a

Re: MyFaces and Tomcat - cant get it to work

2005-05-27 Thread steve rock
I am having the same problem. Myfaces .9 + JBoss 4 Is this the error you were getting on app startup? Not sure what this means. -Steve 2005-05-27 10:40:12,075 INFO [org.apache.myfaces.config.FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml 2005-

Re: UIInput.getValue returns old value

2005-05-27 Thread Jan Bols
Hey thanks! this solved the validation problem but created another one: 1. When the user fills nothing in field1, uiField1.getValue() doesn't return null, but returns an empty String object. I don't know if this was intented. 2. When I attach a valueChangelistener to a field that the user

tabbed pane problem

2005-05-27 Thread Werner Punz
Hi... Hi have following problem: I have a form with lots of entry fields, in the form there is a tabbed pane with four tabs all of them containing fields. No when i open the page, the fields are set correctly in the fields outside the tab and in the first tab, but as soon as I switch tabs not

Re: Best practice for validating null value of non required UIInput

2005-05-27 Thread Csík Norbert
> Anyone who knows something different? I would put a custom validator on the company name which checks the other fields if the company name was null. -- Norbert Csík

RE:[Friday] Tomcat 5.5 problems

2005-05-27 Thread Nail, Evan Burke
I googled nullpointerexception and those things are bad. bn -Original Message- From: alex [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 7:52 AM To: MyFaces Discussion Subject: Re: Tomcat 5.5 problems Martin Marinschek wrote: >I get this message only if I stop the application -

Re: Navigating "back"

2005-05-27 Thread Cenk Çivici
Hi, An implementation is available at http://www.jroller.com/page/cenkcivici/20050512#custom_jsf_navigation_handler_for Cenk Çivici On 5/24/05, Klug, Boris <[EMAIL PROTECTED]> wrote: > Hi! > > i have a short (and maybe silly) question: > > The user navigates thru my application. The user can

Re: Are there any plans for a JSF 1.2 book?

2005-05-27 Thread Matthias Wessendorf
Craig, > From my perspective, the MyFaces "movement" was started with the sole > focus of creating a compatible implementation of the JavaServer Faces > Specification (which is a good thing :-) -- and which is not done yet > :-(). The idea that someone might be interested in a set of JSF well, w

Re: Tomcat 5.5 problems

2005-05-27 Thread alex
Martin Marinschek wrote: I get this message only if I stop the application - not at any time else. Are you sure this has got something to do with your exceptions? regards, Martin Yes, because this message always comes, when normally a nullpointerexception is thrown.

Re: Tomcat 5.5 problems

2005-05-27 Thread Francesco Consumi
Scrive alex <[EMAIL PROTECTED]>: 27.05.2005 14:05:02 org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal access: this web application instance has been stopped already. Could not load org.apache.log4j.spi.ThrowableInformation. The eventual following stack trace is caused by

RE:x:dataScroller blanked on page change

2005-05-27 Thread mfaine
Thanks for your mail and I don't mind posting for you. I also had trouble posting. I cannot post from work. I must post from my ISP or it gets returned with some kind of "Forged" error message. I use my ISPs webmail account to post to this list. It is the only thing that works. You are corre

Re: Tomcat 5.5 problems

2005-05-27 Thread Martin Marinschek
I get this message only if I stop the application - not at any time else. Are you sure this has got something to do with your exceptions? regards, Martin On 5/27/05, alex <[EMAIL PROTECTED]> wrote: > Hi, > > I'm running myfaces 1.0.9 with Tomcat 5.5.7 > Everything works fine but regarding throw

RE:x:dataScroller blanked on page change

2005-05-27 Thread mfaine
Hi, I have a problem similar to yours. And after 2 days struggling, I decided to post it for help. I made a datatable with checkbox for every row, a delete button, and a dataScroller. In the back bean, I defined a list to hold the data. (there is another bean for row data, this is for datatable)

Tomcat 5.5 problems

2005-05-27 Thread alex
Hi, I'm running myfaces 1.0.9 with Tomcat 5.5.7 Everything works fine but regarding thrown Exceptions I have some problems. I very often get this message 27.05.2005 14:05:02 org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal access: this web application instance has been stoppe

java studio creator and myfaces

2005-05-27 Thread Lorenzo Sicilia
Hi to all, it's possible to import myfaces in java studio creator? In jsc exists "Added Components" feauture but when I try to import myfaces.jar i get this output: debug: rave-install=../.. component-jar=/home/lorenzo/.Creator/1_0/components/jars/myfaces.jar component-jar-url=/home/lorenzo/.C

Re: Are there any plans for a JSF 1.2 book?

2005-05-27 Thread Martin Marinschek
Sounds interesting! tell us when you will be ready to have a look at it. regards, Martin On 5/27/05, Werner Punz <[EMAIL PROTECTED]> wrote: > Martin Marinschek wrote: > > Your additions would be very welcome! > > > > As we don't have a sandbox so far, why not upload it at the > > sourceforge my

CookieMap

2005-05-27 Thread Francesco Consumi
Hi all, I'd need to some user settings of my webapp, such as data filters, in cookies. I've found the CookieMap class, but I haven't found any documentation on how to use, e.g. how to get class instance for malipulating cookies... any help ? thanks

Re: Navigating "back"

2005-05-27 Thread Werner Punz
Craig McClanahan wrote: On 5/27/05, Werner Punz <[EMAIL PROTECTED]> wrote: Sean Schofield wrote: FYI there is some really cool stuff going on with dialogs in Struts Shale right now. Its all built on top of JSF and there are some "nightly" examples you can download from Craig's website. Of c

problem while migratig myfaces 1.0.8 to 1.0.9

2005-05-27 Thread ssobot
hi im using eclipse+sysdeo plugin+tomcat5 i needed tree2 so i have changed my 1.0.8 web-inf/lib/myfaces.jar to 1.0.9 since then server throws error when booting or trying to run my app: //* 09:49:23,577 INFO FacesConfigurator:226 - Reading standard confi

Re: Are there any plans for a JSF 1.2 book?

2005-05-27 Thread Werner Punz
Martin Marinschek wrote: Your additions would be very welcome! As we don't have a sandbox so far, why not upload it at the sourceforge myfaces components project first so that we can have a look at the components? Thanks, Just got the ok, from my management, due to a very tight deadline I hav

Re: Navigating "back"

2005-05-27 Thread Craig McClanahan
On 5/27/05, Werner Punz <[EMAIL PROTECTED]> wrote: > Sean Schofield wrote: > > FYI there is some really cool stuff going on with dialogs in Struts > > Shale right now. Its all built on top of JSF and there are some > > "nightly" examples you can download from Craig's website. > > > > Of course you

Re: Are there any plans for a JSF 1.2 book?

2005-05-27 Thread Craig McClanahan
On 5/26/05, Martin Marinschek <[EMAIL PROTECTED]> wrote: > Well, we could probably just ask Craig for a copy, but it doesn't play > well to have two copies of the same code in the ASF codebase. You mean "ask for a copy of code that's already in an ASF repository?" You don't have to -- the license

Re: Are there any plans for a JSF 1.2 book?

2005-05-27 Thread Martin Marinschek
Your additions would be very welcome! As we don't have a sandbox so far, why not upload it at the sourceforge myfaces components project first so that we can have a look at the components? Thanks, regards, Martin On 5/27/05, Werner Punz <[EMAIL PROTECTED]> wrote: > I will, as soon as shale is

Re: Are there any plans for a JSF 1.2 book?

2005-05-27 Thread Werner Punz
I will, as soon as shale is covered by gmane, I am in too many lists already anyway I am on a tight schedule currently, but as soon as I am finished, I will try to hack something like that for faces, I think the shale approach is totally wrong, JSF already has way to many confusing framework

Re: Navigating "back"

2005-05-27 Thread Werner Punz
Sean Schofield wrote: FYI there is some really cool stuff going on with dialogs in Struts Shale right now. Its all built on top of JSF and there are some "nightly" examples you can download from Craig's website. Of course you can accomplish this without Shale (see Martin's suggestions) but Shal