IE JavaScript error

2006-06-27 Thread Roman Nikiforov
Hi, I'm using MyFaces 1.1.3 & Tomahauk 1.1.2. My jsf works fine on Firefox, but on IE I'm getting JavaScript errors like "'elements' is null or not an object". In generated source code it's a function clear_pr_3A_5FidJsp40() { var f=document.forms['pr:_idJsp40']; f.elements['pr:_idJsp40:_link

can JSF schema be kept locally?

2006-06-27 Thread sumanta
My JSF pages with lots of myfaces components is not running. Tomcat server is not starting. The problem was not there when I had a good speed internet, but now the speed of my internet is quite slow and now the server is not getting up at all. Do any of you know any solution? -- View this message

Re: [tobago] sheet

2006-06-27 Thread Alexandre Jaquet
Hi, Phil, With the tc:page elemenent it's work thx :) Regards Philippe Hennes wrote: hi alexandre, have you set height and width attributes for the page? e.g.: at the moment the sheet is not rendered correctly when there are no values set from the outside elements. regards phil Alex

Re: Any myFaces presentations at ApacheCon US this year?

2006-06-27 Thread Matthias Wessendorf
Sean, I submitted two sessions: -From Struts to JSF (or "Get rid of old school" ;)) -Apache MyFaces Martin submitted a session: JSF and AJAX - MyFaces usage of AJAX (something like that) and we submitted a 1day tutorial. That tutorial here in Dublin went very very well. People liked it! I am

Re: Any myFaces presentations at ApacheCon US this year?

2006-06-27 Thread Matthias Wessendorf
Hey dude, yes, I am :) the umbrella is asf, web, java :) Cheers, Matthias On 6/26/06, David Chandler <[EMAIL PROTECTED]> wrote: 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

Re: Any myFaces presentations at ApacheCon US this year?

2006-06-27 Thread ved.gunjan
Hi, Can u provide with the document related to the session as im very keen on try out JSF and Ajax Is this session available online...if yes URL please     Martin's session:JSF and AJAX - MyFaces usage of AJAXMatthias Wessendorf <[EMAIL PROTECTED]> wrote: Sean,I submitted two sessions:-F

Tomahawk dataTable Problem - replacing standard dataTable with tomahawks one shows nothing

2006-06-27 Thread Torsten Krah
Hello. I am new to JSF and doing some tutorials, reading docs and so on for learning. Reading corejsf Book and doing their examples i want to modifiy it for learning purposes, so i've taken the chapter 5 tutorial and modified it to use a resultsetmodel, which worked flawless. The problem now is,

users@myfaces.apache.org

2006-06-27 Thread Chen, Wei
Hi all, is it possible to load a file outside the war-package in ? Exactly to say: I have a file "mytest.txt" under c:\temp. Can I do follows: ... ... If not, is there any other way? Regards -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von

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

2006-06-27 Thread Rafael Nami
Excellent piece of work, Bruno. Big Thanxs for this tutorial.   Rafael Mauricio Nami  2006/6/26, Rick <[EMAIL PROTECTED]>: Thanks Bruno.-Original Message-From: Bruno Aranda [mailto: [EMAIL PROTECTED]]Sent: Sunday, June 25, 2006 11:24 AMTo: MyFaces DiscussionSubject: Tutorial on how to creat

Adding star while rendering all required InputText

2006-06-27 Thread Michael Ageeb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Is there a way to render a red star concatenated to any InputText with the required attribute set to true? I've an application with a lot of those InputText with their required set to true and I don't want to change the code for each manuall

RE: Adding star while rendering all required InputText

2006-06-27 Thread Julian Ray
You can add a properties file which overrides the default messages. Here are some that we have used in the past javax.faces.component.UIInput.REQUIRED=* value required. javax.faces.component.UIInput.CONVERSION=* invalid. javax.faces.validator.NOT_IN_RANGE=* value must be between {0} and {1}. javax

Re: Adding star while rendering all required InputText

2006-06-27 Thread Cagatay Civici
Hi,Yes there is, you only need to provide your custom renderer for the job. You can grab the source of your renderer class and decorate it to render a * symbol if the component is required.Regards,Cagatay On 6/27/06, Julian Ray <[EMAIL PROTECTED]> wrote: You can add a properties file which override

Client Side Tree2 Toggling

2006-06-27 Thread Sloan, Noah M
Can someone give an example of (or better yet post to the wiki) a tree2 that toggles on the client side? i.e. a case where clientSideToggle="true" actualy works? I can only get server side toggling to work. <>

Re: Adding star while rendering all required InputText

2006-06-27 Thread Michael Ageeb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually I want the star to be concatenated to the InputText before the user submits and process the validation I want it be concatenated in the early render phase. something that is not as complex as creating a custom render Julian Ray wrote: > You ca

_link_hidden_

2006-06-27 Thread Baker,Jonathan
Title: _link_hidden_ I believe that form_name:_link_hidden is the JSF mechanism for storing component state on the client side, but I am curious as to why, if you have your web.xml setting to say store state on the server, that that element and some _javascript_ methods to set that element ar

PRETTY_HTML

2006-06-27 Thread Baker,Jonathan
Title: PRETTY_HTML     org.apache.myfaces.PRETTY_HTML     true     Changing this setting between true and false in my web.xml makes no difference on the html source shown to me in firefox or ie.  Is this setting not functional in myfaces 1.1.3/tomahawk 1.1.2, or could somethi

Tree2: When using server side toggling. How do I display the "plus" and "minus" navigation icons even if I don't know if there are children.

2006-06-27 Thread Todd Patrick
Tree2: When using server side toggling. How do I display the "plus" and "minus" navigation icons initially - even if I don't know if there are children.   I know this may sound like an odd request, the purpose is when I build a tree, I'd like the "plus" navigation icon displayed initially -

tomahawk's jscookmenu compoment

2006-06-27 Thread Zheng JinYuan
How can I set the target attribute of NavigationMenuItem? I use the setTarget(String) method ,but seem's not work ; I want to show the menu action in the iframe, But the open a new window now, What's wrong with my code ? below is my code ; My NavigationMenuItem.java public List getPanelNavigat

Re: Tree2: When using server side toggling. How do I display the "plus" and "minus" navigation icons even if I don't know if there are children.

2006-06-27 Thread Andrew Robinson
I just did this and posted emails on this list within the last month.. Let me create a blog on this and reference it from the WIKI and get back to you/this list. (Best in the WIKI and not stuck in email archive hell as it is now). (I'll create a blog as it will take some code to explain and would

Re: Tree2: When using server side toggling. How do I display the "plus" and "minus" navigation icons even if I don't know if there are children.

2006-06-27 Thread Andrew Robinson
Okay, it is posted. Blog: http://andrewfacelets.blogspot.com/2006/06/myfaces-tree2-creating-lazy-loading.html Link added to WIKI: http://wiki.apache.org/myfaces/Tree2 -Andrew On 6/27/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: I just did this and posted emails on this list within the last

InputCalendar Argument Error: One or more parameters are null

2006-06-27 Thread Ricardo Memória
Hi,   I've downloaded Tomahawk 1.1.3 and replaced the jar with my old Tomahawk 1.1.1 in a project using JSF 1.1   When I load a page with a   Argument Error: One or more parameters are null   Checking what parameter could be generating the error, I found that the inputCalendar requires the pa

Re: Any myFaces presentations at ApacheCon US this year?

2006-06-27 Thread Matthias Wessendorf
Well,after that session (not accepted yet) there will be a pdfapachecon us is in october 2006On 6/27/06, ved.gunjan < [EMAIL PROTECTED]> wrote:Hi, Can u provide with the document related to the session as im very keen on try out JSF and Ajax Is this session available online...if yes URL please..

InputCalendar sHint?

2006-06-27 Thread Steve Simpson
Hello,   Question on the InputCalendar component in Tomahawk.  (My apologies if has been answered previously; I’ve searched for this with no real results.)  On the popup, the tooltip for each date is “sHint”.  Is there a param to change that or disable it?   I appreciate any info.   S

Re: InputCalendar Argument Error: One or more parameters are null

2006-06-27 Thread Ricardo Memória
Hi,   If I remove the renderAsPopup param from the inputCalendar, the page is rendered correctly.   Also, it was working fine with Tomahawk version 1.1.1, but with version 1.1.2 and 1.1.3 the inputCalendar requires the visibleOnUserRole param.   Also, I'm working with facelets, but it doesn'

[Tobago] - question on deprecated pageingLength in Sheet

2006-06-27 Thread John
If this method is deprecated, what is the preferred method of dynamically setting the number of rows per page to be displayed based on a value in a backing bean?   BTW: This doesn't seem to work when you set this to a backing bean method. It results in a classCastException. Funny thing is i

Re: _link_hidden_

2006-06-27 Thread Cosma Colanicchia
Hi, the _link_hidden AFAIK isn't intended for client-state saving, that kind of stuff get renderered in another hidden field in a serialized form, if enabled, and without any js code. The hidden field you're talking about should tell JSF, on the server-side, which component has triggered the sub

Re: [Tobago] - question on deprecated pageingLength in Sheet

2006-06-27 Thread Udo Schnurpfeil
Hi John, "pagingLenth" was renamed to "rows", because it is the "standard name" in JSF. Do you have a stacktrace for the funny thing? It seems to work in the tobago-example-demo. Regards Udo John schrieb: If this method is deprecated, what is the preferred method of dynamically setting t

RE: [Tobago] - [RESOLVED] question on deprecated pageingLength in Sheet

2006-06-27 Thread John
Ok... I found the answer, but I'm not sure It's intuitive - maybe it is?   Anyway. Found the attribute rows. When setting rows through a backing bean, the getter in the backing bean needs to return an Integer, NOT a String. Then it works. But the Exception is really confusing, as it says it

A note about the Tree2 Lazy Loading -- number of children not known blog...by Andrew Robinson

2006-06-27 Thread Todd Patrick
Andrew: First of all, thank you - this is greatly appreciated.   I only have one question at this point, the line:   return .loadChildren(this);   Means what?   Do you have an example of the inner class that could be used?   Thanks,   --Todd       public class ContentMgmtFolderNodeextends

Re: A note about the Tree2 Lazy Loading -- number of children not known blog...by Andrew Robinson

2006-06-27 Thread Andrew Robinson
public class BeanClass { private TreeModel treeModel; public List loadChildren(FolderNode parent) { List children = new ArrayList(); List folders = ; // load from web service for (String folder : folders) children.add(new FolderNode(treeModel, parent, folder)); List files = ;

Re:

2006-06-27 Thread Murray Brandon
Facelets lets you can put anything that is a valid Java URL in the src. eg. Anything more elegant you can write your own url handler, but then it needs to be in the classpath of the application server which is annoying and few admins will allow you to do it: Chen, Wei wrote: Hi a

Re: creating datatable at runtime

2006-06-27 Thread Dudu
In a brazilian group about jsf, there are a example project developed by me on jdeveloper to downloadthe project create a datatable at runtimethe group is below: http://br.dir.groups.yahoo.com/group/javasf/and the file is below: DynamicDataTable.zipat http://br.groups.yahoo.com/group/javasf/