[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 Please

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" e

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 trini

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 : > Hallo Max, > > Thanks for replying. My attempt di

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 : > Hello! > > I'm have some problems with creating a Table. I want to create a dynamic > table with some columns in

Re: [Tobago] Image resizing

2013-11-21 Thread Volker Weber
Hi Hani, i think this is a performance issue but i found a solution: this works in the demo. Regards, Volker 2013/11/21 Volker Weber > Hi Hani, > > i see the problem. The valueBinding for the width is evaluated only once, > and this value is

Re: [Tobago] Image resizing

2013-11-21 Thread Volker Weber
.de> > Hi 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

Re: [Tobago] Image resizing

2013-11-20 Thread Volker Weber
> Hi Volker, > > 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..

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: Regards, Volker 2013/11/14 Abushammala, Hani (EXTERN: BERIS) < extern.hani.abushamma...@volkswagen.de> > Hi, > > I need help to resolve a layout

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 : > Hello! > > I'd like to insert into a method of my controller, when i click

Re: [Tobago] How to automatically maximize tc:page on initial view of applicaiton?

2012-04-10 Thread Volker Weber
Hi Dom, just put a initializing page in front of your app as startpage. The startpage could request the app page via javascript or button. Regards, Volker Am 9. April 2012 16:24 schrieb : > Dear all, > > I am working with Tobago 1.0.*. In general, the size of tc:page gets set > automati

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 : > I have

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: ... and in suchController: public void selectDetail(ActionEvent event) { Object detail = ComponentUtil.findParameter(event.getComponent(), "detail"); // detail is your row var } Regards, Volker

Re: Question using rendered attribute within fixed rows

2011-08-21 Thread Volker Weber
Hi Alf, these warning is caused by the incomplete analysis at this point in the layoutmanager. You can ignore this. In the layout calculation the fixed rows/cells are handled first, after layouting the first and the last row the full available space is used, but there is one row left, the hidden

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 the

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 pop

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 /html/standard/speyside/tag/ Regards, Volker 2010/6/21 Abushammal

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 with a new Tobago.ScriptLoader(['ABSOLUTE_URL_TO_myFuncti

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 renderi

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

2010-05-10 Thread Volker Weber
f myfaces and tobago is the standard one? Can the > reason 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

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 tc:panel=

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 : > Hi Jozef, > > see it: > > public class EnumConverter implements Converter { >    public Object getAsObject(FacesCo

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 : > > 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 same way. > > I observed t

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 you don't need a converter! Regards, Volker 2010/4/21 Michael Kakuschky : >

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 : > 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:com

Re: tobago partial rendering question

2010-04-14 Thread Volker Weber
d I want to submit a fomular on another tab it does not work because the > element on the other tab is not completely filled and the set require > attribute does not allow to submit the main form.. > > That the reason I subforms. Is there another common way to solve this kind > of proble

Re: tobago partial rendering question

2010-04-14 Thread Volker Weber
> import javax.faces.event.ActionEvent; > > public class MyController { > >   private String string1 = "99"; >   private String string2; >     public String action1(ActionEvent actionEvent) >   { >       string2 = string1; >             return null; &

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 : > Hello, is there a way to activate an tc:tab element within an action so that > it comes to the top of a tc:tab

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 on

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 : > Hi, > > I am

Re: onkeydown and javascript with tobago

2009-10-30 Thread Volker Weber
Hi Douglas, yes this is easy in tobago: this add a eventlistener for the keyup event to the textarea. Regards, Volker 2009/10/28 Douglas R. Haase : > hi everyone, > > i wanna know if there's something like this: > > > ... > > > > > >                        onkeyup="

Re: [Tobago] dynamic panels in tc:sheet

2009-10-17 Thread Volker Weber
ow can 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

Re: [Tobago] dynamic panels in tc:sheet

2009-10-16 Thread Volker Weber
Hi Hani, 2009/10/15 Abushammala, Hani (EXTERN: FTP) : > 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 row object of the sheet, > but > i

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 checked

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 : > Hello, > > I found the problem :) > > If I change the column content from > > >    ^^^ > to > > >    ^^

Re: : value is not a valid option

2009-07-22 Thread Volker Weber
;> The solution was change the getter e setter to accept and return Strings: >> >> public String getOpcao() { >>   return (opcao != null ? opcao.toString() : null); >> } >> >> public void setOpcao(String opcao) { >>   this.opcao = Integer.valueOf(opcao)

Re: : 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 : > Hi, > > I can't figure out why the

Re: [Tobago] Binding selected item from

2009-06-09 Thread Volker Weber
rle Halvorsen > > -Opprinnelig melding- > Fra: weber.vol...@googlemail.com på vegne av Volker Weber > Sendt: ma 08.06.2009 19:47 > Til: MyFaces Discussion > Emne: Re: [Tobago] Binding selected item from > > Hi Jarle, > > you need a converter for ServiceReportType.

Re: [Tobago] Binding selected item from

2009-06-08 Thread Volker Weber
Hi Jarle, you need a converter for ServiceReportType. Regards, Volker 2009/6/8 Jarle Halvorsen : > 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 selectOneChoice to 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 : > Hi all, > > I am trying to use f:convertDateTime with String value: >   value="#{cmp_summary.cmpCampaign.cmpDeliveryLimits.startDate}"> >     timeZone="#{cmp_sum

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 : > Hi all, > > I'm trying to get the markup-at

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 Franc

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 Kai

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.

Re: [TOBAGO] How to show multiple lines with

2008-11-28 Thread Volker Weber
For this reason, a rows or visible rows > attribute 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]&g

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 inde

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 and > and a required="true" attribute to these tag. > Below that input field i add a [save] and a [cancel] > b

Re: [TOBAGO] How to show multiple lines with

2008-11-26 Thread Volker Weber
s ? > No "2" is not a valid token for the layout. You should e.g. use pixel: to get a textarea with 40px height. there is no possibility to specify the rows. Regards, Volker > Groovie > > > Volker Weber-5 wrote: >> >> Hi Groovy, >> >>

Re: [TOBAGO] How to show multiple lines with

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 viewabl

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
> viewer, that define some viewer, that i have to switch-on/off > in dependency 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 co

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

2008-11-04 Thread Volker Weber
ng-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 can't use jstl inside a tc:sheet,

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 : [] Regards, Volker 2008/11/3 GroovieMan <[EMAIL PROTECTED]>: > > Salut, > > i need a conditional operation

Re: [TOBAGO] How to debug debug transitions in '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 th

Re: [TOBAGO] How to debug debug transitions in '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]>: > > Dea

Re: [Trinidad] Strange subform behavior

2008-09-20 Thread Volker Weber
changes to the model. >> >> >> >> Right now, JSF treats use case #2 very poorly and the standard >> >> work-around is to clear the submitted value and local values from >> >> EditableValueHolders when it is desired to reset their rendered sta

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

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 o

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 > > > > > value="#{sdpTreeBacker.newTree}" > > state="#{sdpTreeBacker.treeState}" > > idReference="userObject.id" > > nameReference="userObject.name" > >

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 i

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 which contains two elements. These > elements are being populated programatically with a tied to > a JSF managed bean which returns List. Unfortunately, when I > attempt to click the to invoke an action, the action does > n

Re: Composite view from several "request" managed beans

2008-08-20 Thread Volker Weber
Hi Anton, 2008/8/20 Anton Gavazuk <[EMAIL PROTECTED]>: > Hi Guy, > > thanks for answer > >>>All necessary beans will be instantiated automatically by JSF as long as you >>>define them in your faces-config.xml file. > its clear, > but I want to put some business related info in bean before showing

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

2008-08-04 Thread Volker Weber
of the checkbox is: > > > > 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 data

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

2008-08-03 Thread Volker Weber
.edit} when you press the link? Your problem looks like the value of #{editableVideo.edit} changes between rendering and next request (the save click) from true to false. Maybe because you uncheck the selectbox before clicking the link? A action is not executed if the rendered evaluates to false at

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 panelGr

Re: [Tobago] tc:sheet problems

2008-07-17 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]>

Re: [Tobago] tc:sheet problems

2008-07-16 Thread Volker Weber
; Salvador > > -Mensaje original- > 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 n

Re: [Tobago] tc:sheet problems

2008-07-16 Thread Volker Weber
go] tc:sheet problems > > Hi Volker, > > Sorry. I send the jsf and the beans related. > > Regards > Salvador > > > -Mensaje original- > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Volker Weber > Enviado el: Martes, 15 de Julio de 2008 02:0

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

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 : List indexes = sheetState.getSelectedRows(); which returns the list of selected row indexes, in case of selectable="single" just one. Regards, Volker [1]: http://my

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 sup

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: > > xyValidtor

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

2008-07-03 Thread Volker Weber
Hi! 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. 2008/7/3 dushyant agarwal <[EMAIL PROTECTED]>: > Hi, > I have JSF page which contains a tr:inputDate component as given below:- > > have you tried: publi

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

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 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 HtmlOutpu

Re: collection within collection --

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 t

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
t;htmlSelectOneMenuFrom.setValid(false); > > FacesUtil.addErrorMessage(htmlSelectOneMenuFrom.getClientId(FacesUtil.getFacesContext()), >"#{bundle['cmp_targeting.time.fromTo.required']}"); > } >} > >return isOk; > } > > I call the meth

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 value

Re: [Faces][Core]

2008-06-03 Thread Volker Weber
Hi Guy, you can configure a bean with a getter which returns a appropriate 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 your answer, > Actually I was trying using GMT (

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 Fr

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-21 Thread Volker Weber
e to use them. I just added to my author 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 conversionErr

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.: Regards, Volker 2008/5/20 ben_p <[EMAIL PROTECTED]>: > > Hi All, > I am again struggling

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.

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 vert

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 wi

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. W

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 vi

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
t;#{bundle.editUser}#{empty controller.user ? '' : ' ( '}#{empty controller.user ? '' : controller.user.name}#{empty controller.user ? '' : ' ) '}" But i like the idea of formating such values/labels with MessageFormat and params.

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: Regards, Volker 2008/3/10, Tim Stephenson <[EMAIL PROTECTED]>: > Hi, > > I have loaded a resource bundle using > > and can output message

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 p

Re: [tobago] writing a pdf to response OutputStream

2008-03-06 Thread Volker Weber
Hi Zied, have you looked at the wiki? http://wiki.apache.org/myfaces/Sending_Files the important thing is: FacesContext.getCurrentInstance().responseComplete(); Regards, Volker 2008/3/6, Zied Hamdi <[EMAIL PROTECTED]>: > Hi, > > I wrote my code based on the example app. > > >

Re: [tobago] :Issue with ValueChangeEvent & Validator

2008-02-25 Thread Volker Weber
dapter.java:286) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > at > org.apache.tomcat.util.net.JIoEndpoint$

Re: [tobago] :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: > >

Re: [tobago] :Issue with ValueChangeEvent & Validator

2008-02-21 Thread Volker Weber
> > > > > name="renderedPartially" /> > > > <%-- I tired the same command with 'change' facet' also %> > > >

Re: [tobago] :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 i

  1   2   3   4   5   6   7   8   9   >