Re: Getting users timezone-offset (javascript)

2008-08-09 Thread Peer Brink
On Tue, Aug 5, 2008 at 18:59, Josh Canfield [EMAIL PROTECTED] wrote: I looked around a bit for a solution once and ended up just sticking the offset into a hidden form field. Dear Josh, this in fact is working and seems to be a quite simple solution compared to other possibilties I was

Re: Transmitting a javascript-value to the server using JSON

2008-08-09 Thread Peer Brink
Dear Toby, thanks for your comments on this. But I decided to use a hidden form field (from t5components) and fill it with the offset-value using javascript. It seems to me that this is the simpler solution. I described the details in another thread (subject: Getting users timezone-offset

Getting users timezone-offset (javascript)

2008-08-05 Thread Peer Brink
Hello, I need to know the users/browsers timezone-offset on the server. The offset can easily be retrieved by some javascript on the client: var offset = new Date().getTimezoneOffset(); But how can it be transmitted from the client to the server? I read through quite some pages about

Transmitting a javascript-value to the server using JSON

2008-08-05 Thread Peer Brink
Hello, I try to transmit the users/browsers timezone-offset to the server. The timeZone-offset can easily be retrieved by script type=text/javascript var offset = new Date().getTimezoneOffset(); /script But how can it be transmitted? Could this be done using a JSONObject by adding

T5: Hidden visibility-field of fomfragment is not set properly

2008-05-25 Thread Peer Brink
Hi, I hope someone can help me with the following problem. I have a simple radiogroup (two options) with a formfragment linked to the second option (html and java below). The formfragment appears when klicking OptionB but the server-side processing will not be done. The server-side processing

Re: T5: Hidden visibility-field of fomfragment is not set properly

2008-05-25 Thread Peer Brink
Hi, please ignore this thread. It has been fixed during the last days and is working with a recent snapshot. Thanks a lot, Peer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T5: Invisible formfragment is submitted

2008-05-23 Thread Peer Brink
I have a radiogroup with two radios. Both have a linked formfragment which are mutually exclusive. The problem is that the invisible formfragment will be submitted after switching the radio button. Example: Radio A is selected when the form is beeing rendered. Formfragment A is visible. User

Re-render Form while user enters data

2008-05-14 Thread Peer Brink
5.0.12-SNAPSHOT Hello everybody, I'm trying to react on user-input to a form by changing parts of that form (showing / hiding / enabling / disabling form-components). This should happen while the user enters data to the same form and not after submit! I found quite a few conversations regarding

Disable / Hide parts of a Form

2008-05-11 Thread Peer Brink
Hi everybody, I need to react on form-input by hiding / disabling and unhiding / enabeling parts of the form while the user enters data to that form. Example: the users chooses email as communication-method by cklicking the related radio-button. In this case a TextField for the email-address