[COMMUNITY] MyFaces += Michael Concini

2009-04-28 Thread Matthias Wessendorf
The Myfaces PMC is proud to announce a new addition to our community. Please welcome Michael Concini as the newest MyFaces committer! Michael is an active member of the myfaces community, especially in the myfaces 2.0 section of the code @Michael: Please add yourself to the Master-POM at

Re: Navigation problem from within page body.

2009-04-28 Thread Shaun Campbell
Checked that Leonardo and I am using the tomahawk12-1.1.8.jar and it's not working. I'd be interested in trying out your maven solution just in case there is some other dependency problem. If I check out the Tomahawk code should I have a maven pom.xml file so that I can run your command? I

Question about convertNumber

2009-04-28 Thread mitroiasi
Hi, In my jsf code I have this statement: f:convertNumber pattern=###,###,###,##0 minIntegerDigits=1 maxIntegerDigits=12 maxFractionDigits=0 / But I want to change this behavior accordingly with a radio button. This radio buttons are meter and km. When the user selects meter radio button then

faces-config.xml and setting custom renders

2009-04-28 Thread aurel . sandu
I try to build custom renderers for the SVG content . I created 3 renderers : FormRenderer , TextRenderer and LineRenderer . All 3 renders are derived from BaseRenderer. My faces-config.xml looks like this in renders area : ... render-kit descriptionRender kit for SVG/description

Re: Export Data Table to Excel - Strange JSF Lifecycle Behavior?!

2009-04-28 Thread sreekrbs
Very simple solution. Use a command button with image. JSF Code h:commandButton value=Download styleClass=button actionListener=#{employeeList.downloadListener} image=/images/excel_icon.gif / Generated HTML input id=employees:j_id13 name=employees:j_id13

Re: Export Data Table to Excel - Strange JSF Lifecycle Behavior?!

2009-04-28 Thread Cagatay Civici
Does it only happen for the second post after you export the excel? Or it happens without exporting at all? Seems commandLink is decoded and event is queued again. On Tue, Apr 28, 2009 at 5:31 PM, sreekrbs sreek...@yahoo.com wrote: Very simple solution. Use a command button with image. JSF

Re: Navigation problem from within page body.

2009-04-28 Thread Leonardo Uribe
Hi The source code of tomahawk 1.1.8 is here: http://svn.apache.org/repos/asf/myfaces/tomahawk/tags/1_1_8/ The latest code is here: http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/ Just checkout, compile (mvn install) and run the example as described before (on examples/tiles

Re: Export Data Table to Excel - Strange JSF Lifecycle Behavior?!

2009-04-28 Thread sreekrbs
You're right, the second post is the problem. If you do not have the dire need for a commandlink (I didn't) I would say use command button. Cagatay Civici wrote: Does it only happen for the second post after you export the excel? Or it happens without exporting at all? Seems commandLink

Including a jsp

2009-04-28 Thread Vinaya Tirikkovalluru
Hi, I have a 2 jsps included in a jsp. The 2 jsps are physically the same but I had to write them as 2 different jsps as I needed to pass a different set of values Like Have a jsp with users grouped into 2 categories A and B A.jsp is a jsp with the list of all the users with

dynamically populating a drop-down selection list with values from a database

2009-04-28 Thread Mike Quentel
Please, would someone direct me to an example of populating a drop-down selection list using values from a database table query? Most examples show hard-coded values. I'm hoping to find an example (could be another library than Trinidad; like Tomahawk or ADF) that includes the JSP and bean. I'm

Re: dynamically populating a drop-down selection list with values from a database

2009-04-28 Thread Omar Elprince
In order to populate a selectOneListBox or selectOneChoice from a database use: tr:selectOneListbox value=#{bean.aValue} required=yes f:selectItems value=#{myBacking.selectList} /tr:selectOneListbox selectList should be a collection of type SelectItem. then your backing bean selectList

Re: [COMMUNITY] MyFaces += Michael Concini

2009-04-28 Thread Hazem Saleh
Welcome to MyFaces! On Tue, Apr 28, 2009 at 9:18 AM, Matthias Wessendorf mat...@apache.orgwrote: The Myfaces PMC is proud to announce a new addition to our community. Please welcome Michael Concini as the newest MyFaces committer! Michael is an active member of the myfaces community,