Re: Problems with custom tags

2005-10-23 Thread Eric Plante

I've put the files you needed in attachement.

I have a question that is not really about struts but maybe someone can 
answer.


I wanted to use .css and .js files but my js file was acting wierd when I 
added script language=javascript src=Pandora.js/script and not at 
all when I added

LINK REL=STYLESHEET HREF=pages/Pandora.css content-TYPE=TEXT/CSS/

If I add the code directly into the jsp file, it works perfectly well.

Both are in the same directory as the .jsp file, they are all in the /pages 
directory under web-content


Thanks

Eric-|
Can you post the web.xml, struts-config.xml and the Tag source code so we
can run it on our own boxes
We would need to see all of these to understand whats going on..
Martin- 
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN
   http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd;
struts-config
 data-sources/
 form-beans
  form-bean name=PandoraForm type=PandoraForm/
 /form-beans
 global-exceptions/
 global-forwards
  forward name=index path=/pages/Pandora.jsp/
 /global-forwards
 action-mappings
  action input=/pages/Pandora.jsp name=PandoraForm path=/Pandora
   scope=session type=PandoraAction
   forward name=pandora path=/pages/Pandora.jsp/
  /action
 /action-mappings
 controller/
 message-resources parameter=Pandora/
 plug-in className=org.apache.struts.validator.ValidatorPlugIn
  set-property property=pathnames value=/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml/
 /plug-in
/struts-config
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
 http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
 display-namePandora/display-name
 servlet
  servlet-nameaction/servlet-name
  servlet-classorg.apache.struts.action.ActionServlet/servlet-class
  init-param
   param-nameconfig/param-name
   param-value/WEB-INF/struts-config.xml/param-value
  /init-param
  load-on-startup1/load-on-startup
 /servlet
 servlet-mapping
  servlet-nameaction/servlet-name
  url-pattern*.do/url-pattern
 /servlet-mapping
 welcome-file-list
  welcome-fileindex.jsp/welcome-file
 /welcome-file-list
 taglib
  taglib-uri/WEB-INF/struts-bean/taglib-uri
  taglib-location/WEB-INF/struts-bean.tld/taglib-location
 /taglib
 taglib
  taglib-uri/WEB-INF/struts-logic/taglib-uri
  taglib-location/WEB-INF/struts-logic.tld/taglib-location
 /taglib
 taglib
  taglib-uri/WEB-INF/struts-html/taglib-uri
  taglib-location/WEB-INF/struts-html.tld/taglib-location
 /taglib
 taglib
  taglib-uri/WEB-INF/fetch/taglib-uri
  taglib-location/WEB-INF/fetch.tld/taglib-location
 /taglib
/web-app

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems with custom tags

2005-10-23 Thread Martin Gainty

I didnt see your Tag source code
and I dodnt see the JSP that uses it
also did you state what your TagLib declaration is
I found this very helpful
http://www.orionserver.com/docs/tutorials/taglibs/1.html
Thanks,
M
- Original Message - 
From: Eric Plante [EMAIL PROTECTED]

To: user@struts.apache.org
Sent: Sunday, October 23, 2005 4:32 PM
Subject: Re: Problems with custom tags



I've put the files you needed in attachement.

I have a question that is not really about struts but maybe someone can
answer.

I wanted to use .css and .js files but my js file was acting wierd when I
added script language=javascript src=Pandora.js/script and not at
all when I added
LINK REL=STYLESHEET HREF=pages/Pandora.css content-TYPE=TEXT/CSS/

If I add the code directly into the jsp file, it works perfectly well.

Both are in the same directory as the .jsp file, they are all in the 
/pages

directory under web-content

Thanks

Eric-|
Can you post the web.xml, struts-config.xml and the Tag source code so we
can run it on our own boxes
We would need to see all of these to understand whats going on..
Martin-









-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Fw: Problems with custom tags

2005-10-23 Thread Eric Plante




- Original Message - 
From: Eric Plante 

To: [EMAIL PROTECTED] 
Sent: Sunday, October 23, 2005 6:43 PM
Subject: Re: Problems with custom tags

That'S strange, I sent 4 files and only 2 made 
it.

I hope those 3 will make 
it.

Thanks
 I didnt see your Tag source 
code and I dodnt see the JSP that uses it also did you state 
what your TagLib declaration is I found this very helpful 
http://www.orionserver.com/docs/tutorials/taglibs/1.html Thanks, M
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems with custom tags

2005-10-23 Thread Eric Plante



Another attempt at sending 
files.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems with custom tags

2005-10-23 Thread Eric Plante
Sorry about this, my files do not seem to reach the list, I will send them 
directly to you Mr. Gainty.

Thanks
  - Original Message - 
  From: Eric Plante 
  To: user@struts.apache.org 
  Sent: Sunday, October 23, 2005 6:48 PM
  Subject: Re: Problems with custom tags


  Another attempt at sending files.


--


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]