Re: help pls! myfaces portlet ignoring web.xml init-params

2009-10-08 Thread Jim the Standing Bear
Hi Leonardo, Thank you for pointing me to the JIRA, however, I am not sure if this applies to our situation because we are still using myfaces 1.1.4 with tomahawk 1.1.3. This JIRA issue seems to affect some later versions. To make the matters worse, our myfaces jar as well as the original

Re: help pls! myfaces portlet ignoring web.xml init-params

2009-10-07 Thread Jim the Standing Bear
://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; On Wed, Oct 7, 2009 at 3:05 PM, Jim the Standing Bear standingb...@gmail.com wrote: Hi Mike, In that case, it is certainly worth finding out.  Could you please give me a pointer or two how to go about verifying that?  Thanks! -- Jim

Re: is there an absolute max file upload size? - my findings

2009-10-05 Thread Jim the Standing Bear
being sent by input stream or -1 if the length is not known (or if the length is greater than 2GB) 2009/10/3 Jim the Standing Bear standingb...@gmail.com thank you for the response, Anuj.  However, I am not entirely certain if this property applies.  For one thing, I am only using tomahawk

help pls! myfaces portlet ignoring web.xml init-params

2009-10-05 Thread Jim the Standing Bear
Hello, It seems that the myfaces webapp as a portlet is not reading the init-params defined in web.xml. I have a myfaces webapps that uses inputFileUpload. While testing it as a standalone, I was able to control the max upload size by changing the init-param in web.xml. However, after putting

is there an absolute max file upload size?

2009-10-02 Thread Jim the Standing Bear
Hello, I am wondering if there is an absolute max file upload size that if the file I want to upload exceeds that size, it won't work even if the maxFileUploadSize in web.xml is set much higher? If so, what is it? Because I am trying to upload a 3GB file using the inputFileUpload control, and

Re: is there an absolute max file upload size?

2009-10-02 Thread Jim the Standing Bear
planet. Consider the environment before you print this email. -Original Message- From: Jim the Standing Bear [mailto:standingb...@gmail.com] Sent: Friday, October 02, 2009 2:15 PM To: MyFaces Discussion Subject: is there an absolute max file upload size? Hello, I am wondering

Re: Chinese characters used as path name does not work

2008-09-18 Thread Jim the Standing Bear
I don't have any solutions, but you may want to try zh_CN and zh_TW etc. What's the default locale setting of the system that you are running your web app from? You should match that. The text displays correctly because it is the browser that renders it. but in the case of your image, I

Re: how to download a file using JSF

2008-09-17 Thread Jim the Standing Bear
Isn't it a behavior of the browser? thank you provide a URL, whether be it from a static HTML page or a page generated by JSF, the browser will automatically try to download the file? am I missing something here? On Wed, Sep 17, 2008 at 1:54 PM, Nutulapati, Krishna [EMAIL PROTECTED] wrote:

Re: how to download a file using JSF

2008-09-17 Thread Jim the Standing Bear
I must be drunk... not sure why i said thank you when I meant to say if you... On Wed, Sep 17, 2008 at 2:35 PM, Jim the Standing Bear [EMAIL PROTECTED] wrote: Isn't it a behavior of the browser? thank you provide a URL, whether be it from a static HTML page or a page generated by JSF

Re: radio buttons in tomahawk tree - how to do it?

2008-09-02 Thread Jim the Standing Bear
By enclosing the h:selectOneRadio tag inside of the facet, you were literally creating a different group of radio buttons for each node, and your results verified that also. You may want to try moving the h:selectOneRadio tags outside of the t:tree2 tag, or outside of the f:facet

Re: radio buttons in tomahawk tree - how to do it?

2008-09-02 Thread Jim the Standing Bear
tree into h:selectOneRadio but it doesn't work. The problem is that there is only t:treeCheckbox Tomahawk tag (which is used for creation of checkboxes in the tree). I think the easiest way is to create my own component, like treeRadioButton . Thanks for help. 2008/9/2 Jim the Standing Bear

[Tomahawk]What's the best way to remove the current node from a Tree2?

2008-07-18 Thread Jim the Standing Bear
Hello, What is the best way to remove the current node from a Tree2? Without having a pointer back to the parent, I cannot do something like currentNode.getParentNode().getChildren().remove(currentIndex); -- Jim

Re: [Tomahawk]What's the best way to remove the current node from a Tree2?

2008-07-18 Thread Jim the Standing Bear
:) Thanks Andrew. On Fri, Jul 18, 2008 at 10:19 AM, Andrew Robinson [EMAIL PROTECTED] wrote: Use you own nodes that have a pointer back to the parent On Fri, Jul 18, 2008 at 8:02 AM, Jim the Standing Bear [EMAIL PROTECTED] wrote: Hello, What is the best way to remove the current node from

questions about findComponent() and tree2.HtmlTree.getPathInformation

2008-07-16 Thread Jim the Standing Bear
accidentally had some colons in the ID that I assigned to the TreeNodeBase, and calling getPathInformation basically tokenized the ID based on the :. But need to confirm this. I would appreciate any helpful answers/suggestions/comments/ -- Jim -- -- Standing Bear Has

Re: how to get the server name inside of a backing bean?

2006-10-24 Thread Jim the Standing Bear
() In EL: #{facesContext.externalContext.request.serverName} -Andrew On 10/23/06, Jim the Standing Bear [EMAIL PROTECTED] wrote: Hi everyone, I am working on a JSF project, and one commandLink would refer to a different project (a servlet) on the same tomcat server. My question is, how can

Re: how to get the server name inside of a backing bean?

2006-10-24 Thread Jim the Standing Bear
Hi Simon, Thank you for the information... but how exactly do I go about access those information once I have the external context? On 10/24/06, Simon Kitching [EMAIL PROTECTED] wrote: Hii Jim, Jim the Standing Bear wrote: I am working on a JSF project, and one commandLink would refer

how to get the server name inside of a backing bean?

2006-10-23 Thread Jim the Standing Bear
backing bean. Please help. Thanks! Jim -- -- Standing Bear Has Spoken --

question about tree2's t.nodeSelected

2006-10-17 Thread Jim the Standing Bear
Hello, Here is what I am trying to achieve: display a tree2, when I click on a node (a commandLink), its style changes by evaluating #{t.nodeSelected?'selectedStyle':'notSelectedStyle'}, and it will also invoke an actionListener at the backing bean to do more stuff But the problem is that

Re: question about tree2's t.nodeSelected

2006-10-17 Thread Jim the Standing Bear
t.nodeExpanded... - Jim On 10/17/06, Jeff Bischoff [EMAIL PROTECTED] wrote: Jim the Standing Bear wrote: In the sample code provided on the wiki, the code explicitly does t.setNodeSelected as the actionListener of the commandLink; but i cannot do that because as I said earlier, the actionListener

Re: question about tree2's t.nodeSelected

2006-10-17 Thread Jim the Standing Bear
to do the equivalent of t.setNodeSelected in the backing bean? On 10/17/06, Jeff Bischoff [EMAIL PROTECTED] wrote: Jim the Standing Bear wrote: In the sample code provided on the wiki, the code explicitly does t.setNodeSelected as the actionListener of the commandLink; but i cannot do

Re: Tree2 always goes to the very top

2006-10-08 Thread Jim the Standing Bear
Associates, Inc. Wendy Smoak wrote: On 10/5/06, Jim the Standing Bear [EMAIL PROTECTED] wrote: I am using a server-side Tree2 in a project. Whenever a user expands or collapses a node, the tree always moves back to the very top. Since the tree can be very big for some users, it has become

how to change style of a clicked tree2 node

2006-10-08 Thread Jim the Standing Bear
I need some help regarding tree2. How can I change the style of a tree2 node that is currently selected? It was easy in the original tree, so I would imagine there is something equivalent in tree2. Please help. thanks. -- Jim -- -- Standing Bear Has Spoken --

Tree2 always goes to the very top

2006-10-05 Thread Jim the Standing Bear
I am using a server-side Tree2 in a project. Whenever a user expands or collapses a node, the tree always moves back to the very top. Since the tree can be very big for some users, it has become an annoyance for them because they would have to look for the node every single time. Is there a way

Re: upgrading from tree to tree2

2006-09-07 Thread Jim the Standing Bear
On 9/5/06, Jim the Standing Bear [EMAIL PROTECTED] wrote: I am upgrading a JSF application from tree to tree2. The tomahawk examples downloaded from apache.org only has the jsp code, but there is no java code for the backbeans. Where can I get the source code treeBacker.java etc? Thanks

upgrading from tree to tree2

2006-09-05 Thread Jim the Standing Bear
I am upgrading a JSF application from tree to tree2. The tomahawk examples downloaded from apache.org only has the jsp code, but there is no java code for the backbeans. Where can I get the source code treeBacker.java etc? Thanks!

please help....session timeout problem!!

2006-06-23 Thread Jim the Standing Bear
Hi, We believe we are experiencing session timeout problems. The project we are working on consists of a Tree displaying inside of a gridsphere portlet. It works fine for about 15 minutes, and then we will be seeing a stack dump. 1. So it there a way to make the timeout period configurable?

Re: please help....session timeout problem!!

2006-06-23 Thread Jim the Standing Bear
to the view serialization collection.I can offer advice on tracing MyFaces but not much else as I still find it somewhat mysterious ;). Hope that helps,James-Original Message-From: Jim the Standing Bear [mailto:[EMAIL PROTECTED]]Sent: Fri 6/23/2006 3:56 PMTo: MyFaces Discussion Subject: please help

Re: AUTO_SCROLL Kills Command Links

2006-06-18 Thread Jim the Standing Bear
of the org.apache.myfaces.AUTO_SCROLL context param, w/ a few lines of documentation, is in web.xml of the simple examples application. So ... what is it about your dev environments that is different?It is probably something simple. Dennis Byrne-Original Message- From: Jim the Standing Bear

Re: AUTO_SCROLL Kills Command Links

2006-06-17 Thread Jim the Standing Bear
It is a problem with the _javascript_ function getScrolling(). Somehow it doesn't get generated. This goes true not for commandlinks, but also other stuff. One way to workaround is to run with an earlier version of the myFaces, and look at the rendered html/_javascript_ source code from the web

Are tomahawk sample codes still downloadable?

2006-06-12 Thread Jim the Standing Bear
Are the sample codes for using tomahawk still available for download? They used to be listed in the download page, but I cannot see them anymore. Thanks. -- Jim-- --Standing Bear Has Spoken--

Re: Are tomahawk sample codes still downloadable?

2006-06-12 Thread Jim the Standing Bear
Thank you, Matthias. On 6/12/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: Here it goes http://people.apache.org/builds/myfaces/nightly/tomahawk-sandbox-examples-1.1.4-SNAPSHOT.wara WAR with java sources inside of WEB-INF/srcOn 6/12/06, Jim the Standing Bear [EMAIL PROTECTED] wrote

Re: where is getScrolling?

2006-06-09 Thread Jim the Standing Bear
try tomahawk 113 instead ?See [1]. But setting that parameter to false should work. Thx,Matthias[1] http://myfaces.zones.apache.org/dist/maven-repository/org/apache/myfaces/tomahawk/tomahawk/1.1.3/ On 6/8/06, Jim the Standing Bear [EMAIL PROTECTED] wrote: Hi Matthias, I will check those two

how to refresh an (old) tree?

2006-06-08 Thread Jim the Standing Bear
I have yet another question on the old tree. How do I get it to refresh? Our code is supposed to display the contents of an XML document in a tree. We have written our own java classes to implement both the TreeModel and TreeNode interfaces. When a button is clicked, the contents of the XML

Re: how to refresh an (old) tree?

2006-06-08 Thread Jim the Standing Bear
the JSF component, and use a marshall step ( JSF component - XML ) to complete the unit of work. Dennis Byrne-Original Message-From: Jim the Standing Bear [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 8, 2006 11:51 AMTo: 'MyFaces Discussion' Subject: how to refresh an (old) tree?I have yet

Re: What is the purpose of the HtmlTree method addToModelListeners?

2006-06-08 Thread Jim the Standing Bear
I have encountered the same problem with HtmlTree.addToModelListeners. Basically I am trying to display the contents of an XML Document using the original HtmlTree. but for some reason, the tree won't refresh when a new XML Document is available. So I thought I could get it to work by removing

where is getScrolling?

2006-06-08 Thread Jim the Standing Bear
Is this a bug with myfaces 1.1.3? I have this very simple JSP file with 1 text field and 1 submit button. Whenever I click on submit, it pops out an object expected error message. By usingascript debugger, it seems to be missing a function called getScrolling() Why is that? How do I fix it?

Re: where is getScrolling?

2006-06-08 Thread Jim the Standing Bear
Right now, my way of working around is to put my own getScrolling() _javascript_ function inside of each jsp. But I hope this is not the only way to get around the problem because it is rather messy. Has anyone else seen this problem? On 6/8/06, Jim the Standing Bear [EMAIL PROTECTED] wrote

Re: where is getScrolling?

2006-06-08 Thread Jim the Standing Bear
: can you send abit of your web.xml ?On 6/8/06, Jim the Standing Bear [EMAIL PROTECTED] wrote: Right now, my way of working around is to put my own getScrolling() java script function inside of each jsp.But I hope this is not the only way to get around the problem because it is rather messy.Has

Re: where is getScrolling?

2006-06-08 Thread Jim the Standing Bear
Wessendorf [EMAIL PROTECTED] wrote: can you send abit of your web.xml ? On 6/8/06, Jim the Standing Bear [EMAIL PROTECTED] wrote: Right now, my way of working around is to put my own getScrolling() java script function inside of each jsp.But I hope this is not the only way to get around

question regarding html Tree dependencies

2006-06-07 Thread Jim the Standing Bear
Hi, I am new to myfaces and JSF. I am trying to create a webapp using the html tree, but it would give me the following exception. Before, it worked because the code was written using the namespace org.apache.myfaces.examples.tree . but now I have refactored them to a different namespace (my.jsf)

Re: question regarding html Tree dependencies

2006-06-07 Thread Jim the Standing Bear
not found) problem.SeanOn 6/7/06, Jim the Standing Bear [EMAIL PROTECTED] wrote: Hi, I am new to myfaces and JSF. I am trying to create a webapp using the html tree, but it would give me the following exception.Before, it worked because the code was written using the namespace

Re: question regarding html Tree dependencies

2006-06-07 Thread Jim the Standing Bear
Thanks again, Sean for replying. So basically what you were saying is that I either needed a method to return my.jsf.MyTreeModel, or simply to hard code that in the jsp file... yes? On 6/7/06, Sean Schofield [EMAIL PROTECTED] wrote: 137: x:treeSelectionListener type=#{MyTreeModel}/ 138: