Re: OptionalValidator - Required validator - compound components

2006-06-17 Thread Cagatay Civici
Hi,Yes, tree traversing won't work in case of a datatable. I always think required attribute is a mistake, it should be a validator instead.Cagatay,On 6/18/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: After looking more at the source code for the optional validatorframework, it doesn't look to m

Tomahawk Schedule

2006-06-17 Thread Jonathan Meller
Ave! I'm a beginner and I'm with problems on start to use the Tomahawk Schedule component. Has somebody a war file example with some initial code, or template to help me? Tnks.-- May the Source be with you

Re: AUTO_SCROLL Kills Command Links

2006-06-17 Thread Matthias Wessendorf
or: create an issue and upload a "sample war file" On 6/17/06, Dennis Byrne <[EMAIL PROTECTED]> wrote: Can some of you post a directory listing of WEB-INF/lib ? A snippet of all jsf related context params would help as well. Dennis Byrne >-Original Message- >From: Hailong Zhang [mail

Re: AUTO_SCROLL Kills Command Links

2006-06-17 Thread Dennis Byrne
Can some of you post a directory listing of WEB-INF/lib ? A snippet of all jsf related context params would help as well. Dennis Byrne >-Original Message- >From: Hailong Zhang [mailto:[EMAIL PROTECTED] >Sent: Sunday, June 18, 2006 01:11 AM >To: 'MyFaces Discussion' >Subject: Re: AUTO_SC

Re: AUTO_SCROLL Kills Command Links

2006-06-17 Thread Hailong Zhang
Hi Dennis,    I have this problem too. My environment is Windows XP sp2, Firefox1.5.0.4, JDK 1.5.0_06-b05. MyFaces 1.1.3 & Tomahawk 1.1.3,2006/6/18, Dennis Byrne < [EMAIL PROTECTED]>:I still can't reproduce this - using the simple examples web application (myfaces distribution).  I tried w/ trunk a

Understanding the lifecycle and complex components like UIData

2006-06-17 Thread Andrew Robinson
I was trying to determine how I could maybe "fix" the problem of having data tables lose their submitted values when there are validation errors or when the action is immediate, and I am not sure how the UIInput components actually work in the UIData. What I saw: The UI Data runs all of the decod

Re: Deleting Nodes/Branch from Tree

2006-06-17 Thread Andrew Robinson
Rows state is by row index not row ID unfortunately (I sumbitted an issue on this). As a result you will have that issue. Best thing you can do is write a custom tree state object for your model or manually expand/collapse the paths when you add/remove nodes. BTW - You shouln't have to rebuild th

OptionalValidator - Required validator - compound components

2006-06-17 Thread Andrew Robinson
After looking more at the source code for the optional validator framework, it doesn't look to me like it will support data tables, trees and other complex comonents that render children multiple times. It walks the component tree looking for required components, but it will never check rows of a

Re: Does SubForm do anything?

2006-06-17 Thread Andrew Robinson
Well, that (below) almost worked. I let me add the row (with that dummy subform at the bottom of the page), but unfortunately the data table rows still lost their values since they were not validated. The optional validator would be idea except for that it only works with validator IDs and not val

Deleting Nodes/Branch from Tree

2006-06-17 Thread Hughes, Stan
This may seem counter-productive to some, but, I need to be able to dynamically delete and rebuild a tree structure. The thing is, I need the data to always be real-time…   So, given the tree following:   A |  A1 |    A1.1 B   How do I, when the user clicks the A node, delete every

Re: AUTO_SCROLL Kills Command Links

2006-06-17 Thread Dennis Byrne
I still can't reproduce this - using the simple examples web application (myfaces distribution). I tried w/ trunk and with MyFaces 1.1.3 and Tomahawk 1.1.3 . getScrolling() renders when the org.apache.myfaces.AUTO_SCROLL context parameter is set to true and getScrolling() dows not render when

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 br

Re: AUTO_SCROLL Kills Command Links

2006-06-17 Thread Mike Duffy
Thx Dennis. If you use the Tomahawk jar from the 1.1.1 example app, the command links work. I am not a Java Script guru, but the java script that is generated is definitely different between the current 1.1.3 jar and the 1.1.1 jar; if you compare the two you might see the answer. Also, I can't

Re: myFaces Schedule entry clicked

2006-06-17 Thread Jurgen Lust
When you click an entry with the left button, the id of the entry you clicked is put in a hidden input field, and the form that contains the schedule is submitted. The href of an entry is indeed "#", which is the same as in the commandLink for example. Are you saying that you get redirected to anot

Re: InputSuggest (non-AJAX)

2006-06-17 Thread Dennis Gesker
I spent a few hours playing with the source code but didn't get very far. I guess I'm still too much of a novice in understanding the ins an outs to have a positive impact, though I did get a taste for maven which is pretty darn cool. Do you know of any other taglibs out there that function as inp

Re: InputSuggest (non-AJAX)

2006-06-17 Thread Matthias Wessendorf
I don't know. There was no discussion about this component yet. If there are no plans to promote this control could someone recommend another non-AJAX inputSuggest control? Why not staying with the sandbox, when it fits your needs? Also it is allowed to *included* the source of the control to

Re: InputSuggest (non-AJAX)

2006-06-17 Thread Sean Schofield
We kind of stopped work on it because it runs into trouble on IE with large data sets (renders really slow.) I don't have a need for a suggest control at the moment so I'm no longer working on it. I'll probably try to help with the ajax version when I get enough time again. Why not try modifyin

InputSuggest (non-AJAX)

2006-06-17 Thread Dennis Gesker
Are there any plans for moving the non-AJAX inputSuggest from the sandbox into tomahawk? I gave the latest snapshot a try and this control is so close to being exactly what I need but there are properties that can't seem to be set (size, etc.). If there are no plans to promote this control could s

Re: javax.faces.STATE_SAVING_METHOD doesn't work for form submting

2006-06-17 Thread pokkie
Actually I am not using facelets, but in my case I believe the problem is that my component is embedded within a tabbedPanel -- View this message in context: http://www.nabble.com/javax.faces.STATE_SAVING_METHOD-doesn%27t-work-for-form-submting-t1679622.html#a4913792 Sent from the MyFaces - User

Re: javax.faces.STATE_SAVING_METHOD doesn't work for form submting

2006-06-17 Thread Rogerio Pereira
This problem affect developers that uses facelets and can be solved by upgrading to a newer version of facelets.2006/6/16, pokkie <[EMAIL PROTECTED] >:I am experiencing exactly the same problem. Have you found a solution by any chance?--View this message in context: http://www.nabble.com/javax.face