Re: Fwd: Selected values of h:selectManyListbox ...

2007-06-11 Thread sugandh
Hi Bruno, You get the array of string when you do valueChangedEvent.getNewValue(). From thyis you can get the new values that have been added. There is a getOldValue() also but oddly, it keeps on throwing null pointer exception. Sugandh Bruno Aranda wrote: Please, send the mails to the user

Re: Leveraging other JSF open source libraries in MyFaces with new contribution projects?

2007-06-11 Thread Matthias Wessendorf
where did u read it ? On 6/11/07, David Steinkopff [EMAIL PROTECTED] wrote: I read LGPLv3/GPLv3 will be compatible with Apache License 2.0. Its in that case possible to include dependencies to LGPLv3 code? regards David 2007/6/10, Martin Marinschek [EMAIL PROTECTED]: No, we cannot include

Re: Leveraging other JSF open source libraries in MyFaces with new contribution projects?

2007-06-11 Thread David Steinkopff
http://www.zdnet.com.au/news/software/soa/GPL-likely-to-regain-Apache-compatibility/0,130061733,339276229,00.htm(english) http://radar.oreilly.com/archives/2007/04/gplv3_apache_li.html (english) http://www.heise.de/open/news/meldung/90483 (german) for example regards David 2007/6/11, Matthias

Issue with dynamic generated JSF-components and Norwegian Charset (i18n)

2007-06-11 Thread Leif Torger Grøndahl
Hi, for reasons not relevant to this issue I have chosen to create a jsf HtmlPanelGrid dynamic at backingbean-level. This grid consists of several other jsf-components, also generated dynamically. This works fine, but there seems to be an issue with the norwegian letters æ, ø and å. The letters

Re: Leveraging other JSF open source libraries in MyFaces with new contribution projects?

2007-06-11 Thread Matthias Wessendorf
from the oreilly radar: snip It will be possible to merge code under those licenses into GPL3 covered software once the GPL version 3 is really out. /snip That reads like GPL3 code can contain Apache/Eclipse licensed code. Not that Apache code can contain GPL3. Here is an interesting comment,

Re: Myfaces - application calling by link which include parameter

2007-06-11 Thread MPF
Hi! Well I tried this (but its sound like easy and thats all I need), but the parameter value is always null! try to call with following url: http://localhost:8080/GatheringPlace/jsp/placeDetail.jsf?dbk=1212 my code: bean: public class PlaceDetailController { private String dbk;

Re: Myfaces - application calling by link which include parameter

2007-06-11 Thread MPF
Well now it works with: value#{param.dbk}/value thanks to all and best regards MPF wrote: Hi! Well I tried this (but its sound like easy and thats all I need), but the parameter value is always null! try to call with following url:

Re: Leveraging other JSF open source libraries in MyFaces with new contribution projects?

2007-06-11 Thread Matthias Wessendorf
here is my email to legal. http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200706.mbox/[EMAIL PROTECTED] The reply isn't archived yet, but will be in some minutes, from now. On 6/11/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: from the oreilly radar: snip It will be possible

Re: JBoss Seam Usage?

2007-06-11 Thread Matthias Wessendorf
Personally I haven't used it, but inside the Trinidad wiki, there are some docs on how to use Trinidad w/ Seam. Looks like it works good. Note, that JBoss also uses MyFaces (or RI) as the used JSF run time lib. -M On 6/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm using MyFaces

How can I set multi entries listed in seperate lines in a cell of Schedule?

2007-06-11 Thread 晓坚王
Hi, How can I set multi entries listed in seperate lines in a cell of Schedule? Now ,if a cell has more than one entry,they are listed horizontal, I want that,the entries in the same cell are listed vertical; Is there a way to do that? Thanks .

Re: Leveraging other JSF open source libraries in MyFaces with new contribution projects?

2007-06-11 Thread David Steinkopff
OK, and what way can LGPLv3 combine with ALv2? That its the license question about JBoss and MyFaces. 2007/6/11, Matthias Wessendorf [EMAIL PROTECTED]: here is my email to legal. http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200706.mbox/[EMAIL PROTECTED] The reply isn't

Re: JBoss Seam Usage?

2007-06-11 Thread Cagatay Civici
I'm not a seam user but I've done a kickstart app with Seam to see it's capabilities. Annotations seem to be used excessively, there're some criticism about annotation-abuse. My choice will be MyFaces Orchestra for conversation and orm related stuff:) Cheers, Cagatay On 6/11/07, Matthias

Re: JBoss Seam Usage?

2007-06-11 Thread Werner Punz
Cagatay Civici schrieb: I'm not a seam user but I've done a kickstart app with Seam to see it's capabilities. Annotations seem to be used excessively, there're some criticism about annotation-abuse. My choice will be MyFaces Orchestra for conversation and orm related stuff:) Well both

[Trinidad] Problems with skinning tables

2007-06-11 Thread MOLINA Stéphane
Hi, I have some problem using skins for skinning a table. I created all the files for configuring a skin but it seemed to be not applied. Here is the content of my trinidad-skins.xml : skins xmlns=http://myfaces.apache.org/trinidad/skin; skin

Re: [Tobago] onexit and target

2007-06-11 Thread Helmut Swaczinna
Hi, did you recognize this posting? Regards Helmut - Original Message - From: Helmut Swaczinna [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Wednesday, June 06, 2007 3:34 PM Subject: [Tobago] onexit and target Hi, the onexit handler set to the onexit

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-11 Thread Helmut Swaczinna
Hi, could you please fix this bug? We have a rollout at and of june and this is a real killer. Should I add a jira issue for this? Thank you Helmut - Original Message - From: Helmut Swaczinna [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Wednesday, June

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-11 Thread Volker Weber
Hi Helmut, yes, add a jira entry. I looked at this yesterday, and could easy reproduce this, but can't find a fix. the javascript line which makes the whole sheet disapearing is just a resizing of the header width: Tobago.Sheet.prototype.adjustHeaderDiv = function () { var headerDiv =

Re: [Tobago] onexit and target

2007-06-11 Thread Volker Weber
Hi Helmut, the onexit handler is called if you leave the app, with a target you are not leaving the app, but open an external window. In your original window you are still inside the app, without any changes. Regards, Volker 2007/6/11, Helmut Swaczinna [EMAIL PROTECTED]: Hi, did you

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-11 Thread Helmut Swaczinna
Hi Volker, ok, I'll add a jira issue. Is it possible to avoid the resizing as a workaround when I use fix pixel sizes for the columns or the enclosing layout? Regards Helmut - Original Message - From: Volker Weber [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org

Re: [Tobago] onexit and target

2007-06-11 Thread Helmut Swaczinna
Hi Volker, I think my explanation was a little bit too short and misunderstandable... In my page a have a link with an target attribute which opens a new child window. Then I close the child window and then I close the parent window. But the onexit handler of the parent window is not called.

Re: [Tobago] onexit and target

2007-06-11 Thread Helmut Swaczinna
Hi Volker, I think my explanation was a little bit too short and misunderstandable... In my page a have a link with an target attribute which opens a new child window. Then I close the child window and then I close the parent window. But the onexit handler of the parent window is not called.

[ Tobago ] Issues with Back Button

2007-06-11 Thread Madan Narra
Hi All, I have an issue with Back Button when used in IE and FireFox. When i navigate to the pages and click on Back Button in FireFox , I get a alert message The Page you are trying to view Contains POSTDATA that has expired from cache. This is expected behaviour. But when done the same in

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-11 Thread Volker Weber
Hi, the problem is not the enclosing layout. The vertical scrollbar width needs to substracted from the headerWidth, if the scrollbar is needed. Regards, Volker 2007/6/11, Helmut Swaczinna [EMAIL PROTECTED]: Hi Volker, ok, I'll add a jira issue. Is it possible to avoid the resizing as

Re: Myfaces - application calling by link which include parameter

2007-06-11 Thread David Delbecq
Note: be careful with using this method + session bean, as it will work only once per session, that is the first time bean named qbk will be used in user session. It may be intended behaviour, but most people need a to take into account different value for each request. En l'instant précis du

Re: Myfaces - application calling by link which include parameter

2007-06-11 Thread Volker Weber
Hi, to apply request parameter to managed bean the scope must be request afaik. Regards, Volker 2007/6/11, MPF [EMAIL PROTECTED]: Hi! Well I tried this (but its sound like easy and thats all I need), but the parameter value is always null! try to call with following url:

Re: Myfaces - application calling by link which include parameter

2007-06-11 Thread David Delbecq
Note: be careful with using this method + session bean, as it will work only once per session, that is the first time bean named qbk will be used in user session. It may be intended behaviour, but most people need a to take into account different value for each request. En l'instant précis du

Re: Myfaces - application calling by link which include parameter

2007-06-11 Thread MPF
Hmm ur right ;( argh..bad bad - but the other things (Filter) didnt worked (i dunno why).. David Delbecq-2 wrote: Note: be careful with using this method + session bean, as it will work only once per session, that is the first time bean named qbk will be used in user session. It may be

To Use Trinidad in JSF

2007-06-11 Thread Caroline Jen
I have JSF all set up and working. There is a tag provided by the Trinidad, inputListOfValues, particularly suit the need of the project on which I am working. How do I import the Trinidad into JSF? I found the howtos

To Use Trinidad in JSF

2007-06-11 Thread Caroline Jen
I have JSF all set up and working. There is a tag provided by the Trinidad, inputListOfValues, particularly suit the need of the project on which I am working. How do I import the Trinidad into JSF? I found the howtos

Re: Myfaces - application calling by link which include parameter

2007-06-11 Thread MPF
So i try to change my application to a filter: public class FrontDoorFilter implements Filter { public void destroy() { //nothiing to do } public void doFilter(ServletRequest req, ServletResponse res, FilterChain fc)

Re: To Use Trinidad in JSF

2007-06-11 Thread Matthias Wessendorf
IBM RAD should be able to add 3rd party JSF component libs since others already use Tomahawk inside of RAD, AFAIK. The look-and-feel can be customized, by using the Skinning facility of Trinidad. Here is an article on that [1]. -M [1] http://www.soaeosconference.sys-con.com/read/273945.htm On

Re: JBoss Seam Usage?

2007-06-11 Thread Thai Dang Vu
I haven't used Seam either. I skimmed it in the past and now I take a glance at it :) So, here are my opinions (about Seam and non-Seam): - if I don't use Seam, but want to use JSF, I use (and I'm using in my current project) Spring, Hibernate / JPA, JSF, Facelets, RichFaces, Ajax4jsf. About

Re: [Trinidad] Problems with skinning tables

2007-06-11 Thread Petr Kotek
Hi, its look OK. Your directories skins/myskin must be under public_html dir. Try delete content of public_html/WEB-INF/temp/adf/styles/cache dir and rebuild project. Try delete browser cache and try refresh in browser by Ctrl+F5. In Firefox with Web Developer toolbar You may look in CSS

Re: [Trinidad] Page flow scope and Back button

2007-06-11 Thread D. Cardon
Thanks, that clarifies the documentation. So, my follow-up question would be: Is there any way that I can detect in Trinidad that the user has gone from one page to the next one and then back again? Thank you for your help, --David --- Adam Winer [EMAIL PROTECTED] wrote: On 6/8/07, D.

Re: [Myfaces 1.1.5] Myfaces always saving state in client?!

2007-06-11 Thread CasMeiron
I Found something, in HtmlResponseStateManager the method writeState write the state in client (if save state setted to client, save the tree and component states, if not, save only the sequence). And now i understand, jsf_sequence was changed by javax.faces.ViewState but this element can contain

Re: JBoss Seam Usage?

2007-06-11 Thread Andrew Robinson
I have used Seam with EJB3 on Tomcat 5.5 and also as POJOs with no persistence on JBossAS. I love Seam and it has really helped me although developing my own personal best practices with it took a little bit of time. I would hate to have to give seam up and not develop a project with it. I feel

Re: [Trinidad] Changes to isPostback?

2007-06-11 Thread Francisco Passos
That's great news for me, I'm using facelets. Back on topic, I've just tried switching back to JSF1.2 and it seems there's good reason for you to be skeptic Adam. It still doesn't work. Which is a major bore, since a couple of weeks back I had a working version. Guess I'll have to go back to

How to email a JSF page?

2007-06-11 Thread Dave
Hi, I am using JSF on JBoss. Recently I got a requirement to email a page to users. How to email a JSF page? When a user opens the email, s/he should see the whole JSF page (rendered HTML page). Basically my question is: how to generate HTML code from a JSF page on server side so

Re: How to email a JSF page?

2007-06-11 Thread Andrew Robinson
One idea could be to write a custom phase listener that wraps the ResponseWriter, buffers all the output and then after the render response phase, sends the contents in the body of an HTML email. -Andrew On 6/11/07, Dave [EMAIL PROTECTED] wrote: Hi, I am using JSF on JBoss. Recently I got a

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-11 Thread Mike Kienenberger
I'm confused. You said the generated html has this: id=mainForm:_id30:_id33:editableAnecdotalComment548806536 And the name value pairs submitted has this: mainForm:contentPanel_1153:contentPanel_1344:editableAnecdotalComment548806536, Clearly, something has changed from the time it was sent

Re: How to email a JSF page?

2007-06-11 Thread David Steinkopff
Hi Dave, if you need only the rendered page you can use an InputStream over HTTP. an example new URL(localhost:8080/page.jsf).openStream() return an InputStream object. regards David 2007/6/11, Dave [EMAIL PROTECTED]: Hi, I am using JSF on JBoss. Recently I got a requirement to email a

Re: [Trinidad] Changes to isPostback?

2007-06-11 Thread Francisco Passos
Furthermore, I'm aware of the existance of the @PostConstruct annotation, but as you are aware, I'm limited to a non-J2EE 5 server. Some weeks ago I tried using a PhaseListener and then through the VariableResolver get to the beans to initialize them in the right moment. This solution presented

RE: How to email a JSF page?

2007-06-11 Thread William Hoover
Just to expand on Andrew's comment... In your listener add this piece of code: ExtensionsResponseWrapper extRespWrapper = (org.apache.myfaces.webapp.filter.ExtensionsResponseWrapper) FacesContext.getCurrentInstance() .getExternalContext().getResponse(); String

Show Progress of File Upload

2007-06-11 Thread daniel16
Hello Is it possible to show the progress of a file upload. At the moment I am using the Tomahawk component t:inputFileUpload but I couldn't see an easy way to display the progress. The size of my files are around 200M. Are there other tags that I could use? Thanks Daniel -- View this message

[Tobago] Default language

2007-06-11 Thread carsten.manshusen
How can I change the default language of my Tobago application to english? My locale entries in the faces-config.xml looks like this: application locale-config default-localeen/default-locale supported-localede/supported-locale /locale-config /application When I start my

Re: [Tobago] Default language

2007-06-11 Thread Zdeněk Sochor
Hi, Default locale has to be in supported locales list to be selectable. With regards, Zdenek [EMAIL PROTECTED] napsal(a): How can I change the default language of my Tobago application to english? My locale entries in the faces-config.xml looks like this: application locale-config

Re: Show Progress of File Upload

2007-06-11 Thread Andrew Robinson
I don't think there is a why to show progress for file upload. What happens in HTTP is that the full request is sent all at once and then the response is streamed to the client. In the servlet environment, the servlet is not invoked until the entire HTTP request has been received and therefore,

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-11 Thread Shane Petroff
Mike Kienenberger wrote: I'm confused. That's good, at least I have some company! :) Clearly, something has changed from the time it was sent to the browser (generated html) and the time it was received from the browser (submitted values). That's what seems to be the case. Also, if the

Re: java.lang.NoClassDefFoundError: javax/faces/webapp/UIComponentTag

2007-06-11 Thread Sri7
hi, i have the same error. have you found any solution to the problem? What was causing error? i am gettin g the error java.lang.NoClassDefFoundError: javax/faces/webapp/UIComponentTag Could u please help if you found a solution octoberdan wrote: Oh, nevermind, it's different:

Re: Trinidad and Portlets

2007-06-11 Thread Scott O'Bryan
Martin, PPR in Portlets CAN be implemented using certain portlet implementations. But it cannot be done with generic JSR-168. Here are a number of problems although I'm sure there are more: 1. Action Requests have portal artifacts. This means that a portal can append content to a

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-11 Thread Mike Kienenberger
A) First request -- generated html created B) modify form, hit submit. Form values created. C) second request - component tree restored, form values matched with component tree ids. Please double and triple-check that the form values created in B are different than the names/ids generated in

RE: [Tobago] Default language

2007-06-11 Thread carsten.manshusen
Hi Volker, thanks for your answer. I've changed the default locale in my controller for the theme and language hard to Locale.ENGLISH and now everything works as expected. Best regards, Carsten -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Volker

Re: Trinidad and Portlets

2007-06-11 Thread Martin Marinschek
Hi Scott, interesting, thanks for the further clarification. I see the problems very clearly now. Well then - let's start off this portlet bridge, and see where it brings us to! regards, Martin On 6/11/07, Scott O'Bryan [EMAIL PROTECTED] wrote: Martin, PPR in Portlets CAN be implemented

[Trinidad] Linking to external pages

2007-06-11 Thread Stéphane Poirier
Hi, I'm planning to use a combobox which, when changed, should redirect to an external link (a parameter is added to the link's URL (the selected item's value)). I'm confused about how to do that. Are there some automatisms from the framework of it is mostly a Java coding job? Thanks in

Re: [Trinidad] Linking to external pages

2007-06-11 Thread Adam Winer
Make a tr:selectOneChoice autoSubmit=true, and add a valueChangeListener that calls FacesContext.getCurrentInstance().getExternalContext().redirect( event.getNewValue()); -- Adam On 6/11/07, Stéphane Poirier [EMAIL PROTECTED] wrote: Hi, I'm planning to use a combobox which, when changed,

Re: [Trinidad] Page flow scope and Back button

2007-06-11 Thread Adam Winer
Sure, what you do is: - Store a token - Integer, String, enum, anything you want, that indicates what page you're on, just like you're doing now. As you know, this will be restore when the back button is hit. - In addition to storing that token right on the pageFlowScope, also set it into a

Re: Show Progress of File Upload

2007-06-11 Thread William Keicher
If the content-length http header is appropriately set by the browser when uploading files over http, you can implement an AJAX based progress bar for uploading files: There is a java blueprints jsf component that does this (AJAX FileUpload) https://blueprints.dev.java.net/ajaxcomponents.html

Re: [Trinidad] Linking to external pages

2007-06-11 Thread Stéphane Poirier
Fantastic! Thanks a lot! On 6/11/07, Adam Winer [EMAIL PROTECTED] wrote: Make a tr:selectOneChoice autoSubmit=true, and add a valueChangeListener that calls FacesContext.getCurrentInstance().getExternalContext().redirect( event.getNewValue()); -- Adam On 6/11/07, Stéphane Poirier [EMAIL

Trinidad seems to be ignoring my old menuTabs styling

2007-06-11 Thread Hannum, Daniel
Hi, I'm migrating from ADF, where I had a selector like this af|menuTabs::selected-start-icon { content:url(/skins/common/images/tab_on_left.gif); width:11px; height:27px; } After switching to Trinidad, as far as I can tell, all of my other ADF selectors survived the trip, but all

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-11 Thread Shane Petroff
Mike Kienenberger wrote: A) First request -- generated html created B) modify form, hit submit. Form values created. C) second request - component tree restored, form values matched with component tree ids. Please double and triple-check that the form values created in B are different than

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-11 Thread Shane Petroff
Shane Petroff wrote: Mike Kienenberger wrote: A) First request -- generated html created B) modify form, hit submit. Form values created. C) second request - component tree restored, form values matched with component tree ids. Please double and triple-check that the form values created in B

Re: Trinidad seems to be ignoring my old menuTabs styling

2007-06-11 Thread Matt Cooper
Hi Dan, I'm not sure what the selectors for that component are off-hand but one handy procedure I can share with you (what I frequently use to make sure I am skinning things correctly) is to *temporarily* add the following (unsupported) entry in my web.xml file: context-param