AW: Nowrap on tree2

2006-08-10 Thread Dreier, Marc
Hi, you need a panelGroup:                                                 

Nowrap on tree2

2006-08-10 Thread Gus
Hi everyone, It is my first time to use tree2. It is very nice and very friendly, but I don't know how to set nowrap to tree node (img+nodename+(count)=one line). >From the partial rendered codes: Node Name (2) it seems I need to add style="white space:nowrap;" in the tag, like , but I don't kn

RE: Problem with myfaces/facelets template.xhtml

2006-08-10 Thread Gus
Hi David, It seems I found the problem. After I moved the several comments in the template.html, it displays correctly. Modified codes is as follows:

RE: JSF Life Cycle / JSF Rendering question / Spring

2006-08-10 Thread Dhananjay Prasanna
Hi Wolf, >From a quick glance you have "globalOnly=true" in your h:messages and it looks like you're adding a message with a handle "userForm:errors" (non-global). Try setting globalOnly to false or creating a faces message with a "null" handle (to make the message global). For the second proble

RE: Problem with myfaces/facelets template.xhtml

2006-08-10 Thread Gus
David, The sidebar and content should be in two columns(left and right), but they were displayed in one column (top and down). I did not review the rendered html code. I will send it you later. Thank you. Best wishes! Gus. David Friedman-2 wrote: > > Right, but what did you get over in your br

Re: selectBooleanCheckbox not checked after valuechange, why?

2006-08-10 Thread Johnny Gonzalez
Hello Gerald,Sorry for taking to long to answer,...the part of the JSP I have is this:                                                                                                                                                                                               

Re: many components to one (or more) validation?

2006-08-10 Thread Mike Kienenberger
On 8/9/06, Joe ersinghaus <[EMAIL PROTECTED]> wrote: Is it possible to have more than one component validated as a group? For example: let's say I've have a radio button that when activated, text must be entered/validated in that radio button's associated input field? In other words, only when

RE: Problem with myfaces/facelets template.xhtml

2006-08-10 Thread Tom Innes
I had similar problems. What I have discovered is that if you place the column in a h:panelGroup the issues will go away. I have noticed that comments and jstl will cause the html to rendered incorrectly. For Instance

RE: Problem with myfaces/facelets template.xhtml

2006-08-10 Thread David Friedman
Right, but what did you get over in your browser? Knowing what came out in the wrong places in the browser helps you figure out what parts of the .xhtml page are acting incorrectly. THEN we can act/work on those items. Regards, David -Original Message- From: Gus [mailto:[EMAIL PROTECTED

RE: Issue with referencing a ManagedBean

2006-08-10 Thread David Friedman
Faisal,   I see at least two possible problems with your below code:   1) You are not checking the correct log files so you are missing the logged messages explaining where your code is going wrong. You keep resetting your "sites" item to a "new LinkedList()" before returning it.  In your c

Datatable preserveRowStates and remove row problem

2006-08-10 Thread Surapuraju, Vamsi
Hi, I tried to remove a row from data table which has preserveRowStates set to true and I noticed deleted row data is being shown an the next row. Does anyone know How I can keep the modified data on the table with out using preserveRowStates. I want to be able to remove the row from data table

RE: Problem with myfaces/facelets template.xhtml

2006-08-10 Thread Gus
Hi David, The template I want is header sidemenu content footer in jsf: header sidebar content footer I ever used the template in myface/tiles, and it displayed fine. However, when I transfer the codes to facelets, it did not display well. I do not know why. Thank you for help. Bes

RE: Problem with myfaces/facelets template.xhtml

2006-08-10 Thread David Friedman
What was your final html ? Did it list them as two different columns (i.e "td" tags) or did it put them together? If it put them both inside one "td" tag, I recommend you try putting each h:form section inside the h:panelGroup tag or perhaps inside another "container" tag which works within h:pan

Issue with referencing a ManagedBean

2006-08-10 Thread Faisal Mahmoud
Below is my managed bean. In the constructor, I get a reference to the managed property from Spring just to verify that it is available. I placed breakpoints in the code at the getSiteList() method, and my breakpoint is never hit prior to the error occuring. /** * */package com.warnerbros.mam.saw.

Re: JSF Life Cycle / JSF Rendering question / Spring

2006-08-10 Thread Wolf Benz
In the meanwhile, I'v tried someting else, without success though: Instead of woring with h:messages (which is buguous, cf earlier post), I worked with a regular label inside the form: ... ... and coded: (in the same interceptor) FacesEvent event = new ValueChangeEvent(errComp, "oldValue",

Re: Wrap actionListener methods

2006-08-10 Thread Mike Kienenberger
On 7/19/06, Hubert Rabago <[EMAIL PROTECTED]> wrote: Is there a way to wrap all calls to methods called by attributes? Something like ActionListener.processAction(ActionEvent) does for methods? Maybe, but we might have an easier time telling you how to solve your particular problem rather th

RE: Problem with myfaces/facelets template.xhtml

2006-08-10 Thread Gus
Hi David, Thank you for your very quick reply. I got a little understand. Yes, the two ui:include(header and footer) go to the right way, but the ui:insert (sidebar and content) are not rendered correctly in the h:panelGrid columns="2". Could you please give me some advice modifying it? Thanks ag

JSF Life Cycle / JSF Rendering question / Spring

2006-08-10 Thread Wolf Benz
Hi, I have this question: I am intercepting a JSF Bean 's action method (to apply method-based security) with Spring. In it I do this (test code, hance the hard coding of a few vars) in Spring's invoke() method of the interceptor: ... getFacesContext().addMessage("usersForm:errors", new F

RE: Problem with myfaces/facelets template.xhtml

2006-08-10 Thread David Friedman
Gus, There is a little thing with Facelets that some components are compile time and some are render time. I think you are mixing the two. You might try putting each form inside h:panelGroup so ui:include can be sure where to place itself. Also, did you get your columns created in the final/out

Problem with myfaces/facelets template.xhtml

2006-08-10 Thread Gus
Hi everyone, I just begin to learn Facelets and Myfaces. I created a template, but the template did display as expected. The "sidebar" and "content" should be displayed in two columns as left and right, but it always display in one columns as up and down. I really do not have any idea how to fix

Re: NavigationHandler + Security

2006-08-10 Thread Ingo Düppe
Andrew Robinson schrieb: Just check the security in a phase listener before render. To answer your question -- you can't (there is no API in the navigation handler to get any information out). I just feared it that is not convert by the API. But thanks for pointing me to the phase listener agai

Re: 2 screen mode

2006-08-10 Thread Mike Kienenberger
On 8/10/06, Michael Heinen <[EMAIL PROTECTED]> wrote: Do you have an idea when a myFaces implementation (a release) of the 1.2 spec will be available? When enough volunteers submit patches to close all of the JSR 252 open issues :-) http://issues.apache.org/jira/secure/IssueNavigator.jspa?rese

RE: 2 screen mode

2006-08-10 Thread Michael Heinen
Thanks Mike. Yes, I remember that jsf 1.2 provides a windowId. Do you have an idea when a myFaces implementation (a release) of the 1.2 spec will be available? Client Side state saving is a big performance downside and not useable for me. Another question to jsf 1.1: Would I face problems if bot

inputSuggestAjax and onchange event

2006-08-10 Thread Francesco Consumi
Hi all, I would need to track this event for this component, but I see in HTML code that it ignores this. how can I do ? I'm using sandbox-1.1.5-snapshot, and myfaces 1.1.4

Re: How to submit multiple forms

2006-08-10 Thread Mike Kienenberger
On 8/10/06, Mak Nern Fatt Melvin <[EMAIL PROTECTED]> wrote: Yes you are right Mike. I need to put the child section in another form due to selective validation. I do not want the parent components to be validated or reloaded when the child section is been submitted. You talked of a workaround, so

Re: [OT] Book

2006-08-10 Thread Matthias Wessendorf
to be serious. It's great to have book which contains tomahawk (and other stuff) I ordered it already :) On 8/10/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: On 8/10/06, Conway. Fintan (IT Solutions) <[EMAIL PROTECTED]> wrote: > Should we wait for the next edition when Tomahawk has upgrade

Re: How to submit multiple forms

2006-08-10 Thread Mak Nern Fatt Melvin
Hi,  Mike,   Yes you are right Mike. I need to put the child section in another form due to selective validation. I do not want the parent components to be validated or reloaded when the child section is been submitted. You talked of a workaround, so is that a way that i can use a single form but a

Re: [OT] Book

2006-08-10 Thread Matthias Wessendorf
On 8/10/06, Conway. Fintan (IT Solutions) <[EMAIL PROTECTED]> wrote: Should we wait for the next edition when Tomahawk has upgraded to JSF 1.2? :) No. Tomahawk JSF 1.2 ? When will that be? 2008 ? :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mat

Re: How to submit multiple forms

2006-08-10 Thread Mike Kienenberger
On 8/10/06, Mak Nern Fatt Melvin <[EMAIL PROTECTED]> wrote: I cannot use a single form for my document because I have yet another form nested in-between the two forms. Please see the illustration below: There's no way you can submit two forms at the same time using the http protocol. The only t

Re: How to submit multiple forms

2006-08-10 Thread Mak Nern Fatt Melvin
Hi,   I cannot use a single form for my document because I have yet another form nested in-between the two forms. Please see the illustration below:                             The child form is independent of the two parent forms and is the child section has to be nested in-between

Re: How to submit multiple forms

2006-08-10 Thread Mike Kienenberger
On 8/10/06, Mak Nern Fatt Melvin <[EMAIL PROTECTED]> wrote: I want to save the data in both the two forms when i clicked the save button in one of the forms. I have several forms in my documents as illustrated below: When i clicked the save button, only the address component va

How to submit multiple forms

2006-08-10 Thread Mak Nern Fatt Melvin
Hi,   I want to save the data in both the two forms when i clicked the save button in one of the forms. I  have several forms in my documents as illustrated below:                 When i clicked the save button, only the address component value in "form2" is saved while the name component

Re: NavigationHandler + Security

2006-08-10 Thread Andrew Robinson
Just check the security in a phase listener before render. To answer your question -- you can't (there is no API in the navigation handler to get any information out). On 8/9/06, Ingo Düppe <[EMAIL PROTECTED]> wrote: Hi, I like to check within the navigation handler some security constraints li

Re: expand/collpase problem

2006-08-10 Thread Mike Kienenberger
On 8/10/06, Seshireddy G <[EMAIL PROTECTED]> wrote: Can any one give some idea for doing EXPANDALL and COLLAPSEALL functionalities using components.. P.S: Its not possible to change my complete functionlaity to for EXPANDALL / COLLAPSEALL . so i need to do with component only. Just as a FY

Re: 2 screen mode

2006-08-10 Thread Mike Kienenberger
On 8/10/06, Michael Heinen <[EMAIL PROTECTED]> wrote: I just want to know whether it is generally possible to work with 2 screens simultaneously in a JSF application. For JSF 1.2, this is generally true (although I don't know the details). For JSF 1.1, this is generally not true. The 2 scree

Re: SUNs studio enterprise 8 and web.xml config problem

2006-08-10 Thread Mike Kienenberger
On 8/10/06, Sköldheimer Fredrik <[EMAIL PROTECTED]> wrote: MyFacesExtensionsFilter Faces Servlet FacesServlet *.jsf Feels like I'm missing something important. But what? To quote the comment above -- "servlet-name must match the name of your javax

Re: many components to one (or more) validation?

2006-08-10 Thread Mike Kienenberger
On 8/10/06, Conway. Fintan (IT Solutions) <[EMAIL PROTECTED]> wrote: If you bind each component in the group to a backing bean, then you attach a custom converter to the last control of the group that appears on the page (e.g. input field). Fintan means "validator" and not "converter". You can

Re: checkboxes in datatable

2006-08-10 Thread nimisha sharma
GOT MY MISTAKE!! thanks again... On 8/9/06, nimisha sharma <[EMAIL PROTECTED]> wrote: I think i am doing the right thing with this.. i went to jenia.org and followed the instructions.. as i told you that i was not even getting the checkboxes, now i am getting them.. but when i click on the comma

Re: a way to pass parameters in el expressions

2006-08-10 Thread Mike Kienenberger
Hey Lance, This would be a great wiki topic so it doesn't get lost. It's probably worth noting that if you're using facelets, you can simply create a real changeToUpperCase() user-defined el function. On 8/10/06, L Frohman <[EMAIL PROTECTED]> wrote: I am sharing this for anyone who may find it

Re: Compare two password fields with a validator

2006-08-10 Thread Mike Kienenberger
You will also get the better results by putting the validator on the second field on the page rather than on the first field on the page. This is especially true for validateEqual, but less important for validateCompareTo. On 8/10/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: validateCompareT

Re: Compare two password fields with a validator

2006-08-10 Thread Mike Kienenberger
validateCompareTo is a better choice than validateEqual. http://myfaces.apache.org/sandbox/validateCompareTo.html On 8/10/06, Robert Locklear <[EMAIL PROTECTED]> wrote: http://myfaces.apache.org/tomahawk/validateEqual.html Thanks, Robert -Original Message- From: Tom Serru [mailto:[EMAI

Re: SUNs studio enterprise 8 and web.xml config problem

2006-08-10 Thread nimisha sharma
If you have read the post on wiki, it says that you dont need to do any modifications in your web.xml. Follow these steps:   Change the config security file so that MyFaces can delete it's temporary files. In {InstallDir}/SunOne8.1/domains/domain1/config/server.policy Change permission java

a way to pass parameters in el expressions

2006-08-10 Thread L Frohman
I am sharing this for anyone who may find it useful. To pass a parameter to a method inside an el expression, extend the DummyMap class (below) and implement the get(Object obj) method to pass obj as a parameter to that method. As a trivial example, to pass a parameter to the changeToUpperCase()

Re: Internet Explorer on Windows 2003, 2000 breaks myFaces & Tobago

2006-08-10 Thread Udo Schnurpfeil
Hi John, a) check if there occurs a JavaScript error. Is there the JavaScript Debugger installed? (I've had a problem with the aktivation of the debugger must switch it off and on before it works) b) Does e.g. the tobago-example-demo works on your system? c) jsf version? tobago version

SV: SUNs studio enterprise 8 and web.xml config problem

2006-08-10 Thread Sköldheimer Fredrik
Hello! Well, I have struggled with my web.xml for quite some time now and I just can't get this to work with myFaces. First things first: I'm using SUN Java Studio 8.0 Enterprise and the application server that comes with de program on localhost. The application I'm building workes fine if I'm

RE: [OT] Book

2006-08-10 Thread Conway. Fintan \(IT Solutions\)
Should we wait for the next edition when Tomahawk has upgraded to JSF 1.2? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: 09 August 2006 22:06 To: MyFaces Discussion Subject: [OT] Book look! what I found "JavaServer Faces Compo

2 screen mode

2006-08-10 Thread Michael Heinen
Hi,   I just want to know whether it is generally possible to work with 2 screens simultaneously in a JSF application. The 2 screen mode should be optional depending on user preferences. State saving mode should be server side.   My first screen is a kind of a workbench with many cont

RE: many components to one (or more) validation?

2006-08-10 Thread Conway. Fintan \(IT Solutions\)
Hi Joe, If you bind each component in the group to a backing bean, then you attach a custom converter to the last control of the group that appears on the page (e.g. input field). public class BackingBean { private SelectOneRadio radio; private UIInput radioInput; ... public void validateRadioTe

RE: A problem with radio buttons in datatables

2006-08-10 Thread Robert Locklear
Wow….you can tell I need some sleep. those=that.   Robert From: Robert Locklear [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 12:01 PM To: MyFaces Discussion Subject: RE: A problem with radio buttons in datatables   Here is a sandbox example those does exactl

RE: A problem with radio buttons in datatables

2006-08-10 Thread Robert Locklear
Here is a sandbox example those does exactly what you’re looking for.   http://www.irian.at/myfaces-sandbox/selectOneRow.jsf   Robert From: Wetterau, Jan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:54 AM To: users@myfaces.apache.org Subject: A problem wit

A problem with radio buttons in datatables

2006-08-10 Thread Wetterau, Jan
Hello,   I have a problem with a set of radio buttons using it in a datatable:               I have a datatable (MyFaces Tomahawk) where I need one radio button for each row. My Problem is that I can't make a set out of the radio buttons, so that the

Re: doesn't work

2006-08-10 Thread Torsten Krah
Have you tried to to it like in the example from t:buffer? kind regards Am Donnerstag, den 10.08.2006, 00:10 -0700 schrieb vasiliy.kiryanov: > Good morning. > > I have next working code: > styleClass="standardTable" >

Page with dynamically changed structure

2006-08-10 Thread Dmitry Y. Shyshkin
I have a jsf page, that includes other pages depend on application state: <[EMAIL PROTECTED] file="results.jsp"%> <[EMAIL PROTECTED] file="orders.jsp"%> <[EMAIL PROTECTED] file="patientData.jsp"%> results.jsp, orders.jsp, patientData.jsp have many jsp code. And it executed e

characters encoding problems?

2006-08-10 Thread David Delbecq
Hello, i have got a characters encoding problem here. In my java code i have this UISelectOne selectDocumentType = (UISelectOne)application.createComponent(HtmlSelectOneRadio.COMPONENT_TYPE); . selectDocumentType.getAttributes().put("onchange", "alert(\'Cliqué\');"); When the radio group

RE: Compare two password fields with a validator

2006-08-10 Thread Robert Locklear
http://myfaces.apache.org/tomahawk/validateEqual.html Thanks, Robert -Original Message- From: Tom Serru [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 10:32 AM To: users@myfaces.apache.org Subject: Compare two password fields with a validator Hi, Is there a way to create a

Re: Compare two password fields with a validator

2006-08-10 Thread Murat Hazer
There is a sandbox compareTo componenent, you can try itregards...On 8/10/06, Tom Serru <[EMAIL PROTECTED] > wrote:Hi,Is there a way to create a validator to compare two fields (like a password and a password check field) ? I would like to have something like this asresult:... ..Thx...-

Compare two password fields with a validator

2006-08-10 Thread Tom Serru
Hi, Is there a way to create a validator to compare two fields (like a password and a password check field) ? I would like to have something like this as result: ... ... ... Thx... -- View this message in context: http://www.nabble.com/Compare-two-password-fields-with-a-validator-tf20

doesn't work

2006-08-10 Thread vasiliy.kiryanov
Good morning. I have next working code:

Re: t:dataTable using problem

2006-08-10 Thread vasiliy.kiryanov
>>Are you asking how to convert this jsp code into JSF components? two days ago i was seeking for best aproach. Now I see that I was need to convert my code JSF component. I have done it using DataTable. thank you. -- View this message in context: http://www.nabble.com/t%3AdataTable-using-pro