Re: What change with JSF 1.1 to JSF 1.2?

2007-05-31 Thread David Steinkopff
Hi, I dont need all features of ELResolvers, for me only important is setValue, getValue and maybe isReadonly to connect a custom data system. In this way was PropertyResolver more than enough for me. JSF 1.1 have only one implementation of PropertyResolver and JSF 1.2 have with ELResolver more

RE: What change with JSF 1.1 to JSF 1.2?

2007-05-31 Thread Jesse Alexander \(KSFD 121\)
As Adam I recommend to rewrite to the ELResolvers, if you do not absolutely need the backward compatibility. As for writing or decorating... With the ELResolver the handling is very easy when you start from scratch (== not decorating). And then you just add your ELResolver to the list...

[Trinidad] Note to tr:input... generated HTML

2007-05-31 Thread Petr Kotek
Hi, I have a little note to HTML code, generated by tr:input components in label area. This code has changed in some latest release (I think) and now look as: tr class=AFFieldNumberMarker af_inputText td class=af_inputText_label af_panelFormLayout_label-cell nowrap=nowrap !--Start:

Re: What change with JSF 1.1 to JSF 1.2?

2007-05-31 Thread David Steinkopff
Hi Alexander, I prefer more to decorat, becauce I need only some PropertyResolver methods. ELResolver works like PropertyResolver and VariableResolver together and to implement both is more as I needed in my case. What do you mean with list? It is possible to add more than one resolver? regards

Error using Ajax4JSF with myFaces

2007-05-31 Thread Laurentiu Trica
Hi I am trying to use Ajax4JSF with myFaces and I get this error: 2007-05-30 18:14:53,406 | ERROR org.apache.catalina.core .ContainerBase.[Catalina].[localhost].[/].[Faces Servlet] - Servlet.service() for servlet Faces Servlet threw exception java.lang.NullPointerException at

RE: What change with JSF 1.1 to JSF 1.2?

2007-05-31 Thread Jesse Alexander \(KSFD 121\)
Hi David - list: Sure, you can add as mny as you want. The first one that can satisfy the request marks it and thechain ends... Nice, cause every Resolver does one task (separation of concerns) That is also why you found so many ELResolvers floating around... regards Alexander

Re: java.lang.IllegalArgumentException: Value is no String

2007-05-31 Thread Celso Nishioka
Andrew, I'm having the same issue. Did you get it solved? Thanks. On 11/29/06, Andrew Robinson [EMAIL PROTECTED] wrote: No that hasn't changed, I just checked the source. If you look at the stack trace, somehow the value is an instance of

t:dojoInitializer makes IE doesn't render a page

2007-05-31 Thread Juan Ignacio Sánchez Lara
I have a working JSP, but when I include t:dojoInitializer / or t:dojoInitializer require=dojo.widget.DropdownDatePicker /, Internet Explorer tells me Internet Explorer can't open the site url. Operation cancelled (Internet Explorer no puede abrir el sitio url. Operación anulada). I've tried it

date format for t:inputCalendar

2007-05-31 Thread sandipp
Hi All. I am using t:inputCalendar tag.I want to display date in mm/dd/yy format. i.e. if i select 1 May 2005 ,it should display as 05/01/05. But with my below code its showing as 5/1/05 (what about 0 in case of 5 and 1) t:inputCalendar renderAsPopup=true value=#{Bean.Date}

Re: t:dojoInitializer makes IE doesn't render a page

2007-05-31 Thread Juan Ignacio Sánchez Lara
My fault once more, I didn't open body tag :$. On 5/31/07, Juan Ignacio Sánchez Lara [EMAIL PROTECTED] wrote: I have a working JSP, but when I include t:dojoInitializer / or t:dojoInitializer require=dojo.widget.DropdownDatePicker /, Internet Explorer tells me Internet Explorer can't open

Re: t:dojoInitializer makes IE doesn't render a page

2007-05-31 Thread Werner Punz
Juan Ignacio Sánchez Lara schrieb: I have a working JSP, but when I include t:dojoInitializer / or t:dojoInitializer require=dojo.widget.DropdownDatePicker /, Internet Explorer tells me Internet Explorer can't open the site url. Operation cancelled (Internet Explorer no puede abrir el sitio

[ Tobago ] get Sheet Object Referance when page submitted with actionListener

2007-05-31 Thread Madan Narra
Hi All, I have an Array which is set to render a sheet in the Tobago Page. I have a button which does a navigation. In order to so some action before navigating, i placed actionListener=#{ bean.method} , immediate=true for tc:button. As i set immediate=true, the variables are not set into the

Change valueBinding of t:dataTable based on condition

2007-05-31 Thread Rønnevik , Eivind
Hi! I was just curious, is there any way I can change the value of a dataTable based on different conditions? I'll try to give a simple example to explain what I want. :) Let's say I use the graphicImage tag, in the value property I could either write the path to the image

[COMMUNITY] Ernst Fastl - Committer

2007-05-31 Thread Matthias Wessendorf
Congratulations to Ernst Fastl for becoming the newest Myfaces committer ! Ernst has provided patches and enhancements to Tomahawk (ajax-stuff) and has been active on the mailing list to help other users on how to get up to speed. Thanks Ernst, and welcome to the team! -- Matthias Wessendorf

Re: [Tobago] How to make tobago pages printable

2007-05-31 Thread H. Swaczinna
Hi, nobody had the need to print a Tobago page from the browser? I tried to add my own css style files for printing but I found no way. The tc:style tag generates only style file references for media=screen. If the tc:style tag has a media attribute the problem can be solved. Regards Helmut

Re: Change valueBinding of t:dataTable based on condition

2007-05-31 Thread eric . jung
Use the rendered attribuet. Rønnevik, Eivind [EMAIL PROTECTED] 05/31/2007 08:24 AM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion users@myfaces.apache.org cc Subject Change valueBinding of t:dataTable based on condition Hi! I was just curious,

Re: This code works in all other browsers than Firefox, why?

2007-05-31 Thread Bjørn T Johansen
I removed the jscookmenu and started using panelnavigation2 instead and then I noticed that now the submit by using the enter key is suddenly working using Firefox Something fishy with the jscookmenu or? BTJ On Tue, 29 May 2007 15:30:43 +0100 Bruno Aranda [EMAIL PROTECTED] wrote: Are you

panelNavigation2 collapses when choosing one menu choice but not another?

2007-05-31 Thread Bjørn T Johansen
I have a panelNavigation2 menu with 4 menu choices and when I choose one of them, the menu stays open and the selected choice is highlighted. But if I choose a different menu choice, the new page is displayed but the menu is collapsed. I can't find any difference between those two choices, they

About donate drag and drop components to myfaces sandbox

2007-05-31 Thread Rogerio Pereira
Hi guys! I'll donate my draggable and droppable containers to myfaces sandbox, the patches will be sent to Jira ASAP! -- Yours truly (Atenciosamente), Rogério (_rogerio_) http://faces.eti.br Faça a diferença! Ajude o seu país a crescer, não retenha conhecimento, distribua e aprenda mais.

Re: argument type mismatch when setting property with updateActionListener

2007-05-31 Thread Mike Kienenberger
Is it expected behaviour for an EL arithmetic expression to always return a Long? Yes. Or a Double if the value cannot be represented as a Long. On 5/31/07, gazlm [EMAIL PROTECTED] wrote: I have a problem with type conversions when using updateActionListener to set an int property in a

Re: Will myFaces 1.0_9 work with JSF 1.2?

2007-05-31 Thread Mike Kienenberger
Supposedly 1.1 and 1.2 are backward-compatible.It should work fine, but there will probably be unforseen issues :-) On 5/15/07, Robert Lin [EMAIL PROTECTED] wrote: Hi, I'm planning to upgrade to JSF 1.2, but I still have myFaces 1.0 and would like to wait until myFaces 1.2 is

argument type mismatch when setting property with updateActionListener

2007-05-31 Thread gazlm
I have a problem with type conversions when using updateActionListener to set an int property in a backing bean... I'm using a bean which has properties pageNum and numPages, and I have command links that refresh the page, with an updateActionListener changing the value of the pageNum property.

Re: Change valueBinding of t:dataTable based on condition

2007-05-31 Thread Mike Kienenberger
Your understanding of value binding syntax is incorrect. Try this: t:dataTable value=#{myBean.boolean ? oneBean.dataModel : anotherBean.dataModel} I can't think of any reason why this won't work. On 5/31/07, Rønnevik, Eivind [EMAIL PROTECTED] wrote: Hi! I was just curious, is there

Re: [ Tobago ] get Sheet Object Referance when page submitted with actionListener

2007-05-31 Thread Volker Weber
Hi Madan, see this thread: http://www.nabble.com/-Tobago--using-value-from-tc%3Alink-on-server-tf3466446.html Regards, Volker 2007/5/31, Madan Narra [EMAIL PROTECTED]: Hi All, I have an Array which is set to render a sheet in the Tobago Page. I have a button which does a navigation.

Re: argument type mismatch when setting property with updateActionListener

2007-05-31 Thread gazlm
Cheers, Mike, that eases my confusion a little. I thought I might have been doing something wrong... Is it possible to convert the EL return value to the right type? The updateActionListener docs state An optional Converter may be associated with this listener, and if present will be invoked to

Re: argument type mismatch when setting property with updateActionListener

2007-05-31 Thread Mike Kienenberger
Well, the problem is that javax.faces.Integer converts a string to an integer. You'd need to convert a Long to an integer. I haven't actually used a converter on updateActionListener, but I'd think a Long to Integer converter should work. If you're using facelets, you can write your own

Re: java.lang.IllegalArgumentException: Value is no String

2007-05-31 Thread Andrew Robinson
Yes, I extended the myfaces class to fix the bug: public class HtmlSelectOneRadio extends org.apache.myfaces.component.html.ext.HtmlSelectOneRadio { /** * @see javax.faces.component.UIInput#setSubmittedValue(java.lang.Object) */ @Override public void setSubmittedValue(Object

Re: java.lang.IllegalArgumentException: Value is no String

2007-05-31 Thread Andrew Robinson
Menu is the same as well: public class HtmlSelectOneMenu extends org.apache.myfaces.component.html.ext.HtmlSelectOneMenu { /** * @see javax.faces.component.UIInput#setSubmittedValue(java.lang.Object) */ @Override public void setSubmittedValue(Object submittedValue) { if

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-31 Thread Adam Winer
Well, we've got a lot of variables here. It's a little suspicious to me hearing that an Ajax4JSF filter is now required, when this behavior doesn't appear to be reproducing for other users of Trinidad 1.2. I'd try, for example, the same page without Ajax4JSF installed - if that means taking

Re: [Trinidad] Note to tr:input... generated HTML

2007-05-31 Thread Adam Winer
Just to confirm - you're using INLINE client-validation? I agree, the spacing would be better handled with CSS. -- Adam On 5/31/07, Petr Kotek [EMAIL PROTECTED] wrote: Hi, I have a little note to HTML code, generated by tr:input components in label area. This code has changed in some latest

Re: [Trinidad] GWT Integration

2007-05-31 Thread Adam Winer
Ah, I see. You're using server state saving, so using the underlying JSF implementation to save state. The Trinidad StateManager (used for client state saving) doesn't use colons. -- Adam On 5/30/07, D. Cardon [EMAIL PROTECTED] wrote: I was looking at the StateManagerImpl class of the

Re: [Trinidad] Table navigation

2007-05-31 Thread Stéphane Poirier
Thanks for the quick answer and explainations! Beeing not very comfortable with jsf phases (shame on me!), I decided to keep searching and I found something very interresting which solved my problem and sounds like a clean way to use the framework. Here's my information source:

Re: argument type mismatch when setting property with updateActionListener

2007-05-31 Thread gazlm
Hmmm, sounds like conversion may be a little overcomplicated for me right now... I'm not using Facelets at the mo, I'm going to try them out after I've got to grips with JSF, so I think I'll just take the easy option and change the bean API to use Number. Thanks again. Mike Kienenberger

Re: [Trinidad] Note to tr:input... generated HTML

2007-05-31 Thread Petr Kotek
Yes, I must insert into trinidad-config.xml line: client-validationINLINE/client-validation Without it, commandButton with action binding do nothing. Peter Adam Winer wrote: Just to confirm - you're using INLINE client-validation? I agree, the spacing would be better handled with CSS. -- Adam

Re: [Trinidad] Weblogic + Debug

2007-05-31 Thread Francisco Passos
Tried today's nightly build and the error no longer appears. Thank you. Francisco On 5/30/07, Francisco Passos [EMAIL PROTECTED] wrote: Excellent news! Thank you, Francisco On 5/30/07, Adam Winer [EMAIL PROTECTED] wrote: http://issues.apache.org/jira/browse/TRINIDAD-44 Fixed. -- Adam

Reset dataScroller

2007-05-31 Thread Michael Böckling
Hi! I have a problem with t:dataScroller, it does not reset itself when the underlying data model changes. When I click on the first button, everything is well again. Is there a way to do this programmatically? In JavaScript or in a backing bean? Thanks for any help! Michael -- Michael

Re: Reset dataScroller

2007-05-31 Thread Mike Kienenberger
See here for ideas: https://issues.apache.org/jira/browse/TOMAHAWK-548 No one's been motivated enough yet to submit patches. On 5/31/07, Michael Böckling [EMAIL PROTECTED] wrote: Hi! I have a problem with t:dataScroller, it does not reset itself when the underlying data model changes. When I

AW: Reset dataScroller

2007-05-31 Thread Michael Böckling
Wow, it seems you are doing the exact same thing as me, even my bean has the same name! :D I was afraid that this would have to be the solution... Oh boy. I have a second issue, however, thats a bit related to this. To avoid having to reset the UI, I do a full page reload, e.g. when I change the

Re: Reset dataScroller

2007-05-31 Thread Mike Kienenberger
Are you asking how to resubmit the form when the menu changes? If so, see here: http://wiki.apache.org/myfaces/SubmitPageOnValueChange As it states at the top, the simplest way to do this is with a submitOnEvent component, typically inside of a subForm component. Both of these components are

Re: t:panelTabbedPane and data validation

2007-05-31 Thread Mike Kienenberger
I think the behavior of the component changes depending on whether you're using server-side or client-side tabbing. If you're using client-side tabbing, then I believe all tabs are generated and all values are validated. If you're using server-side tabbing, then I think only the current tab is

Memory leak issues with MyFaces 1.1.3?

2007-05-31 Thread ohfaces
Hi, I have a customer-facing application that is running on IBM JVM 1.5 and Oracle App Server 10.1.3. The app uses MyFaces 1.1.3 release and has been in production since the last 3-4 months. The load tests prior to production went fine with the samples provided by the client, but now in

Re: [Tobago] How to make tobago pages printable

2007-05-31 Thread Arvid Hülsebus
Hello, I think we need to enhance the page renderer to allow themes to specifiy the media attribute of a stylesheet. If have your own theme you could overwrite the stylesheet inclusion mechanism in the page renderer yourself as workaround. Regards, Arvid H. Swaczinna wrote: Hi, nobody

[Swiss JSF Users] JSF Special-Interest-Group Switzerland

2007-05-31 Thread Jesse Alexander \(KSFD 121\)
JSF is proving more and more competitive each day. A increasing number of companies are developing applications based on JSF. Often the same questions/problems/hints are valid for almost all users of JSF. Internationally some active communities have been established. Last year a first encounter

Re: [Trinidad] plugins build broken?

2007-05-31 Thread Laurie Harper
I just tried upgrading to the latest Maven and have the same error. For now, I've hacked my local poms to require 1.0.1-incubating-SNAPSHOT of this plugin as a work-around. I'll repost the build error to the dev list for further attention. L. Laurie Harper wrote: I just tried checking out

Re: Format the itemLabel i selectItem

2007-05-31 Thread Mike Kienenberger
The Tomahawk selectItems tag t:selectItems will give you far more control over how the items are constructed. http://myfaces.apache.org/tomahawk/selectItems.html On 5/28/07, Pich [EMAIL PROTECTED] wrote: Hi! I have a f:selectOneMenu and a couple of f:selectItem tags. I use the itemLabel and

tomahawk 1.1.5 and JSF 1.2/Tomcat 6

2007-05-31 Thread Martin Dubuc
I would like to use tomahawk 1.1.5 with JSF 1.2 RI inside Tomcat 6. Is this combinatiion supported? I have tried to load the tomahawk examples, but I get an exception when loading the first page: May 31, 2007 8:37:33 PM com.sun.faces.config.ConfigureListener configure SEVERE: null MessageFactory

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-31 Thread Chris Lowe
I've just done an update to my environment: Update to latest Ajax4Jsf snapshot from http://maven.exadel.com/org/ajax4jsf/ajax4jsf/ Update to latest Seam snapshot (CVS) and reconfigured filters in-line with new version (many of the Seam filters + Ajax4Jsf have been rolled into one); Changed

Tomahawk sandbox component submitOnEvent and Trinidad components

2007-05-31 Thread carsten.pieper
Hi, just a short question: Does the Tomahawk sandbox component submitOnEvent collaborate with Trinidad components? I'm afraid it simply doesn't... Or am I missing some configuration gimmick? For your information, our environment also includes Facelets... Thanks in advance, Carsten

RE: Change valueBinding of t:dataTable based on condition

2007-05-31 Thread hermod.opstvedt
Hi You should look at Clay in the Shale project. This is a piece of cake using symbols in Clay. Hermod -Original Message- From: Rønnevik, Eivind [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 2:24 PM To: MyFaces Discussion Subject: Change valueBinding of t:dataTable based on

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-31 Thread Chris Lowe
I take it back - it's now even stranger! First click that fires validation works. Click again and the duplication starts happening as before. On 5/31/07, Chris Lowe [EMAIL PROTECTED] wrote: I've just done an update to my environment: Update to latest Ajax4Jsf snapshot from

Re: tomahawk 1.1.5 and JSF 1.2/Tomcat 6

2007-05-31 Thread rlubke
What's the exact version of the RI you're using? martind wrote: I would like to use tomahawk 1.1.5 with JSF 1.2 RI inside Tomcat 6. Is this combinatiion supported? I have tried to load the tomahawk examples, but I get an exception when loading the first page: May 31, 2007 8:37:33 PM

Re: Strange Trinidad behaviour after upgrading to JBoss 4.2.0

2007-05-31 Thread Chris Lowe
If I set CACHE_VIEW_ROOT to false the problem goes away. On 5/31/07, Chris Lowe [EMAIL PROTECTED] wrote: I take it back - it's now even stranger! First click that fires validation works. Click again and the duplication starts happening as before. On 5/31/07, Chris Lowe [EMAIL PROTECTED]

Re: [Trinidad] plugins build broken?

2007-05-31 Thread Adam Winer
I've seen this before - it's a bug in qdox, apparently, but I don't know how or why it goes away. -- Adam On 5/31/07, Laurie Harper [EMAIL PROTECTED] wrote: I just tried upgrading to the latest Maven and have the same error. For now, I've hacked my local poms to require

Re: [Trinidad] Note to tr:input... generated HTML

2007-05-31 Thread Adam Winer
Ah, that bug got fixed a day or two ago. That is, you don't have to specify INLINE for pages to work. INLINE is still much cooler than the default. :) -- Adam On 5/31/07, Petr Kotek [EMAIL PROTECTED] wrote: Yes, I must insert into trinidad-config.xml line:

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-05-31 Thread Martin Marinschek
Mario, have you got any clue on this? regards, Martin On 5/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, just a short question: Does the Tomahawk sandbox component submitOnEvent collaborate with Trinidad components? I'm afraid it simply doesn't… Or am I missing some

Problem setting enctype to a form within a form

2007-05-31 Thread Goda, Sunil
Guys, I have a page1.jsp containing a subview with includes another page dynamically.Now, sometimes the included page may contain multipart/form-data i.e a inputFileUpload component. My problem is where do I specify the form's enctype=multipart/form-data for the included page. I have tried 3