Re: Using Label value in custom validator

2007-06-06 Thread Stefano Panero
I've already thought to navigate the entire tree, I just wanted to know if there was a simpler way which I couldn't figure out. Thank you very much. Stefano. 2007/6/5, Mike Kienenberger [EMAIL PROTECTED]: Labels are a component like anything else. However, I suspect you'd need to iterate

Re: [Trinidad] e.getFacesMessage is no Function

2007-06-06 Thread Matthias Wessendorf
I noticed J6 issues in the past as well. Currently Java5 is the first class choice, IMO -M On 6/6/07, David Uebelacker [EMAIL PROTECTED] wrote: hi, now i solved the problem ... i found out, that my LocaleElements_x_x.js files where empty. These files are generated during the build process

RE: jscookMenu

2007-06-06 Thread Zohner, Michael
Hi, t:navigationMenuItem itemLabel=External link action='javascript:window.open(http://www.xy.net/index.htm,_blank;)'/ Cheers Mcihael -Original Message- From: Peter Dahm [mailto:[EMAIL PROTECTED] Sent: 06 June 2007 10:29 To: users@myfaces.apache.org Subject: jscookMenu Hi, who

RE: why tab pane submits/validates all tabs

2007-06-06 Thread Jesse Alexander \(KSFD 121\)
I wonder whether it would be possible to define a form inside each tab to force a partial submit. It just raises the question, whether the tabbed pane automatically adds a form around the complete tab-widget, or just on the clickable tabs,... From the usability I would argument, that the click

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-06 Thread Helmut Swaczinna
Hi, to demonstrate the layout problems with sheet and tab with IE in my application I built another very simply test case for you. There're two sheets on one tab. Both sheets disappear when you switch to the tab the first time. f:view tc:page id=sheetPage width=600px height=200px

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-06 Thread Volker Weber
Hi Helmut, did this problem also exists with only one sheet? Regards, Volker 2007/6/6, Helmut Swaczinna [EMAIL PROTECTED]: Hi, to demonstrate the layout problems with sheet and tab with IE in my application I built another very simply test case for you. There're two sheets on one tab.

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-06 Thread Helmut Swaczinna
Hi, in the first example I posted there was only one sheet. It didn't disappear but showed other layout problems the first time you switch to the tab. (See explanation at the end of this mail). Regards Helmut - Original Message - From: Volker Weber [EMAIL PROTECTED] To: MyFaces

selectOneListBox and inputText

2007-06-06 Thread anoe
hi all, i am having problems with coordinating a selectOneListBox with inputText in the same page. What i want is the inputText to change when you select another item in the list. I've got my conversor for the items inside, i've debugged and it seems the variable for the text is updating in the

RE: [Trinidad] Input Text Format That Uses A Mask

2007-06-06 Thread William Hoover
Thanks for the info Adam! The component (CoreInputTextFormat) logic is fairly simple and could be directly integrated into the CoreInputText, if desired. It extends CoreInputText and adds two extra PropertyKeys: mask and clearWhenInvalid. The mask attribute designates the pattern for which

Commons Validation Shale style

2007-06-06 Thread Stefano Panero
Hi, is it possible to use shale validation framework in a myfaces - tomahawk - facelets application? I can use shale tags? And shale declarative xml validation? If I can't / won't use shale, I can directly and in simple way integrate Apache Commons Validation? Is anybody doing something like

how to create dynamic grahpics with JFreeChart and myfaces?

2007-06-06 Thread Jochen Zink
Hello, I want to show a BufferedImage on a JSF-generated page. In my case, this Image is generated by the JFreeChart[1] library. Now my question: What must I do, that I can show this image as a graphic on a JSF Page? I try to use normal h:graphicImage tag with a url attribute which points to

[Tobago] onexit and target

2007-06-06 Thread Helmut Swaczinna
Hi, the onexit handler set to the onexit attribute of tc:script is not called when an action with a target attribute was invoked. I think every call to Tobabgo.submutAction() sets a flag to distinguish between onunload and onexit. But with a target this flag should not be set. Regards Helmut

Re: how to create dynamic grahpics with JFreeChart and myfaces?

2007-06-06 Thread Mario Ivankovits
Hi! I want to show a BufferedImage on a JSF-generated page. In my case, this Image is generated by the JFreeChart[1] library. Now my question: What must I do, that I can show this image as a graphic on a JSF Page? Hehe - I had the same problem yesterday. One solution is the latest

Re: how to create dynamic grahpics with JFreeChart and myfaces?

2007-06-06 Thread Glauco Pimentel Gomes
See JSF Chart Creator [1], it uses JFreeChart 1.0.5. [1] http://jsf-comp.sourceforge.net/components/chartcreator/index.html http://www.jfree.org/jfreechart Glauco P. Gomes Mario Ivankovits escreveu: Hi! I want to show a BufferedImage on a JSF-generated page. In my case, this Image is

Re: how to create dynamic grahpics with JFreeChart and myfaces?

2007-06-06 Thread Jochen Zink
Thanks for the fast reply. It is not possible to use tomahawk or the chartcreator comp in my environment. So, I hope there is a solution without using special components. I will take a look to the source code of chartcreator and try to find a solution. If anyone know how it works, please let

Re: Commons Validation Shale style

2007-06-06 Thread Matthias Wessendorf
Tomahawk has some validators that are based on Jakarta Commons. Trinidad, however, has a built-in facility to does client side conversion and validation -M On 6/6/07, Stefano Panero [EMAIL PROTECTED] wrote: Hi, is it possible to use shale validation framework in a myfaces - tomahawk -

Re: Commons Validation Shale style

2007-06-06 Thread Gary VanMatre
From: Stefano Panero [EMAIL PROTECTED] Hi, is it possible to use shale validation framework in a myfaces - tomahawk - facelets application? One thing to beware of when you create the facelets definition for this validator is that the tag attributes don't match the component attributes [1].

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-06 Thread Andrew Robinson
That error occurs if there is no submitted value (I know - obvious statement). Several things can cause it though. Here are the ones that are most common IMO (P - problem, S-Work-around/Solution) 1) (P) A4J and the ajaxSingle attribute set to true. (S) Use a4j:region around any component with

Re: how to create dynamic grahpics with JFreeChart and myfaces?

2007-06-06 Thread Cagatay Civici
Hi, Chartcreator uses either a phaselistener or a servlet to generate the charts. It can be configured by a context param. First it gets the datasource and chart parameters, puts them to session and renders an img tag like; img src=pagename.jsf?chartId=myChart / and then in this case faces

Re: how to create dynamic grahpics with JFreeChart and myfaces?

2007-06-06 Thread Petr Kotek
Hi, I have a working solution by img on the page and servlet: In JSF page I have: h:graphicImage value=/svlgraph?#{GraphShowRequest.graphParam} width=#{GraphSession.graphWidthString} height=#{GraphSession.graphHeightString}/ In GraphShowRequest bean add some parameters for graph servlet and

Re: [Trinidad] Input Text Format That Uses A Mask

2007-06-06 Thread Adam Winer
A few and questions: - Generally speaking, we don't extend CoreInputText, we just re-extend UIXInput. The metadata system supports includes for generation, so you don't have to cut-and-paste that much. One good reason, in this case, is that I assume that this component doesn't support

Re: selectOneListBox and inputText

2007-06-06 Thread anoe
got the solution thanks to kaapa in irc. The problem is the phase when the valueChangeListener is acting, i had to add this to that method: PhaseId phaseId = event.getPhaseId(); if (phaseId.equals(PhaseId.ANY_PHASE)) {

Re: Trinidad and Portlets

2007-06-06 Thread Scott O'Bryan
Hey Martin, I am sort of scanning the list but the past few weeks have been spotty. I'll post back to the list. :) To answer your question, documentation is totally not there since most of the work I did for Trinidad was running only in a Proof of Concept environment similar to the bridge

Leveraging other JSF open source libraries in MyFaces with new contribution projects?

2007-06-06 Thread Andrew Robinson
The more I use JSF, the more comfortable I get with some of the 3rd party open source libraries and the strengths and weaknesses of each. Until the JSF specification catches up with the common add-on technologies for JSF, the proverbial wheel is getting re-invented all the time (PPR, skinning,

Re: Leveraging other JSF open source libraries in MyFaces with new contribution projects?

2007-06-06 Thread Mike Kienenberger
Don't know about Seam, RichFaces, or A4J, but I know that integrated support for facelets is already part of Tobago and Trinidad, and is planned for the next version of Tomahawk (for which I recently saw someone create a new branch) by leveraging the infrastructure that Trinidad provides. On

ADF Dialog causes refresh code to no longer work

2007-06-06 Thread Perkins, Nate-P63196
I have a page with a table of selectable objects. When an object is selected its inputs appear below the table (a binding on 'rendered' of a panelHeader) The inputs have a save and a cancel button, cancel is partialSubmit=true and immediate=true with all inputs having partialTriggers on both

Re: Trinidad and Portlets

2007-06-06 Thread Matthias Wessendorf
Scott, since we have already a protlet bridge here in MyFaces, why not making it a 301 bridge? -Matthias On 6/6/07, Scott O'Bryan [EMAIL PROTECTED] wrote: Hey Martin, I am sort of scanning the list but the past few weeks have been spotty. I'll post back to the list. :) To answer your

Re: tomahawk 1.1.5 and JSF 1.2/Tomcat 6

2007-06-06 Thread Martin Dubuc
Ryan, I am not sure why you are asking what I have in WEB-INF/lib. I am not trying to execute a custom application. For testing purposes, I am just trying to get some example applications to work. I have copied tomahawk-1.1.5.jar in tomcat's lib directory. Then, I copied to tomcat's webapps

RE: [Swiss JSF Users] JSF Special-Interest-Group Switzerland

2007-06-06 Thread Jesse Alexander \(KSFD 121\)
Nobody interested to show up? I need to know how big the room should be... So, if you are interested in coming, please tell me so. regards Alexander -Original Message- From: Jesse Alexander (KSFD 121) Sent: Thursday, May 31, 2007 9:34 PM To: MyFaces Discussion Subject: [Swiss JSF

RE: [Trinidad] Input Text Format That Uses A Mask

2007-06-06 Thread William Hoover
Point well taken! The component should extend UIXInput instead and renamed CoreInputMask. Are you are proposing to change this into a validator or converter instead of a component extension? If it was to use a converter/validator at what point would it append the JS event calls (onkeydown,

Re: [Trinidad] Input Text Format That Uses A Mask

2007-06-06 Thread Mike Kienenberger
How does this compare to validateRegExpr in Tomahawk, particularly if it becomes a validator instead of a component? http://myfaces.apache.org/tomahawk/validateRegExpr.html On 6/6/07, William Hoover [EMAIL PROTECTED] wrote: Point well taken! The component should extend UIXInput instead and

RE: [Trinidad] Input Text Format That Uses A Mask

2007-06-06 Thread William Hoover
Very similar, except this validator would have to add JS calls to the onkeydown event of the component its validating. I'm not sure if this is a good idea? Atlas Example: http://www.fci.com.br/maskedit/MaskEdit/MaskEdit.aspx -Original Message- From: Mike Kienenberger [mailto:[EMAIL

Re: Trinidad and Portlets

2007-06-06 Thread Scott O'Bryan
That's certainly an option except that the Bridge in MyFaces is distributed with MyFaces project. Right now the work that I have time for will be needed for an R.I. This means it'll need to be able to be distributed independently. That being said, I'm all ok with getting it developed as

Re: [Trinidad] Input Text Format That Uses A Mask

2007-06-06 Thread Adam Winer
Trinidad already has a validateRegExp validator, FWIW, which attaches both client-side and server-side validation, but has no mask functionality. The Tomahawk validator is just a Java JSF Validator, no client-side functionality, right? What this masking thing adds is: - a simpler syntax for

Re: ADF Dialog causes refresh code to no longer work

2007-06-06 Thread Adam Winer
If I were going to disable and reset a large number of components, I'd probably do so by walking the entire UIComponent tree from the UIViewRoot, performing instanceof UIXEditableValue and calling setDisabled(true) and resetValue() on each instance. If you needed to restrict it to a subtree, you