Re: [tobago]Expression: #{clientConfigController.locale}. Return value null

2006-06-26 Thread Alexandre Jaquet
I correct it by placing compiled classes : \org\apache\myfaces\tobago\example\demo under classes directory Alexandre Jaquet wrote: Hi, I got the following error message when I try to run a jsp page who include tobago tag : Expression: #{clientConfigController.locale}. Return value null

[tobago] theme is not loaded

2006-06-26 Thread Alexandre Jaquet
I made a simple test page %@ taglib uri=http://myfaces.apache.org/tobago/component; prefix=tc % %@ taglib uri=http://myfaces.apache.org/tobago/extension; prefix=tx % %@ taglib uri=http://java.sun.com/jsf/core; prefix=f % %@ taglib tagdir=/WEB-INF/tags/layout prefix=layout % layout:overview

Re: Tree checkbox

2006-06-26 Thread ould sid'ahmed
Matthias Wessendorf a écrit : http://myfaces.apache.org/tomahawk/apidocs/org/apache/myfaces/custom/tree2/TreeNodeChecked.html new TreeNodeChecked(java.lang.String type, java.lang.String description, boolean checked, boolean leaf); or setChecked(boolean checked) ; On 6/23/06, ould

t:inputCalendar Renders Incorrectly

2006-06-26 Thread Mike Duffy
t:inputCalendar id=estimatedStartDate monthYearRowClass=yearMonthHeader weekRowClass=weekHeader currentDayCellClass=currentDayCell value=#{issueCreate.estimatedStartDate} renderAsPopup=true popupTodayString=someString popupWeekString=someOtherString/ I am using the latest and greatest

Re: [tobago] theme is not loaded

2006-06-26 Thread Bernd Bohmann
Hello Alexandre, you have 2 options for configuring themes, see: http://myfaces.apache.org/tobago/themes.html Regards Bernd Alexandre Jaquet schrieb: I made a simple test page %@ taglib uri=http://myfaces.apache.org/tobago/component; prefix=tc % %@ taglib

A question about faclet and jsp-tag

2006-06-26 Thread Chen, Wei
Title: A question about faclet and jsp-tag Hi all, Formerly I use self-created jsp-tag to print out the html-code in run-time. My jsp-tag looks as follow: public class myHtmlOutputTextTag extends BodyTagSupport { ... public int doStartTag() { // Print the Produktinhalte onto the

[tobago] sheet

2006-06-26 Thread Alexandre Jaquet
Hi, Does anyone could explain me how columns attribute works, I'm trying to create two columns with 50px.: *columns=50px;50px *but nothing appends Regards

InputDate Validation ?

2006-06-26 Thread José Luis / Dpto Informatica
Hi, Is there any way to validate what the user inputs in the InputDate control ? If a user input a character in the day field then I get the next error : pre java.lang.NumberFormatException: For input string: A   

Re: InputDate Validation ?

2006-06-26 Thread Cagatay Civici
Hi,This is because converter takes place before the validators.Maybe you could try some _javascript_ tricks to disable user from submitting invalid data?CagatayOn 6/26/06, José Luis / Dpto Informatica [EMAIL PROTECTED] wrote: Hi, Is there any way to validate what the user

schedule documentation?

2006-06-26 Thread ldr
Is there any documentation for the tomahawk schedule component? especially how to program the model. The examples uses the SimpleScheduleModel, but how do I use the interface ScheduleModel and is that preferred. If anyone has some example code, it would be much appreciated. thx. in advance,

Re: [tobago] theme is not loaded

2006-06-26 Thread Alexandre Jaquet
Hi Bernd, This is exactly what I've done, my tobago config file is the following : tobago-config theme-config default-themerichmond/default-theme supported-themescarborough/supported-theme supported-themerichmond/supported-theme /theme-config

InputDate Validation ?

2006-06-26 Thread José Luis / Dpto Informatica
Hi, Is there any way to validate what the user inputs in the InputDate control ? If a user input a character in the day field then I get the next error : pre java.lang.NumberFormatException: For input string: A   

Re: InputDate Validation ?

2006-06-26 Thread Mert Çalışkan
I did a similiar thing for UIInput components before. With _javascript_ calls the userwas only capable of inputting numeric characters. You can use a _javascript_ like that, but you should also check for the keyCode for . hence the code only checks for 0-9 numeric inputs.

Output Html-Text in Facelet

2006-06-26 Thread Chen, Wei
Title: Output Html-Text in Facelet Hi all, asummed I have the following html-text/code as a string: ... tr tdname-1/tdtdval-1/td tdname-2/tdtdval-2/td ... tdname-n/tdtdval-n/td /tr What a tag should I use to print it out? (surely without the html-tags) Regards

Re: Output Html-Text in Facelet

2006-06-26 Thread Gilles DEMARTY
You can use the t:panelgrid to rendre that kind of display if n is constant. otherwise, you can use the t:dataList if n vary. 2006/6/26, Chen, Wei [EMAIL PROTECTED]: Hi all, asummed I have the following html-text/code as a string: ... tr tdname-1/tdtdval-1/td tdname-2/tdtdval-2/td ...

Re: [tobago] sheet

2006-06-26 Thread Udo Schnurpfeil
sounds strange, you may try columns=*;* Regards Udo Alexandre Jaquet schrieb: Hi, Does anyone could explain me how columns attribute works, I'm trying to create two columns with 50px.: *columns=50px;50px *but nothing appends Regards

Re: [tobago] sheet

2006-06-26 Thread Philippe Hennes
hi alexandre, have you set height and width attributes for the page? e.g.: tc:page width=400px height=800px /tc:page at the moment the sheet is not rendered correctly when there are no values set from the outside elements. regards phil Alexandre Jaquet wrote: Hi, Does anyone could

AW: Output Html-Text in Facelet

2006-06-26 Thread Chen, Wei
Thanks for the reply. But is there any other way not using the dataList but somewhat like a jsp-tag to do that? I mean if there was a tag which can print out the text in html-format as follow? name-1 val-1 name-2 val-2 ... name-n val-n The reason is: I have to prepare the output text

Re: InputDate Validation ?

2006-06-26 Thread Cagatay Civici
Hi,The client validation in myfaces is designed to run at onsubmit event of the form but I think stuff like these can be very handy for the onkeypress events. (maxlength, integer only)If there is a NumberConverter with integeronly set true, onkeypress can be decorated to call js events. This is

NoSuchElementException in HtmlSelectOneMenu

2006-06-26 Thread Michael Heinen
I got the following exception in my log today: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(Unknown Source) at java.util.AbstractList.removeRange(Unknown Source) at java.util.AbstractList.clear(Unknown Source) at

Duplicated menu-items in a combimnation of tiles and panelNavigation2

2006-06-26 Thread janw
Hello, I'm new to JSF and have propably a typical beginner's problem. I'm using tiles, analogously to the tiles example: a header area, a navigation area on the left (panelNavigation2) and the actual content. The content may contain a dataScroller. Clicking a navigation link of the dataScroller

creating datatable at runtime

2006-06-26 Thread Maria G
Hi All, I have a requirement to create datatables at runtime. I will get the number of table to be created at runtime and I have to create the table with the columns that are fixed. Can anyone please tell me, how to do this? How to create a table at rum time? It will more helpful, If I can

RE: creating datatable at runtime

2006-06-26 Thread Julian Ray
Hi Maria, The book Core JavaServer Faces has a whole chapter on using datatables with lots of examples which you might want to take a look at. -Original Message- From: Maria G [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 10:37 AM To: users@myfaces.apache.org Subject: creating

RE: Error page in JSF - facelets

2006-06-26 Thread Rick
No. I don't believe there is a way, but it likely depends on your app server. What I usually do (so I can share my facelet template with my error page), is just forward from my jsp error page to my facelet error page. Error.jsp jsp:forward page=realError.faces/ Where realError.faces is my

RE: Tutorial on how to create a custom JSF components library

2006-06-26 Thread Rick
Thanks Bruno. -Original Message- From: Bruno Aranda [mailto:[EMAIL PROTECTED] Sent: Sunday, June 25, 2006 11:24 AM To: MyFaces Discussion Subject: Tutorial on how to create a custom JSF components library Hi there, I have just created a tutorial [1] on how to create your custom JSF

RE: creating datatable at runtime

2006-06-26 Thread Maria G
Hi Julian, Thank you for your reply. Is it possible to get some example from online? I don't have the book with me now :( Thanks, Maria -- View this message in context: http://www.nabble.com/creating-datatable-at-runtime-t1849326.html#a5049742 Sent from the MyFaces - Users forum at Nabble.com.

Re: creating datatable at runtime

2006-06-26 Thread Cagatay Civici
Hi,My friend's entry might be useful;http://www.jroller.com/page/hasant?entry=creating_dynamic_datatable_inside_of Regards,CagatayOn 6/26/06, Maria G [EMAIL PROTECTED] wrote: Hi Julian,Thank you for your reply.Is it possible to get some example from online? I don't have the book with me now

Re: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk 1.1.3

2006-06-26 Thread Dennis Byrne
Hi Rick, Can you please put this info in the wiki ? http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1%2e1%2e3 Dennis Byrne -Original Message- From: Rick Hightower [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 12:03 PM To: ''MyFaces Discussion'' Subject: Updgrading from

RE: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk 1.1.3

2006-06-26 Thread Rick
Yes. -Original Message- From: Dennis Byrne [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 9:17 AM To: MyFaces Discussion Subject: Re: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk 1.1.3 Hi Rick, Can you please put this info in the wiki ?

Re: creating datatable at runtime

2006-06-26 Thread Maria G
Hi Cagatay, Thank you for your reply. The link you sent was useful. But he didn't say any steps about how to create dynamic table also that component is still under developement. Thanks, Maria -- View this message in context:

Re: [OT] JSF and JVM performance

2006-06-26 Thread Jeff Bischoff
Well in my initial tests, I did a smaller query first to warm things up. But it was really only a quick run of each, as I had other things to do. Unfortunately, this real-world tests may have led me to an erroroneous conclusion. My further investigations today still did not have the controls

Re: shared - impl or tomahawk [was: Re: Component like panelGrid with ul

2006-06-26 Thread John Ruffin
I want to create a horizontal list and have each surrounded by a commandLink. I thought I could do something like this: --- Piece from java class public SimpleNavItems(String displayValue, String goToText){ this.displayValue = displayValue; this.goToText =

Re: Error page in JSF - facelets

2006-06-26 Thread Andrew Robinson
Actually the error page works fine for exceptions and such, just not 404. I think the problem is the filters I am using. I am using the following filters: AjaxAnywhere Seam Exceptions Seam Redirect MyFaces Extensions One of them must be calling the getOutputStream. If the JSF file doesn't

[OT] IntelliJ windows / linux compatibility

2006-06-26 Thread Sorin Silaghi
Hello all, This is offtopic, I hope you don't mind I'm using IntelliJ on linux and whenever I send something I make to someone with windows they see all the files as one row (the usual problem... ). Dose anybody know how to convert them for windows (add the CR :)??? And has anybody had

Any myFaces presentations at ApacheCon US this year?

2006-06-26 Thread David Chandler
Hello, Just wondering if there is any interest in myFaces at ApacheCon US in Oct. The Call for Papers (http://www.us.apachecon.com/html/cfp-form.html) doesn't seem to have a topic for it unless it's under the ASF umbrella? I've done some work on Internet banking software to secure myFaces

Re: How can I display radio buttons in 2 columns? (Solved and Documented)

2006-06-26 Thread Bruno Aranda
Thanks Paul! Bruno On 6/26/06, Paul Spencer [EMAIL PROTECTED] wrote: Based on post to this thread and some trail error, I have found a solution and documented it in the wiki. http://wiki.apache.org/myfaces/Display_Radio_Buttons_In_Columns Paul Spencer Paul Spencer wrote: I thought

Re: Any myFaces presentations at ApacheCon US this year?

2006-06-26 Thread Sean Schofield
Matthias, Are you planning on another presentation again this year? Hopefully someone will be there to represent MyFaces. I'm hoping to attend but I probably won't have time to prepare a presentation. Sean On 6/26/06, David Chandler [EMAIL PROTECTED] wrote: Hello, Just wondering if there

Re: [OT] JSF and JVM performance

2006-06-26 Thread Jesse Sightler
Indeed, these results are much closer to what I would have expected. And I also agree that you should try JRockit as it is often faster than Sun's (and quite stable as well).-- Jess On 6/26/06, Jeff Bischoff [EMAIL PROTECTED] wrote: Well in my initial tests, I did a smaller query first to warm

Re: t:inputCalendar Renders Incorrectly

2006-06-26 Thread Mike Duffy
I found this in a Google search: I believe you will need to include the Date.js, popcalendar_init.js, and popcalendar.js (in that order) in the head of your jsp. I was receiving javascript errors as well because it needs those javascript files to set up the javascript calendar. Try that and let

Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mapping

2006-06-26 Thread ved.gunjan
Hi Experts, I new to the world of JSF and im presently playing around with MyFaces Tomhawk implementation.I tried the tree example using tomahawk.jar ,myfaces-api and myfaces-impl. I was able to get the tree working with these version of jars. But now when i upgraded to the latest jars i.e

RE: Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mapping

2006-06-26 Thread Rick
Try putting the include inside of a f:subview. From: ved.gunjan [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 8:36 PM To: users@myfaces.apache.org Subject: Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mapping Hi Experts, I new to

Trinidad source code

2006-06-26 Thread Jeantine Mankelow
Hi, How do you know which svn revision the nightly build has been built from? We have: cksum adf-faces* 4089244130 694243 adf-faces-api-incubator-m1-SNAPSHOT.jar 1672540188 3156529 adf-faces-impl-incubator-m1-SNAPSHOT.jar And need the corresponding source files so that we can debug/understand

RE: Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mapping

2006-06-26 Thread ved.gunjan
Thanks for the reply Rick... I had my include file in subview only.. Here's snapshot of the the included jsp. f:subview id="generalInclude"!-- tree starts ---h:panelGrid columns="2" border="1" t:tree2 id="serverTree" value="#{solutionTreeHandler.treeModel.treeData}" var="node"

RE: Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mapping missing

2006-06-26 Thread Rick
The filter class name changed for Tomahawk 1.1.3: filter filter-nameextensionsFilter/filter-name filter-classorg.apache.myfaces.webapp.filter.ExtensionsFilter/filter-class ... As did the Source code servlet class name as follows: servlet

How to print out html-string by Facelet?

2006-06-26 Thread Chen, Wei
Hi all, Formerly I use myfaces and can use self-defined jsp-tag to handle html-string. Now I use facelet and it seems facelet is not compatible with jsp. Who knows how can I handle the html-string as using the jsp-tag? Regards

RE: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk 1.1.3

2006-06-26 Thread Rick
Done. http://wiki.apache.org/myfaces/More_tips_on_Upgrading_to_Tomahawk_1%2e1%2e3# preview -Original Message- From: Dennis Byrne [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 9:17 AM To: MyFaces Discussion Subject: Re: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk