Re: Re: Using Tree2 without Javascript

2006-11-15 Thread Sawan Vithlani
So it's not possible to do this, for example, with the node being an HTML link back to the appropriate submission? Sawan On 11/15/06, Andrew Robinson [EMAIL PROTECTED] wrote: JavaScript is required. Even with server side state toggling, the javascript is what submits the tree when the icon is

Re: Re: Using Tree2 without Javascript

2006-11-15 Thread Martin Marinschek
It's a basic principle of JSF that every link needs JavaScript. The problem is with the sizes of the state of a modern web-application: it is (almost) impossible to cut this state down to sizes which can be transferred via a link without IE restricting this. So what JSF does is posting the form

Question on t:calendar popup value binding

2006-11-15 Thread Aneesha Govil
Hi,I am trying to use a calendar popup. What should be the type of the property that binds to the value of the popup? I looked at the examples source, it uses a date. Does it have to be a Date or can I use a String for the same? Which date format does it assume by default, e.g. - mm/dd/ or

Re: Re: Re: Using Tree2 without Javascript

2006-11-15 Thread Sawan Vithlani
And apparently there doesnt seem to be any way in which this can degrade gracefully in case JS is not available Thanks for your help guys. Sawan On 11/15/06, Martin Marinschek [EMAIL PROTECTED] wrote: It's a basic principle of JSF that every link needs JavaScript. The problem is with the

JSF EL - empty operator

2006-11-15 Thread Michael Heinen
Hi, Is the empty operator of the JSF EL working ? I want to display some text if an ArrayList is empty, but this does not work in my case snippet: t:dataList id=results var=cat value=#{MyController.filters['key'].values} ... /t:dataList h:outputText value=***no results

RE: JSF EL - empty operator

2006-11-15 Thread Michael Heinen
Doh, Forget this, my mistake. The outputText was in an area that wasnt refreshed via ajax and contained old data. Sorry Michael From: Michael Heinen [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 15. November 2006 11:25 To: MyFaces Discussion Subject: JSF EL - empty operator

Re: Very strange problem: conversion error

2006-11-15 Thread Mr Arvind Pandey
Hi, Make sure that the arraylist property or its contents are not null. It must be initialised before the setter method gets invoked for this. regards... Arvind --- Fraley, Taylor [EMAIL PROTECTED] wrote: So I'm having a very strange problem. I have a jsp that's using a

Re: Question on t:calendar popup value binding

2006-11-15 Thread Aneesha Govil
I used a value binding to a String but the value did not get populated, however it works for a date. Do I have to write a custom converter? Can I find more information about writing custom converters for JSF components somewhere? Thanks,AneeshaOn 11/15/06, Aneesha Govil [EMAIL PROTECTED] wrote:

RE: Question on t:calendar popup value binding

2006-11-15 Thread Madhav Bhargava
Yes it only works with a Date. If you want to accept the value into a String then you have 2 options: Use jenia4jsf popup http://www.jenia.org Or write a simple validator/converter google and you will find loads of articles to write one. ~madhav

Re: Help getting started with tobago-facelets in a portlet

2006-11-15 Thread Stephen More
On 11/14/06, Bernd Bohmann [EMAIL PROTECTED] wrote: looks like the scarborough jar is missing. I added the scarborough jar. I am using maven2 and put tobago-facelets in my pom.xml http://www.ibiblio.org/maven2/org/apache/myfaces/tobago/tobago-facelets/1.0.8/ If scarborough is

Re: text-align: center - without h:dataTable

2006-11-15 Thread monkeyden
Can I use t:columnwithout using dataTable? Scott Stevenson-5 wrote: In your column (or columns) tag simply specify a style to align the text contained in that column. We use something like this in our t:columns tag: style=text-align:#{dataTableBean.alignment}; Where getAlignment()

RE: creating a dynamic code for a group of radio buttons

2006-11-15 Thread Yaron Spektor
Thanks Aneesha, I did have the IDs unique. I also tried setting the valueBinding to an HtmlSelectOneRadio that I put on the bean (with getters and setters of course) nothing seemed to work. Just to make sure my question is clear I need to create a dynamic view similar to this:

Re: Help getting started with tobago-facelets in a portlet

2006-11-15 Thread Stephen More
On 11/14/06, Bernd Bohmann [EMAIL PROTECTED] wrote: Can you share the example with me? The example can be found at: http://www.geocities.com/mores/portal-facelets.jar -Thanks Steve More

Re: text-align: center - without h:dataTable

2006-11-15 Thread Scott Stevenson
Maybe I'm missing the point but why would you want to use a columns tag without a datatable?? The answer is, you can't (as far as I know). Can I use t:columnwithout using dataTable? Scott Stevenson-5 wrote: In your column (or columns) tag simply specify a style to align the text

Re: Navigation from error question...

2006-11-15 Thread K. Johnson
Try removing the redirect. You should see your facesMessage then. Hope this helps. K ---Original Message--- From: Mick Knutson [EMAIL PROTECTED] Subject: Re: Navigation from error question... Sent: 14 Nov '06 17:01 That did work, but now, I do not get the messages I want

[Tobago] multi row tabGroup?

2006-11-15 Thread swaczinna
Hi, is it possible to display the labels of the tabs in a tabGroup in multiple rows, if not all labels fit in one row, like Swing does it? Regards Helmut

[Tobago] dynamic style for components

2006-11-15 Thread swaczinna
Hi, is it possible to set the style (font, color, ...) of a component (tc:button, tc:in, ...) dynamicly in the JSP page via value binding? There's no attribute like 'style'. How do I use the tc:style tag? Regards Helmut

Re: Panel Tabbed Pane

2006-11-15 Thread K. Johnson
The rendered attribute is processed at render-time. My guess is that it is processed after both jsp:includes are already processed. ---Original Message--- From: Hasnain Badami [EMAIL PROTECTED] Subject: Panel Tabbed Pane Sent: 14 Nov '06 12:55 Hi I have written the

RE: Very strange problem: conversion error

2006-11-15 Thread Fraley, Taylor
Yup, that it is. Not that I solved the problem, but I did discover it's localized to one machine. Everything works fine in every other environment I've tried it in. So, I can only assume it's not a problem with the code at this point. Thanks! Taylor From: Grant Smith [mailto:[EMAIL

Re: Panel Tabbed Pane

2006-11-15 Thread Hasnain Badami
Hi Is there any way through which, depending on tabIndices.portfolioTabIndex, I can include the appropriate jsp. HB. On 11/15/06, K. Johnson [EMAIL PROTECTED] wrote: The rendered attribute is processed at render-time. My guess is that it is processed after both jsp:includes are already processed.

Strange problem, datatable sorting

2006-11-15 Thread Hasnain Badami
hi I am using a datatable. I have written the code as required for sorting. Now when I click on the header of the first column the sorting works fine. I can also see the ascending/descending toggler working in the INVOKE_APPLICATION phase. But when I click on the header of the second or the

Re: Help getting started with tobago-facelets in a portlet

2006-11-15 Thread Bernd Bohmann
Hello, started to try your example. How can I deploy and invoke the example on a server? See the other comments in the mail. Stephen More wrote: On 11/14/06, Bernd Bohmann [EMAIL PROTECTED] wrote: looks like the scarborough jar is missing. I added the scarborough jar. I am using maven2

Re: [Tobago] multi row tabGroup?

2006-11-15 Thread Udo Schnurpfeil
Hi Helmut, there is an issue in Jira for a drop-down to show surplus tabs in a tabgroup. This will be resolved in the next time. *https://issues.apache.org/jira/browse/TOBAGO-176 Hope that helps Udo * [EMAIL PROTECTED] schrieb: Hi, is it possible to display the labels of the tabs in a

Re: text-align: center - without h:dataTable

2006-11-15 Thread monkeyden
Really the fundamental issue has little to do with the dataTable itself. It has more to do with specifying justifications for different types of data, within the same table. UI layout in JSF is very klugey. Here is a simple table with two columns and two rows. table border=1 tr

RE: text-align: center - without h:dataTable

2006-11-15 Thread Nebinger, David
table border=1 tr thToday's Date/th thCurrent Weather/th /tr tr td align=right11/15/2006/td tdSunny/td /tr /table [snip] h:panelGrid columns=2 h:panelGrid style=text-align: center columns=2

Re: text-align: center - without h:dataTable

2006-11-15 Thread Jeff Bischoff
Monkeyden, You may try Facelets, where you can be more granular by using the actual tr and td elements... Regards, Jeff Bischoff Kenneth L Kurz Associates, Inc. monkeyden wrote: Really the fundamental issue has little to do with the dataTable itself. It has more to do with specifying

Re: text-align: center - without h:dataTable

2006-11-15 Thread Craig McClanahan
On 11/15/06, Jeff Bischoff [EMAIL PROTECTED] wrote: Monkeyden, You may try Facelets, where you can be more granular by using the actual tr and td elements... Or, whether you use facelets or not, experiment with the columnClasses and rowClasses attributes of h:panelGrid. You can specify

Re: [Tobago] Important changes to tc:tree (please rename tc:tree to tc:treeOld)

2006-11-15 Thread Udo Schnurpfeil
Hello, it turns out, that the changes are very complex. The release of 1.0.9 is scheduled for 30/Nov/06. To have a stable version at release time I suggest to put the new tree for the time being in the sandbox and schedule the release of the fundamental change to version 1.1.0. Regards Udo

general myfaces performance question

2006-11-15 Thread Werner Punz
Ok, before anyone is falling down the chair because I ask this question. Here we go. A friend of mine is looking for a struts replacement framework covering extranet sites. Well here we go, my experience with jsf in the past is, that it was not too suitable for extranet, but is a perfect

Re: Help getting started with tobago-facelets in a portlet

2006-11-15 Thread Stephen More
On 11/15/06, Bernd Bohmann [EMAIL PROTECTED] wrote: Hello, started to try your example. How can I deploy and invoke the example on a server? You can download a working portal from: http://www.liferay.com/web/guest/downloads Once the portal is up and running, you configure a directory where

javax.servlet.ServletException: Client-id : _idJsp0 is duplicated in the faces tree.

2006-11-15 Thread behrangsa
Hi, When I modify a JSP (add/remove some children to a panelGrid,etc.) and press F5 to see the changes, I get the following exception in Tomcat 5.5.17 or 5.5.20: javax.faces.FacesException: Client-id : _idJsp0 is duplicated in the faces tree. Component : _idJsp0, path: {Component-Path : [Class:

panelGrid cellpadding and cellspacing

2006-11-15 Thread behrangsa
Hi, MyFaces does not emit the output of cellpadding and cellspacing for panelGrid. Is this a known issue or is it intentional? Regards, Behi -- View this message in context: http://www.nabble.com/panelGrid-cellpadding-and-cellspacing-tf2640378.html#a7370604 Sent from the MyFaces - Users

Printing and Saving text in JSF

2006-11-15 Thread pallavi.roy
Hi All, I have a simple JSF Faces Portlet application having two buttons (Print and Save) and a text area. I want your suggestions on how i could print the text to printer and save the text to a word doc in JSF. Please forward me any tutorials or references where i

Re: [Tobago] Mozilla renders different than Explorer

2006-11-15 Thread [EMAIL PROTECTED]
Try another theme Hi, Next day, Another problem. What's wrong with this code? Explorer renders ok, Mozilla renders with scrollbars. Is there any tutorial about tobago? Couldn't find anything else then myfaces.apache.org/.../tobago.. Thx again, Peter layout:standard jsp:body

Re: Custom component, validation messages

2006-11-15 Thread delbd
I was hoping there could be some suggestion on how to transfert messages from component id X:a to component id X. I'd like to give user opportunity to put those error message where ever they want. But maybe i should better do 'component X internal validation that check values of it's

Re: general myfaces performance question

2006-11-15 Thread Martin Marinschek
He should definitely take the Trinidad component set for high performance requirements, with this, you're in the same region as Struts for performance (probably better - cause if you do it yourself, you won't get the same optimized state-saving as is implemented in Trinidad). regards, Martin

t:dataTable

2006-11-15 Thread support
In the t:dataTable value=#{addressBB.states} var=state, what is the var attribute for? Also is it possible to use this tag to display a full table in text edit fields and display a submit button to updated the table on the backend? Any examples would be appreciated. The documentation and

Re: t:dataTable

2006-11-15 Thread Cagatay Civici
Hi, In the t:dataTable value=#{addressBB.states} var=state, what is the var attribute for? var attribute is an iterator used when rendering each row. Also is it possible to use this tag to display a full table in text edit fields and display a submit button to updated the table on the

t:inputDate display seconds

2006-11-15 Thread Aneesha Govil
Hi, I would like to display seconds as well in the t:inputDate component. Right now, it just gives me Date-Month-Year-Hours-Mins. I am using type=both. Any idea how can I set it to display seconds too? Thanks, Aneesha

preserve formatting with textArea component

2006-11-15 Thread Madhav Bhargava
Hi All, Following is the requirement: User enters text in text area or a similar component. The user clicks on the save button which then saves the data in a database. When the user views the file again, data is retrieved from the database to display on the page. Question: 1. How

Re: general myfaces performance question

2006-11-15 Thread Matthias Wessendorf
do you have numbers for that better than struts ? On 11/16/06, Martin Marinschek [EMAIL PROTECTED] wrote: He should definitely take the Trinidad component set for high performance requirements, with this, you're in the same region as Struts for performance (probably better - cause if you do it

Re: Printing and Saving text in JSF

2006-11-15 Thread Matthias Wessendorf
that is not really related to jsf general. the print approach, you can create a pdf (has been discussed here already) the save thing you need to work with an API that allows you to take (plain) text to word... On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I have a