Re: Populating Component Tree Values from Servlet

2006-01-09 Thread Craig McClanahan
On 1/9/06, Simon Kitching <[EMAIL PROTECTED]> wrote: [snip]However your query params are just keys in the request scope, so theycan be accessed using EL expressions like #{someQueryParamName} from theJSP pages.Almost ... but not quite.  You'll have much better luck with an _expression_ like:     #{

Re: extensions TLD after mvn

2006-01-09 Thread Martin Marinschek
Also for tools support, it's much better to drop it. Thing is that currently people are seeing two tld's for the tomahawk components in their IDEs, with no mentioning what TLD is preferred and should be used. So they get really confused by that, it's very good that you have dropped it, Sean. reg

Re: Populating Component Tree Values from Servlet

2006-01-09 Thread Simon Kitching
On Mon, 2006-01-09 at 19:11 -0500, Elam Daly wrote: > Hi all, > > I got the code below from the JSF spec, and it works fine except for > the fact that I don't know how to put values recieved from the query > string of a servlet into my Managed beans so that they are displayed > when the first page

Re: Save last tab selected from panelTabbedPane

2006-01-09 Thread Dennis Byrne
> I have problem in saving the selection of last tab selected ..? Is it that > in the bean i will have to set the selectedIndex of the tab..? But this will > have to be done on all the methods i use on that page. > The same problem was posted earlier on this forum but not yet replied. I repl

Save last tab selected from panelTabbedPane

2006-01-09 Thread Nikita Shah
 HelloI have problem in saving the selection of last tab selected ..? Is it that in the bean i will have to set the selectedIndex of the tab..? But this will have to be done on all the methods i use on that page. The same problem was posted earlier on this forum but not yet replied. If anyo

Re: Overriding error message...

2006-01-09 Thread Martin Marinschek
Mike, You'll need to use the extended messages (t:message/t:messages) components for this to work. You can use the standard (that means h:inputXYZ) input components, though. regards, Martin On 1/10/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > If you use the Myfaces Tomahawk components (t

Re: NavigationHandler API faces.config

2006-01-09 Thread Dennis Byrne
Take a peek in application scope at "org.apache.myfaces.config.RuntimeConfig" for a MyFaces specific solution. >-Original Message- >From: Dennis Byrne [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 10, 2006 12:35 AM >To: 'MyFaces Discussion' >Subject: Re: NavigationHandler API faces.co

Re: Nightly Build - Nething broken ?

2006-01-09 Thread Nikita Shah
Hi MartinThanks for your reply.. I get the same errors for the examples also. And also this errors I get only in IE. Any thoughts on this issue..?TIA NikitaMartin Marinschek <[EMAIL PROTECTED]> wrote: No clue.Do the examples work?regards,MartinOn 1/9/06, Nikita Shah wrote:> Hello>> I

Re: NavigationHandler API faces.config

2006-01-09 Thread Dennis Byrne
You can load it into an input stream w/ something like this.getClass().getClassLoader().getResourceAsStream() . Then use DOM or SAX API to parse it. Also, check out MyFaces source. I believe all of that information is stored in a configuration based object model that is stored in an applicati

Re: NavigationHandler API faces.config

2006-01-09 Thread Craig McClanahan
On 1/9/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: I had wondered that myself for a time, as it would have made something I wrote easier. NavigationHandler really needs to change to make it more reusable (ability to get the settings from it instead of just that one method. As for the information

Re: NavigationHandler API faces.config

2006-01-09 Thread Andrew Robinson
I had wondered that myself for a time, as it would have made something I wrote easier. NavigationHandler really needs to change to make it more reusable (ability to get the settings from it instead of just that one method. As for the information, it will not be so easy as there is not necessarily o

Re: NavigationHandler API faces.config

2006-01-09 Thread Laurie Harper
Dave wrote: Is there any way to access faces.config? I need to know the to-view-id(JSP page) given from-view-id and from-outcome. The NavigationHanlder has only one method handle(..), Thanks. Dave Unfortunately not, short of parsing faces-config yourself and re-implementing the algorithm

NavigationHandler API faces.config

2006-01-09 Thread Dave
Is there any way to access faces.config? I need to know the to-view-id(JSP page) given from-view-id and from-outcome. The NavigationHanlder has only one method handle(..), Thanks. Dave Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.

Re: Oracle ADF in the next myfaces version ??

2006-01-09 Thread Sean Schofield
Everything is still in the exploratory phase. Oracle has made the source code available for review. Over time the community will review it and decide where to go from there. Feel free to grab the code and make comments on the dev list if you want to weigh in. Sean On 1/9/06, Adrien FOURES <[EM

Re: extensions TLD after mvn

2006-01-09 Thread Sean Schofield
Dennis, I dropped it from this release. Its legacy and it was not being kept up to date. I believe I was getting XSLT errors (I can't remember now the issue) but rather then trying to figure out who broke what I just dropped it. Sean On 1/8/06, Dennis Byrne <[EMAIL PROTECTED]> wrote: > Perhap

Re: Oracle ADF component - objectMedia

2006-01-09 Thread Matthias Wessendorf
Darren, > Questions: > 1. Will be one of the components released to MyFaces from > Oracle? I guess you missed that mail thread http://tinyurl.com/dksxm > Thanky, just trying to decide whether to use my own or to use a MyFaces > community component. Well, you can share your components, that's h

Re: Overriding error message...

2006-01-09 Thread Mike Kienenberger
If you use the Myfaces Tomahawk components (t:inputXYZ), then the label will be used instead of the id if specified. On 1/9/06, John Holland <[EMAIL PROTECTED]> wrote: > I ran into this problem also but I didn't want the id to be displayed > but something more user friendly (like the label). Appa

Populating Component Tree Values from Servlet

2006-01-09 Thread Elam Daly
Hi all, I got the code below from the JSF spec, and it works fine except for the fact that I don't know how to put values recieved from the query string of a servlet into my Managed beans so that they are displayed when the first page initially comes up.  In fact, I can't get a childCount from the

Re: Overriding error message...

2006-01-09 Thread Wendy Smoak
On 1/9/06, Marco <[EMAIL PROTECTED]> wrote: > I have an input text, Its value is binded to a double property in a managed > bean. > > And if the input was not a number the following error message is displayed > > "budget": Specified value is not a valid number. > > But i want to override this mess

RE: Overriding error message...

2006-01-09 Thread John Holland
I ran into this problem also but I didn't want the id to be displayed but something more user friendly (like the label). Apparently Oracle's ADF allows you to specify a Label for error messages (so they make sense) but MyFaces does not. The only way I've found to work around this is to use a cu

Re: Oracle ADF component - objectMedia

2006-01-09 Thread Jonas Jacobi
Hi Darren, I'll answer # 1. The af:objectMedia component is definitely part of the donation. Jonas --- Jonas Jacobi Technology Evangelist - JSF & ADF Faces Oracle JDeveloper Author: Pro JSF and Ajax: Building Rich Internet Components Blog:

Re: Overriding error message...

2006-01-09 Thread Claudio Tasso
Marco ha scritto: I have an input text, Its value is binded to a double property in a managed bean. And if the input was not a number the following error message is displayed "budget": Specified value is not a valid number. But i want to override this message, so what should i do ? Thanks

Re: Popup in new window problem

2006-01-09 Thread Werner Punz
::SammyRulez:: wrote: not sure but I think a target="_new" should do it, but opening popups is calling for trouble, you basically open a can of worms, due to the fact that you do not have a modal dialog mechanism which works across browsers. That is one and pretty much the only thing the I

Re: selectManyCheckbox not working within datatable

2006-01-09 Thread Simon Kitching
[EMAIL PROTECTED] wrote: I am trying to get a selectManycheckbox to work within a datatable, as soon as I put it into the datatable the page fails to submit and reloads itself again, All buttons, command links etc stop working. I’m using Myfaces 1.1.1 Nightly Build 12.12.2005 Is this known pr

Re: Can panelTabbedPane remember the last selected index?

2006-01-09 Thread Dennis Byrne
I know some people who have bound the index to a session scoped integer. This has some obvious trade offs. Another way to approach this is to bind the index to a request scoped integer, and manually set the integer in an action listener that is tied to the command. This becomes tedious howeve

Can panelTabbedPane remember the last selected index?

2006-01-09 Thread Matthias Kahlau
Hi! Does anybody know if the panelTabbedPane can provide a facility to remember the last "selectedIndex". That would be fine if the user returns to the panelTabbedPane which he has left from a tab != default selectedIndex... Without any modifications, always the default tab is shown again. Reg

Re: AddResource issue

2006-01-09 Thread Mike Kienenberger
You can find improved extensions filter mappings on this page: http://myfaces.apache.org/tomahawk/extensionsFilter.html It clears up a lot of the confusion regarding what needs to be done and why. On 1/8/06, Michel Goldstein <[EMAIL PROTECTED]> wrote: > Simon and Greeta, > > That's exactly my pr

AW: AW: commandLink does not work within a dataTable

2006-01-09 Thread Uensal_Kara
Hi Geeta,   thank you very much, the problem is solved. Your guess was absolutely correct. After I taken care that the collection is available after the Restore View phase everything works fine.     Regards, Ünsal   Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Montag, 9. Janua

Oracle ADF component - objectMedia

2006-01-09 Thread Darren Hartford
Hi all, I'm pretty close to finalizing one of my projects that needs to use TIF images (and possible a mix of other images later) and I need to choose a JSF component to help display the images inline on page (using the browsers native MIMETYPE'd image plugin). I have my own custom component to

Re: TabPane -> Form => Javascript-Error

2006-01-09 Thread Harald Müller
Hi! Yes ... it works! Thanks, H -Ursprüngliche Nachricht- Von: "Hansjörg Meuschel" [mailto:[EMAIL PROTECTED] Gesendet: Montag, 09. Jänner 2006 16:34 An: MyFaces Discussion Betreff: Re: TabPane -> Form => Javascript-Error Hi, try to put the form tag before the paneltabbedpane tag and

Re: Nightly Build - Nething broken ?

2006-01-09 Thread Martin Marinschek
No clue. Do the examples work? regards, Martin On 1/9/06, Nikita Shah <[EMAIL PROTECTED]> wrote: > Hello > > I downloaded the source from the repository today and build it. Am > getting the following errors while using the calendar component.. Can anyone > help with this.. ? > > > Jan 9, 2

Overriding error message...

2006-01-09 Thread Marco
I have an input text, Its value is binded to a double property in a managed bean.And if the input was not a number the following error message is displayed"budget": Specified value is not a valid number. But i want to override this message, so what should i do ?Thanks

Oracle ADF in the next myfaces version ??

2006-01-09 Thread Adrien FOURES
Hello I allready use myFaces component , but I have read on the web, that oracle give his JSF component to myFaces project, and i would like to know, when and how can i use it, in the future version of myFaces? Thanks, Adrien

Re: AW: commandLink does not work within a dataTable

2006-01-09 Thread gramani
<[EMAIL PROTECTED]> wrote on 01/09/2006 10:22:46 AM: > Hi Geeta, >   > Thank you for your answer, but could you explain what the list has > to do with my problem? Well Ünsal, I am not at all an expert in JSf but here's what I believe happens (and I hope somebody will correct me if I am wrong o

Re: AW: JSF support East Asian characters ?

2006-01-09 Thread steady
I met this problem too, I use Myfaces, standalone Tiles, I spend about 2 weeks on this problem, but today I found a property in and I wrote , and then everything is ok, I wrote some Chinese in and submit it, yeah! It works well! On 1/8/06, Dave <[EMAIL PROTECTED]> wrote: It was that caused t

Re: A question about managed beans , how MB methods treated ?

2006-01-09 Thread Alexandre Poitras
Craig McClanahan has said a couple of times that Shale can be seen as a testing ground for new features in JSF 2.0 (If I remember correctly). Since he was the JSF 1.0 cospecification leader, he's probably going to be on the JCR expert group. So you might see some hints there that some Shale feature

Re: TabPane -> Form => Javascript-Error

2006-01-09 Thread Hansjörg Meuschel
Hi, try to put the form tag before the paneltabbedpane tag and use one single form for all tabs! > > > > > > > > if this does not work please post your jsf source! Greets, Hans > --- Ursprüngliche Nachricht --- > Von: Harald Müller <[EMAIL PROTECTED]> > An: "MyFaces D

AW: commandLink does not work within a dataTable

2006-01-09 Thread Uensal_Kara
Hi Geeta,   Thank you for your answer, but could you explain what the list has to do with my problem? I suppose that you mean with "list" the value-attribute of the dataTable-component, which is in my case a Collection of model-objects.     Regards,   Ünsal Von: [EMAIL PROTECTED] [mailto:

TabPane -> Form => Javascript-Error

2006-01-09 Thread Harald Müller
Hi! Code: This code gives me a javascript-error on loading the webpage (Firefox): -> "f has no properties" Can someone reproduce that ... or am I doing something wrong? I'm using today's svn-head! Thanks, H

Re: selectManyCheckbox not working within datatable

2006-01-09 Thread gramani
<[EMAIL PROTECTED]> wrote on 01/09/2006 06:38:10 AM: > Hi, >   > I am trying to get a selectManycheckbox to work within a datatable, > as soon as I put it into the datatable the page fails to submit and > reloads itself again, All buttons, command links etc stop working. Hi Matthias, you may b

Nightly Build - Nething broken ?

2006-01-09 Thread Nikita Shah
 HelloI  downloaded the source from  the repository today and build it. Am getting the following errors while using the calendar component.. Can anyone help with this.. ? Jan 9, 2006 8:03:06 PM org.apache.myfaces.component.html.util.AddResource serveResource SEVERE: Error while serving

Re: commandLink does not work within a dataTable

2006-01-09 Thread gramani
<[EMAIL PROTECTED]> wrote on 01/09/2006 06:14:07 AM: > Hi, > I have got a problem with the commandLink-components within a > dataTable. The connected actionListener-method is never executed and > the same view is displayed without any changes. It is a very weird > problem, because a quite simil

Re: AW: Bug in InputSuggestAjax (ValueChangeEvent doesn't work)

2006-01-09 Thread Werner Punz
Volker Weber wrote: > Hi, > > the version of the scriptaculo.us scripts in svn head of myfaces is > 1.5.0 or 1.5.1 (i'm not sure which version Matthias has fetched), but > there are no Autocompleter related changes between. > > In the releases are older versions. > > Regards, > Volker > guess

Re: AW: Bug in InputSuggestAjax (ValueChangeEvent doesn't work)

2006-01-09 Thread Volker Weber
Hi, the version of the scriptaculo.us scripts in svn head of myfaces is 1.5.0 or 1.5.1 (i'm not sure which version Matthias has fetched), but there are no Autocompleter related changes between. In the releases are older versions. Regards, Volker [EMAIL PROTECTED] wrote: > Thanks for reply! >

AW: Re: Redisplay-Refresh

2006-01-09 Thread andreas.mitter
Try the jeniapopup from www.jenia.org. There you can add a method to a attribute called actionClose This method is then executed, when the popup is closed and so you can refresh your page in this method Jenia.org has a good documentation, so implementation is easy. Regards Andy -Ursprünglich

RE: Re: Redisplay-Refresh

2006-01-09 Thread Matias Gomez Carabias
Laurie, I've tried calling a backing bean of the parent window before the window.close() and the method is executed successfully but the parent page is never refreshed. I've also tried to submit the parent's window form via javascript but nothing happened. Can you post a code example for your appr

Re: AW: Bug in InputSuggestAjax (ValueChangeEvent doesn't work)

2006-01-09 Thread Werner Punz
[EMAIL PROTECTED] wrote: > I have now found out, what's the problem. > The ValueChangeEvent works in IE too(so my first thoughts were wrong), but to > submit and execute the ValueChangeEvent I have to press Enter for a second > time!!, whereas in Firefox one left-mouse click is enough (after choo

AW: Bug in InputSuggestAjax (ValueChangeEvent doesn't work)

2006-01-09 Thread andreas.mitter
Thanks for reply! I have now found the scriptaculo.us library at http://script.aculo.us/downloads with the version 1.5.1 Which version is implemented in Myfaces? And how can I change the libraries or rather where must I put the lib? Regards, Andy -Ursprüngliche Nachricht- Von: Martin

Re: Bug in InputSuggestAjax (ValueChangeEvent doesn't work)

2006-01-09 Thread Martin Marinschek
Probably it is. Try out the original scriptaculo.us library and try to file a bug there if this problem persists. regards, martin On 1/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have now found out, what's the problem. > The ValueChangeEvent works in IE too(so my first thoughts were

Re: A question about managed beans , how MB methods treated ?

2006-01-09 Thread Mikael Andersson
Hi, I have a question regarding the managed bean lifecyle. I have read in some blogs about EJB3 like annotations which can be used with managed beans to hook into different stages of the lifecycle, but that's about all I know about it. My question is, is this a feature for JSF 1.2 specification? W

AW: Bug in InputSuggestAjax (ValueChangeEvent doesn't work)

2006-01-09 Thread andreas.mitter
I have now found out, what's the problem. The ValueChangeEvent works in IE too(so my first thoughts were wrong), but to submit and execute the ValueChangeEvent I have to press Enter for a second time!!, whereas in Firefox one left-mouse click is enough (after choosing the Item of the Suggested L

Re: Popup in new window problem

2006-01-09 Thread ::SammyRulez::
not sure but I think you have to fill the url param with the right url the browser have to call (.faces in my config) 2006/1/9, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > I don't know, whats exactly your problem, but I wouldn't open a window with > window.open, but with the jeniapopup you wil

AW: Popup in new window problem

2006-01-09 Thread andreas.mitter
I don't know, whats exactly your problem, but I wouldn't open a window with window.open, but with the jeniapopup you will get at www.jenia.org It's easy to implement and works fine... Perhaps you want to try.   Regards, Andy -Ursprüngliche Nachricht-Von: Nikita Shah [mailto:[EMA

Popup in new window problem

2006-01-09 Thread Nikita Shah
 Hello,I am having problem using JSF tags in the popup jsf page. I have the parent page as below: And my addTask.jsp looks like below:<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> Task Name Now t

Is there any difference between binding using a Managed bean (defined in faces-config.xml) and an object,defined in backing bean class ?

2006-01-09 Thread Legolas Woodland
Hi thank you for reading my post. Is there any difference between binding using a Managed bean (defined in faces-config.xml) and an object defined in backing bean class ? in a tutorial i saw that author used a Managed beans to accomplish some jobs. he referenced to a Managed beans by using #{B

Strange exception...

2006-01-09 Thread Marco
Hi All;I'm using netbeans 4.1 configured with myfaces framework.But i have a strange annoying exception which sometimes occurs and sometimes not.This exception does not affect the web application behaviour so everything goes fine, But i want to know why does it happens, and how can i avoid it ? Not

selectManyCheckbox not working within datatable

2006-01-09 Thread Matthias.Koehler
Hi,   I am trying to get a selectManycheckbox to work within a datatable, as soon as I put it into the datatable the page fails to submit and reloads itself again, All buttons, command links etc stop working.   I’m using Myfaces 1.1.1 Nightly Build 12.12.2005   Is this known problem?H

Re: HtmlGraphicImage and width/height parameters

2006-01-09 Thread ::SammyRulez::
you have plenty of options to do that using different stylesheet files for each supported resolution detect the client resolution in a Session scoped bean detect the client resolution custom viewHandler detect the client resolution in a filter chained before jsf rendering first one is the easie

Re: HtmlGraphicImage and width/height parameters

2006-01-09 Thread Nicola Benaglia
::SammyRulez:: ha scritto: put them in css style class. Don't put presentation data in you bean ;-) My needs are to dimension an image, after having collected information about the resolution of the client's monitor. So I have to recalculate the width and height. CSS are not involved in this

commandLink does not work within a dataTable

2006-01-09 Thread Uensal_Kara
Hi, I have got a problem with the commandLink-components within a dataTable. The connected actionListener-method is never executed and the same view is displayed without any changes. It is a very weird problem, because a quite similar view with commandLinks in a dataTable does work(!) and this o

Re: HtmlGraphicImage and width/height parameters

2006-01-09 Thread ::SammyRulez::
put them in css style class. Don't put presentation data in you bean ;-) BTW what error did you get? 2006/1/9, Nicola Benaglia <[EMAIL PROTECTED]>: > Hi, > I need to pass "width" and "height" parameters > to a jsp graphicImage tag as following: > > url="#{facesContext.externalContext.requestCont

HtmlGraphicImage and width/height parameters

2006-01-09 Thread Nicola Benaglia
Hi, I need to pass "width" and "height" parameters to a jsp graphicImage tag as following: url="#{facesContext.externalContext.requestContextPath}#{cardLoader.imageUrl}" styleClass="card"/> I use a binding component. The bean called as this method: private HtmlGraphicImage image; public Html