Re: [ Tobago ] Disable popup rendering based upon condition

2007-03-17 Thread Bernd Bohmann
Hello Madan, this works only if the rendered attribute points to a value binding. Regards Bernd madan chowdary wrote: Hi All, I have a popup to be displayed based upon a condition if it returns true. I placed the popup code as such in tc:button/ tc:button label=#{bundle.buy}

Re: [Tobago] Doubleclick and rightclick?

2007-03-17 Thread Bernd Bohmann
Hello Helmut, can you describe a use case, please. Regards Bernd H. Swaczinna wrote: Hello, that's only a question. Is there any chance to react on mouse doubleclicks or rightclicks with Tobago, for example to popup a popup or a menu? My boss asked me... Regards Helmut

Re: [ Tobago ] Disable popup rendering based upon condition

2007-03-17 Thread Bernd Bohmann
For example: tc:popup width=200 height=200 id=popupConfirm rendered=#{dropshipCheckout.showConfirmation} madan chowdary wrote: Hello Bernd, Can u give an example, as i haven't worked on value binding till now.. Madan - Original Message From: Bernd Bohmann [EMAIL PROTECTED] To:

Re: Fwd: [Tobago] How to export data to excel sheet in Tobago

2007-03-17 Thread Bernd Bohmann
You can add a component binding tc:sheet binding=#{controller.table} ... table is a UIData instance Vinay Konanki wrote: Hi Bernd, Thanks for your reply. How can i pass the UIData from jsp to controller as writeWorkBook() requires UIData object as parameter, I added ActionListner method to

Re: [ Tobago ] Disable popup rendering based upon condition

2007-03-17 Thread madan chowdary
Hi Bernd, I replaced rendered=false/true with rendered=#{dropshipCheckout.showPopup} But if i place this in tc:popup/, as soon the page loads, the popup is displayed on the screen showPopup=true in the managed bean. tc:button label=#{bundle.buy} action=#{dropshipCheckout.buyAction}

Re: [ Tobago ] Disable popup rendering based upon condition

2007-03-17 Thread Bernd Bohmann
If you set the value of showPopup to true the popup is displayed with the next request. Please start with showPopup false and set showPopup depending on your condition. madan chowdary wrote: Hi Bernd, I replaced rendered=false/true with rendered=#{dropshipCheckout.showPopup} But if i place

[Tobago]Urgent ; need for attribute Matrix

2007-03-17 Thread yazid
Hi all; Can anyone tell how to find the Tobago 1.0.10 attribute matrix I realy need for this matrix and don't found it in the tobago tag site Thanks -- View this message in context: http://www.nabble.com/-Tobago-Urgent---need-for-attribute-Matrix-tf3418866.html#a9528677 Sent from the MyFaces

Fwd: transformation of tld for JSF Components Archetype doesnt do

2007-03-17 Thread Bruno Aranda
Please, send the messages to the user list and not to the authors directly, as you have far more chances on getting an answer, Thanks, Bruno -- Forwarded message -- From: Torsten Schmeißel [EMAIL PROTECTED] Date: 15-Mar-2007 15:33 Subject: transformation of tld for JSF

FacesContext.addMessage in an action method

2007-03-17 Thread SOSELLA
I have seemingly tried everything. I put forceId on the t:inputText (which sets the id properly); I tried a validator and calling addMessage() from within the validator method, which although it is bulky it did work and the error message appeared; page-level validation works (an error message

Ajax4jsf w.r.t. FacesContext.addMessage in an action method

2007-03-17 Thread SOSELLA
Just thought of something...I am using Ajax4jsf. Could the Ajax4jsf filter be messing things up?

Re: Ajax4jsf w.r.t. FacesContext.addMessage in an action method

2007-03-17 Thread Adrian Mitev
What is your question? 2007/3/17, [EMAIL PROTECTED] [EMAIL PROTECTED]: Just thought of something...I am using Ajax4jsf. Could the Ajax4jsf filter be messing things up?

Re: FacesContext.addMessage in an action method

2007-03-17 Thread Simon Lessard
Hello, What id are you using exactly? To add a message to FacesContext you have to use clientId, not the base id, so the message addition should be done this way: public String myAction() { FacesMessage message = new FacesMessage(My message); FacesContext context =

Re: FacesContext.addMessage in an action method

2007-03-17 Thread Mike Kienenberger
Note that you'd need something like this as well input binding=#{bean.myComponent} ... transient private UIInput myComponent; public UIInput getMyComponent() { return this.myComponent; } public void setMyComponent(UIInput myComponent) { this.myComponent = myComponent; } On 3/17/07, Simon

Re: [Tobago]Urgent ; need for attribute Matrix

2007-03-17 Thread Volker Weber
Hello Yazid, I don't know what you mean by 'attribute matrix'. Bernd already points you to the tld doc. Regards, Volker 2007/3/17, yazid [EMAIL PROTECTED]: Hi all; Can anyone tell how to find the Tobago 1.0.10 attribute matrix I realy need for this matrix and don't found it in the tobago

[Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Michał 'Gandalf' Stawicki
Hello, When I try to upload too large file, I simply get an exception. Am I missing something? I would like to stay on the same page / get some validation error. On my JSP I have: tc:file value=#{clientManagedBean.newOrderControler.attachmentsController.fileItem} tip=Wprowadź nazwe pliku

Re: [Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Bernd Bohmann
Hello Michael, how do you configure fileupload in tobago? I assume the Filter. The prefered option is tobago-fileupload.jar. This jar generates the error messages inside the faces lifecycle. The filter throws an exception outside the faces lifecycle. Both filter or jar have a hard limit (See

Re: display pictures in a limited space

2007-03-17 Thread Mike Kienenberger
The fisheye component in the sandbox looks kinda like that, although it's not the same. Maybe you could get ideas from it, though. On 3/17/07, Dave [EMAIL PROTECTED] wrote: On a JSF page, there is a space( 300x100) to display 3 pictures of 100x100. For more than 3 pictures, for example,

Re: [Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Michał 'Gandalf' Stawicki
Hello Bernd, I was using filter, now I have switched to tobago-fileupload.jar as you suggested. Now in my logs I'm getting: javax.faces.FacesException: org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (258792409) exceeds the

Re: [Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Michał 'Gandalf' Stawicki
No, and from your qustion I presume it should be? I thought that the file control would justf turn red, as with other controls. regards, michael On 17/03/07, Bernd Bohmann [EMAIL PROTECTED] wrote: Hello Michael, is a tc:messages tag on your page or popup? Regards Bernd Michał 'Gandalf'

Re: [Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Bernd Bohmann
Hello Michael, is a tc:messages tag on your page or popup? Regards Bernd Michał 'Gandalf' Stawicki wrote: Hello Bernd, I was using filter, now I have switched to tobago-fileupload.jar as you suggested. Now in my logs I'm getting: javax.faces.FacesException:

[ Tobago ] help regarding binding attribute.

2007-03-17 Thread madan chowdary
Hi All, I haven't used 'binding' attribute in the tags till now. I need to bind a tc:out/ in the backing bean. Can anyone send me an simple example which binds to a tc:out/ and a simple explanation on how to use binding. I need to set the value in that method and display that on the screen

Re: display pictures in a limited space

2007-03-17 Thread Jörn Zaefferer
Not (yet) a JSF component, but once you have the necessary HTML markup, it should be just what you are looking for: http://sorgalla.com/jcarousel/ On 3/17/07, Mike Kienenberger [EMAIL PROTECTED] wrote: The fisheye component in the sandbox looks kinda like that, although it's not the same.

Re: [Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Michał 'Gandalf' Stawicki
I have added tc:messages, I have set the hard limit to 10m, inside tc:file tag I have tc:validateFileItem maxSize=5242880 / (5MB) but I am still getting exception: 2007-03-17 19:53:01 org.apache.myfaces.tobago.fileupload.FileUploadFacesContextFactoryImpl getFacesContext SEVERE:

Re: [Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Volker Weber
Hi Michał, try setting the limit to -1, this may help. tobago uses commons-fileupload and the max size is the maximum allowed size of the request. if a request exeeds this threshold the complete processing is interupted by this library. -1 sets this to unlimited. Regards, Volker 2007/3/17,

Re: [Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Michał 'Gandalf' Stawicki
Hi Volker, now it works ok. The only drawback is that user has to wait for the file to upload to get error message telling him that it was too big, but I guess there's no helping it. Thanks for help, michael On 17/03/07, Volker Weber [EMAIL PROTECTED] wrote: Hi Michał, try setting the limit

Re: Component coding questions

2007-03-17 Thread Marko Asplund
Volker Weber wrote: My current problems are related to container components. When I remove container components odd things happen. Removing component a results in the entire component subtree not being rendered. ? Maybe i don't understand you correct, if you remove the parent why did you

Re: transformation of tld for JSF Components Archetype doesnt do

2007-03-17 Thread Cagatay Civici
I had a similar problem long time ago, I guess it was because of my locale or the jdk version, cant remember clearly. What's your locale and jdk? Cagatay On 3/17/07, Bruno Aranda [EMAIL PROTECTED] wrote: Please, send the messages to the user list and not to the authors directly, as you have

[Tobago] Problem with 1.0.11 build

2007-03-17 Thread yazid
Hi al; I've an application running on 1.0.10 (tree menu in lest side and somme box in the right); when i've moved to 1.0.11 the tree menu is not displayed and I've an alert from IE with 'Object Error message followed by a big exception message in the explorer error code :{var treeRessourcesHelp