Re: Can struts2 tag embeded inside javascript

2007-11-29 Thread panpan
lt;[EMAIL PROTECTED]> > To: > Sent: Tuesday, November 27, 2007 9:59 AM > Subject: Re: Can struts2 tag embeded inside javascript > > >> >> Hi Richard, thank you! I have a seperate main.js for those functions. > I've >> posted my code in my other post. I&#x

Re: Can struts2 tag embeded inside javascript

2007-11-27 Thread Martin Gainty
rg/apache/struts/taglib/ html/JavascriptValidatorTag.html HTH M-- - Original Message - From: "panpan" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 27, 2007 9:59 AM Subject: Re: Can struts2 tag embeded inside javascript > > Hi Richard, thank you! I have a sepe

RE: Can struts2 tag embeded inside javascript

2007-11-27 Thread panpan
You can map the URL ("/whatever.js") to a servlet which forwards to the > "whatever.jsp" file if you want it to be a little cleaner. > > -Original Message- > From: panpan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 27, 2007 9:51 AM > To:

Re: Can struts2 tag embeded inside javascript

2007-11-27 Thread panpan
Hi Richard, thank you! I have a seperate main.js for those functions. I've posted my code in my other post. I'll try to use single quotes. Thanks again. Richard Sayre wrote: > > I don't see any javascript in your post but if you are creating an > imput element this should work as long as the j

RE: Can struts2 tag embeded inside javascript

2007-11-27 Thread panpan
on you can't write: > > var x = <s:property value="x" />; > > inside a JSP file. > You're going to have to be more specific, panpan . . . > > -Original Message- > From: Dave Newton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, Novemb

RE: Can struts2 tag embeded inside javascript

2007-11-27 Thread Hernandez, David
you want it to be a little cleaner. -Original Message- From: panpan [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 27, 2007 9:51 AM To: user@struts.apache.org Subject: Re: Can struts2 tag embeded inside javascript Thank you Dave. Ok, I see. Do you anyway I can do to solve my pr

Re: Can struts2 tag embeded inside javascript

2007-11-27 Thread panpan
Thank you Dave. Ok, I see. Do you anyway I can do to solve my problem? thanks! newton.dave wrote: > > --- panpan <[EMAIL PROTECTED]> wrote: >> I've been struggling for this problem for several >> days. Please help me out. > > Okay. > > Non-JSP pages aren't compiled into servlets. > > A Jav

RE: Can struts2 tag embeded inside javascript

2007-11-27 Thread Hernandez, David
ore specific, panpan . . . -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 27, 2007 9:44 AM To: Struts Users Mailing List Subject: Re: Can struts2 tag embeded inside javascript --- panpan <[EMAIL PROTECTED]> wrote: > I've been strug

Re: Can struts2 tag embeded inside javascript

2007-11-27 Thread Richard Sayre
I don't see any javascript in your post but if you are creating an imput element this should work as long as the javascript is on your jsp page in

Re: Can struts2 tag embeded inside javascript

2007-11-27 Thread Dave Newton
--- panpan <[EMAIL PROTECTED]> wrote: > I've been struggling for this problem for several > days. Please help me out. Okay. Non-JSP pages aren't compiled into servlets. A JavaScript file isn't a JSP page, hence is not compiled into a servlet, hence has zero notion of "custom tags". d. ---