Re: [TRINIDAD] character encoding issue with 1.0.11

2009-09-15 Thread Paul Mander
Thanks a lot Mamallan. That solved it. I wonder why the 1.0 branch is so out of step with the 1.2 branch (trunk) Mamallan Uthaman wrote: Hi Paul, Do you get any exception in the server log? I guess this could be due to Trinidad-1430. Thanks Mamallan Paul Mander wrote:

Re: [TRINIDAD] character encoding issue with 1.0.11

2009-09-15 Thread Matthias Wessendorf
On Tue, Sep 15, 2009 at 8:10 AM, Paul Mander paul.s.man...@gmail.com wrote: Thanks a lot Mamallan. That solved it. I wonder why the 1.0 branch is so out of step with the 1.2 branch (trunk) A while ago, we decided to focused on JSF 1.2, instead of 1.1. Most of the fixes over last year went

Re: [TRINIDAD] character encoding issue with 1.0.11

2009-09-15 Thread Paul Mander
I'd love to move off 1.1 but we are stuck with WebSphere 6.1. The following discusses how you can get WAS 6.1 to work with JSF 1.2 but it involves too much change which will break existing applications. http://www.denoo.info/2008/02/finally-jsf-12-and-facelets-on-websphere-61/ I do most of my

Re: [TRINIDAD] character encoding issue with 1.0.11

2009-09-15 Thread Paul Mander
https://issues.apache.org/jira/browse/TRINIDAD-1573 Matthias Wessendorf-4 wrote: However, we can backport the TRINIDAD-1430 to 1.0.x version of Trinidad. do you mind to create a JIRA ticket for that ? The next release(s) of Trinidad 1.0.x are only maintenance releases, but there will be

Re: [TRINIDAD] character encoding issue with 1.0.11

2009-09-15 Thread Matthias Wessendorf
On Tue, Sep 15, 2009 at 8:55 AM, Paul Mander paul.s.man...@gmail.com wrote: I'd love to move off 1.1 but we are stuck with WebSphere 6.1. The following discusses how you can get WAS 6.1 to work with JSF 1.2 but it involves too much change which will break existing applications.

Re: Content rendered outside of body tags when using Apache Trinidad 1.0.11

2009-09-15 Thread Glauco P. Gomes
Richard Yee escreveu: In that case, you can use a jsp:include -R Or wrap the HTML content with the f:verbatim tag. Eg.: f:view tr:document title=Empty Trinidad Test Page tr:form f:verbatim p Content goes here! /p /f:verbatim /tr:form /tr:document /f:view Glauco P.

MyFaces - can backing beans access native html elements?

2009-09-15 Thread Dvora
Hello all, I was wondering - is it possible for the server side to access html elements (or the dom tree) that not rendered by myfaces tags? For example the following jsp: %@ taglib uri=http://java.sun.com/jsf/core; prefix=f% %@ taglib uri=http://java.sun.com/jsf/html; prefix=h% %...@taglib

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Bart Kummel
Hi, What you are asking is not possible. It is against the nature of JSF to do so. In your example, you should use a h:inputText to render the HTML input. Good luck! Best regards, Bart Kummel On Tue, Sep 15, 2009 at 14:41, Dvora barak.ya...@gmail.com wrote: Hello all, I was wondering - is

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Dvora
Of course, this is understood. I'm asking because I would like to integrate external js library which render html elements in the page, and I would like to access these elements in the server side... Bart Kummel-2 wrote: Hi, What you are asking is not possible. It is against the nature of

Simple faces display page

2009-09-15 Thread ms953
I have copied the example from (http://www.roseindia.net/jsf/data.shtml). th problem now is that my data.jsp does not show any contents. I am using struts2 does anyone know why ?

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Mike Kienenberger
You can probably make that work, but it may take a little effort. Jsf Rendering (generating of html) is independent of form value processing. You could create a jsf component that didn't output any tags in the rendering stage but still worked with the submitted values of the externally-generated

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Dvora
That was fast :-) I'm doing my first steps in JSF, can you please add some details regarding the implementation? Which component should I extends? How do I make that this custom component will read the wrapped element ('bbb' in the example)? Thanks for your help! Mike Kienenberger wrote:

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Richard Yee
There are a couple ways to integrate js libraries and jsf. One way is to write custom input tags. Do a search on ' dojo jsf integration' and you should find a very good article on it on the IBM developer site. R Sent from my iPhone On Sep 15, 2009, at 5:59 AM, Dvora barak.ya...@gmail.com

Re: Simple faces display page

2009-09-15 Thread Kito Mann
Hello, You should probably just download the entire sample -- as the tutorial shows, the JSP by itself is enough. --- Kito D. Mann -- Author, JavaServer Faces in Action http://twitter.com/kito99 http://twitter.com/jsfcentral JSF 2 Seminar Oct 6th: http://www.regonline.com/jsf2seminar JSF Summit

[myfaces][tomahawk] t:column sortPropertyName

2009-09-15 Thread Guy Bashan
Hi, I have this column: t:column headerstyle=text-align:left; style=text-align:left; id=name sortPropertyName=campaign.campaignName f:facet name=header t:commandSortHeader columnName=campaignName arrow=false immediate=false styleClass=link_headtb

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Mike Kienenberger
Even though my example wrapped the element, it should work the same if it wasn't wrapping the element. !-- start externally generated content -- input id=bbb name=bbb type=text value=/ !-- end externally generated content -- my:customComponent forInputId=bbb/ The key is

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Dvora
I read the article, and I'm facing some difficulties. The article is very dojo oriented, and the library I'm trying to work with is jquery (datepicker). I guess the second approach mentioned there is similar to the solution proposed above. Am I right? Can you please explain how does this custom

RE: Content rendered outside of body tags when using Apache Trinidad 1.0.11

2009-09-15 Thread Durin Dal
Thanks... it looks like I'd have to use f:verbatim up and skip around any JSF tags that I have, correct, or no? A follow-up to all this... why is it that when the page is all standard JSF this issue doesn't occur but when I use Trinidad it does? -Original Message- From: Glauco P.

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Mike Kienenberger
If you're working with a specific library, you can do a search on the library and jsf -- it may be that someone else has already written an integration library for it. For example, a search on jquery and jsf turned up this -- not an integration library but has an example of how to integrate

Re: Simple faces display page

2009-09-15 Thread Tommy Pham
- Original Message From: ms...@gre.ac.uk ms...@gre.ac.uk To: users@myfaces.apache.org Sent: Tuesday, September 15, 2009 5:27:17 AM Subject: Simple faces display page I have copied the example from (http://www.roseindia.net/jsf/data.shtml). th problem now is that my data.jsp does

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Dvora
Unless I'm missing something - the link you attached talking about client side work, while my wish is to access the components rendered by jquery in the server side backing beans... I'll try to implement the custom component as suggested above. Thanks again for the help, these are my first

Re: Simple faces display page

2009-09-15 Thread ms953
I did not mean struts i meant faces. Sorry for the confusion Quoting Tommy Pham tommy...@yahoo.com: - Original Message From: ms...@gre.ac.uk ms...@gre.ac.uk To: users@myfaces.apache.org Sent: Tuesday, September 15, 2009 5:27:17 AM Subject: Simple faces display page I have

Re: Simple faces display page

2009-09-15 Thread Tommy Pham
- Original Message From: ms...@gre.ac.uk ms...@gre.ac.uk To: MyFaces Discussion users@myfaces.apache.org Sent: Tuesday, September 15, 2009 8:00:59 AM Subject: Re: Simple faces display page I did not mean struts i meant faces. Sorry for the confusion Quoting Tommy Pham :

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Mike Kienenberger
If it were me, I'd be looking at this first: http://www.jquery4jsf.org/ http://code.google.com/p/jquery4jsf/ Then I'd consider creating non-rendering alternatives to the standard input components. On Tue, Sep 15, 2009 at 10:53 AM, Dvora barak.ya...@gmail.com wrote: Unless I'm missing

jsfdays 2010 sessions

2009-09-15 Thread Gerhard Petracek
hi @ all, i hope i'll see a lot of you at the jsfdays 2010 [1]. i'm sure there will be great sessions as usual. currently we are in the planning phase. so all of you are welcome to send suggestions for sessions you are interested in and you would like to attend as well as for topics you would

RE: MyFaces ignores immediate=true when using Tiles 2.

2009-09-15 Thread bugfactory anonyme
Hello again. I did a whole lot of testing. I tried to change Tiles 2 for Facelets, but I still had the same problem! So I made four examples, using different implementation. I always used the latest JSF 1.2 releases (MyFaces 1.2.7, Mojarra 1.2.12, Facelets 1.1.14). MyFaces alone, works as

Re: Simple faces display page

2009-09-15 Thread ms953
Quoting Tommy Pham tommy...@yahoo.com: - Original Message From: ms...@gre.ac.uk ms...@gre.ac.uk To: MyFaces Discussion users@myfaces.apache.org Sent: Tuesday, September 15, 2009 8:00:59 AM Subject: Re: Simple faces display page I did not mean struts i meant faces. Sorry for

Re: Simple faces display page

2009-09-15 Thread Richard Yee
I suggest using a debugger if you are not already doing so to step through the call to getPerInfoAll method. Verify that it is reading all of the rows and returning a list of all of the rows. In the code below, you should use #{item.name} and #{item.pass} instead of #{item.Name} and #{item.Pass}

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Bart Kummel
Hi Dvora, I would not recommend writing your own component or renderer if this are your first steps in JSF land. One of the most important ideas behind JSF is that JSF components form an abstraction layer to the developer of the application. The goal is that the developer doesn't have to worry

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Dvora
Wow, this is cool! Thanks! Mike Kienenberger wrote: If it were me, I'd be looking at this first: http://www.jquery4jsf.org/ http://code.google.com/p/jquery4jsf/ Then I'd consider creating non-rendering alternatives to the standard input components. On Tue, Sep 15, 2009 at 10:53

Re: MyFaces - can backing beans access native html elements?

2009-09-15 Thread Richard Yee
Try the MyFaces Trinidad library. -Richard On Tue, Sep 15, 2009 at 12:58 PM, Dvora barak.ya...@gmail.com wrote: Wow, this is cool! Thanks! Mike Kienenberger wrote: If it were me, I'd be looking at this first: http://www.jquery4jsf.org/ http://code.google.com/p/jquery4jsf/ Then I'd

Re: Simple faces display page

2009-09-15 Thread Tommy Pham
--- On Tue, 9/15/09, ms...@gre.ac.uk ms...@gre.ac.uk wrote: From: ms...@gre.ac.uk ms...@gre.ac.uk Subject: Re: Simple faces display page To: MyFaces Discussion users@myfaces.apache.org Date: Tuesday, September 15, 2009, 12:17 PM Quoting Tommy Pham tommy...@yahoo.com: - Original