Re: [Tobago] Problems with Tobago.reloadComponent with onclick

2007-01-12 Thread Volker Weber
l', 'mainPage:quarantineCmdRefresh')" What is the preferred way to add this to my toolBarCommand? -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: Friday, January 12, 2007 12:40 PM To: MyFaces Discussion Subject: Re: [Tobago] Problems with Tobago.reload

Re: [Tobago] Problems with Tobago.reloadComponent with onclick

2007-01-13 Thread Volker Weber
Bernd John wrote: > I get exactly the same error with the code below as before. > I did verify in the view source that the qualified Ids were correct. > > -Original Message- > From: Volker Weber [mailto:[EMAIL PROTECTED] > Sent: Friday, January 12, 2007 1:28 PM > To: M

Re: [Tobago] tc:sheet able to highlight the current row when fist time loading a page without clicking the row

2007-01-16 Thread Volker Weber
Hi Sam, just set the index of the first row (0 if on the first page) in the sheetState as selected, e.g.: sheetState.getSelectedRows().add(0); Regards, Volker 2007/1/16, Wong, Emmanuel (Sam) <[EMAIL PROTECTED]>: Hi: Does anyone know how to make the sheet highlight the first row when

Re: Question about page browsing/scrolling

2007-01-18 Thread Volker Weber
Hi, see http://myfaces.apache.org/tomahawk/dataScroller.html regards, Volker 2007/1/18, Chen, Wei <[EMAIL PROTECTED]>: Hi all, I am going to print out a very long list but I don't want all in one page to be shown. I wan t to use the so-call browsing/scrolling. That means, the first 30 centenc

Re: [tobago] f:selectItem with tc:selectOneChoice

2007-01-18 Thread Volker Weber
You want '3' as inital value? just set it: Public class MyBean{ private int probability = 3; ... } reagards, Volker 2007/1/18, Wong, Emmanuel (Sam) <[EMAIL PROTECTED]>: Hi: Could anyone tell me how to display a specified drop down list value? Let say will would li

Re: [tobago] f:selectItem with tc:selectOneChoice

2007-01-18 Thread Volker Weber
); regards, Volker 2007/1/18, Wong, Emmanuel (Sam) <[EMAIL PROTECTED]>: Yes, but the drop down box should display "3:Medium" if I set the probability = 3; I was not able to display "3:Medium" when I set probability = 3; thannks -Original Message- From:

Re: HashMap and dataTable

2007-01-19 Thread Volker Weber
Hi, try: Regards, Volker 2007/1/19, mathias °ö° <[EMAIL PROTECTED]>: hi maik thanks for your answer it works, but the jsf-page display this: table: [Frage1=Antwort1, Frage3=Antwort3, Frage2=Antwort2, Frage4=Antwort4] [Frage1=Antwort1, Frage3=Antwort3, Frage2=Antwort2, Fr

Re:

2007-01-19 Thread Volker Weber
Hi Alex, where did you call setTestDate()? 2007/1/19, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Hello all, Does anyone know if you can programatically change the value of a field? I am trying to set the value of a component so that it displays the date on screen. I can only get it to display c

Re: [Tobago] How to initial focus

2007-01-19 Thread Volker Weber
Hi Helmut, the focusId attribute supports valuebinding, but the value must be the clientId of the component. This means the id prefixed by the ids of namingContainers, at leas by the id of the page. This should be improved to be handled like for attributes, ge do a findComponent() to examine the

Re: Access to param

2007-01-19 Thread Volker Weber
Hi, afaik and according to the specs [1], [2], the parameterMap is immutable. so you can't do this. [1] http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api/javax/faces/context/ExternalContext.html#getRequestParameterMap() [2] http://java.sun.com/products/servlet/2.3/javadoc/javax/servl

Re: [Tobago] f:verbatim in tc:tabGroup

2007-01-20 Thread Volker Weber
Hi Helmut, this is not a tobago issue, its a jsf design issue. The f:verbatim is not saved between requests, and so at rerendering via ajax not availiabel. Maybe we should readd a tc:verbatim tag? you can use as workaround. Regards, Volker 2007/1/20, H. Swaczinna <[EMAIL PROTECTED]>: Hello

Re: Re: [Tobago] How to initial focus

2007-01-20 Thread Volker Weber
Hi Helmut, you are right, i oversight something yesterday whn i did a quick source lookup, bernd has just fixed this, please try the next neightly build or do a new checkout. Regards, Volker 2007/1/20, H. Swaczinna <[EMAIL PROTECTED]>: Hello Volker, I don't think, value binding works. Exampl

Re: How to clear all messages (warning, information, exception) put into the message List ?

2007-01-22 Thread Volker Weber
Hi, if you add a immediate="true" to the button, the validation and updateModel phases are skipped, so no messages are created, and invokeApplication phase is executed. Regards, Volker 2007/1/22, Madhav Bhargava <[EMAIL PROTECTED]>: Hi All, How do you clear all the messages that are stor

Re: What is nightly builds ?

2007-01-23 Thread Volker Weber
Hi, the nightly builds are here: http://people.apache.org/builds/myfaces/nightly/ you can found this link from http://myfaces.apache.org/download.html regards, Volker 2007/1/23, Bernd Bohmann <[EMAIL PROTECTED]>: Hello, madan chowdary wrote: > Hi all, > > I am very much confused seeing some

Re: loadBundle performance

2007-01-23 Thread Volker Weber
Hi, f:loadBundle is requestScope. Regards, Volker 2007/1/23, Rogerio Pereira <[EMAIL PROTECTED]>: Hi guys! How myfaces handles resource bundle load using f:loadBundle? MyFaces load the resource bundle only one time at or tries to load at every page request? Thanks for any answer, -- Yours

Re: Question about using dataTable

2007-01-23 Thread Volker Weber
Hi, you need a prefixing dot '.' at the class definiton. .table-odd-row{background-color: #F1F1F1;} .table-even-row{background-color: #ee;} Regards, Volekr 2007/1/23, Thomas Chang <[EMAIL PROTECTED]>: Hi Marco, I defnie the "classForOddRows" in my css file as follow: table-odd-row{b

Re: Question about using dataTable

2007-01-23 Thread Volker Weber
nd css file. What could be wrong? Thanks! Thomas "myxhtml" ** File Upload Error Info ... ... ... ... "normal.css" ** ... .table-odd-row{background-color: #F1F1F1;} .table-even-row{background-color: #ee;} ... Volker Weber <[EMAIL PROTECTED]> sc

Re: Saving view in ajax request

2007-01-23 Thread Volker Weber
Hi, to save the state you can do: StateManager stateManager = facesContext.getApplication().getStateManager(); StateManager.SerializedView serializedView = stateManager.saveSerializedView(facesContext); stateManager.writeState(facesContext, serializedView); but this may not be enough, y

Re: Saving view in ajax request

2007-01-23 Thread Volker Weber
ot;"); contentWriter.write(StringUtils.replace(StringUtils.replace(jsfState.toString(), "\"", "\\\""), "\n", "")); contentWriter.write("\");"); contentWriter.endElement(HtmlConstants.SCRIPT); I cant understand what this script do. Tkz i

Re: [Tobago] Sessions with Tobago

2007-01-23 Thread Volker Weber
Hi, you can overwrite the styles in you application. you need to configure a tobago-recources directory in your webapp in the tobago-config.xml: tobago-resource in this directory create a file: html/speyside/standard/style/style.css in this file you can overwrite the css classes from the sp

Re: Question about using "rendered"

2007-01-23 Thread Volker Weber
Hi Thomas, what exact did you mean by 'I can't get value from the inputTextField.'? how did you try, in which phase, how did you switch the value of searchLabel? You give not enough information to identfy your problem. Regards, Volker 2007/1/23, Thomas Chang <[EMAIL PROTECTED]>: HI, I have

Re: Add to and remove from collection

2007-01-23 Thread Volker Weber
Why did you want to do this in a el function? Why not a action method? Can you describe your usecase? Regards, Volker 2007/1/23, lightbulb432 <[EMAIL PROTECTED]>: Now where would I use that function? I created a function and tried using it as the value of h:commandButton's action attribute (

Re: [Tobago] Fileupload doesn't work in popup

2007-01-24 Thread Volker Weber
Hi Helmut, please add a jira issue for this. The enctype="multipart/form-data" is missing on html form tag if the fileInput was not on the initally page. Please use a nonAjax popup in the meantime. Another issue with your code: I don't think that it is possible to upload a file by ajax, you sh

Re: Re: [Tobago] Fileupload doesn't work in popup

2007-01-24 Thread Volker Weber
It is always the whole page submitted, even if the ajax request just updates a small piece. The ajax request sends the complete serialized html form to the server. Regards, Volker 2007/1/24, H. Swaczinna <[EMAIL PROTECTED]>: Hi Volker! >The enctype="multipart/form-data" is missing on html fo

Re: Re: [Tobago] immediate has no effect on tabGroup

2007-01-26 Thread Volker Weber
Hi Helmut, you are right, i have just fixed this (TOBAGO-260). Wait for the next nightly or trigger Bernd to force one ;-) Regards, Volker 2007/1/25, H. Swaczinna <[EMAIL PROTECTED]>: Hello Bernd, here comes a simple example:

Re: [Tobago] Help regarding

2007-01-26 Thread Volker Weber
Hi Madan, you can't have a box growing and shrinking with the tree. But the tree should become a scrollbar if it expands to large for the calculated layout. Regards, Volker 2007/1/25, madan chowdary <[EMAIL PROTECTED]>: ya sieppl, i changed the page width attributes, say for width="900px"

Re: Re: Re: [Tobago] Fileupload doesn't work in popup

2007-01-26 Thread Volker Weber
Hi Helmut, it is always the complete content of the page submitted, but validation, modelUpdate and reRendering applies only to the reloaded component and children. Regards, Volker 2007/1/24, H. Swaczinna <[EMAIL PROTECTED]>: No, this is not the case. Values entered outside the ajax reloaded

Re: Re: [Tobago] Fileupload doesn't work in popup

2007-01-26 Thread Volker Weber
Hi again, >Please use a nonAjax popup in the meantime. Hm, I thought nonAjax popups aren't supportet any more? nonAjax popups are supportet again, but not controlled by the rendered attribute. I think just ommit the renderedPartially attribute should do this. Regards, Volker

Re: [Tobago] when is state-attribute of sheet updated?

2007-01-26 Thread Volker Weber
Hi, the sheetState is updated on submitting the page. In your case you should use a link in the row. regards, Volker 2007/1/22, Philb <[EMAIL PROTECTED]>: I want to do master-detail view on one page. When I click on a single row in a sheet the detail-parts should be updated. The detail parts

Re: [Tobago] Problems with Tobago.reloadComponent with onclick

2007-01-26 Thread Volker Weber
our Tomcat because your demo utilizes log4J which our Tomcat doesn't support (it is running as an embedded server within our application). Is it possible for you to provide a version that doesn't depend upon log4j? Thanks, John -Original Message----- From: Volker Weber [mailto:[

Re: How to create a custom component with a non-string data model

2007-01-26 Thread Volker Weber
Hi Stephane, 1. In the AddressTag class the following line: ValueBinding binding = application.createValueBinding(address); Only seems to allow a String object, and not a generic Object. I don't understand the problem. Did you mean address should be another Object than String? This is in t

Re: [Tobago] replace components via rendered

2007-01-26 Thread Volker Weber
Hi, i did not see any jumping in your simple example, but if i add a gridLayout like than there is a jumping, the second component starts 5px lower than the first. This is a bug in the layout renderer. Please file a jira entry. You can stop the jumping by adding a 0px size empty pa

Re: [tobago] displaying complex values in tx:selectOneChoice

2007-01-29 Thread Volker Weber
Hi Stefan, change the converter to convert from and to id and don't use the converter for the label. e.g.: List items = new ArrayList(); for (Person person : list) { StringBuilder builder = new StringBuilder(); if (person.getSalutation() != null) { builder.append(person.getSa

Re: [tobago] displaying complex values in tx:selectOneChoice

2007-01-30 Thread Volker Weber
ut got over it ...). This way it works for the tx:selectOneChoice. But if the object containing the person as a field is displayed in a table now the person's id is displayed. I can avoid this by adding special properties to the tag. Or do you know a better solution for this? Regards, Stefa

Re: [Tobago] Lifecylce problem with renderedPartially and selectBooleanCheckbox

2007-02-01 Thread Volker Weber
Hi Helmut, this is the correct behavior. ValueChangeListeners are fired in validationPhase (see jsf1.1 spec 3.2.5.3), setters are executed in updateModelPhase. Should be the same as without ajax. Regards, Volker 2007/2/1, H. Swaczinna <[EMAIL PROTECTED]>: Hello, I've a selectBooleanCheckbo

Re: [Tobago] Problem with Required Attribute

2007-02-01 Thread Volker Weber
Hi Madan, add a immediate=true to the navigation command. Regards, Volker 2007/2/1, madan chowdary <[EMAIL PROTECTED]>: Hi All, I Used a Layout as specified in the Demo Example. I included a Top Navigation bar at the top, a Left Navigation bar in the left. The is done for the Middle Par

Re: [Tobago] PhaseListeners not invoked with ajax request

2007-02-02 Thread Volker Weber
Hi Helmut, currently it is not the same, ajaxRequest are interupted by the AjaxPhaseListener after ApplyRequestValue Phase. The rest of the lifecircle is done here, because phases should only invoke on affected components. But i'm thinking about a own Lifecircle implementation for tobago to make

Re: [Tobago] tc:reload question

2007-02-02 Thread Volker Weber
Hi Helmut, afaik there is (currently) no officall way to do this, but we (me and Bernd) already have talked about the need. But if you add the update attribute to the tc:reload with a valueBinding, you can put anny code in this getter. Currently this getter is invoked once per request, just befo

Re: Re: [Tobago] Lifecylce problem with renderedPartially and selectBooleanCheckbox

2007-02-02 Thread Volker Weber
Hi Helmut, i can't reproduce the differend behavior. Can you recheck this an post a code example if this exists with the current nightly? If your valueChangeListener was inside a button with immediate=true (e.g. inside a popup on such a button), there was a problem with the immediate of descende

Re: JSF lifecyle - managed-bean

2007-02-05 Thread Volker Weber
Hi, all properties are set in the order they are defined in the faces-config.xml. This is defined in the spec. So you can define a dummy setter as last one in the config as init method. e.g.: ... dummy init MUST be the last property init true public void setInit(boole

Re: Please test the current snapshot of tobago 1.0.10

2007-02-05 Thread Volker Weber
Hi Helmut, i oversight this comment somehow :-(. Please reopen a issue in such a case. I just did it. Regards, Volker 2007/2/5, H. Swaczinna <[EMAIL PROTECTED]>: Hello Bernd, seems to be ok. I tested my app with the current snapshot. But one small thing remains open. In TOBAGO-252 is still a

Re: [Tobago] Popup

2007-02-05 Thread Volker Weber
Hi Michael, unfortunatly this is currently not possible, see http://issues.apache.org/jira/browse/TOBAGO-134 Regards, Volker 2007/2/5, Michał 'Gandalf' Stawicki <[EMAIL PROTECTED]>: When I display a popup, and then on top of the first one I display second popup, is it possible to block the fi

Re: error deploying jsf with tom cat 5.x

2007-02-05 Thread Volker Weber
Hi, seems there is a bug in this tomcat, see this thread: http://www.nabble.com/cannot-run-examples-with-Tomcat-5.5.20-p7556544.html Please add the listener to the web.xml or try another tomcat. Regards, Volker 2007/2/5, sandhya gokhale <[EMAIL PROTECTED]>: Hi, I installed tomcat 5.5.20 and

Re: Request scope Managed bean instantiated twice

2007-02-07 Thread Volker Weber
Hi, i never see somthing like this, so just guessing: If you use redirect in navigation rules, than you have 2 request for each submit, and this is the correct behavior. Regards, Volker 2007/2/7, Harry Co <[EMAIL PROTECTED]>: Hello, I'm facing another odd issue. I have a managed Bean declar

Re: JSP tag in JSF tag, how?

2007-02-07 Thread Volker Weber
Hi Jeffrey, you can't bind the 'binding' against a requestParameter, because binding must evaluate to a UIComponent. But for value this should do it: value="LoopID #{param['LoopID']}" see jsf spec 5.3.1.2. Regards, Volker 2007/2/7, Jeffrey Porter <[EMAIL PROTECTED]>: This is what I'd l

Re: tc:selectOneListbox onchange bug?

2007-02-08 Thread Volker Weber
Hi Michael, please don't use the onchange attributes. you can add a facet 'change' with a tc:command inside: see discussion on https://issues.apache.org/jira/browse/TOBAGO-272 Regards, Volker 2007/2/8, Michał 'Gandalf' Stawicki <[EMAIL PROTECTED]>: The onchange attribute doesn'

Re: [ Tobago ] Help regarding Input Suggest

2007-02-12 Thread Volker Weber
Hi Madan, the inputSuggest is currently not working, i observed this last week in our project, i try to fix it this week, if i found enough spare time. Regards, Volker 2007/2/11, madan chowdary <[EMAIL PROTECTED]>: Hi all, Many would be knowing the Input Suggest by this time, as it is put o

Re: How to get an  ?

2007-02-12 Thread Volker Weber
Hi, Regards, Volker 2007/2/12, Jochen Wiedmann <[EMAIL PROTECTED]>: Hi, I have a dataTable with columns, which are defined like this: If "rendered" is false, then the column

Re: [Tobago] Ajax Frameworks With Tobago.

2007-02-12 Thread Volker Weber
Hi Varma, i have no experience with 'thirdparty AJAX frameworks', but i don't think they work with tobago. But you can do this with the tobago internal ajax partial reload feature. put the second tc:selectOneChoice into a tc:panel with defined clientId ( this means you set a id to this panel an

Re: [ Tobago ] Help regarding Input Suggest

2007-02-12 Thread Volker Weber
Hi again, just fixed this. Please try the next nightly or build from svn head. Regards, Volker 2007/2/12, Volker Weber <[EMAIL PROTECTED]>: Hi Madan, the inputSuggest is currently not working, i observed this last week in our project, i try to fix it this week, if i found enough spar

Re: [Tobago] How to get a horizontal scrollbar for tc:sheet?

2007-02-12 Thread Volker Weber
Hi Helmut, this is a bug, please add a jira entry. setting fixed sizes should used, even if not enough space availiable, and result in having a scrollbar. Regards, Volker 2007/2/12, H. Swaczinna <[EMAIL PROTECTED]>: Hi everybody, nobody outthere who can give me a hint on this topic? Regard

Re: How to call bean method from url?

2007-02-14 Thread Volker Weber
Hi, whats the problem with a servlet? Here is the base code: http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls#head-6c1aaf488d48f938896da962aaa4361ec3ffaf70 Regards, Volker 2007/2/14, Yuri Ivanov <[EMAIL PROTECTED]>: Thank you for replay, but then I need to create paymentStatus

Re: [Tobago] or

2007-02-15 Thread Volker Weber
Hi Madan, there is a forEach example in tobago, there is the bean resolved at top of jsp[1]: <% // load bean before expression in foreach VariableResolverUtil.resolveVariable(FacesContext.getCurrentInstance(), "birdList"); %> I think you should add: <% VariableResolverUtil.resolveVariable(Fa

Re: How to parse parsed values?

2007-02-15 Thread Volker Weber
Hi Benjamin, i don't know what you realy want to do, but for your example this will do it: public String getPageInformationSettings() { String test = "Start!"; test += "InputText = '"; test += ""; return test; } Regards, Volker 2007/2/15, [EMAIL PROTECTED] <[EMAIL PROTE

Re: How to open a new page which has no close button and no tool bar?

2007-02-15 Thread Volker Weber
Hi Tomas, i don't think the supression of close button is possible, but for the rest maybe this helps: http://tinyurl.com/22k5gr Regards, Volker 2007/2/15, Thomas Chang <[EMAIL PROTECTED]>: Hi, Could you write it a little bit in detail? :) Or maybe you have an example? Thanks Thomas "Wa

Re: [ Tobago ] [ Solved ]Help regarding Input Suggest

2007-02-18 Thread Volker Weber
zigzag, have to fix this before i go with inputSuggest. Can u tell me how can i proceed with the inputSuggest for That would be helpful for me to implement in my app very soon. Thnx Regards, Madan - Original Message From: Volker Weber <[EMAIL PROTECTED]> To: MyFaces Discussio

Re: [Tobago] control render?

2007-02-18 Thread Volker Weber
Hi Michael, no, sorry, the tc:script is just a tag not a component. the value/content is immediatly added to the pageTag, to be included into the html:head. But you can use el expressions as value, maybe you can use this to suppress the values. Regards, Volker 2007/2/18, Michał 'Gandalf' Sta

Re: [Tobago] Ajax Frameworks With Tobago.

2007-02-18 Thread Volker Weber
l has to be updated using AJAX. >> >> >> >> Is this a bug in 1.0.9?? >> >> >> >> Regards, >> >> Varma >> >> >> >> On 2/13/07, Varma Dendukuri < [EMAIL PROTECTED]> wrote: >> >> > >> >> > Hi Volker, >

Re: [ Tobago ] Invoke Servlet from jsp page

2007-02-19 Thread Volker Weber
Hi Madan, you can't use relative url in tc:image. Every string which is not recognized as absolute url is used as resourceName to lookup in resources. Regards, Volker 2007/2/19, madan chowdary <[EMAIL PROTECTED]>: Hi David, As i am using Tobago, the URL i specify in must be an absolute URL

Re: [ Tobago ] Invoke Servlet from jsp page

2007-02-19 Thread Volker Weber
Hi, can you try #{facesContext.externalContext.request.contextPath} never tryed, but according to the spec 5.3.1.2 i think this should do it. Regards, Volker 2007/2/19, madan chowdary <[EMAIL PROTECTED]>: Hi David, none of them working, There is no implicit object as " request " in Tobag

Re: [ Tobago ] [ Solved ]Help regarding Input Suggest

2007-02-20 Thread Volker Weber
dropdown. Is there any possible way to increase the width of the dropdown even if the text is small or big Thnx in Advance madan - Original Message From: Volker Weber <[EMAIL PROTECTED]> To: MyFaces Discussion Sent: Monday, 19 February, 2007 3:54:54 AM Subject: Re: [ Tobago ] [ Solved

Re: [Tobago] How to display an euro with IE and ajax

2007-02-23 Thread Volker Weber
Hi, i think it's more an IE problem than a Tobago problem. Please request a bugfix at microsoft ;-) I don't understand how someone can decide to use this buggy thing, but because this is the majority, i fear we need to provide a workaround in tobago :-(. How must the '€' be encoded (in HTML) to

Re: [ Tobago ] [ Solved ]Help regarding Input Suggest

2007-02-23 Thread Volker Weber
ms are selected but not the ' 0 '. This tailing ' 0 ' is not shown in FireFox, but it does in IE for what ever suggest i receive. Regards, Madan - Original Message From: Volker Weber <[EMAIL PROTECTED]> To: MyFaces Discussion Sent: Tuesday, 20 February, 2007

Re: [ Tobago ] Regarding Alignment Problems with gridLayout

2007-02-23 Thread Volker Weber
Hi Madan, please see https://issues.apache.org/jira/browse/TOBAGO-295 hope it helps. Regards, Volker 2007/2/23, madan chowdary <[EMAIL PROTECTED]>: Hi All, I have a gridLayout in which i display some data in ordered manner. Based upon some conditions, i need to show data. I use rendered

Re: [Tobago] foreach and SelectOneChoice

2007-02-23 Thread Volker Weber
Hi Helmut, i think the id attributes makes the problem. Did you need to define them? Of cause you can also use the sheet for this. Regards, Volker 2007/2/23, H. Swaczinna <[EMAIL PROTECTED]>: Hi, I want to display a list of data rows. Each row has a tc:selectOneChoice with a different item

Re: Problems using

2007-02-27 Thread Volker Weber
Hi, is working? 2007/2/27, Laurentiu Trica <[EMAIL PROTECTED]>: Hi I have to use the aliasBean for my page and I get this error: Caused by: javax.faces.el.PropertyNotFoundException: /pages/test.xhtml @11,46 value="#{aliasB['text']}": Bean: java.lang.String, property: text at com.sun.fac

Re: rendered and disabled attributes not setting bean properties

2007-02-27 Thread Volker Weber
Hi, i think the problem is the direct controll to the nuevoPaciente property by the selectBooleanCheckbox, in combination with the component order in the uitree. every update is skipped if the rendered evaluates to false. if the nuevoPaciente property is updated by the selectBooleanCheckbox befo

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,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: 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] 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: [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 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] 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 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: [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: 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: [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: 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] 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: [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] 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: [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: : 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: : 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: [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: [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] 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] 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: 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: 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: 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: 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-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: 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] 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] 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] 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: 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

<    2   3   4   5   6   7   8   9   >