://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
/
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
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
[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
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
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
: 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
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
.
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
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
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 ,
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
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
13 matches
Mail list logo