Re: Trinidad and Portlets

2007-06-07 Thread Matthias Wessendorf
Well, things like tomahawk, tobago and trinidad are also able to run w/o MyFaces core. So why not making the bridge an own subproject? -M On 6/7/07, Scott O'Bryan [EMAIL PROTECTED] wrote: That's certainly an option except that the Bridge in MyFaces is distributed with MyFaces project. Right

Re: Tobago - myfaces - tomcat java 1.4

2007-06-07 Thread Leonhard Holzer
Hello Bernd, I can't find the info message you mentioned. This are the log file entries I found. 2007-06-07 08:52:48,943 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started 2007-06-07 08:52:49,053 INFO

Re: Tobago - myfaces - tomcat java 1.4

2007-06-07 Thread Leonhard Holzer
Hello Bernd, I have found the problem. It was simply the version of tomcat I used. With tomcat 5.0. I got problems, with tomcat 5.5 the application works fine. regards Leonhard Bernd Bohmann schrieb: Hello Leonhard, I think tobago is not configured correctly. Can you check the log files.

Re: [Trinidad] e.getFacesMessage is no Function

2007-06-07 Thread David Uebelacker
Hi, for the moment I can absolutly live with java 5 ;-). Anyway I was interested to look in the generator code and i found out following: The generator uses the following resource bundles to get the locale dependent data: sun.text.resources.DateFormatZoneData sun.text.resources.LocaleElements

RE: [Trinidad] Input Text Format That Uses A Mask

2007-06-07 Thread William Hoover
Question: If it was to use a converter/validator at what point would it append onfocus (and any other events needed)? With a component it is appended when it is rendered. If it were a validator it would have to add events to the component its validating. Is this a good practice? I'm in the

RE: ADF Dialog causes refresh code to no longer work

2007-06-07 Thread Perkins, Nate-P63196
Thanks Adam, That would be a general solution, I suppose I had thought of that but was nervous of the overhead of traversing the entire component tree, is that not something I should worry about? We are using server-side state saving which might explain why that call is needed for that code to

Transfer Object in JSF, Spring, and Hibernate

2007-06-07 Thread Caroline Jen
The application on which I am working deploys the JavaServer Faces, Spring and Hibernate frameworks. We are going to use the transfer object to move data between J2EE tiers from the front end to the back end and vice versa. In addition, data types may need to be converted -- At the front end,

Re: ADF Dialog causes refresh code to no longer work

2007-06-07 Thread Adam Winer
On 6/7/07, Perkins, Nate-P63196 [EMAIL PROTECTED] wrote: Thanks Adam, That would be a general solution, I suppose I had thought of that but was nervous of the overhead of traversing the entire component tree, is that not something I should worry about? Don't worry about it. It's virtually no

RE: Transfer Object in JSF, Spring, and Hibernate

2007-06-07 Thread Conway. Fintan \(IT Solutions\)
Hi Caroline, IMO Transfer Objects were invented to combat the problem with transferring heavyweight EJB 2 beans around. EJB3 beans are much lighter, or you could be using POJOs instead, in which case you may not need the Transfer Object. I would use the managed beans of my JSF application as

Re: [Trinidad] Input Text Format That Uses A Mask

2007-06-07 Thread Adam Winer
On 6/7/07, William Hoover [EMAIL PROTECTED] wrote: Question: If it was to use a converter/validator at what point would it append onfocus (and any other events needed)? With a component it is appended when it is rendered. If it were a validator it would have to add events to the component its

RE: ADF Dialog causes refresh code to no longer work

2007-06-07 Thread Perkins, Nate-P63196
I'll call this a naïve post, but what are the benefits to client-side? I've seen several times that it is 'highly recommended', but I can't say I know why. Also, we do have some security constraints, does the state-saving method matter for those kind of concerns? Thanks for all the help so

Re: [Trinidad] PPR in panelFormLayout - Changing required/rendered states

2007-06-07 Thread Adam Winer
Currently, you have to put the partialTriggers on the panelFormLayout as a whole, which is awkward. I think it's about time we look at re-jiggering the DOM here to support PPR of labels, but I've got plenty on my plate right now. FYI, the workaround of not using trh:body isn't going to be a

Re: ADF Dialog causes refresh code to no longer work

2007-06-07 Thread Adam Winer
Some big differences are support for server-side failover, multiple simultaneous pages, and the back button. Security is handled by only sending a token to the client; all the real data is on the server. (There is an all mode that sends all state to the client, but that exposes the security

[Trinidad] Data-display synchronisaion problem

2007-06-07 Thread Stéphane Poirier
Hi, I have a problem synchronizing my data with the visual result. I want to implement 2 dependent comboBoxes (tr:selectOneChoice) using partialTriggers. The components get their value from respective variables of a backingBean. The problem is that when changing the master combo (which updates

Re: Trinidad and Portlets

2007-06-07 Thread Scott O'Bryan
I'm totally cool with that and I'm pretty sure the EG would be fine with that as well. We just can't do things the same way as we did the old bridge. Also, JSR-301 has 1.2 as it's minimum Faces version, so I imagine this could become the bridge implementation for MyFaces' 1.2 implementation

Re: ViewTag exception

2007-06-07 Thread Mike Kienenberger
Your jpg shows that you're still using the jsf-api and jsf-ri jar files and not using the myfaces-api and myfaces-impl jar files. However, your web.xml file is using the MyFaces listener. You need to pick one or the other, and then use the same version in your web.xml file. On 6/5/07,

newline , paragraph in h:outputText how to?

2007-06-07 Thread SiSi'mon
If I set escape=false in h:outputText why can't I include HTML in the text? thanks --- Some posts I read say that you can do this: h:outputText styleClass=my-text escape=false value=After pressing the Save button, P... other html tags here/ but when I

Re: newline , paragraph in h:outputText how to?

2007-06-07 Thread Mike Kienenberger
This is because you're using an xml file format for your page. You have to represent a literal P using xml escaping -- lt;Pgt; When you change your value binding to an EL expression rather than a string literal, you won't have this issue. Also, wouldn't it be better to use BR/ instead of P? On

Re: Transfer Object in JSF, Spring, and Hibernate

2007-06-07 Thread Gerald Müllan
Hi, we are using a so called UserType to achieve a mapping between Java objects and the SQL stuff. You are also using hibernate, so have a look at the org.hibernate.usertype.UserType interface and it`s implementations. If you need an example mapping between boolean values and 'Y' or 'N', mail

How to get the FacesContext from a servlet?

2007-06-07 Thread Thai Dang Vu
Hi, My environment: JSF 1.2, Facelets, a4j, richfaces, spring, hibernate ... This is what I'm doing: I have a xhtml page that displays data in a dataTable. I'd like to provide a link (not a button) on that page so that user can get a csv version of the list. This tutorial

RE: How to get the FacesContext from a servlet?

2007-06-07 Thread Jan-Kees van Andel
You only have a FacesContext when you are in a... Faces Context, which means, code that gets called by the Faces Servlet. For example, a Managed Bean or Converter, etcetera. Session scoped managed beans are stored in the session under their managed bean name, so you can access them directly from

Re: How to get the FacesContext from a servlet?

2007-06-07 Thread Mike Kienenberger
As Jan-Kees says, you can directly access them from the session map. If that doesn't appeal to you (or you want to do something more complicated), you can use this technique. Just remember to dispose of the FacesContext when you're done with it.

Re: selectOneListBox and inputText

2007-06-07 Thread Mike Kienenberger
I think there's a valueChangeNotifier (or something like that) in Tomahawk that does this as well -- it's a value-change-listener that executes after updateModel. On 6/6/07, anoe [EMAIL PROTECTED] wrote: got the solution thanks to kaapa in irc. The problem is the phase when the

Re: ViewTag exception

2007-06-07 Thread marcinhosbt
I am so sorry Mike...!!! I forgot to tell you that I have renamed the myfaces files to jsf. So those files in the JPG *ARE NOT* from JSF... They actually are from MyFaces (I have just renamed them in order to maintain the compatibility with my WTP/Eclipse configurations). Sorry about that...!

Re: Trinidad and Portlets

2007-06-07 Thread Scott O'Bryan
So... What are the next steps for this? Much debate and voting? :) Scott Scott O'Bryan wrote: I'm totally cool with that and I'm pretty sure the EG would be fine with that as well. We just can't do things the same way as we did the old bridge. Also, JSR-301 has 1.2 as it's minimum Faces

RE: [Trinidad] PPR in panelFormLayout - Changing required/rendered states

2007-06-07 Thread Graeme Steyn
Adam, Thank you for the feedback. Looking forward to using the AJAX XMLHttp changes. Regards, Graeme. -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Friday, 8 June 2007 1:44 AM To: MyFaces Discussion Subject: Re: [Trinidad] PPR in panelFormLayout - Changing

Re: [Trinidad] Data-display synchronisaion problem

2007-06-07 Thread Adam Winer
This has nothing to do with the phaseListener - and in fact, you should not be referring to the trinidadinternal listener in your faces-config.xml. (It's automatically registered, so you're double-registering it.) The issue is that there's a pending local value for each component when Update