Re: [Tobago] tx:in doesn't renders id?

2007-04-13 Thread Volker Weber
Hi Boris, do you use jsp or faclets? If jsp which version of tobago? In jsp the generated input .../ should be the same in tc and tx. Regards, Volker 2007/4/13, Boris Kovalenko [EMAIL PROTECTED]: Hello! When I use tc:in id='...'/ the element rendered with proper id=page:name. When I

Re: forceId warning when using facelets

2007-04-13 Thread Volker Weber
2007/4/12, Simon Kitching [EMAIL PROTECTED]: And forceId sucks anyway. I'd like to see it deprecated and removed from Tomahawk completely. +1 :-) Regards, Volker This is not needed when javascript is invoked from the onclick of a component, which is most of the time. Just pass the this

Re: forceId warning when using facelets

2007-04-13 Thread Volker Weber
i revert to +0.5 because im not realy involved in tomahawk. But if someone try to introduce forceId to tobago he gets my -1. I still can't see any reason to use this (except user/password fields on form based login). Regards, Volker 2007/4/13, Volker Weber [EMAIL PROTECTED]: 2007/4/12,

Re: [Tobago] tx:in doesn't renders id?

2007-04-13 Thread Boris Kovalenko
Hello! I use facelets 1.1.12, Tobago 1.0.10 Hi Boris, do you use jsp or faclets? If jsp which version of tobago? In jsp the generated input .../ should be the same in tc and tx. Regards, Volker 2007/4/13, Boris Kovalenko [EMAIL PROTECTED]: Hello! When I use tc:in id='...'/ the

Stranges with validation

2007-04-13 Thread Boris Kovalenko
Hello! In this page I get validation error (userPassword is required) even if #{maSearchForm.account.new} is true. What am I doing wrong again? ui:composition template=template.xhtml xmlns:f=http://java.sun.com/jsf/core; xmlns:ui=http://java.sun.com/jsf/facelets;

Re: Stranges with validation

2007-04-13 Thread Boris Kovalenko
Hello! Forgot to add - #{maSearchForm.account.new} is return (dn == null || dn.length() == 0); Hello! In this page I get validation error (userPassword is required) even if #{maSearchForm.account.new} is true. What am I doing wrong again? ui:composition template=template.xhtml

RE: Cross validation problem

2007-04-13 Thread Conway. Fintan \(IT Solutions\)
Hi Stephane, One way to do this is to set a hidden field as the *last* component on your page. h:inputHidden id=loginCheck validator=#{backingBean.validateLogin} value=needed Note : you need to have some value for the field, hence 'value=needed' When you run your validation on this

Re: [Tobago] tx:in doesn't renders id?

2007-04-13 Thread Volker Weber
Hi, i don't know how the tx tags works in faclets, maybe this thread helps: http://www.nabble.com/--Tobago---problem-with-component-binding-tf3552563.html Regards, Volker 2007/4/13, Boris Kovalenko [EMAIL PROTECTED]: Hello! I use facelets 1.1.12, Tobago 1.0.10 Hi Boris, do you use

Re: Stranges with validation

2007-04-13 Thread Volker Weber
Hi, my be a facelets problem, please try to replace the tx:in with tc:panel f:facet name=layout tc:gridLayout colums=fixed;1*/ /f:facet tc:label value=Идентификатор for=@auto/ tc:in ... / tc:panel If this works it IS a tx-faclets problem. Regards, Volker 2007/4/13, Boris Kovalenko

Re: [Tobago] tx:in doesn't renders id?

2007-04-13 Thread Boris Kovalenko
Hello! Yes... this helps.. Thank You, Volker... Hi, i don't know how the tx tags works in faclets, maybe this thread helps: http://www.nabble.com/--Tobago---problem-with-component-binding-tf3552563.html Regards, Volker 2007/4/13, Boris Kovalenko [EMAIL PROTECTED]: Hello! I use

Re: Stranges with validation

2007-04-13 Thread Boris Kovalenko
Hello! I have problems with field userPassword. It should be required only for new users. Changing this field to tc:panel f:facet name=layout tc:gridLayout columns=fixed;1*/ /f:facet tc:label

Re: Stranges with validation

2007-04-13 Thread Boris Kovalenko
Hello! I found, the problem is again bean scope related. Hmmm IMHO we really need the preserveDataModel feature. With respect, Boris

Re: Stranges with validation

2007-04-13 Thread Volker Weber
? preserveDataModel may become a attribute of sheet, but here was afaik no sheet involved. 2007/4/13, Boris Kovalenko [EMAIL PROTECTED]: Hello! I found, the problem is again bean scope related. Hmmm IMHO we really need the preserveDataModel feature. With respect, Boris

Re: Stranges with validation

2007-04-13 Thread Volker Weber
I think we need the tomahawk saveState move to a myfaces-commons.jar 2007/4/13, Volker Weber [EMAIL PROTECTED]: ? preserveDataModel may become a attribute of sheet, but here was afaik no sheet involved. 2007/4/13, Boris Kovalenko [EMAIL PROTECTED]: Hello! I found, the problem is again

Re: Stranges with validation

2007-04-13 Thread Boris Kovalenko
Hello! Yes, but the maSearchForm.account was the like to element of the sheet (from actionListener). My mistake, I have not tell You about this. I will do more tests... to avoid shallow copies. ? preserveDataModel may become a attribute of sheet, but here was afaik no sheet involved.

Re: Stranges with validation

2007-04-13 Thread Boris Kovalenko
Hello! In previous message was the like should be was the link With respect, Boris

Re: [Tobago] Problem with target attribue

2007-04-13 Thread H. Swaczinna
Hello Bernd, how about this problem? This a really serious problem. We can't live with this behaviour. Please have a look at it. Regards Helmut Hello Bernd, I'm using myFaces 1.1.5 and Tobago 1.0.11 from yesterday. I build a simple test case for you. The problem is only with tc:link I found

Re: modifying faces servlet to let view be loaded from a data base by default

2007-04-13 Thread David Delbecq
En l'instant précis du 12/04/07 10:58, Eugine F s'exprimait en ces termes: Hello Simon, Thanks I think you got me right. I want to let the viewhandler get all the views from the databse. I would ceratainly be working with facelets. The idea behind it is developing something liake a content

Re: how link svg file with jsf component

2007-04-13 Thread David Delbecq
firefow can load svg using object tag, so you should check the the object tag is correct and the the pointed svg file is at proper location. En l'instant précis du 12/04/07 16:10, mathias °ö° s'exprimait en ces termes: i have tested with f:verbatim: at browser (ie and firefox) i see only a grey

Mantain the page in t:dataScroller.

2007-04-13 Thread Josué Alcalde González
I am using t:dataTable and t:dataScroller. When I click in a row, a new page is opened to edit it. When I return to the page where the t:dataTable and t:dataScroller is, the first page is shown. Is there any way to mantain the page of t:dataScroller when I return? --

xls input file upload

2007-04-13 Thread viorel.chelaru
hi all, i have a little problem; all post i've seen in this forum with problems with file upload have t:inputFileUpload accept=image/* or accept=*; well i have to do upload of only excel files...and nothing else...i've tried accept=xls, accept=xls/* , accept=*.xls,

Re: Mantain the page in t:dataScroller.

2007-04-13 Thread Zdeněk Sochor
Hi, to maintain the page in scroller set first attribute of dataTable to EL of backing bean (Integer or int). Don't forget to reset it to 0 whenever you populate new data in table. But there's a catch - there was hidden bug in scroller (not setting first to new value). Bug was fixed and now

enhanced modal dialog

2007-04-13 Thread Mario Ivankovits
Hi! I'd like to announce that the latest tomahawk-sandbox (as per today) contains an enhanced version of the ModalDialog component. Its now possible to render another view within the content area of the dialog. To achieve this I've added three new attributes to the component: dialogTitle -

datagrid component with ajax paging and sorting that runs on websphere portal 5.1 and 6?

2007-04-13 Thread Jörn Zaefferer
Hi folks, I'm looking for a datagrid component that runs on WebSphere Portal 5.1 and 6. It must support sorting and paging via ajax. License doesn't matter, both commercial and opensource is ok. Please consider that I've already tried quite a lot of component framworks, so only hints at

RE: [OT] Canvasing for a MyFaces/JSF Speaker

2007-04-13 Thread Peter . Pilgrim
Leaving UBS unsubscribing myself ;-( -- Peter Pilgrim UBS Investment Bank, Client Portal Dev LDN, Triton Court, 14 Finsbury Square, London, EC2A 1PD United Kingdom ( +44 (0)207 56 75692 ) :: Java EE Spring 2.0 Hibernate 3.2 Development :: Visit our website at http://www.ubs.com This message

Re: enhanced modal dialog

2007-04-13 Thread Matthias Wessendorf
Hey Mario, that sounds really nice. At least the title and viewId is something I really appreciate. At least the viewId make the page, containing the dialog more readable. Is the closeButton rendering a x image? If yes, I think it might be nice to have that button rendered as default. And only

Re: Mantain the page in t:dataScroller.

2007-04-13 Thread Josué Alcalde González
El vie, 13-04-2007 a las 12:36 +0200, Zdeněk Sochor escribió: Hi, to maintain the page in scroller set first attribute of dataTable to EL of backing bean (Integer or int). Don't forget to reset it to 0 whenever you populate new data in table. But there's a catch - there was hidden bug in

Re: enhanced modal dialog

2007-04-13 Thread Mario Ivankovits
Hi Matthias! Is the closeButton rendering a x image? If yes, I think it might be nice to have that button rendered as default. Yes I thought that too ... ok, will do so. Thanks for your input! Ciao, Mario smime.p7s Description: S/MIME Cryptographic Signature

ExtensionsFilter not correctly configured

2007-04-13 Thread omidh
Hi all, I have a problem with Tomahawk 1.1.5-SNAPSHOT and MyFaces 1.1.5. When I try to use a t:panelTabbedPane I get the following Error: 2007-04-13 17:03:41,750 INFO [org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] - Starting up Tomahawk on the MyFaces-JSF-Implementation 2007-04-13

Re: ExtensionsFilter not correctly configured

2007-04-13 Thread Zdeněk Sochor
Hi, i see several errors. 1. you're mapping jsp, NOT jsf (replace to *.jsf or add new mapping) in: filter-mapping filter-nameMyFacesExtensionsFilter/filter-name url-pattern*.jsp/url-pattern /filter-mapping 2. using Tomahawk in portlets is not so easy due to massive use of

Integrating sandbox components with last stable version of myfaces

2007-04-13 Thread Rudi Steiner
Hello, I set up a new project with myfaces-api-1.1.5.jar, myfaces-impl-1.1.5.jar, tomahawk-1.1.3.jar and everything works fine so far. Non I added tomahawk-sandbox-1.1.5-SNAPSHOT.jar from the nightly builds to test some sandbox components. The problem is, that I can't use the sandbox component

Re: forceId warning when using facelets

2007-04-13 Thread Stefan Frank
There are some usecases, where it is really, really useful to have a definite id on the component and where forceid is needed: eg. if you want to use tinyMCE as texteditor on a textfield. Using a defined id is the only solution to style different textfields with different tinyMCE-Skins. The

Re: forceId warning when using facelets

2007-04-13 Thread SOSELLA
There are two reasons why I am using forceId, but both of them are probably because I am not doing something correctly. 1) When I use an addMessage(id, ...) I have to specify the id of the control for the message is intended. It seems (maybe I am wrong) that if I don't use forceId, the id used

Re: forceId warning when using facelets

2007-04-13 Thread Volker Weber
Hi, forceId is not needed to get defined ids on the html elements. if you set a id to each namingContainer tag, and to the relevant tag, you will get defined ids. any other usecase? Regards, Volker 2007/4/13, Stefan Frank [EMAIL PROTECTED]: There are some usecases, where it is really,

Myfaces tree2 - strange problem with depth44

2007-04-13 Thread prasanna poudel
Recently i came upon a strange behaviour using myfaces Tree2. I have a tree2,a textfield (required =true, id=code) on my screen. Iadd nodes to this tree (increasing depth), until i reach tree depth 44. After this point: if i select ANY node with depth44, things are fine. BUT, if I select ANY

Re: forceId warning when using facelets

2007-04-13 Thread Mike Kienenberger
For addMessage, you need to provide component.getClientId(FacesContext.getCurrentInstance()) You can either explicitly bind the component to your backing bean so you have a reference to it, or you can use a findComponent method. On 4/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: There

Re: forceId warning when using facelets

2007-04-13 Thread SOSELLA
I tried looking into this approach of having a binding component in the backing bean, but that seems *highly* onerous. I would need a binding component for nearly every input control. I prefer using the forceId approach. - Original Message - From: Mike Kienenberger [EMAIL PROTECTED]

Re: forceId warning when using facelets

2007-04-13 Thread Mike Kienenberger
You only have to bind components that you're actually going to use as addMessage targets. In my experience, that happens infrequently since most of the time the messages are generated by a validator or converter. And as I said, another approach is using findComponent instead of explicitly

How to set another field in the bean with a valueChangeListener?

2007-04-13 Thread Paul Spencer
I have a bean with 2 fields, state and city, with a valueChangeListener on the state field. The listener will set the city based on new new state. The problem is the city is being overwritten in the model update phase. So my question is: What is the best way to update another field

RE: [tobago] Can we hide the session id on the URL?

2007-04-13 Thread Wong, Emmanuel \(Sam\)
Hi: I am using JBoss 4.0.5. Do you think I should configure it on JBoss for hiding the jsessionid on the URL? I have used the following code from this links http://randomcoder.com/articles/jsessionid-considered-harmful Unfortunately, I was not able to re-login the app again. Thanks.

Re: Integrating sandbox components with last stable version of myfaces

2007-04-13 Thread Mike Kienenberger
Use Myfaces Core 1.1.5 and the Myfaces Tomahawk/Sandbox 1.1.5 release candidate found here: http://people.apache.org/builds/myfaces/tomahawk-1.1.5/ On 4/13/07, Rudi Steiner [EMAIL PROTECTED] wrote: Hello, I set up a new project with myfaces-api-1.1.5.jar, myfaces-impl-1.1.5.jar,

Re: How to set another field in the bean with a valueChangeListener?

2007-04-13 Thread Mike Kienenberger
http://myfaces.apache.org/sandbox/tlddoc/s/valueChangeNotifier.html I've never used it as t:updateActionListener/f:setPropertyActionListener has always worked in my own use cases. On 4/13/07, Paul Spencer [EMAIL PROTECTED] wrote: I have a bean with 2 fields, state and city, with a

Re: How to set another field in the bean with a valueChangeListener?

2007-04-13 Thread Cagatay Civici
Another alternative will be to call facesContext.renderResponse() to skip update model. On 4/13/07, Mike Kienenberger [EMAIL PROTECTED] wrote: http://myfaces.apache.org/sandbox/tlddoc/s/valueChangeNotifier.html I've never used it as t:updateActionListener/f:setPropertyActionListener has

Re: How to set another field in the bean with a valueChangeListener?

2007-04-13 Thread Paul Spencer
Mike, I found the following. Does it look reasonable? public void changeState(ValueChangeEvent event) { PhaseId phaseId = event.getPhaseId(); if (phaseId.equals(PhaseId.ANY_PHASE)) { event.setPhaseId(PhaseId.UPDATE_MODEL_VALUES); event.queue(); } else if

Re: How to set another field in the bean with a valueChangeListener?

2007-04-13 Thread Mike Kienenberger
Paul, isn't something along these lines what valueChangeNotifier already does? Seems like it'd be easier and safer to simply use the existing component. Like I said, I haven't used it, but I think it just defers the event handling like you've proposed below. A first glance at your code before

Survey: Slow Computers and Developer Productivity

2007-04-13 Thread Behrang Saeedzadeh
Hi, I have created a survey titled Slow Computers and Developer Productivity with the aim of finding the possible effects of slow computer performance on developer productivity, behavior, and ROI for companies. It is a small survey with only 5 items. I have created this experimental survey for

Slow Computers and Developer (oops... the link was missing)

2007-04-13 Thread Behrang Saeedzadeh
Hi, I have created a survey titled Slow Computers and Developer Productivity with the aim of finding the possible effects of slow computer performance on developer productivity, behavior, and ROI for companies. It is a small survey with only 5 items. I have created this experimental survey for