Re: [ Tobago ] problem with component binding

2007-04-11 Thread David Steinkopff
is the init sequence by jsf so that the application frist set component bindings? really interesting, in that case thanks for the hint. 2007/4/10, Kito D. Mann [EMAIL PROTECTED]: From: David Steinkopff [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 10:06 AM To: MyFaces Discussion

Re: [Tobago] 1.0.10 tc:link problems

2007-04-11 Thread Boris Kovalenko
Hello! I'm fully frustrated... Does anybody used request scope bean and tc:sheet with tc:link (or tc:button) for current row selection? May I see working example? Where tc:sheet is populated based on the value of one of the form fields? I can't get it working with Tobago It seems like

Re: [Tobago] How to create a table dynamically while exporting the excel

2007-04-11 Thread Volker Weber
Hi, see this thread: http://www.nabble.com/-Tobago--tc%3Asheet-and-c%3AforEach-tf3422077.html Regards, Volker 2007/4/11, Vinay Konanki [EMAIL PROTECTED]: Hi, Any one please respond to this mail. Any kind of help will be appreciated Thanks, Vinay On 4/9/07, Vinay Konanki [EMAIL

Re: [ Tobago ] problem with component binding

2007-04-11 Thread Volker Weber
Hi, the sequense is as following: in RenderResponsePhase: try to get a component via binding. If not found, create one and set it via binding. in resoreViewPhase: set the recreated instance via binding. I havend had time to try your problem, maybe this afternoon. Are you using jsp or

Re: [Tobago] 1.0.10 tc:link problems

2007-04-11 Thread Volker Weber
Hi, You can't have a request scope sheet value. The value is not stored in the UIData, this is was tomahwks preserveDataModel does. The binding has nothing to do with this. Regards, Volker 2007/4/11, Boris Kovalenko [EMAIL PROTECTED]: Hello! I'm fully frustrated... Does anybody used

Re: My application gives no error but the UploadedFile object is null

2007-04-11 Thread David Delbecq
Did you try with JSF command button instead of AJAX one? Maybe some validation is failing and you don't see it. Try to add this to your step2.xhtml: a4j:outputPanel ajaxRendered=true h:messages/ /a4j:outputPanel En l'instant précis du 10/04/07 22:36, dxxvi s'exprimait en ces termes: I tried

modifying faces servlet to let view be loaded from a data base by default

2007-04-11 Thread Eugine F
Hello users, I would like to have a clue as to how I could modify the faces servlet or the component that I have to modify to let the view be loaded form a data base. Anyone has an idea? thanks Eugine _ Wenn Ihnen E-Mail nicht

Re: modifying faces servlet to let view be loaded from a data base by default

2007-04-11 Thread David Delbecq
You mean you want to load view definition from a proprietary DB format instead of JSP (default) or an xhtml template (Facelets)? En l'instant précis du 11/04/07 09:49, Eugine F s'exprimait en ces termes: Hello users, I would like to have a clue as to how I could modify the faces servlet or the

Re: modifying faces servlet to let view be loaded from a data base by default

2007-04-11 Thread Volker Weber
Hi, you can use the binding on a panel tag, and create the content in your app. regards, Volker 2007/4/11, Eugine F [EMAIL PROTECTED]: Hello users, I would like to have a clue as to how I could modify the faces servlet or the component that I have to modify to let the view be loaded form a

Re: [Tobago] 1.0.10 tc:link problems

2007-04-11 Thread Boris Kovalenko
Hello! Hmmm this very very distressing. tc:sheet is now useless for me. Will this changed with next releases? Also, is there a best practices how to deal with this? Hi, You can't have a request scope sheet value. The value is not stored in the UIData, this is was tomahwks

Re: [Tobago] 1.0.10 tc:link problems

2007-04-11 Thread Volker Weber
You can add a feature request for soomething like preserveDataModel. Why don't use session scope controller instance like in the examples? 2007/4/11, Boris Kovalenko [EMAIL PROTECTED]: Hello! Hmmm this very very distressing. tc:sheet is now useless for me. Will this changed with next

Re: [Tobago] 1.0.10 tc:link problems

2007-04-11 Thread Boris Kovalenko
Hello! Ok, I'll add a feature request. Session controller... yes, this is possible, but very inconvenient. Isn't? From my point of view - create special session bean to store request scope variables... grr... Ok, I will try this workaround but preserveDataModel, imho, is more finest way.

Re: [Tobago] Problem with target attribue

2007-04-11 Thread H. Swaczinna
Hello Bernd, I'm using myFaces 1.1.5 and Tobago 1.0.11 from yesterday. I build a simple test case for you. The problem is only with tc:link I found out. tc:button seems to be ok. test1.jsp f:view tc:page id=testPage1 width=300px height=200px tc:out value=Page 1/ tc:link label=new

Re: modifying faces servlet to let view be loaded from a data base by default

2007-04-11 Thread David Delbecq
You mean you want to load view definition from a proprietary DB format instead of JSP (default) or an xhtml template (Facelets)? En l'instant précis du 11/04/07 09:49, Eugine F s'exprimait en ces termes: Hello users, I would like to have a clue as to how I could modify the faces servlet or the

Re: [Tobago] Why is tc:tree marked as deprecated?

2007-04-11 Thread H. Swaczinna
Hello Bernd, is the new tree interface in the sandbox completely different from the current interface? Or would it be easy to convert the app to the new tree? When will the 1.1.0 version be released? Regards Helmut Hello Helmut, we are not happy with the current interface of the tc:tree. The

Select a tree node

2007-04-11 Thread Angel Miralles Arevalo
Hi everybody, someone can help me with the following problem? I have a tree as left menu and I'm trying to expand and select a node from the detail. I can expand the node through method: this.tree.expandPath(this.tree.getPathInformation(0:1:+gBean.getNodePath())); But can't select the

Re: [Tobago] Problem with target attribue

2007-04-11 Thread H. Swaczinna
The problem exists also with tc:button. Don't know what I saw... Helmut Hello Bernd, I'm using myFaces 1.1.5 and Tobago 1.0.11 from yesterday. I build a simple test case for you. The problem is only with tc:link I found out. tc:button seems to be ok. test1.jsp f:view tc:page id=testPage1

Custom Managed Bean scope

2007-04-11 Thread Phanidhar Adusumilli
What are the implications of creating a custom managed bean scope? In our case, we have the following requirements: 1. Our model is hierarchical and upto 10 levels deep. (i.e model object size is big) 2. Need to associate state to an use case. A use case includes multiple screens that populate

Re: Custom Managed Bean scope

2007-04-11 Thread Aleksandr Mazur
You could use conversations related tags from tomahawk-sandbox. It is easy to control converstion as from view (i.e. using tags for example s:startCoonversation ... /) as from source code: public static void setConversationBean(String conversationName, String beanName, Object bean) {

Re: [ Tobago ] problem with component binding

2007-04-11 Thread David Steinkopff
Hi, thanks for explain. yes I use facelets. I think the idea of facelets is a great one. non jsp code and clear xml code. https://facelets.dev.java.net/nonav/docs/dev/docbook.html#intro a other question, who is the maintainer for the tobago-facelets.jar? regards david 2007/4/11, Volker Weber

Re: Custom Managed Bean scope

2007-04-11 Thread Mario Ivankovits
Hi! What other ways such a problem can be handled? You can use JBoss Seam or Apache MyFaces Orchestra (which is the successor of the MyFaces conversation tag). JBoss Seam is a rather full blown thing which can do much more please refer to their homepage for further informations. Orchestra

how link svg file with jsf component

2007-04-11 Thread mathias °ö°
hi how link an extern svg-file with jsf component. with h:graphicImage url=http://www.***/file.svg; / it does not work. -- View this message in context: http://www.nabble.com/how-link-svg-file-with-jsf-component-tf3559628.html#a9940418 Sent from the MyFaces - Users mailing list archive at

RE: Custom Managed Bean scope

2007-04-11 Thread Conway. Fintan \(IT Solutions\)
Hi Mario, Does Orchestra require you to use Spring? Many thanks, Fintan -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: 11 April 2007 14:44 To: MyFaces Discussion Subject: Re: Custom Managed Bean scope Hi! What other ways such a problem can be handled?

Re: Custom Managed Bean scope

2007-04-11 Thread Mario Ivankovits
Hi Conway! Does Orchestra require you to use Spring? Yes, parts of it. Some reasons are: *) Defined way to create a custom scope, means, in your spring config you can configure your beans with 'scope=conversation' *) Aspects. They are used to solve the ORM stuff and use cases where e.g.

Re: Custom Managed Bean scope

2007-04-11 Thread Mario Ivankovits
Hi Conway! Uhm .. sorry, should have been Hi Fintan!

RE: Custom Managed Bean scope

2007-04-11 Thread Conway. Fintan \(IT Solutions\)
Hi Ivan, 8^) Do not worry, you are not the first person to do this, and probably will not be the last :-) -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: 11 April 2007 15:30 To: MyFaces Discussion Subject: Re: Custom Managed Bean scope Hi Conway! Uhm

The Definitive Guide Apache MyFaces

2007-04-11 Thread Conway. Fintan \(IT Solutions\)
The Definitive Guide Apache MyFaces/Ajax by Zubin Wadia, Martin Marinschek, Thomas Spiegl. Is this book available to buy? Is this (or is there) an English version of [EMAIL PROTECTED] : JSF MyFaces Regards, Fintan * ** *** ** * ** *** ** * ** *** ** * This email and any files transmitted

Re: modifying faces servlet to let view be loaded from a data base by default

2007-04-11 Thread Eugine F
Hello , The issue is the following; If I ask for a resource such as projects.jsp, the faces implementation implementation begins the request prcessing life cycle. How does the faces implementation go about getting this resource. Which class is responsible for the search of this resource and at

Re: modifying faces servlet to let view be loaded from a data base by default

2007-04-11 Thread Eugine F
Hello , The issue is the following; If I ask for a resource such as projects.jsp, the faces implementation implementation begins the request processing life cycle. How does the faces implementation go about getting this resource. Which class is responsible for the search of this resource and

Re: modifying faces servlet to let view be loaded from a data base by default

2007-04-11 Thread Eugine F
Hello , The issue is the following; If I ask for a resource such as projects.jsp, the faces implementation implementation begins the request prcessing life cycle. How does the faces implementation go about getting this resource. Which class is responsible for the search of this resource and at

[Tobago] EVENT ONBLUR

2007-04-11 Thread armino
Hi, Can someone help me in JSF? I am a newbie programmer on JSF/Tobago/MyFaces and I can’t execute an onBlur event in tc and tx components, via JavaScript. How can I do that? Thanks, Daniel. -- View this message in context: http://www.nabble.com/-Tobago--EVENT-ONBLUR-tf3560479.html#a9943344

howto stop getting message log: No Renderer found for component

2007-04-11 Thread Jorge Vásquez
Regards, I am fine-tuning my JSF application and although it is working fine I keep getting a log message in tomcat for a component that I Developed. My component works fine, it is simply an alternative internationalization tag. I created this component tag with the respective component

Re: My application gives no error but the UploadedFile object is null

2007-04-11 Thread dxxvi
Thank you so much. The problem is the a4j:commandButton. I'll let the Ajax4jsf/RichFaces guys know about it. David Delbecq-2 wrote: Did you try with JSF command button instead of AJAX one? Maybe some validation is failing and you don't see it. Try to add this to your step2.xhtml:

Re: Datatable preserveRowStates and remove row problem

2007-04-11 Thread Mike Kienenberger
I have modified the Tomahawk dataTable to support two new methods relating to preserveRowStates=true. The delete method has worked for my own situation. This is now part of the Tomahawk 1.1.6 snapshot. http://svn.apache.org/viewvc?view=revrev=527623 /** * Remove all preserved row

Re: [ Tobago ] problem with component binding

2007-04-11 Thread Bernd Bohmann
Hi David, it's not possible to set the binding for the tf tags in facelets. You can define you own composition with binding support. Regards Bernd David Steinkopff wrote: Hi, thanks for explain. yes I use facelets. I think the idea of facelets is a great one. non jsp code and clear xml

Re: Convert, skip validation and update model?

2007-04-11 Thread Marko Asplund
Mike, I haven't used subForm before and I'm not sure if i understand how to use it for implementing the validation logic here. If i put each h:inputText in its own subForm wouldn't that make each field independent from the others? How would i submit all of the fields at once, convert their

Re: Convert, skip validation and update model?

2007-04-11 Thread Mike Kienenberger
I hadn't thought about that aspect. It can still be done, but now it's a bit more painful to implement as you'd need to generate the values for actionFor. Maybe what you've got is a better way to do it in this case -- after all, you already have it working. h:form

Re: modifying faces servlet to let view be loaded from a data base by default

2007-04-11 Thread Simon Kitching
Hi Eugene, Yes, ViewHandler is one of the main classes you need to look at (JspViewHandlerImpl is the implemenation for JSP pages). Also look at FacesServlet and LifecycleImpl. The code in these three classes is pretty easy to understand. You might want to read:

t:inputCalendar position : beating this dead horse again

2007-04-11 Thread SOSELLA
I am using t:inputCalendar and I put a t:panelGroup style=position:absolute; around it to try to anchor the popup on the image icon. This works fairly well, but I noticed that if I scroll down on the page and then click on the image icon to popup the dialog, the dialog is offset by the amount

ProgressBar

2007-04-11 Thread Frozone
Hi Newsgroup, I'm really getting mad with this thing. For an application with an file-upload I want the user to see the progress of the file-uplaod. I already implemented the file upload which works fine. The user can upload an excel sheet and the programm iterates through it and saves the

t:inputCalendar displays dates incorrectly

2007-04-11 Thread Thai Dang Vu
Hello everybody, I have this line in one of my xhtml page (I use facelets with tomahawk) t:inputCalendar value=#{role.birthDay} renderAsPopup=true / and the result is http://myjavaserver.com/~dxxvi/images/t-inputCalendar.png Do you know how to fix this error? One more question: does anybody

Re: ajax4jsf and t:inputCalendar element conflict

2007-04-11 Thread bansi
I tried using popup calendar from Jenia.org but the calendar doesnt display correct date . Also the calendar occupies the entire screen. Any pointers/suggestions will be highly appreciated Regards Bansi Adrian Mitev-2 wrote: Jenia is good enough and its size is small. 2007/3/5, Wesley

Re: t:inputCalendar displays dates incorrectly

2007-04-11 Thread Mike Kienenberger
See this thread. http://www.mail-archive.com/users@myfaces.apache.org/msg34160.html On 4/11/07, Thai Dang Vu [EMAIL PROTECTED] wrote: Hello everybody, I have this line in one of my xhtml page (I use facelets with tomahawk) t:inputCalendar value=#{role.birthDay} renderAsPopup=true / and the

Re: Programatically updating the model

2007-04-11 Thread Mike Kienenberger
Would it be easier for you to override the following method in UISelect in your own component subclass? protected void validateValue(FacesContext context, Object convertedValue) I'm actually kind of confused why you'd even need to do this. Your source select many component has a list of items,

Re: Programatically updating the model

2007-04-11 Thread monkeyden
Here is why I believe I need to do this...correct me if Im wrong. I have two lists (A and B). List A has values 1,2,3,4,5 . List B has nothing. I move the values 1,2,3 over to list B and submit. Because the values 1,2,3 are not a subset of the original f:selectItems used to populate list

Re: Programatically updating the model

2007-04-11 Thread Mike Kienenberger
Are you physically moving with javascript the values 1,2,3 over to the other html element form data? Or when you submit the form, are you submitting values 1,2,3 for List A, submitting no values for List B, and executing a move action (or action listener)? This is what would normally happen if

Re: Programatically updating the model

2007-04-11 Thread monkeyden
Mike Kienenberger wrote: Are you physically moving with javascript the values 1,2,3 over to the other html element form data? I'm physically moving the values using JavaScript. Mike Kienenberger wrote: Or when you submit the form, are you submitting values 1,2,3 for List A,