Re: [Tobago] Handling of url protocol vfszip: in JBoss 5.0.0.CR1

2008-07-18 Thread Bernd Bohmann
Thanks Stefan, can you open an issue, please. http://myfaces.apache.org/tobago/issue-tracking.html Regards Bernd Stefan Hedtfeld schrieb: And here comes the attachment ... :) Stefan Hedtfeld schrieb: Hi, I'm using tobago-1.1.0-SNAPSHOT on JBoss 5.0.0.CR1. Deploying my application

Re: [Tobago] tc:sheet problems

2008-07-18 Thread Volker Weber
Hi Salvador, sorry i still found no time to look into your sources. Could you reproduce your problem in the 1.0.17 demo? If so please describe at detail the steps to reproduce this and what you expect to happen instead. Regards, Volker 2008/7/16 Volker Weber [EMAIL PROTECTED]: Hi

Re: Allowing more than two date formats for tr:inputDate component

2008-07-18 Thread aashoku
Hi Bandaru, Thanks for your reply. I want to allow the user in following formats, 1) MM-dd- 2)MMM-dd- 3)MM dd 4)MMM dd 5) MMM,dd, please help me out. Ashok. -- View this message in context:

Managed property gets reset HELP !!!!!!!!!!!!!!!!!!

2008-07-18 Thread Phoenix_J
Hello Everyone, i am using myfaces. when i submit form, the managed properties gets initialized with submitted value ,but when flow goes to action method all properties gets reset to null. can anyone explain why ? -- View this message in context:

[Trinidad] Dialogs and parent windows

2008-07-18 Thread Kevin . A . D'Arcy
Hi, I'm using Trinidad in an application and have a popup window used to gather user input. Once the user has finished entering their data and the popup window has closed, I need to reload the main window. As far as I know there are only two ways of accomplishing this: - Using _javascript_ to

RE: Managed property gets reset HELP !!!!!!!!!!!!!!!!!!

2008-07-18 Thread Sidhik, Rosmon
This could be true if your managed bean is in request scope. It would definitely be better if you provide more information. -Original Message- From: Phoenix_J [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2008 8:31 AM To: users@myfaces.apache.org Subject: Managed property gets reset

Antwort: [Trinidad] Dialogs and parent windows

2008-07-18 Thread wolfgang . toepfer
Hi Kevin, Do you really need to reload the whole page? With PPR you could also refresh a bigger area using the appropriate container e.g. trh:tableLayout or tr:form etc. Best wishes Wolfgang Kevin.A.D'[EMAIL PROTECTED] 18.07.2008 15:12 Bitte antworten an MyFaces Discussion

Problem with multiple commandLinks and IE

2008-07-18 Thread Roland Hammerle
Hi there, I have a page that contains two commandLinks: h:commandLink value=#{msgs.button_export} action=#{reportTemplateMgmt.exportReportTemplate} styleClass=button f:param name=objectId value=#{reportTemplate.id}/ /h:commandLink h:commandLink

[Tomahawk]What's the best way to remove the current node from a Tree2?

2008-07-18 Thread Jim the Standing Bear
Hello, What is the best way to remove the current node from a Tree2? Without having a pointer back to the parent, I cannot do something like currentNode.getParentNode().getChildren().remove(currentIndex); -- Jim

Re: [Tomahawk]What's the best way to remove the current node from a Tree2?

2008-07-18 Thread Andrew Robinson
Use you own nodes that have a pointer back to the parent On Fri, Jul 18, 2008 at 8:02 AM, Jim the Standing Bear [EMAIL PROTECTED] wrote: Hello, What is the best way to remove the current node from a Tree2? Without having a pointer back to the parent, I cannot do something like

Re: [Tomahawk]What's the best way to remove the current node from a Tree2?

2008-07-18 Thread Jim the Standing Bear
:) Thanks Andrew. On Fri, Jul 18, 2008 at 10:19 AM, Andrew Robinson [EMAIL PROTECTED] wrote: Use you own nodes that have a pointer back to the parent On Fri, Jul 18, 2008 at 8:02 AM, Jim the Standing Bear [EMAIL PROTECTED] wrote: Hello, What is the best way to remove the current node from

Re: Problem with Link from JSP to JSF Form

2008-07-18 Thread Martin Marinschek
Sounds like your managed beans might not have proper scope - but it is hard to tell from your description. In any case, there should not be a difference between the two use-cases. regards, Martin On 7/17/08, Mark Lange [EMAIL PROTECTED] wrote: Hi, I have a JSF form, that forwards to an JSP.

Re: Problem with multiple commandLinks and IE

2008-07-18 Thread Martin Marinschek
Hi Roland, sounds like a known bug that has been fixed. Which version of MyFaces are you using? regards, Martin On 7/18/08, Roland Hammerle [EMAIL PROTECTED] wrote: Hi there, I have a page that contains two commandLinks: h:commandLink value=#{msgs.button_export}

Re: Session timeout results in javax.faces.application.ViewExpiredException

2008-07-18 Thread Martin Marinschek
Hi, yes, I would dare to say this is expected behaviour, if you do a post-back (if you execute a get-link, then this shouldn't happen). In your web-application, you will need to cover the case of a timed-out session appropriately. regards, Martin On 7/18/08, bansi [EMAIL PROTECTED] wrote: I

Re: Session timeout results in javax.faces.application.ViewExpiredException

2008-07-18 Thread bansi
Hi Martin Thanks for sharing your thoughts. My web.xml doesnt have any configuration related to session timeout so i guess its uses default timeout. A code snippet on how to do a post-back will be greatly appreciated Martin Marinschek wrote: Hi, yes, I would dare to say this is expected

[TRINIDAD] autoSubmit

2008-07-18 Thread Zigc Junk
Hi, I have a group of radio buttons (tr:selectOneRadio) and a tr:commandLink in my page. I set autoSubmit to true so that tr:selectOneRadio will automatically submit the page. The tr:commandLink action returns a pageId of another page. When this link is clicked, I would expect to go to the other

Re: [TRINIDAD] autoSubmit

2008-07-18 Thread Andrew Robinson
I believe you need to enable redirect in a navigation rule that navigates to a new page during a PPR request. It would be great if this were not true. I tried to PPR the entire page once to try to do this and it failed badly as the response writer could not handle CDATA blocks (apparently it does

Re: Session timeout results in javax.faces.application.ViewExpiredException

2008-07-18 Thread Martin Marinschek
Hi, you should probably write a filter or a phase-listener to deal with session-timeouts appropriately. regards, Martin On Fri, Jul 18, 2008 at 7:01 PM, bansi [EMAIL PROTECTED] wrote: Hi Martin Thanks for sharing your thoughts. My web.xml doesnt have any configuration related to session

Re: Problem with multiple commandLinks and IE

2008-07-18 Thread Roland Hammerle
Hi Martin, Thanks for your reply. I am using MyFaces 1.2.2 but checked the source for 1.2.3 for changes. I couldn't find anything where I thought the problem was. I will try out 1.2.3 and see what happens. Roland P.S.: So I went ahead and tested 1.2.3. It is actually fixed and I see now how

Re: [Tobago] Handling of url protocol vfszip: in JBoss 5.0.0.CR1

2008-07-18 Thread Stefan Hedtfeld
Done. If you are going to handle this (I'm still not sure if this should be done by tobago) I'm willing to provide a cleaner solution - this is simply a working example scratched during the night :) Regards, Stefan. Bernd Bohmann schrieb: Thanks Stefan, can you open an issue, please.

Re: [Trinidad] Dialogs and parent windows

2008-07-18 Thread Nitin Deshmukh
Kevin, I have done something similar in my App. I am not using trinidad though. here is the piece of javascript code that I used in the popup window to reload the parent window. The first line refreshes the main window and the second line closes the popup window.

RE: [Tobago] tc:sheet problems

2008-07-18 Thread Bravo Villegas Salvador Francisco
Hi Volker Don't worry, we change from 1.0.16 to 1.0.17, lib complements files and the error fix by itself, so we imagine that the problem was with something in the previous version. Regards Salvador -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de

[TRINIDAD] how to submit an inputtext field at the same time as clicking a button

2008-07-18 Thread veena pandit
I have a zip code field that when submitted populated the city and state. The zip code field is an input text box. How do I submit the zip code field without tabbing but at the same time as when i click a button. The button also has an action method associated with it. Right now, I have

Re: [TRINIDAD] how to submit an inputtext field at the same time as clicking a button

2008-07-18 Thread Andrew Robinson
Not sure what you are referring to. The auto submit will cause the zip code to POST the form, so your button will never be clicked. If you want to only submit as a result of a button press, then set auto submit to false. On Fri, Jul 18, 2008 at 2:12 PM, veena pandit [EMAIL PROTECTED] wrote: I

Re: Session timeout results in javax.faces.application.ViewExpiredException

2008-07-18 Thread bansi
the following code snippet in web.xml error-page exception-typejavax.faces.application.ViewExpiredException/exception-type location/sessionTimeout.jsp/location /error-page It doesnt work meaning it doesnt render sessionTimeout.jsp infact throws up the stack Trace on the

Re: [TRINIDAD] how to submit an inputtext field at the same time as clicking a button

2008-07-18 Thread veena pandit
I have autosubmit set to false when I have the javascript code. So when I click the button, the action associated with the hiddenLink gets executed but the action method associated with the button does not get executed. I want both action methods to execute when I click the button without

Re: [TRINIDAD] how to submit an inputtext field at the same time as clicking a button

2008-07-18 Thread veena pandit
In other words, I want to be able to execute a method in two cases, when I tab over after entering the zip code or even when i do not tab over but I click the button. Thanks, Veena On 7/18/08, Andrew Robinson [EMAIL PROTECTED] wrote: Not sure what you are referring to. The auto submit will

Re: [TRINIDAD] how to submit an inputtext field at the same time as clicking a button

2008-07-18 Thread Andrew Robinson
Tab over?, do you mean tab out? If you always post on tab out, then there is no reason to click the button. Actions are only fired from command* components. Auto submit on an input text only generates a value change, not an action. Perhaps you should re-describe what exactly you want to do (don't

Re: [TRINIDAD] how to submit an inputtext field at the same time as clicking a button

2008-07-18 Thread veena pandit
I have a zip code field which is an input text box; Currently I have a listener method associated with this zip field to auto populate the city and state input text fields. I also have autosubmit=true on this zip field. I want to be able to autopopulate the city and state when the user changes