Re: HELP: Dispaly Date in a JSP that used Tiles

2003-04-02 Thread Gareth Andrew
://www.thomson.net/ Original Message- From: Gareth Andrew [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 00:49 To: [EMAIL PROTECTED] Subject: RE: HELP: Dispaly Date in a JSP that used Tiles I think your problem has nothing to do with tiles or jsp. You just need to write the output to a control

RE: HELP: Dispaly Date in a JSP that used Tiles

2003-04-02 Thread Heligon Sandra
/ Original Message- From: Gareth Andrew [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 11:10 To: Struts Users Mailing List Subject: Re: HELP: Dispaly Date in a JSP that used Tiles You don't need to create an ActionForm, since the form is never going to be submitted, and you don't need

Re: HELP: Dispaly Date in a JSP that used Tiles

2003-04-02 Thread Gareth Andrew
11:10 To: Struts Users Mailing List Subject: Re: HELP: Dispaly Date in a JSP that used Tiles You don't need to create an ActionForm, since the form is never going to be submitted, and you don't need to be able to access the form information outside of the current page. So just use plain html tags

RE: HELP: Dispaly Date in a JSP that used Tiles

2003-04-02 Thread Heligon Sandra
[mailto:[EMAIL PROTECTED] Sent: 02 April 2003 11:10 To: Struts Users Mailing List Subject: Re: HELP: Dispaly Date in a JSP that used Tiles You don't need to create an ActionForm, since the form is never going to be submitted, and you don't need to be able to access the form information outside

Re: HELP: Dispaly Date in a JSP that used Tiles

2003-04-02 Thread Gareth Andrew
It's about now I have to admit that my Javascript/DHTML knowledge is about 4 years out of date. I have no idea how many browsers that this will work on, but it does seem to work on IE6.0 and Mozilla 1.3: In your script replace: document.myForm.dateControl.value=time; with

Re: HELP: Dispaly Date in a JSP that used Tiles

2003-04-02 Thread Gareth Andrew
I'm not sure what you mean. Perhaps if you e-mail me your code I could take a quick look at it. Gareth. Heligon Sandra wrote: Your Javascript/DHTML knowledge knowledge is very good, your code allows to display the date like a text and not like a field that can be edited. But I have yet a

RE: HELP: Dispaly Date in a JSP that used Tiles

2003-04-02 Thread Heligon Sandra
: Gareth Andrew [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 17:36 To: Struts Users Mailing List Subject: Re: HELP: Dispaly Date in a JSP that used Tiles I'm not sure what you mean. Perhaps if you e-mail me your code I could take a quick look at it. Gareth. Heligon Sandra wrote: Your Javascript

RE: HELP: Dispaly Date in a JSP that used Tiles

2003-04-01 Thread Gareth Andrew
I think your problem has nothing to do with tiles or jsp. You just need to write the output to a control instead of trying to write to the page. If the browser were to allow your code to work as you have written it you would actually get a list of times. The following code should work - it

RE: HELP: Dispaly Date in a JSP that used Tiles

2003-04-01 Thread Heligon Sandra
. Please note my new email address: [EMAIL PROTECTED] http://www.thomson.net/ Original Message- From: Gareth Andrew [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 00:49 To: [EMAIL PROTECTED] Subject: RE: HELP: Dispaly Date in a JSP that used Tiles I think your problem has nothing to do

HELP: Dispaly Date in a JSP that used Tiles

2003-03-31 Thread Heligon Sandra
I am really desperate. I try to display the current date in a JSP but that does not function. I found many examples of Javascript (aff_heure()) on the Web but the difficulty is to combine them with the Struts components and more precisely Tiles components. Each

Re: HELP: Dispaly Date in a JSP that used Tiles

2003-03-31 Thread Stephen Smithstone
wow all that trouble for a date what i would do is create a TileAction that sets up the date variable in the tiles context and then publish that attribute on the tiles page public class TilesDate extends TileAction { public void perform( ComponentContext 1 , HttpServletRequest 2 ,

Re: HELP: Dispaly Date in a JSP that used Tiles

2003-03-31 Thread Stephen Smithstone
ah sorry missed your timer function On Tuesday 01 April 2003 8:41 am, Stephen Smithstone wrote: wow all that trouble for a date what i would do is create a TileAction that sets up the date variable in the tiles context and then publish that attribute on the tiles page public class TilesDate

Re: HELP: Dispaly Date in a JSP that used Tiles

2003-03-31 Thread Stephen Smithstone
in respect to that dont you need to implement the date text into a text box container ? On Tuesday 01 April 2003 8:43 am, Stephen Smithstone wrote: ah sorry missed your timer function On Tuesday 01 April 2003 8:41 am, Stephen Smithstone wrote: wow all that trouble for a date what i would do