[ANNOUNCE] Apache Tobago 2.4.2 released

2020-02-17 Thread Volker Weber
The Apache MyFaces team is pleased to announce the release of Apache Tobago 2.4.1. Apache Tobago is a component library for JavaServer Faces (JSF) that allows to write web-applications without the need of coding HTML, CSS and JavaScript Main features Tobago 2.4.2 * Bugfixes

Re: [Tobago] f:ajax inside tc:in event="keyup"

2018-08-21 Thread Volker Weber
Hi Dennis, Am Mo., 20. Aug. 2018 um 18:50 Uhr schrieb Dennis Kieselhorst < d...@apache.org>: > > I see, I'm not sure if this is really the intended behaviour. > > @Udo, Henning what do you think? > > Cheers > Dennis > I'm not sure about your question, is it about the behavior of the "onchange"

Re: TRINIDAD Api/Impl release date

2016-03-31 Thread Volker Weber
Hi, 2016-03-31 6:07 GMT+02:00 Keertipati, Gopichand < gopichand.keertip...@in.pega.com>: > Hi, > > > I am interested in Trinindad updates , I need information for some > questions > > 1. What is the latest version of trinidad api / impl ? > 2. From where can i download the latest version of

Re: Distinguish if parameters are sent by POST or GET

2015-03-18 Thread Volker Weber
Hi Georg, in ServletContext you can use HttpServletRequest.getMethod(): ((HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest()).getMethod() regards, Volker 2015-03-18 15:46 GMT+01:00 Georg Füchsle giofy...@googlemail.com: Hallo Max, Thanks for

Re: [TOBAGO] Problem with building a UISheet

2014-04-23 Thread Volker Weber
Hi Michael, the sheet iterates over a collection of objects. You need to set the sheets value with this collection. regards, Volker 2014-04-23 10:36 GMT+02:00 Michael Linke michaelli...@me.com: Hello! I'm have some problems with creating a Table. I want to create a dynamic table with

Re: [Tobago] Image resizing

2013-11-21 Thread Volker Weber
} height=16 / tc:panel /tc:column this works in the demo. Regards, Volker 2013/11/21 Volker Weber v.we...@inexso.de Hi Hani, i see the problem. The valueBinding for the width is evaluated only once, and this value is used for all rows. I think Udo should have a look at this. Please

Re: [Tobago] Image resizing

2013-11-21 Thread Volker Weber
Volker, try to get the image width from the bean or from the var object. The image will not be displayed. Regards, Hani Von: weber.vol...@googlemail.com [mailto:weber.vol...@googlemail.com] Im Auftrag von Volker Weber Gesendet: Mittwoch, 20. November 2013 18:14 An: MyFaces Discussion

Re: [Tobago] Image resizing

2013-11-20 Thread Volker Weber
Hi, the content of the column gets the width from the sheets column attribute. You should wrap the image into a panel: tc:column id=barChart sortable=false align=left tc:panel f:facet name =layout tc:gridlayout rows=16px columns=#{item.gauge.width} /f:facet tc:image

Re: [Tobago] Image resizing

2013-11-20 Thread Volker Weber
, thanks for the hint. I tried this way already, but it doesn't work. The image could be displayed with fixed width. Any ideas? Regards, Hani -Ursprüngliche Nachricht- Von: weber..com [mailto:weber..com] Im Auftrag von Volker Weber Gesendet: Mittwoch, 20. November

Re: [TOBAGO] - Use a button in a PopUp

2012-04-21 Thread Volker Weber
Hi, i think, but not sure, the problem is the popup inside the sheet. try define the popup outside the sheet and open it via tc:popupReference in the button. Regards, Volker Am 20. April 2012 14:57 schrieb AM greenm...@gmail.com: Hello! I'd like to insert into a method of my

Re: [tobago] Get how to change selected tab

2012-03-28 Thread Volker Weber
Hi Armin, first: please prefix the subject with [tobago] for tobago specific questions. what did the Button do? If you set the tabId = 0 in the code, the Tabgroup should render first tab. Didn't this work? which tobago version? Regards, Volker Am 28. März 2012 13:31 schrieb AM

Re: Use a button in a sheet and open a popup with the same row

2012-03-26 Thread Volker Weber
Hi AM, you should add a actionListener and a parameter to the button: tc:button label=Detail actionListener=#{suchController.selectDetail} f:facet name=popup ... /f:facet f:parameter name=detail value=#{perGes}/ /tc:button and in suchController: public void selectDetail(ActionEvent

Re: [tobago] rowIndex is less than -1

2011-06-01 Thread Volker Weber
Hi Michael, you should not change the value of a component outside of the InvokeApplicationPhase, or exactly only between end of UpdateModelValues and begin of RenderResponse! The valueBinding should not fetch the value from the backend (DB or whatever). You should hold a copy of your list in

Re: [tobago] Validation in Popups

2010-10-04 Thread Volker Weber
Hi Michael, yes we have validation in Popups, but this is a bit hack like, nothing to show as example. The problem is the partial rendering and the popup handling in tobago 1.0.x: If you need validation inside a popup, you should not close the popup via popupClose attribute, but rerender the

Re: [Tobago] calling of renderer class

2010-06-23 Thread Volker Weber
Hi Hani, the easiest way to overwrite a Renderer is to put your own int the tobago-resource-path into your application. e.g. if you use the speyside theme put your renderer, which must be named SheetRenderer, into the package tobago-resource-path/html/standard/speyside/tag/ Regards, Volker

Re: [Tobago] Javascript reload after Ajax Request.

2010-06-14 Thread Volker Weber
Hi, in tobago 1.0.x is no support for tc:script during ajaxReload :-( It is planned for 1.5, but, afaik, not implemented yet. You can solve this in 1.0.x by using a tc:out with script content inside the ajax reloaded panel. eg. replace a tc:script file=scripts/myFunctions.js onload=jsFunction()

Re: [Tobago] foreach in c:sheet

2010-05-27 Thread Volker Weber
Hi, as Udo wrote, you can't use jstl inside tc:sheet! Or to be more precise: the var param of tc:sheet is not available when jstl iterates, because jstl evaluates before tobago starts renderring. I also can't imagine how you do this with component binding, because this is also done before

Re: [TOBAGO] TYPE ERROR: value NOT instanceof SelectItem

2010-05-10 Thread Volker Weber
Hi Michael, the valueBinding of one of your selectItems tags returns a String ! Are there any other (tc|f):selectItems tags in your page? The path to the relevant component is in the stacktrace: /admin.jsp tc:page=page tc:tabgroup=Main tc:box=partnerDataBox tc:tabgroup=PartnerDetailsTab

Re: [TOBAGO] TYPE ERROR: value NOT instanceof SelectItem

2010-05-10 Thread Volker Weber
somehow depend on the version of Windows? Best regards Michael Am 10.05.2010 09:34, schrieb Volker Weber: Hi Michael, the valueBinding of one of your selectItems tags returns a String ! Are there any other (tc|f):selectItems tags in your page? The path to the relevant component

Re: Enums in selectItems

2010-05-03 Thread Volker Weber
Hi, No need to implement this yourself, there is an EnumConverter in myfaces-converters: http://myfaces.apache.org/commons/index.html Regards, Volker 2010/5/1 Anton Gavazuk antongava...@gmail.com: Hi Jozef, see it: public class EnumConverter implements Converter {    public Object

Re: [TOBAGO] How to add new css to Tobago

2010-04-27 Thread Volker Weber
Hi, for panel you should use tobago-panel-markup-important. The gridlayout is just the panel content. Regards, Volker 2010/4/27 tobagouser srikanthchowda...@yahoo.com: Hi Udo, I created a new markup for box and its worked.Thanks for that.I tried to create a markup for panel in the

Re: [TOBAGO] problem selecting current item in tx:selectOneChoice

2010-04-22 Thread Volker Weber
Hi Michael, (btw yes i work together with Dirk Fangohr. sorry for the delay, was a bit busy last Friday) the problem is you has int as value in getActive() but String in select items. Try tc:selectItem itemValue=#{2} itemLabel=active/ tc:selectItem itemValue=#{1}

Re: How to activate an tc:tab element to be on top in tobago

2010-04-14 Thread Volker Weber
Hi Michael, yes, bind the tabIndex attribute of tc:tabgroup to an int in your controller, than you can set the index in your action. Regards, Volker 2010/4/14 Michael Kakuschky kakusc...@elbe-net.de: Hello, is there a way to activate an tc:tab element within an action so that it comes to

Re: tobago partial rendering question

2010-04-14 Thread Volker Weber
(String string2) {       this.string2 = string2;   } } Volker Weber schrieb: Hi Michael, for actions used in partial rendering you should always return null! I the action returns a string than a full reload is made! I suggest using actionListener for partial actions. When rendering

Re: tobago partial rendering question

2010-04-14 Thread Volker Weber
.. That the reason I subforms. Is there another common way to solve this kind of problem? Thanks and best regards Michael Volker Weber schrieb: Hi Michael, after a more closer view to your jsp i found the problem. The tc:form arround the box is the probem, using subforms you are reduce

Re: [TOBAGO] tobago partial rendering question

2010-04-14 Thread Volker Weber
btw: please prefix the subject with [TOBAGO] for tobago related messages. 2010/4/14 Volker Weber v.we...@inexso.de: Hi  Michael, not a common way, but there is always something you can do :-) But how exact depends on the concrete situation. You can put a tc:command  with action 1

Re: tobago partial rendering question

2010-04-13 Thread Volker Weber
Hi Michael, for actions used in partial rendering you should always return null! I the action returns a string than a full reload is made! I suggest using actionListener for partial actions. When rendering partially only the requested subview (plus the action component if outside) is processed

Re: FacesMessage with severity ERROR do not prevent calling an action method

2010-01-20 Thread Volker Weber
Hi Madhav, the livecycle did not depend on messages in the context. To prevent executing actions and direct skip to renderPhase you need to call FacesContext.getCurrentInstance().renderResponse(); e.g. in your putMessage() method. Regards, Volker 2010/1/20 Madhav Bhargava

Re: onkeydown and javascript with tobago

2009-10-30 Thread Volker Weber
Hi Douglas, yes this is easy in tobago: tc:textarea ... f:facet name=keyup tc:command onclick=validateText()/ /f:facet /tc:textarea this add a eventlistener for the keyup event to the textarea. Regards, Volker 2009/10/28 Douglas R. Haase doug@gmail.com: hi everyone, i

Re: [Tobago] dynamic panels in tc:sheet

2009-10-17 Thread Volker Weber
i reach that? Regards, Hani -Ursprüngliche Nachricht- Von: weber.vol...@googlemail.com [mailto:weber.vol...@googlemail.com] Im Auftrag von Volker Weber Gesendet: Freitag, 16. Oktober 2009 09:38 An: MyFaces Discussion Betreff: Re: [Tobago] dynamic panels in tc:sheet Hi Hani

Re: [Tobago] dynamic panels in tc:sheet

2009-10-16 Thread Volker Weber
Hi Hani, 2009/10/15 Abushammala, Hani (EXTERN: FTP) extern.hani.abushamma...@volkswagen.de: Hi all. I would like to create a tc:sheet as follows: In want add a panel to a Colmun, which has many command elements for each row in the sheet. I have written a method to create a panel for the

Re: [Tobago] Error using paging (tc:sheet) in IE

2009-09-10 Thread Volker Weber
Hi Alf, I think this is the above bug, or a similar one. The IE submits a request on enter in the only one textfield and executes the onKeydown code which makes an ajax request. If there are more textfields the IE did not submit on enter and the only submit is from the onKeydown code. I

Re: [Tobago] Error using paging (tc:sheet) in IE

2009-09-09 Thread Volker Weber
Hi Alf, can you try if it works when you put a tc:in somewhere outside the sheet and only tc:out in the column? I have no IE to test this myself. Regards, Volker 2009/9/9 Alf Felis alf.fe...@gmx.de: Hello, I found the problem :) If I change the column content from tc:out

Re: t:selectOneMenu: value is not a valid option

2009-07-22 Thread Volker Weber
? opcao.toString() : null); } public void setOpcao(String opcao) {   this.opcao = Integer.valueOf(opcao); } But, is not there a converter for this case? Thank you, Rafael Santini - Original Message - From: Volker Weber v.we...@inexso.de To: MyFaces Discussion users

Re: t:selectOneMenu: value is not a valid option

2009-07-21 Thread Volker Weber
Hi Rafael, your itemValues are Strings, your bean expect Integer. you can change the getter and setter to accept and return Strings or try itemValue=#{1}, you may need to change from Integer to Number than. Regards, Volker 2009/7/21 SANTINI, Rafael raf...@santini.eti.br: Hi, I can't

Re: [Tobago] Binding selected item from tx:selectOneChoice

2009-06-09 Thread Volker Weber
to forward the value of the SelectItem(Object) to my bound controller property when selected, via a set method?? At least this is the behaviour I'm used to other frameworks. Thanks again Jarle Halvorsen -Opprinnelig melding- Fra: weber.vol...@googlemail.com på vegne av Volker Weber

Re: [Tobago] Binding selected item from tx:selectOneChoice

2009-06-08 Thread Volker Weber
Hi Jarle, you need a converter for ServiceReportType. Regards, Volker 2009/6/8 Jarle Halvorsen j...@multiplus.as: Hi. Im on tobago 1.0.20 I'm think I've missed something here. I just can't find out what is wrong with my code. I'm trying to bind the selected item of a

Re: [MyFaces][Core] TimeZone problem

2009-05-27 Thread Volker Weber
Hi Guy, the valuebinding should return a TimeZone object not a String. Regards, Volker 2009/5/27 Guy Bashan guy.bas...@gmail.com: Hi all, I am trying to use f:convertDateTime with String value:   h:outputText value=#{cmp_summary.cmpCampaign.cmpDeliveryLimits.startDate}    

Re: [Tobago] How to use markup-attribute on columns

2009-03-24 Thread Volker Weber
Hi Roland, is this a typo or did you have different spellings in the jsp, css and the tobago-theme.xml? hierarchiebezeichner2 vs hierarchie_bezeichner_2 markup on column should work on 1.0.12 afaik. Regards, Volker 2009/3/24 Roland Asmann roland.asm...@cfc.at: Hi all, I'm trying to get

Re: Dynamic DataTables

2009-03-04 Thread Volker Weber
Hi Vinaya, you can use the binding attribute and populate and setup the datatable in the bindings setter. This is how we create dynamic panel content, put this works for every UIComponent. http://wiki.apache.org/myfaces/Programmatic I suggest to return null in the getter and setup the Component

Re: [Tobago] JMS Listener

2009-03-03 Thread Volker Weber
Hi, The facesContext is available only on a http request mapped to FacesServlet. Outside of such request you can create a FacesContext yourself if you really need it (see NonFacesRequestServlet) but you need a ServletContext at least. Regards, Volker 2009/3/3 Bravo Villegas Salvador

Re: Duplicate Id problem with panelNavigation2

2009-01-04 Thread Volker Weber
Hi Kai, please try without forceId! I don't know if it could help, but forceId is very evil. And as log as forceId is used you should always expect dublicateId exceptions. see: http://wiki.apache.org/myfaces/forceId#head-801527c2f31f404d73f943966595e2d0dd200d76 Regards, Volker 2009/1/2

Re: [myfaces] How do i prevent, that an unautherized user side enters the jsf-statemachine

2008-12-02 Thread Volker Weber
Try a (google) search for web.xml security this is not myfaces nor jsf specific so you can use any solution you found for javax.servlet technology Regards, Volker 2008/12/2 GroovieMan [EMAIL PROTECTED]: It would be a better help. if you will tell us, WHAT RAD had changed in the web.xml

Re: [TOBAGO] How to escape from a validation error with an escape button

2008-11-28 Thread Volker Weber
Hi Groovy, http://wiki.apache.org/myfaces/How_The_Immediate_Attribute_Works Regards, Volker 2008/11/28 Groovie [EMAIL PROTECTED]: Salut M'cs, i build a dialog with some tx:textarea and tx:in and a required=true attribute to these tag. Below that input field i add a [save] and a

Re: [TOBAGO] bug?? wrong order of processing incoming pages

2008-11-28 Thread Volker Weber
Hi Groovy, the order of processing is the same as in the uiComponentTree. A tab change is internally handled as an actionEvent, and your toolbar action is in the tree before the tabgroup. So the action is executed before the tabChangeAction updates the index. You can try to fetch the actual

Re: [TOBAGO] How to show multiple lines with tx:textarea

2008-11-28 Thread Volker Weber
would be a real help, cause the tag still know how many rows have to be shown! Groovy Volker Weber-5 wrote: Hi Groovy, 2008/11/26 GroovieMan [EMAIL PROTECTED]: Salut Volker, thanks for your reply. Ah, that was a real delightment. It should looks like this: f:facet name=layout

Re: [TOBAGO] How to show multiple lines with tx:textarea

2008-11-26 Thread Volker Weber
Hi Groovy, set a height via the surrounding layout. Regards, Volker 2008/11/26 Groovie [EMAIL PROTECTED]: Salut M'cs i would like to know, how to tell the tx:textarea tag, to show a box with i.e. 3 lines. I do miss a row(s) attribute, to show a textbox with a couple of viewable

Re: [TOBAGO] How to show multiple lines with tx:textarea

2008-11-26 Thread Volker Weber
? No 2 is not a valid token for the layout. You should e.g. use pixel: tc:gridLayout rows=fixed;40px;*/ to get a textarea with 40px height. there is no possibility to specify the rows. Regards, Volker Groovie Volker Weber-5 wrote: Hi Groovy, set a height via the surrounding

Re: PhaseListener RESTORE_VIEW and RENDER_RESPONSE are called again

2008-11-25 Thread Volker Weber
Hi Stefan, are you using redirect in navigation rules? Regards, Volker 2008/11/19 Stefan Kogler [EMAIL PROTECTED]: Hello everybody, I have a PhaseListener registered in the FacesConfig. And yes, I am sure that is registered once: javax.faces.event.PhaseListener[] listeners=

Re: [TOBAGO,BUG] better description what went wrong

2008-11-04 Thread Volker Weber
of the viewer-type, that is availiable for each row. (2) Now to your argumentation: Volker Weber-5 wrote: Or how would you expect e.g. exel to render a column in one row but not in the next? From the technical point of view, your comment is not absolutly correct, cause each row does

Re: [TOBAGO,BUG] better description what went wrong

2008-11-04 Thread Volker Weber
, with the internal sheet-tag handling of the var(iable). Anyway any workaround is welcomed, cause this is a blocking-point for my work. Thank you all Groovie I opened a bug in Tobago for further discussing: https://issues.apache.org/jira/browse/TOBAGO-719 Volker Weber-5 wrote: you

Re: [TOBAGO] Usging jstl tags inside a tobago sheet-tag

2008-11-03 Thread Volker Weber
Hi GroovieMan, you can't use jstl inside a tc:sheet, because it evaluates not at rendering time. you can use the rendered attribute of tc:column : tc:sheet value=#{listviewer.showLines} id=sheet columns=1*;1*;1*;1*;1*;1* var=currentLine [... deleted...] selectable=single

Re: [TOBAGO] How to debug debug transitions in navigation-rule's

2008-10-03 Thread Volker Weber
Hi, this is logged at info level, set debug to level trace and you get timing for every phase. Regards, Volker 2008/10/3 Groovie [EMAIL PROTECTED]: Hy, i get this: INFO DebugPhaseListener:65 - Total response time : 16815 milliseconds Did i miss something ? -- View this message

Re: [TOBAGO] How to debug debug transitions in navigation-rule's

2008-10-02 Thread Volker Weber
Hi Groovie, add the DebugPhaseListener and set debuglevel to trace, to see how the app goes through the lifecycle. You should also add a tc:messages tag to see if any error occurs, which would result in the described behavior. Regards, Volker 2008/10/2 Groovie [EMAIL PROTECTED]: Dear

Re: [Trinidad] Strange subform behavior

2008-09-20 Thread Volker Weber
, Volker Weber [EMAIL PROTECTED] wrote: Hi, why would you expect a not submited subform should loose changes made on the client (the submitted value)? This is exact the behavior i would expect. And BTW how the tobago subform works. Regards, Volker

Re: [tobago] actionListener on tab selection

2008-09-11 Thread Volker Weber
Hi Zied, 2008/9/11 Zied Hamdi [EMAIL PROTECTED]: Hi all, I need to load data on a tab click (having the switchMode=reloadTab or reloadPage), I notice there is no action, actionListener attributes is there a way to be notified on the server about a tab change. The other solution I see is to

Re: [Trinidad] Strange subform behavior

2008-09-10 Thread Volker Weber
Hi, why would you expect a not submited subform should loose changes made on the client (the submitted value)? This is exact the behavior i would expect. And BTW how the tobago subform works. Regards, Volker 2008/9/10 Andrew Robinson [EMAIL PROTECTED]: Okay, I know the problem: The

Re: [tobago] is chrome in the plans

2008-09-05 Thread Volker Weber
Hi Zied, 2008/9/5 Zied Hamdi [EMAIL PROTECTED]: Hi, I was very excited to test the google browser Chrome and see how fast it is, the only problem is a layout space allocation with tobago (see image). I know this is a new product, the question is only: is there a work being done on Chrome

Re: [tobago] parsing warning by org.apache.myfaces.renderkit.html.util.ReducedHTMLParser

2008-09-04 Thread Volker Weber
Hi Zied, 2008/9/4 Zied Hamdi [EMAIL PROTECTED]: Hi, I have the following warning many times in logs: 12:43:45,671 INFO [STDOUT] 2008-09-04 12:43:45,671 [http-127.0.0.1-8080-1] WARN org.apache.myfaces.renderkit.html.util.ReducedHTMLParser.parse(569) - Invalid tag found: unexpected input

Re: [Tobago] Tree add colums

2008-09-04 Thread Volker Weber
Hi Salvador, 2008/9/4 Bravo Villegas Salvador Francisco [EMAIL PROTECTED]: Hi all, I have the following component tc:tree id=onLineResult value=#{sdpTreeBacker.newTree} state=#{sdpTreeBacker.treeState} idReference=userObject.id nameReference=userObject.name

Re: commandbutton action not being invoked if form contains programatically-defined selectitems

2008-08-24 Thread Volker Weber
Hi Cedric, 2008/8/24 Cedric Hurst [EMAIL PROTECTED]: I have an h:form which contains two h:selectOneMenu elements. These elements are being populated programatically with a f:selectItems tied to a JSF managed bean which returns ListSelectItem. Unfortunately, when I attempt to click the

Re: [MyFaces][Core] Command Link in a datatable

2008-08-04 Thread Volker Weber
value=#{editableVideo.edit} onclick=submit(); / Thanks, Guy. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Volker Weber Sent: Sunday, August 03, 2008 6:34 PM To: MyFaces Discussion Subject: Re: [MyFaces][Core] Command Link in a datatable Hi Guy

Re: [MyFaces][Core] Command Link in a datatable

2008-08-03 Thread Volker Weber
time. Thanks, Guy. Regards, Volker Weber -- inexso - information exchange solutions GmbH Bismarckstraße 13 | 26122 Oldenburg Tel.: +49 441 4082 356 | FAX: +49 441 4082 355 | www.inexso.de

Re: ReRendering of ComponentBindings fails

2008-07-30 Thread Volker Weber
Hi, the getter for a binding component is only invoked if the framework need the component to create the view. In case of rerendering the view is restored and not new created. In case of restoring (and if the binding getter returns null) the setter is invoked. If you want to populate the

Re: [Tobago] tc:sheet problems

2008-07-18 Thread Volker Weber
Hi Salvador, sorry i still found no time to look into your sources. Could you reproduce your problem in the 1.0.17 demo? If so please describe at detail the steps to reproduce this and what you expect to happen instead. Regards, Volker 2008/7/16 Volker Weber [EMAIL PROTECTED]: Hi

Re: [Tobago] tc:sheet problems

2008-07-16 Thread Volker Weber
. Regards Salvador -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Volker Weber Enviado el: Martes, 15 de Julio de 2008 02:01 a.m. Para: MyFaces Discussion Asunto: Re: [Tobago] tc:sheet problems Hi Salvador, please post the source of the jsf pages

Re: [Tobago] tc:sheet problems

2008-07-16 Thread Volker Weber
- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Volker Weber Enviado el: Miércoles, 16 de Julio de 2008 02:42 a.m. Para: MyFaces Discussion Asunto: Re: [Tobago] tc:sheet problems Hi Salvador, i had no time to check your files yesterday, execept for a first quick look where

Re: [Tobago] tc:sheet problems

2008-07-15 Thread Volker Weber
Hi Salvador, please post the source of the jsf pages and the relevant beans. Regards, Volker 2008/7/15 Bravo Villegas Salvador Francisco [EMAIL PROTECTED]: Hi all. I'm having a problem with tc:sheet. In the first page I can select all the records show in the table, but when I

Re: [Tobago] Retrieve sheet selected row value

2008-07-11 Thread Volker Weber
Hi Salvador, you need to add the state attribute to the sheet, which points to a SheetState[1] object. then you can do : ListInteger indexes = sheetState.getSelectedRows(); which returns the list of selected row indexes, in case of selectable=single just one. Regards, Volker [1]:

Re: How to set a converter default property?

2008-07-10 Thread Volker Weber
Hi, don't you get ParseExceptions on deploy? I don't know if this is the problem, i never used property on validator, but my idea complains about: 2008/7/10 [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi, i try to set a default property for a converter in this way: validator

Re: How to set a converter default property?

2008-07-10 Thread Volker Weber
Hi simon, 2008/7/10 [EMAIL PROTECTED] [EMAIL PROTECTED]: [...] The JSF standard does not support this. When defining a validator in a faces-config.xml file, the only supported xml elements are validator-id and validator-class. [...] The http://java.sun.com/dtd/web-facesconfig_1_1.dtd support

Re: [TRINIDAD] Unable to use Converter with tr:inputDate

2008-07-03 Thread Volker Weber
Hi! IMO You should not use binding if you can avoid it ! If you need the component in the bean it is better to do a lookup via clientId. /IMO 2008/7/3 dushyant agarwal [EMAIL PROTECTED]: Hi, I have JSF page which contains a tr:inputDate component as given below:- tr:inputDate

Re: date conversion in tooltip ?

2008-07-01 Thread Volker Weber
Hi Michael, 2008/6/30 Michael Heinen [EMAIL PROTECTED]: I have to format a date inside a tooltip (or title attribute). Is there any way to apply a converter for a tooltip ? afaik no. Or is it possible to call a converter via EL ? afaik no. I fear that converters are always used with

Re: Value of ValueBinding in action

2008-06-17 Thread Volker Weber
Hi Mario, i think your problem is the bundle. if this is a f:loadBundle / var then it is not accessible before tag creation in renderPhase. you can try the s:loadBundle from sandbox. Regards, Volker 2008/6/17 [EMAIL PROTECTED]: Hi, I need to know, in my action, the value of a specific

Re: collection within collection -- h:dataTable/

2008-06-10 Thread Volker Weber
Hi, you may take a look at tomahawks columns tag [1]. I think you need to convert the Set to List, but t:columns should work than. Regards, Volker [1] : http://myfaces.apache.org/tomahawk/tlddoc/t/columns.html 2008/6/9 Wholesale Accuracy - Brennan O'Shea [EMAIL PROTECTED]: I'm using

Re: Datatable binding problem

2008-06-08 Thread Volker Weber
Hi Guy, One more thing: it seems that this code: htmlDataTableDayParts.getRowCount(); always returns zero. Is it a proper behavior? not if your datatable contains data. http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api/javax/faces/component/UIData.html#getRowCount() Regards,

Re: Datatable binding problem

2008-06-07 Thread Volker Weber
Hi Guy, could you post your loop code? Regards, Volker 2008/6/7 Guy Bashan [EMAIL PROTECTED]: Hi again, In order to validate set of dropdowns in a datatable, I wrote a method to extract all components with a specific id (under that datatable), then scan the returned values in a

Re: Datatable binding problem

2008-06-07 Thread Volker Weber
']}); } } return isOk; } I call the method validateDayParts from a saveAction method that is activated when pressing a command link. Thanks, Guy. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Volker Weber Sent: Saturday, June 07, 2008 9:41 PM

Re: [Faces][Core]

2008-06-03 Thread Volker Weber
Hi Guy, you can configure a bean with a getter which returns a appropriate TimeZone. f:dateTimeConverter timeZone=#{bean.timeZone} / see this thread http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html Regards, Volker 2008/6/3 Guy Bashan [EMAIL PROTECTED]: Thanks for

Re: [Tobago] Sorting problems

2008-06-01 Thread Volker Weber
Hi Slavador, what is the implementation of sheets value valuebinding ? in the sorter you do a sheet.getValue() wich invokes the valueBinding method, and at rendering the sheet did again a getValue() and therefore reinvoke this method. Regards, Volker 2008/5/30 Bravo Villegas Salvador

Re: [Tobago] sheet language

2008-05-23 Thread Volker Weber
Hi Slavador, you can put a spanish properties file int your applications tobago-resource path. the relevant file is html/scarborough/standard/property/tobago_[es].xml look at org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago.properties.xml in tobago-scarborough.jar

Re: [Tobago] a listbox in a popup

2008-05-22 Thread Volker Weber
a method whitch is called toString and is what the listbox is showing me. Regards, Tobi Volker Weber schrieb: Hi Tobias, i think this error message is because of a conversionError in the selectOneListbox. Could you post the code for the Author-Converter? Regards, Volker 2008/5

Re: [Tobago] choosing popup to display

2008-05-20 Thread Volker Weber
Hi ben, you don't need multiple popups, just alternate content in on popup. e.g.: f:facet name=popup tc:popup width=150 height=100 id=popup rendered=#{InputScreenBean.showPopup1 || InputScreenBean.showPopup2} tc:panel f:facet name=layout tc:gridlayout rows=1*;1*/

Re: [Tobago] a listbox in a popup

2008-05-19 Thread Volker Weber
Hi Tobias, i think this error message is because of a conversionError in the selectOneListbox. Could you post the code for the Author-Converter? Regards, Volker 2008/5/19 Tobias Reifenstuel [EMAIL PROTECTED]: Hi Helmut, hi All, thanks a lot for your help, but it still doesn't work. The

Re: My Faces - SelectOneRadio Problem

2008-04-16 Thread Volker Weber
Hi, see layout=spread and t:radio http://myfaces.apache.org/tomahawk/tlddoc/t/radio.html Regards, Volker 2008/4/16, Rajnikant [EMAIL PROTECTED]: Hello All, I am working on My Faces 1.2.2 version to implement SelectOneRadio. Its working fine with both (Horizontal and vertical)

Re: navigation/form: wrong url displayed in browser

2008-04-02 Thread Volker Weber
Hi, you can made the welcome-file a frameset, to hide the real inner urls. Regards, Volker 2008/4/2, arne anka [EMAIL PROTECTED]: See here: http://wiki.apache.org/myfaces/FAQ#StaleLink ah, thanks a lot. but, alas, it is more like a better description of the problem with two

Re: [Trinidad] Browser memory consumption

2008-03-27 Thread Volker Weber
Hi Davide, did you use own javascript in your app? If you assign htmlNode objects to javascript object properties and/or vice versa the IE (at least IE6) did not correct free them on page unload. You need to remove this yourself by assigning undefined to those properties in the unload handler.

Re: JSF Lifecycle Question

2008-03-26 Thread Volker Weber
Hi, see inline 2008/3/25, simon [EMAIL PROTECTED]: Hmm.interesting. In this case, I think your radio-button has absolutely no effect on your program (although that still doesn't explain why the textbox is empty). I believe the process is like this: on postback: (restore view phase)

Re: [MyFaces] multiple components binding to same backing bean property

2008-03-25 Thread Volker Weber
Hi, could you explain the reason for having the same binding at two components? As Andrew wrote you can't have the same component instance twice in one page, so your bindings getters MUST return null or a new instance for every call. To my experience you should avoid to use binding. Regards,

Re: [Tobago] How to substitute into the Tobago resource bundle messages?

2008-03-11 Thread Volker Weber
Hi Tim, tobago resourceBundle did not support argument formating. in your case you can concatenate the two values into a single valueBinding: tc:out value=#{bundle.title} #{bean.name} / Regards, Volker 2008/3/10, Tim Stephenson [EMAIL PROTECTED]: Hi, I have loaded a resource

Re: [Tobago] How to substitute into the Tobago resource bundle messages?

2008-03-11 Thread Volker Weber
? '' : ' ( '}#{empty controller.user ? '' : controller.user.name}#{empty controller.user ? '' : ' ) '} But i like the idea of formating such values/labels with MessageFormat and params. Regards, Volker tim On 11/03/2008, Volker Weber [EMAIL PROTECTED] wrote: Hi Tim, tobago resourceBundle did

Re: general question: assigning/copying variables in view?

2008-03-09 Thread Volker Weber
Hi Łukasz, you may look at the tomahawk aliasBean component: http://myfaces.apache.org/tomahawk/aliasBean.html Regards, Volker 2008/3/9, Łukasz Budnik [EMAIL PROTECTED]: Hi All! I have a problem with redundancy in my web application and I am looking for a solution to this

Re: [tobago] tc:SelectOneListBox :Issue with ValueChangeEvent Validator

2008-02-25 Thread Volker Weber
with 1.0.13 thanks, -R On Thu, Feb 21, 2008 at 10:09 AM, Volker Weber [EMAIL PROTECTED] wrote: Which version of tobago? I'm trying to reproduce this. 2008/2/21, Raj .G. Narasimhan [EMAIL PROTECTED]: Yes, I didVolker... But, there is none

Re: [tobago] tc:SelectOneListBox :Issue with ValueChangeEvent Validator

2008-02-21 Thread Volker Weber
Hi Raj, if i interpret your code snippet correct, the selectOneListbox with the click/change facet is NOT inside the partially rendered panel. This is the problem, only the content of the partiallyRendered component is processed on the server. you have two(tree) choices: 1. include the listbox

Re: [tobago] tc:SelectOneListBox :Issue with ValueChangeEvent Validator

2008-02-21 Thread Volker Weber
name=renderedPartially / /tc:command /f:facet %-- I tired the same command with 'change' facet' also % /tc:selectOneListbox /tc:box tc:panel id=orderDetailPanel On Thu, Feb 21, 2008 at 3:22 AM, Volker Weber [EMAIL PROTECTED

Re: [tobago] tc:SelectOneListBox :Issue with ValueChangeEvent Validator

2008-02-21 Thread Volker Weber
Which version of tobago? I'm trying to reproduce this. 2008/2/21, Raj .G. Narasimhan [EMAIL PROTECTED]: Yes, I didVolker... But, there is none... thanks, -R On Thu, Feb 21, 2008 at 9:59 AM, Volker Weber [EMAIL PROTECTED] wrote: than it should work! can you add a tc:messages tag

Re: [Tobago] Scrollable text insice tc:sheet

2008-02-19 Thread Volker Weber
Hi Yazid, are you are inside a sheet? if not: tc:out inside tc:cell with scrollbars=auto should do this. if yes: the same, plus forcing the tc:cell to get enough height to render at least the scrollbars. Regards, Volker 2008/2/19, yazid [EMAIL PROTECTED]: Hello ; I've the same

Re: [Tobago] Edit an XML text

2008-02-18 Thread Volker Weber
Hi yazid, do you want to edit or display the xml? using tc:textarea is the simplest, i think. For display set the readonly attribute to true. Regards, Volker 2008/2/18, yazid [EMAIL PROTECTED]: Hi all; Is there a way to display a bloc of text (20 line) of XML by tobago r Any ideas are

Re: [Tobago] Problem migrating to 1.0.15

2008-02-15 Thread Volker Weber
Hi, no time to test this, but my guess from yazids las post is: he had put a tc:out and a tc:selectOneChoice in the same column. the tc:selectOneChoice was rendered but outside the columns visual area and therefore clipped away. surrounding the tc:out and tc:selectOneChoice with a tc:cell (or

Re: [tobago] when renderedPartially, menuCheckbox's value is not updated

2008-02-08 Thread Volker Weber
Hi Zied, in IE? if this problem does not exsist in FF this may be http://issues.apache.org/jira/browse/TOBAGO-611 Regards, Volker 2008/2/8, Zied Hamdi [EMAIL PROTECTED]: Hi, I have a problem when I attemp to render partially a box with a checkbox menu popup: in (tradition mode) the

  1   2   3   4   5   6   7   8   9   >