Re: [Tobago] How to display all records in one page in tc:sheet

2007-05-29 Thread Volker Weber
Hi Vinay, the default for rows is 100, to ensure all rows are rendered you can use a binding on rows: rows=#{empDetails.detailItemListSize} with public int getDetailItemListSize() { return detailItemList.size(); } Regards, Volker 2007/5/29, Vinay Konanki [EMAIL PROTECTED]: Hi All,

Re: [ Tobago ] get Sheet Object Referance when page submitted with actionListener

2007-05-31 Thread Volker Weber
Hi Madan, see this thread: http://www.nabble.com/-Tobago--using-value-from-tc%3Alink-on-server-tf3466446.html Regards, Volker 2007/5/31, Madan Narra [EMAIL PROTECTED]: Hi All, I have an Array which is set to render a sheet in the Tobago Page. I have a button which does a navigation.

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-01 Thread Volker Weber
Hi, the tobago-demo http://tobago.atanion.net/tobago-example-demo/faces/overview/tab.jsp already contains a sheet inside a tab. switch to Server side tabbing, Moons. this sheet is loaded by switchtype=reloadTab. BTW: i also have no IE available. Regards, Volker 2007/6/1, Bernd Bohmann

Re: inputFileUpload save state problem

2007-06-05 Thread Volker Weber
Hi, yes, it is intended to work like this. And if you want to implement it yourself, you need to implement a custom browser. The existing browsers (IE, firefox, opera, ...) dit not allow this. In HTML it is not possible to set an initial value, (nor set the value by javascript later) to a

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-06 Thread Volker Weber
: Who does the IE testing? - Original Message - From: Volker Weber [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Friday, June 01, 2007 7:42 PM Subject: Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE Hi, the tobago-demo http

Re: Tobago Table Scrolling

2007-06-08 Thread Volker Weber
Hi Carsten, you can use 'px' values in the rendered attribute. If the summ of the px values is greater than the component size you a horizontal scrollbar. Regards, Volker 2007/6/8, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi, how can I display a data table with horizontal scrolling in

Re: Tobago Table Scrolling

2007-06-08 Thread Volker Weber
- From: Volker Weber [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Friday, June 08, 2007 4:21 PM Subject: Re: Tobago Table Scrolling Hi Carsten, you can use 'px' values in the rendered attribute. If the summ of the px values is greater than the component size you

Re: Myfaces - application calling by link which include parameter

2007-06-08 Thread Volker Weber
Hi, http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls?highlight=%28NonfacesRequest%29#head-6c1aaf488d48f938896da962aaa4361ec3ffaf70 Regards, Volker 2007/6/8, MPF [EMAIL PROTECTED]: Hi! How can I realize that? My application get called with a link that contains a parameter

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-11 Thread Volker Weber
. (See explanation at the end of this mail). Regards Helmut - Original Message - From: Volker Weber [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Wednesday, June 06, 2007 12:21 PM Subject: Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE Hi

Re: [Tobago] onexit and target

2007-06-11 Thread Volker Weber
Hi Helmut, the onexit handler is called if you leave the app, with a target you are not leaving the app, but open an external window. In your original window you are still inside the app, without any changes. Regards, Volker 2007/6/11, Helmut Swaczinna [EMAIL PROTECTED]: Hi, did you

Re: [Tobago] Layout problems with tc:sheet in a tc:tab with IE

2007-06-11 Thread Volker Weber
as a workaround when I use fix pixel sizes for the columns or the enclosing layout? Regards Helmut - Original Message - From: Volker Weber [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Monday, June 11, 2007 12:11 PM Subject: Re: [Tobago] Layout problems

Re: Myfaces - application calling by link which include parameter

2007-06-11 Thread Volker Weber
Hi, to apply request parameter to managed bean the scope must be request afaik. Regards, Volker 2007/6/11, MPF [EMAIL PROTECTED]: Hi! Well I tried this (but its sound like easy and thats all I need), but the parameter value is always null! try to call with following url:

Re: [ Tobago ] Position problem with tc:date/

2007-06-12 Thread Volker Weber
Hi Madan, Please add a jira entry for opening the popup in the visible area. The datePicker popup is implemented using standard tobago popup, and the default is to open centered if no position is given, which is not the case (and not easy to realize) in the datePicker. Regards, Volker

Re: [Tobago] Default language

2007-06-12 Thread Volker Weber
Hi Carsten, how did you check what the default locale is? What is the result of facesContext.getApplication().getDefaultLocale() ? The parsing of the locale-config is part of the jsf implementation, not of tobago. I don't think you should repeat the default-locale at the supported-locales,

Re: [Tobago] ajax and navigation rules

2007-06-12 Thread Volker Weber
Hi David, yes, since 1.0.11. if the action method returns a outcome != null a full page reload is done. Regards, Volker 2007/6/12, David Steinkopff [EMAIL PROTECTED]: Hi, its possible to start a page change with navigationcase within a ajax request? regards David

Re: [Tobago] Database paging with Tobago

2007-06-12 Thread Volker Weber
Hi, it would be fine if we have an example showing sorting and paging in the database. Regards, Volker 2007/6/12, Bernd Bohmann [EMAIL PROTECTED]: Hello, maybe this helps: http://wiki.apache.org/myfaces/WorkingWithLargeTables if this doesn't help I can try to setup a working with

Re: [Tobago] Database paging with Tobago

2007-06-13 Thread Volker Weber
Hi David, possible values in sheet are the same as in plain jsf: java.lang.Object[], java.util.List, javax.faces.model.DataModel, java.sql.ResultSet resultSet, javax.servlet.jsp.jstl.sql.Result and java.lang.Object. DataModel is the best choice for implement paging and sorting. Regards,

Re: [Tobago] Multiple defaultCommands in the same Tobago Page

2007-06-14 Thread Volker Weber
Hi Madan, it is not possible to have mor than one defaultCommand. Can you use a 'change' facet? I think we need a 'enter' (and 'escape' ...) facet. Currently the only solution is to add a command facet and add a eventlistener to the input by javascript to invoke the command on keyup=13 event

Re: [Tobago] Multiple defaultCommands in the same Tobago Page

2007-06-14 Thread Volker Weber
) { // IE event = window.event; } var keyCode; if (event.which) { keyCode = event.which; } else { keyCode = event.keyCode; } if (keyCode == 13) { Tobago.submitAction(Tobago.element(event).actionId); } } 2007/6/14, Volker Weber [EMAIL PROTECTED]: Hi Madan

Re: [Tobago] Multiple defaultCommands in the same Tobago Page

2007-06-14 Thread Volker Weber
Which version of tobago? Or what is in line 1199 in tobago.js? This solution is not compatible with input suggest, because there is already a keyup handler. for the inputs in the sheet this could work, just the setup is more complicated. omit the page: in the init fuction call, but add the

Re: [Tobago] Multiple defaultCommands in the same Tobago Page

2007-06-15 Thread Volker Weber
in the tree. Will the solution provided by you earlier be working ? I will try and see if there are any other issues occured and know u back... Thnx Regards, Madan N On 6/14/07, Volker Weber [EMAIL PROTECTED] wrote: Which version of tobago? Or what is in line 1199 in tobago.js

Re: [Tobago] Multiple defaultCommands in the same Tobago Page

2007-06-15 Thread Volker Weber
Hi, 2007/6/15, Madan Narra [EMAIL PROTECTED]: Hi Volker, The change facet for tc:in/ with renderedPartially set to the command has to call a feature via Ajax and display its result to the User in the same sheet.This Ajax request does not invoke any methods that interact with DB The

Re: Base is null error

2007-06-18 Thread Volker Weber
Hi Sandip, 2007/6/18, Sandip Patil [EMAIL PROTECTED]: Hi All, I am facing very strange problem.One time my application running fine and another time(when I try to create another project with another name) its giving me following error. javax.servlet.ServletException: Base is null: loginFormBean

Re: Messages not displaying

2007-06-18 Thread Volker Weber
Hi, any redirect in navigation rules? Regards, Volker 2007/6/18, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi, I got an application where I populate my managed beans in their constructors. When data loading fails I add a message in the FacesContext and subsequently display it in the the page

Re: [tobago] how can I have a list of radio boxes in a sheet (one in each line) and belonging to the same group

2007-06-19 Thread Volker Weber
Hi Zied, yes reload the sheet with ajax is possible, and easy, in tobago. but not with the tc:columnSelector tag. if you use a serverSideController with a tc:selectBooleanCheckbox in each row you can do it like: tc:page id=page ... tc:sheet id=phones columns=50px;15*;18px;18px value=

Re: [tobago] javax.faces.el.PropertyNotFoundException: Base is null:

2007-06-19 Thread Volker Weber
Hi, javax.faces.el.PropertyNotFoundException: Base is null: adress is 'adress' a managed bean from faces-config.xml? Another frequent reason fot this problem is using RI and myfaces implementations together in the same app. What did you mean by 'when I call a url'? Click on a button/link in

Re: [tobago] javax.faces.el.PropertyNotFoundException: Base is null:

2007-06-19 Thread Volker Weber
Hi Zied, adress is infact a declared managed bean in faces config (at a moment I thougth there is a conflict with a request attribute with the same name, but the code is now working so the problem isn't there). This could be the problem. If the value of the request attribute is null this may

Re: [tobago] how can I have a list of radio boxes in a sheet (one in each line) and belonging to the same group

2007-06-19 Thread Volker Weber
. Maybe the problem could be simpler if I knew if it is possible to get the absolute path of a given component :-/. Best reagards, Zied 2007/6/19, Zied Hamdi [EMAIL PROTECTED]: Hi Volker, Thanks for your answer, I will try this immediately :-). Best Regards, Zied 2007/6/19, Volker Weber

Re: [tobago] the action of a popup button is not executed

2007-06-19 Thread Volker Weber
Hi Zied, you may have found a bug in tobago. Can you try the same without the defaultCommand=true? Maybe defaultCommand and tc:attribute did not work well together. Regards, Volker 2007/6/19, Zied Hamdi [EMAIL PROTECTED]: Hi, I have a problem that's really frustrating me: I have a

Re: [Tobago] ajax and navigation rules

2007-06-19 Thread Volker Weber
/ /tc:button 2007/6/12, Volker Weber [EMAIL PROTECTED]: Hi David, yes, since 1.0.11. if the action method returns a outcome != null a full page reload is done. Regards, Volker 2007/6/12, David Steinkopff [EMAIL PROTECTED]: Hi, its possible to start

Re: [tobago] the action of a popup button is not executed

2007-06-19 Thread Volker Weber
Hi again, just add the DebugPhaseListener and set log level to trace :-) and set loglevel of UIPage to trace to get the UIComponent tree logged. Regards, Volker Note: for persons who are interested in getting this simple but useful class I join it it is always better than calling

Re: [Tobago] onexit and target

2007-06-20 Thread Volker Weber
is set. This is corrent. But when you examine this flag when the window is closed after the child window was closed it is set to true what's not correct. So I don't know where exactly the problem is. Regards Helmut - Original Message - From: Volker Weber [EMAIL PROTECTED] To: MyFaces

Re: [Tobago] NullPointerException

2007-06-20 Thread Volker Weber
Hi David, can you explain the problem? Maybe we can add a better error message. Regards, Volker 2007/6/20, David Steinkopff [EMAIL PROTECTED]: Hello, problem found in a invalid value of style in tc:style regards David 2007/6/20, David Steinkopff [EMAIL PROTECTED] : Hi I get a

Re: [Tobago] How does tc:gridLayout fix the overall page size?

2007-06-20 Thread Volker Weber
Hi Zied, you need at least specify the width and height in the page tag. You can additionally add a implementation of PageState as state. With this tobago can calculate the correct browser size. see the addressbook example:

Re: Setting ViewRoot of FacesContext reloads the page _twice_

2007-06-20 Thread Volker Weber
Hi, i think you should not use a PhaseListener, but a servlet. see: http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls#head-6c1aaf488d48f938896da962aaa4361ec3ffaf70 Regards, Volker 2007/6/20, Matthes R. [EMAIL PROTECTED]: Hi all, i've got a problem with my self-written

Re: [tobago] menu is displayed under the popup layer (and isn't clickable)

2007-06-21 Thread Volker Weber
Hi Zied, this is a known bug: https://issues.apache.org/jira/browse/TOBAGO-134 Regards, Volker 2007/6/21, Zied Hamdi [EMAIL PROTECTED]: Hi there, I have a problem with the menu, it doesn't display in the layer of the popup, but under it (see picture). Any suggestions? Regards, Zied

Re: Setting ViewRoot of FacesContext reloads the page _twice_

2007-06-22 Thread Volker Weber
hoping for a help on this one! thanks regards, Matthes 2007/6/20, Volker Weber [EMAIL PROTECTED]: Hi, i think you should not use a PhaseListener, but a servlet. see: http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls#head-6c1aaf488d48f938896da962aaa4361ec3ffaf70 Regards

Re: [tobago] integrating Tomahawk Shedule componenent in Tobago

2007-07-17 Thread Volker Weber
Hi Zied, with the latest shnapshot you should be able to use tomahawk tags inside tobago. There is an example with the tomahawk Shedule in the sandbox examples: example/sandbox/src/main/webapp/tomahawk.jsp Regards, Volker 2007/7/17, Zied Hamdi [EMAIL PROTECTED]: Hi Again, I've

Re: [Tobago] when tc:in has no value user should be altered, When pressed enter form should be submitted.

2007-07-22 Thread Volker Weber
Hi Ramarao, what you want is currently not possible in plain tobago. You need additional javascript to archive this. Try the following code: tc:cell tc:script onload=initInput('page:search') initInput = function(id) { var input = Tobago.element(id);

Re: [Trinidad] How to check if file exists using InputFile compon ent?

2007-07-26 Thread Volker Weber
getFilename() which returns name given by user. It still doesn't check if file exists, so it is not a name of real file. So the problem still isn't solved. -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: Thursday, July 26, 2007 11:40 AM To: MyFaces Discussion Subject

Re: [Trinidad] How to check if file exists using InputFile compon ent?

2007-07-26 Thread Volker Weber
Hi Piotr, i don't know the tomahawk InputFile component, but maybe you can check the uploaded filename? In tobago we check the filename to determine if a file was uploaded: if (file == null || file.getName().length() == 0) { addErrorMessage(facesContext); setValid(false);

Re: tc:in and autocomplete=off

2007-07-27 Thread Volker Weber
Hi Michał, if you add the suggestMethod attribute you get autocomplete=off as sideeffect. You can just return an empty list to aviod the selections. Regards, Volker 2007/7/27, Michał 'Gandalf' Stawicki [EMAIL PROTECTED]: Is there a way to set autocomplete=off attribute for input field

Re: [Trinidad] How to check if file exists using InputFile compon ent?

2007-07-27 Thread Volker Weber
a method to check it. So I can even get InputStream from UploadFile object with length = 0. There is no way to differ an empty file from not existing file. So I wonder if it is a bug. -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: Thursday, July 26, 2007 12:51 PM

Re: JSF localization

2007-07-31 Thread Volker Weber
Hi, you should point the locale attribute of f:view to a bean property which is changed by the flag actions. The tobago-demo [1] has an example in the config menu, sources are avaliable in the svn[2]. [1]: http://tobago.atanion.net/tobago-example-demo [2]:

Re: [Tobago] parameter for detail links

2007-08-01 Thread Volker Weber
Hi Leonhard, you need the value of the parameter in your action? Implement your actionListener like this: public void test(ActionEvent event) { String value = (String)ComponentUtil.findParameter(event.getComponent(), tableNameId); ... } Regards, Volker 2007/8/1, Leonhard

Re: [Tobago] parameter for detail links

2007-08-01 Thread Volker Weber
Hi, i suppose to don't use binding if you can avoid it. At least you should never use a binding pointing to a session scoped bean. Regards, Volker 2007/8/1, Zied Hamdi [EMAIL PROTECTED]: Hi Leo, You sould use one of these two 1. tc:sheet binding=tableSearchCriteria.table 2.

Re: Date Display issue

2007-08-07 Thread Volker Weber
Hi, see this link: http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html Regards, Volker 2007/8/7, Ganesh Surisetty [EMAIL PROTECTED]: Hi, i need to display a date from the data base, i am printing on a jsp with h:outputText , it is displaying wrong date,

Re: Readonly + Validator

2007-08-16 Thread Volker Weber
Hi, is the value of getTipFeriado() truely 21 BEFORE rendering the page? Which scope is the bean? Regards, Volker 2007/8/15, daniel ccss [EMAIL PROTECTED]: On a readonly component the model value will not change! I know, I try to explain my point better with an image, as you can see

Re: Readonly + Validator

2007-08-16 Thread Volker Weber
disabled= disabled option value =21RELIGIOSO/option option value=1DEL ESTADO/option option value=2POR VACACIONES/option option value=3PATRONALES/option option value= 15POR DESATRES NATURALES/option option value=62 BE/option/select On 8/16/07, Volker Weber [EMAIL PROTECTED

Re: Readonly + Validator

2007-08-16 Thread Volker Weber
()); } On 8/16/07, Volker Weber [EMAIL PROTECTED] wrote: Which value has getTipFeriado() BEFORE rendering the html to the Browser? Why did you expect this is changed to the value displayed in the Browser? 2007/8/16, daniel ccss [EMAIL PROTECTED]: The scope is session, If i see the page

Re: Readonly + Validator

2007-08-19 Thread Volker Weber
I can't reproduce this behavior. Can you please provide a small example showing this problem? Regards, Volker 2007/8/16, daniel ccss [EMAIL PROTECTED]: I think is a bug, is the only value that becomes 0 when a readonly property is set to true On 8/16/07, Volker Weber [EMAIL

Re: [Tobago] Layout problem with 1.0.12

2007-08-19 Thread Volker Weber
Hi Helmut, Must I specify for every not rendered tag in a gridLayout a layout token for row and column? yes, but in case of just one token (columns=*) you can omit it. I reduced your example to just the box content (only one button), and the problem still exists, even without the popup.

Re: [Tobago] Layout problem with 1.0.12

2007-08-19 Thread Volker Weber
Hi, i just added the jira entry: http://issues.apache.org/jira/browse/TOBAGO-473. I fixed this locally, but svn seems to be down, i can't connect to commit. I try it later. Regards, Volker 2007/8/19, Volker Weber [EMAIL PROTECTED]: Hi Helmut, Must I specify for every not rendered

Re: Russian characters of a filename in the dialogue to open or to save the file, turn to hieroglyphs. (tomcat apache Myfaces)

2007-08-27 Thread Volker Weber
Hi, to get the correct encoded filename i do this: String encoding = request.getCharacterEncoding(); if (encoding == null) { encoding = UTF-8; } String fileName = new String(attachment.getName().getBytes(), encoding); Regards, Volker 2007/8/25, Владимир

Re: TObago

2007-08-29 Thread Volker Weber
Hi Yazid, which version of tobago? this is UIPopup in trunk: 69 70 public boolean isRendered() { 71 ValueBinding valueBinding = getValueBinding(rendered); 72 if (valueBinding!= null) { 73 return (Boolean) valueBinding.getValue(getFacesContext()); 74 } else { 75

Re: TObago

2007-08-29 Thread Volker Weber
Can you ensure that getDeleteRuleMessage() never returns null? Only in this case the NPE can happen. 2007/8/29, yazid [EMAIL PROTECTED]: Hi Volker; Two of the popup have rendered=true and the third have rendered=#{ruleBrowserUI.deleteRuleMessage!=''}; this method is a getter of a String

Re: Tobago refresh

2007-08-29 Thread Volker Weber
Hi, you can use partial rendering e.g.: tc:box id=contentBox ... ... tc:button ... tc:attribute name=renderedPartially value=contentBox/ /tc:button /tc:box in this case only the box is updated on button click. note: you may need to use absolute id in renderedPartially value, if the

Re: Tobago refresh

2007-08-29 Thread Volker Weber
the attribute to container box id; but I've an error in page when I click and nothing happens Cheers Volker Weber-5 wrote: Hi, you can use partial rendering e.g.: tc:box id=contentBox ... ... tc:button ... tc:attribute name=renderedPartially value=contentBox

Re: compareToValidator promotion

2007-08-30 Thread Volker Weber
Hi, can we move this one and some others to the long discussed myfaces-jsf-commons (or how it should be named) subproject? If there is nothing tomahawk related in this validator i like to use it without tomahawk.jar in the classpath. Regards, Volker 2007/8/30, Mike Kienenberger [EMAIL

Re: [Tobago] EmptyStackException in datepicker

2007-09-04 Thread Volker Weber
Hi, seems this is not only the datePicker, I just got a EmptyStackException in a page without datePicker. java.util.EmptyStackException at java.util.Stack.peek(Stack.java:79) at java.util.Stack.pop(Stack.java:61) at

Re: [Tobago] EmptyStackException in datepicker

2007-09-04 Thread Volker Weber
Hi Helmut, there was a Problem in the ButtonRenderer introduced with the changes for tabindex. Please try next nightly or build you own from svn head. Regards, Volker 2007/9/4, Volker Weber [EMAIL PROTECTED]: Hi, seems this is not only the datePicker, I just got a EmptyStackException

Re: [Tobago] EmptyStackException in datepicker

2007-09-04 Thread Volker Weber
=renderedPartially value=:mainPage:tabsView:meineAufgabenView:meineAufgabenSheet:ablaufdatumPopup/ /tc:link /tc:column ... /tc:sheet Regards, Helmut - Original Message - From: Volker Weber [EMAIL PROTECTED] To: MyFaces Discussion users

Re: [tobago] error not verbose enough

2007-09-05 Thread Volker Weber
Hi Zied, the lines like ...TobagoResponseWriterImpl.endElement(235) - Element end with name='html' doesn't match with ... looks like related to a bug i fixed yesterday. Are there any lines like ...ButtonRenderer.encodeBegin(55) - Wrong type: Need

Re: [tobago] assertion failure

2007-09-05 Thread Volker Weber
Hi Zied, did you have the output of this statement in the log LOG.debug(actionId = ' + currentActionId + '); just before the exception? you may need to set debug-level to debug for UIPage. please post the actionId. Regards, Volker 2007/9/5, Zied Hamdi [EMAIL PROTECTED]: Hi, I

ajax and mod_compress

2007-09-06 Thread Volker Weber
Hi all, we having problems with ajax requests when mod_compress is enabeld in the apache. Looks like XMLHttpRequest sends Accept-Encoding: gzip,compress but did not decode the compressed response. The problem exists in IE and FF. Is this a known problem? Maybe we did anything wrong in

Re: [tobago] popup facelets : Found component is no ajaxComponent

2007-09-06 Thread Volker Weber
Hi Zied, org.apache.myfaces.custom.ajax.api.AjaxDecodePhaseListener this class should not involved in tobago requests. Did you mix tomahawk with tobago? Is this PhaseListener is registered by the tomahawk.jar or by your faces-config.xml? Regards, Volker 2007/9/6, Zied Hamdi [EMAIL

Re: [tobago] popup facelets : Found component is no ajaxComponent

2007-09-06 Thread Volker Weber
-scarborough-1.0.12-SNAPSHOT.jar tobago-theme-speyside-1.0.12-SNAPSHOT.jar tobago-theme-standard-1.0.12-SNAPSHOT.jar tomahawk-1.1.7-SNAPSHOT.jar tomahawk-sandbox-1.1.7-SNAPSHOT.jar If I can give any other details, please let me know... Thanks, Zied 2007/9/6, Volker Weber [EMAIL PROTECTED

Re: [tobago] facelets tc:sheet seems to put java.util.Set into its var attribute

2007-09-11 Thread Volker Weber
Hi Zied, tc:sheet is a extension of h:datatable and supports the same values. AFAIK Set is not supported as Collection because there is no defined order to work on. But Set is supported as Object: http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api/javax/faces/model/ScalarDataModel.html

Re: ajax and mod_compress

2007-09-11 Thread Volker Weber
Hi, anyone who used successfully mod_deflate on ajax requests? Regards, Volker 2007/9/6, Volker Weber [EMAIL PROTECTED]: Hi all, we having problems with ajax requests when mod_compress is enabeld in the apache. Looks like XMLHttpRequest sends Accept-Encoding: gzip,compress but did

Re: include rendered JSF output in JSP page

2007-09-13 Thread Volker Weber
Hi Alexander, not sure if this is possible in a phaseListerner, i think it sould be, but you may look at this thread for a possilbel solution: http://www.nabble.com/Change-visibility-dinamically-tf3299810.html#a9202172 Regards, Volker 2007/9/13, Alexander Lendl [EMAIL PROTECTED]: Hi,

Re: include rendered JSF output in JSP page

2007-09-13 Thread Volker Weber
functionality happens in a PhaseListener (could also be in a servlet, servlet filter, custom jsp tag, ...). All I need is to get the rendered html output of a jsf view and prevent faces from forwarding to the corresponding page (because the output should only be included in a template jsp). Volker

Re: Download File

2007-09-13 Thread Volker Weber
http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_fileDownloadActionListener.html Regards, Volker 2007/9/13, Wolfgang [EMAIL PROTECTED]: Which Trinidad component should that be?? Can I also use the upload file component for downloading? Trinidad has an actionlistener for that.

Re: include rendered JSF output in JSP page

2007-09-13 Thread Volker Weber
which includes the desired content in a char array, but I can't access the JspWriterImpl. TIA Volker Weber-5 wrote: Hi, to get the rendered html you can, as described in the thread, replace the responsewriter before rendering. Than you can get the writers content after

Re: [TOBAGO] Custom Theme - StringIndexOutOfBoundsException

2007-09-14 Thread Volker Weber
Hi, you do not need a jar, but than you must create a tobago-resource directory in your webapps dir and configure this directory in the tobago-config.xml. eg.: create a directory tobago-app in your webapps directory and put this line resource-dirtobago-app/resource-dir in your

Re: [tobago] layout of tc:selectManyCheckbox

2007-09-14 Thread Volker Weber
Hi Zied, for this purpose you can use the attribute renderRange and the tag tc:selectReference: tc:panel f:facet name =layout tc:gridLayout columns =*;* / / f:facet tc:selectManyCheckbox id=checkboxes value= renderRange=0-5 tc:selectItems ... / /tc:selectManyCheckbox

Re: [tobago] layout of tc:selectManyCheckbox

2007-09-14 Thread Volker Weber
Sorry typo: tc:renderRange for=checkboxes renderrange=6-11/ should be tc:selectReference for=checkboxes renderRange=6-11/ Regards, Volker 2007/9/14, Volker Weber [EMAIL PROTECTED]: Hi Zied, for this purpose you can use the attribute renderRange and the tag tc:selectReference

Re: Custom UIViewRoot

2007-09-15 Thread Volker Weber
Hi, Did you use RI or myfaces? RI 1.1 did not support replacing the UIViewRoot component. Than you need to replace the ViewHandler like we did in tobago. Regards, Volker 2007/9/15, Manfred K. [EMAIL PROTECTED]: Hi all, I implemented a custom UIViewRoot because I need to override the

Re: SelectItem's constructor's value parameter and selectOneListBox

2007-09-17 Thread Volker Weber
Hi, every Object exept String needs a converter from and to String. Standard Converters (Number/Date) are included in the lib, but for custom classes you must provide a converter. Regards, Volker 2007/9/17, Evgeniy Karimov [EMAIL PROTECTED]: Hi, I have some problem: Say I have

Re: Re[2]: SelectItem's constructor's value parameter and selectOneListBox

2007-09-17 Thread Volker Weber
Your object must converted into a representation which is a legal value for a html option tag. e.g.: option value=convertedValuelabel/option and convertedValue must convertable back to your Object if selected and send back to the server. Regards, Volker 2007/9/17, Evgeniy Karimov [EMAIL

Re: Input ValueChangeListener

2007-09-18 Thread Volker Weber
Hi Mario, the listener should invoked if you change the value AND submit the page. If you want the page to be auto submitted on valueChange you must add a change facet to the input: tc:in value=#{controller.someValue} id=in valueChangeListener=#{controller.processValueChange} f:facet

Re: tx:date Popup is too small

2007-09-20 Thread Volker Weber
Hi Zied, is this the Richmond or a custom theme? Looks like the font-size of the Month is to big which is not the case in the online demo. I you have a custom theme with a bigger font-size than default you need to addjust the Tobago.CalendarPopupWidth property in your custom

Re: FacesMessage in Tobago

2007-09-20 Thread Volker Weber
Hi Mario, where are your resources stored? If in the tobago resource lookup path you can use the org.apache.myfaces.tobago.context.ResourceManagerUtil.getProperty( FacesContext facesContext, String bundle, String key) method. eg: ResourceManagerUtil.getProperty(facesContext, resource,

Re: tx:date Popup is too small

2007-09-20 Thread Volker Weber
the pattern to pattern =HH:mm ), is it because a java.util.Date object contains more data than what the window uses, if it's the case, I'd say it doesn't matter for me to use only a part of an object fields. Thanks, Zied 2007/9/20, Volker Weber [EMAIL PROTECTED]: Hi Zied

Re: tx:date Popup is too small

2007-09-20 Thread Volker Weber
http://myfaces.apache.org/tobago/tobago-core/tlddoc/tx/time.html 2007/9/20, Zied Hamdi [EMAIL PROTECTED]: :-)) Ok I'm stupid!! I was searching for it in the tx... Thanks :-) 2007/9/20, Volker Weber [EMAIL PROTECTED]: Hi, tc:time ? http://myfaces.apache.org/tobago/tobago-core/tlddoc

Re: How to write a link in a popup (which doesn't close the popup on click)

2007-09-24 Thread Volker Weber
Hi Zied, a command without tc:attribute name=popupClose .../ should not close the popup, and if you add a tc:attribute name=rendredPartially value=[id inside popup]/ there should be no full request at all. Using rendredPartially with popupId should completly rerender the popup, so (i think, but

Re: [tobago] popup doesn't support tab groups?

2007-09-24 Thread Volker Weber
Hi Zied, i just checked this out, and i found no problem when using switchType=client or reloadTab but reloadPage closes the popup.When reopen the popup the selected tab is shown. Looks like the tabSwitch request is not recognized as inner popup action. I added a jira issue:

Re: [tobago] popup doesn't support tab groups?

2007-09-25 Thread Volker Weber
Hi Zied, the tobago_selectTab is a javascript function which is defined in tab.js. I think you run into the same problem as i two weeks ago, when changing a old (non ajax) app to use ajax reload of a sheet. You must add ajax-enabledtrue/ajax-enabled to your tobago-config.xml the default is

Re: OT: Unsubscribe

2007-09-25 Thread Volker Weber
Hi, this information is included in every mail on this list. take a look into the mail headers: List-Help: mailto:[EMAIL PROTECTED] List-Unsubscribe: mailto:[EMAIL PROTECTED] List-Post: mailto:users@myfaces.apache.org List-Id: users.myfaces.apache.org Regards, Volker 2007/9/25, Michal

Re: [jira] Commented: (MYFACES-1714) submitted (or local) values are not erasable after conversion or validation error

2007-09-25 Thread Volker Weber
Hi, just to put my 2¢ here and to show the advantages of tobago ;-) In tobago the ajax requests are full integrated into the lifecycle. We did this by taking and extending a copy of the Lifecycle impl from myfaces. All phases are execuded as on normal requests execpt the process* methods are not

Re: General JSF Question regarding duplicate component ID

2007-09-26 Thread Volker Weber
Hi, you MUST assign a unique id to all components created by your application code, e.g.: all componets which are not created by the framework via jsf tags. And (according to my experience) you should not use createUniqueId() of UIViewRoot. Regards, Volker 2007/9/25, CD [EMAIL

Re: JSF perf test with JMeter, possible?

2007-09-26 Thread Volker Weber
Hi Bryan, yes it is possible, i'm currently doing this with a tobago app. My app uses server-side state saving, i think this ViewState Extractor from the wiki is for client-side state saving, so i have two different extractors: RegexExtractor guiclass=RegexExtractorGui

Re: [tobago] JSTL problem

2007-09-26 Thread Volker Weber
Hi Zied, i have no experience with facelets, but afaik jstl is a jsp taglib and not facelets compatible. i never tested tobago with 1.2 maybe bernd knows more. Regards, Volker 2007/9/26, Zied Hamdi [EMAIL PROTECTED]: Hi again, Sorry for spamming, I forgot to say it's possible to do

Re: [core] display label from resource bundle in validation message

2007-09-28 Thread Volker Weber
Hi Thomas, f:loadBundle stores the bundle in request-scope, you can use the loadBundle from sandbox as replacement: http://myfaces.apache.org/sandbox/apidocs/org/apache/myfaces/custom/loadbundle/LoadBundleTag.html Regards, Volker 2007/9/28, Thomas Fischer [EMAIL PROTECTED]: Hi all,

Re: [Tobago] - Looking for usage examples for progress bar

2006-12-19 Thread Volker Weber
t:panel f:facet name=reload t:reload frequency=5000 / /f:facet t:out id=deleteProgress binding=#{statistics.displayProgressBar}/ /t:panel /t:cell -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: Monday

Re: Display tobago selectable tree

2006-12-20 Thread Volker Weber
Hi, just add all nodes which should displayed as selected to the selected set in the treeState: selectedTrees.getSelection().add(node); Regards, Volker 2006/12/8, Wong, Emmanuel (Sam) [EMAIL PROTECTED]: Hi: Is there a way you could able to display back what you have saved in the

Re: Display tobago selectable tree

2006-12-20 Thread Volker Weber
(); if (!empty) { _categoriesSelection.addAll(selection); } return _selectedCategories; } -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 7:52 AM To: MyFaces Discussion

Re: [Tobago] - Looking for usage examples for progress bar

2006-12-21 Thread Volker Weber
called with a String value to incrementally update it's text (text version of a progress bar). John -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 10:37 PM To: MyFaces Discussion Subject: Re: [Tobago] - Looking for usage examples for progress

Re: [Tobago] Problem with DateTimeConverter

2006-12-21 Thread Volker Weber
Hi Helmut, this is exact the expectet behavior. The jsf spec says the default timezone for converter is GMT, a date.toString() uses the systemDefault timezone, this makes the difference. see this thread for more: http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html Regards,

Re: Attribute for

2006-12-21 Thread Volker Weber
Hi, are using jsp (if am not wrong, in jsp, during first rendering, the parsing of jsp and rendering of component is done at the same time, that mean you render your label when inputtext does not yet exist, thought i thats exact the problem. in jsf 1.2 the component tree is created and

Re: rendered question - command link works then does not

2006-12-22 Thread Volker Weber
Are you sure there is no validation/conversion error? This is the most frequently reason fo not invoking actions. add a h:messages tag to you page ensure this. Regards, Volker 2006/12/22, support [EMAIL PROTECTED]: I have a command link that is only rendered if a property is set in the

  1   2   3   4   5   6   7   8   9   >