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: h:graphicImage binding=#{cardLoader.image} url=#{facesContext.externalContext.requestContextPath}#{cardLoader.imageUrl} styleClass=card/ I use a binding component. The bean called as this method: private

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: h:graphicImage binding=#{cardLoader.image}

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

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

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

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. Im using Myfaces 1.1.1 Nightly Build 12.12.2005 Is this known problem?Has

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 ?

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

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: h:commandButton value="Add Task" /h:commandButtonAnd my addTask.jsp looks like below:%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"% %@ taglib

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

Re: Popup in new window problem

2006-01-09 Thread ::SammyRulez::
not sure but I think h:commandButton value=Add Task onclick=window.open('../pages/addTask.faces','popup','height=300,width=200,toolbar=no,menubar=no,scrollbars=yes'); /h:commandButton you have to fill the url param with the right url the browser have to call (.faces in my config) 2006/1/9,

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?

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: 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

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

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

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: 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 thelist 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]

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. Januar

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

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

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

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).

Re: Oracle ADF component - objectMedia

2006-01-09 Thread Matthias Wessendorf
Darren, Questions: 1. Will objectMedia 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,

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: Perhaps

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

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: 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

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

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 replied

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.

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: