RE: Help Dojo TagLibs

2010-07-19 Thread Martin Gainty
e contenu fourni. > From: fabio.eb...@dnasolution.com.br > To: user@struts.apache.org > Subject: Re: Help Dojo TagLibs > Date: Mon, 19 Jul 2010 09:44:51 -0300 > > what would this templateDir?? > > - Original Message - > From: "Martin Gainty" &g

RE: Help Dojo TagLibs

2010-07-19 Thread Martin Gainty
nt donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: fabio.eb...@dnasolution.com.br > To: user@struts.apache.org > Subject: Re: Help Dojo TagLibs > Date: Mon, 19 Jul 2010 09:10:15

Re: Help Dojo TagLibs

2010-07-16 Thread Johannes Geppert
;// event.cancel = true; >alert("boaaa"); > }); > > > Insert title here > > > jsp/usuario/loginUsuario.jsp Usuario > jsp/cliente/loginCliente.jsp Cliente > > > > > > > > > > tks >

Re: Struts Taglibs

2009-06-26 Thread Dave Newton
CRANFORD, CHRIS wrote: In our Struts1 implementation, we leveraged various tag libraries such as: struts-logic struts-logic-el struts-html struts-html-el struts-bean struts-bean-el struts-nested When migrating to struts2, are any of these taglibs still available or have they been replaced with

Struts Taglibs

2009-06-26 Thread CRANFORD, CHRIS
In our Struts1 implementation, we leveraged various tag libraries such as: struts-logic struts-logic-el struts-html struts-html-el struts-bean struts-bean-el struts-nested When migrating to struts2, are any of these taglibs still available or have they been replaced with newer components? A

[ANN] Struts on Ajax: Retrofitting Struts with Ajax Taglibs presentation online

2007-12-24 Thread Ted Husted
Just in time for the holidays, TheServerSide has posted a recording of one of my Ajax Experience talks: "Struts on Ajax: Retrofitting Struts with Ajax Taglibs presentation". * http://w.on24.com/r.htm?e=98875&s=1&k=1866520B3A2C334E7169D424A04B2F2D "In this session, we

struts1 taglibs and struts2

2007-09-19 Thread Adam Hardy
The old struts1 HTML taglibs have a 'titleKey' attribute, for putting an internationalised title on an HTML tag automatically. Others had a 'key' attribute. Is there any intention to put this kind of attribute onto the S2 tags? I know there are OGNL methods to do the same

RE: org.apache.jasper.JasperException: File "C:/struts/taglibs/struts-bean.tld" not found

2007-09-12 Thread Dave Newton
t; From: Dave Newton [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 12, 2007 11:53 AM > To: Struts Users Mailing List > Subject: RE: org.apache.jasper.JasperException: File > "C:/struts/taglibs/struts-bean.tld" not found > > With: > > - The TLDs

RE: org.apache.jasper.JasperException: File "C:/struts/taglibs/struts-bean.tld" not found

2007-09-12 Thread Mehmood, Qaiser
;C:/struts/taglibs/struts-bean.tld" not found With: - The TLDs in your WEB-INF and - the same WEB-INF path in your JSP it didn't work?! d. --- "Mehmood, Qaiser" <[EMAIL PROTECTED]> wrote: > Yes I tried them in WEB-INF also. Same problem... :) > > Than

RE: org.apache.jasper.JasperException: File "C:/struts/taglibs/struts-bean.tld" not found

2007-09-12 Thread Dave Newton
(512) 248-4269 > Cell (571) 438-8639 > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 12, 2007 11:31 AM > To: Struts Users Mailing List > Subject: Re: org.apache.jasper.JasperException: File > "C:/struts/

RE: org.apache.jasper.JasperException: File "C:/struts/taglibs/struts-bean.tld" not found

2007-09-12 Thread Mehmood, Qaiser
: org.apache.jasper.JasperException: File "C:/struts/taglibs/struts-bean.tld" not found Try putting those tld's in your webapp's WEB-INF directory. And then make sure you have those listed them in you web.xml file. Not neccessarily in WEB-INF but just making sure they are there fo

Re: org.apache.jasper.JasperException: File "C:/struts/taglibs/struts-bean.tld" not found

2007-09-12 Thread sriharsha . chevuru
ers Mailing List" To "Struts Users Mailing List" cc Subject org.apache.jasper.JasperException: File "C:/struts/taglibs/struts-bean.tld" not found I am using Struts 1.1 with Java 1.4 and Tomcat 5.0.28 and getting this error: org.apache.jasper.JasperExcep

org.apache.jasper.JasperException: File "C:/struts/taglibs/struts-bean.tld" not found

2007-09-12 Thread Mehmood, Qaiser
I am using Struts 1.1 with Java 1.4 and Tomcat 5.0.28 and getting this error: org.apache.jasper.JasperException: File "C:/struts/taglibs/struts-bean.tld" not found org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand l

Re: Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread Don Brown
t;[EMAIL PROTECTED]> wrote: > Yes, struts taglibs are the problem. > But if I make the opposite, i.e. excluding the x:tags, > the code works as well, so I assume that Struts stuff > is properly configured... > I don't know what to think... > >Ric > > --- MK Tan

Re: Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread Riccardo Mollame
Yes, struts taglibs are the problem. But if I make the opposite, i.e. excluding the x:tags, the code works as well, so I assume that Struts stuff is properly configured... I don't know what to think... Ric --- MK Tan <[EMAIL PROTECTED]> ha scritto: > look like struts tag

Re: Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread MK Tan
look like struts taglibs cause the NPE. unknown property name? On 9/7/07, Riccardo Mollame <[EMAIL PROTECTED]> wrote: > > Could any one explain why this piece of code works > fine: > > <%@ taglib prefix="c" > uri="http://java.sun.com/jsp/jstl/c

Struts 2 - incompatibility between JSTL xml taglibs and Struts 2 ?????

2007-09-07 Thread Riccardo Mollame
Could any one explain why this piece of code works fine: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"%> <%@ taglib prefix="s" uri="/struts-tags"%> while this one: <%@ taglib prefix="c" uri="

RE: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Dave Newton
er). > Frankly, I would say that the maintenance headache > created by using tags from both taglibs at the same > time is probably worse than any small performance > differences. That was my opinion, too--I just wanted the most minor of sanity checks :) Measuring would take time, and the DB

RE: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Karr, David
I find it hard to believe you're looking at a significant performance difference. That being said, I suggest you measure it if you're really concerned (measure in the container, not on the browser). Frankly, I would say that the maintenance headache created by using tags from both tagl

Re: [OT] Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Dave Newton
--- Antonio Petrelli wrote: > Mmm... It's time to use some lubricant in the gears > of my brain :-) It's Friday -- I was barely able to send an email at all. d. Be a better Globetrotter. Get better tra

RE: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Niranjan.Deshpande
Please remove me from the mailing list. From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Fri 7/27/2007 6:50 PM To: Struts Users Mailing List Subject: Re: [S1] EL vs. non-EL taglibs? --- Antonio Petrelli wrote: > Anyway, the only reason to use Struts-EL and Tiles-EL > is when you have

[OT] Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Antonio Petrelli
ote: > > An inherited S1.2 app has many pages where both the > > EL and non-EL taglibs are used (non-JSP 2.0 > > container)... > > Yep. Mmm... It's time to use some lubricant in the gears of my brain :-) Sorry Dave Antonio

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Dave Newton
--- Antonio Petrelli wrote: > Anyway, the only reason to use Struts-EL and Tiles-EL > is when you have a pre-JSP 2.0 contaniner. Is this > your case? --- Dave Newton <[EMAIL PROTECTED]> wrote: > An inherited S1.2 app has many pages where both the > EL and non-EL taglibs

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Dave Newton
--- Brian Trzupek <[EMAIL PROTECTED]> wrote: > So when we have those tags in our app, and others > Struts controls are on the page, we will use both. I'm asking why use both: the Struts-EL tags only add functionality; you can still use them as the old tags by not using an EL expression, no? > A

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Antonio Petrelli
2007/7/27, Dave Newton <[EMAIL PROTECTED]>: > > --- Antonio Petrelli wrote: > > 2007/7/27, Dave Newton <[EMAIL PROTECTED]>: > > I am assuming that you meant JSTL tags (not EL > tags). > > Nope, I meant the Struts (1.2) and Tiles 1 EL tags, > just like I said :) A ok! Anyway, the only reason

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Dave Newton
--- Antonio Petrelli wrote: > 2007/7/27, Dave Newton <[EMAIL PROTECTED]>: > I am assuming that you meant JSTL tags (not EL tags). Nope, I meant the Struts (1.2) and Tiles 1 EL tags, just like I said :) d. _

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Antonio Petrelli
2007/7/27, Dave Newton <[EMAIL PROTECTED]>: > > Now I'm wondering if there's enough (or any?) of a > performance hit for the EL tags that it actually makes > sense to only use an EL tag when you actually need it > or if there's any other reason why I might *want* to > use both on a page. Here I a

Re: [S1] EL vs. non-EL taglibs?

2007-07-27 Thread Brian Trzupek
Dave, As for a 'reason why I might *want* to use both on a page I found that some jsp taglibs that we have used, rely on pulling attr from EL tags. So when we have those tags in our app, and others Struts controls are on the page, we will use both. Also, in some cased we -need- t

[S1] EL vs. non-EL taglibs?

2007-07-27 Thread Dave Newton
Howdy, An inherited S1.2 app has many pages where both the EL and non-EL taglibs are used (non-JSP 2.0 container)... I don't really care for that (I've always just used one or the other) as IMO it just confuses things. Now I'm wondering if there's enough (or any?) of a perfor

Re: [S2] Freemarker vs struts taglibs

2007-06-04 Thread Jeromy Evans
now how JSP works at this level). Thanks again for your time :) Cheers Jordi Rubio Moreno -Mensaje original- De: Jeromy Evans [mailto:[EMAIL PROTECTED] Enviado el: lunes, 28 de mayo de 2007 14:37 Para: Struts Users Mailing List Asunto: Re: [S2] Freemarker vs struts taglibs Jordi Rubio

RE: [S2] Freemarker vs struts taglibs

2007-05-28 Thread Jordi Rubio Moreno
List Asunto: Re: [S2] Freemarker vs struts taglibs Extract the Freemarker tag templates; Freemarker doesn't cache them when they're loaded from the classpath. http://struts.apache.org/2.x/docs/performance-tuning.html d. --- Jeromy Evans <[EMAIL PROTECTED]> wrote: > Jordi

RE: [S2] Freemarker vs struts taglibs

2007-05-28 Thread Jordi Rubio Moreno
ow JSP works at this level). Thanks again for your time :) Cheers Jordi Rubio Moreno -Mensaje original- De: Jeromy Evans [mailto:[EMAIL PROTECTED] Enviado el: lunes, 28 de mayo de 2007 14:37 Para: Struts Users Mailing List Asunto: Re: [S2] Freemarker vs struts taglibs Jordi Rubio More

Re: [S2] Freemarker vs struts taglibs

2007-05-28 Thread Dave Newton
in 1.2s and the same page rendered > with freemarker in 600ms). > > > > It's certain that there are a lot of JSP taglib > documentation and S2 forums, bu

Re: [S2] Freemarker vs struts taglibs

2007-05-28 Thread Jeromy Evans
n site it's critical an excellent time response. I don't know if I'm doing anything wrong... I show you a little fragment of test

RE: [S2] Freemarker vs struts taglibs

2007-05-28 Thread Jordi Rubio Moreno
: Struts Users Mailing List Asunto: RE: [S2] Freemarker vs struts taglibs Hi Jeromy, I apologize to respond this email so late. I've develop a little test portal (close in functionality to production portal), and I've notice that JSP taglib are slower that Freemarker equivalent page (I&

RE: [S2] Freemarker vs struts taglibs

2007-05-28 Thread Jordi Rubio Moreno
page rendered with freemarker in 600ms). It's certain that there are a lot of JSP taglib documentation and S2 forums, but in a production site it's critical an excellent time response. I don't know if I'm doing anything wrong... I show you a little fragment of tes

RE: [S2] Freemarker vs struts taglibs

2007-05-21 Thread Jordi Rubio Moreno
Hi Musachy, Thanks a lot for the response :) Cheers! Jordi Rubio Moreno -Mensaje original- De: Musachy Barroso [mailto:[EMAIL PROTECTED] Enviado el: jueves, 17 de mayo de 2007 17:55 Para: Struts Users Mailing List Asunto: Re: [S2] Freemarker vs struts taglibs FreeMarker is a

Re: [S2] Freemarker vs struts taglibs

2007-05-18 Thread Jeromy Evans
ml musachy On 5/17/07, Jordi Rubio Moreno <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm a bit confused. I need to decide if I'll use Freemarker or Struts > taglibs, and I don't know the differences between both. E.g. what's the > difference between and &l

Re: [S2] Freemarker vs struts taglibs

2007-05-18 Thread Caine Lai
ROTECTED]> wrote: > > Hi, > > I'm a bit confused. I need to decide if I'll use Freemarker or Struts > taglibs, and I don't know the differences between both. E.g. what's the > difference between and <@s.iterator>, and <@s.url>, > etc etc... &g

Re: [S2] Freemarker vs struts taglibs

2007-05-17 Thread Musachy Barroso
g/2.x/docs/freemarker.html musachy On 5/17/07, Jordi Rubio Moreno <[EMAIL PROTECTED]> wrote: Hi, I'm a bit confused. I need to decide if I'll use Freemarker or Struts taglibs, and I don't know the differences between both. E.g. what's the difference between and <@s

[S2] Freemarker vs struts taglibs

2007-05-17 Thread Jordi Rubio Moreno
Hi, I'm a bit confused. I need to decide if I'll use Freemarker or Struts taglibs, and I don't know the differences between both. E.g. what's the difference between and <@s.iterator>, and <@s.url>, etc etc... I have seen all the tutorials and examples I have

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-23 Thread Crawford, Preston
eston -Original Message- From: Crawford, Preston [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 10:33 AM To: 'Struts Users Mailing List' Subject: RE: [S1] The proper way to define taglibs in a jsp file This is really strange. So it works if I reference the taglibs as defined in t

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-23 Thread Crawford, Preston
This is really strange. So it works if I reference the taglibs as defined in the web.xml (i.e. define /bean in the web.xml and then declare the taglib in the JSP referring to that uri). So now this works... <%@ taglib uri="/bean" prefix="bean" %> But this doesn'

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-20 Thread Crawford, Preston
al Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 2:01 AM To: Struts Users Mailing List Subject: RE: [S1] The proper way to define taglibs in a jsp file --- "Crawford, Preston" wrote: > I did. It's expecting the one you listed. I just ge

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-20 Thread Dave Newton
--- "Crawford, Preston" wrote: > I did. It's expecting the one you listed. I just get > a "Not Found" error if I go there. Why are you trying to go there? It's not a URL. You're saying your server/IDE is trying to hit that address? Something is set up funny if it is. d. ___

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Karr, David
- > From: Crawford, Preston [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 19, 2007 3:34 PM > To: 'Struts Users Mailing List' > Subject: RE: [S1] The proper way to define taglibs in a jsp file > > Oh, I just remembered something. There might be overhead/risk > to jsps

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Karr, David
Find the "uri" element. Use that. > -Original Message- > From: Crawford, Preston [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 19, 2007 3:10 PM > To: user@struts.apache.org > Subject: [S1] The proper way to define taglibs in a jsp file > > So I'm

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
I did. It's expecting the one you listed. I just get a "Not Found" error if I go there. I tried declaring it inside the web.xml instead (newly converted to 2.4) and that doesn't work either. Preston CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of t

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Dave Newton
--- "Crawford, Preston" wrote: > Wow. Except this URI can't be found. Umm Hmmm.. You can check what URI it's expecting by looking in the TLD file(s). d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
Wow. Except this URI can't be found. Umm Hmmm.. Preston -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 3:42 PM To: Struts Users Mailing List Subject: RE: [S1] The proper way to define taglibs in a jsp file --- "Crawfor

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
directory, then. Including jstl.jar as it would be natively part of the container. I'll have to try that out. Preston -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 4:41 PM To: Struts Users Mailing List Subject: Re: [S1] The proper way to

Re: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Niall Pemberton
PROTECTED] Sent: Thursday, April 19, 2007 4:26 PM To: 'Struts Users Mailing List' Subject: RE: [S1] The proper way to define taglibs in a jsp file Nevermind, I think the answer is both if I remember correctly. Preston CONFIDENTIALITY NOTICE: This e-mail message, including any att

Re: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Niall Pemberton
ing List Subject: RE: [S1] The proper way to define taglibs in a jsp file --- "Crawford, Preston" wrote: > Oh, I just remembered something. There might be overhead/risk to jsps > hitting the dtd on the Internet > vs. the local tld, no? I'm not sure that that's what the URI re

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
o: 'Struts Users Mailing List' Subject: RE: [S1] The proper way to define taglibs in a jsp file Nevermind, I think the answer is both if I remember correctly. Preston CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipien

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
Nevermind, I think the answer is both if I remember correctly. Preston CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distr

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
One last question. Do I use strut-el.jar or struts.jar? Preston CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
s to get a definitive answer. I'm trying to make it cleaner this time. Preston -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 3:44 PM To: Struts Users Mailing List Subject: RE: [S1] The proper way to define taglibs in a jsp file --- &qu

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Dave Newton
--- "Crawford, Preston" wrote: > Oh, I just remembered something. There might be > overhead/risk to jsps hitting the dtd on the Internet > vs. the local tld, no? I'm not sure that that's what the URI really does; they *look* like URLs but I think they're just look-up values to find the correspondi

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Dave Newton
--- "Crawford, Preston" wrote: > Yeah, actually I was the guy (way back when) who > helped define those TLDs in the web.xml. Now I'm back > on contract and want to clean up my work. That'll teach ya' ;) > I would like to just refer to the dtd in the URI and > forgo having the TLDs located in th

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
ubject: RE: [S1] The proper way to define taglibs in a jsp file Yeah, actually I was the guy (way back when) who helped define those TLDs in the web.xml. Now I'm back on contract and want to clean up my work. I would like to just refer to the dtd in the URI and forgo having the TLDs locat

RE: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
fine. Preston -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Benedict Sent: Thursday, April 19, 2007 3:20 PM To: Struts Users Mailing List Subject: Re: [S1] The proper way to define taglibs in a jsp file On 4/19/07, Crawford, Preston <[EMAIL P

Re: [S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Paul Benedict
On 4/19/07, Crawford, Preston <[EMAIL PROTECTED]> wrote: So I'm helping my company clean up some JSP files, things like that and I'm seeing declarations like this. <%@ taglib uri="/bean" prefix="bean" %> <%@ taglib uri="/html" prefix="html" %> The ability to automatically find TLD files is a

[S1] The proper way to define taglibs in a jsp file

2007-04-19 Thread Crawford, Preston
So I'm helping my company clean up some JSP files, things like that and I'm seeing declarations like this. <%@ taglib uri="/bean" prefix="bean" %> <%@ taglib uri="/html" prefix="html" %> Now I know there is a way to do these same declarations (we're on struts 1.2.9) without actually having to in

RE: Resource bundles and Struts taglibs

2006-08-23 Thread O'Shea, Sean
Hi Niall, Thanks again for your help - your suggestion worked. Sean -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 11:03 AM To: Struts Users Mailing List Subject: Re: Resource bundles and Struts taglibs On 8/23/06, O'Shea,

Re: Resource bundles and Struts taglibs

2006-08-23 Thread Niall Pemberton
On 8/23/06, O'Shea, Sean wrote: Hi all, I'm using struts 1.2.9 and I'm having some trouble with resource bundles. My JSP looks like this: <%@ include file="../taglibs.jsp" %> I'm plugging

Resource bundles and Struts taglibs

2006-08-23 Thread O'Shea, Sean
Hi all, I'm using struts 1.2.9 and I'm having some trouble with resource bundles. My JSP looks like this: <%@ include file="../taglibs.jsp" %> I'm plugging my resources into my struts-config

i18n algorithm and taglibs

2006-08-03 Thread Adam Hardy
I am writing a taglib at the moment to do some complex display logic and I need to get at the message resources. Please correct me if I am wrong but it seems that under some circumstances there can be different Locales (or sub-locales) available from different places in the servlet container a

Re: Tiles: Why need to declare taglibs in each sub-jsp?

2006-07-10 Thread Greg Reddin
prefix="html" %> I still also have to put taglibs declaration in the subBody.jsp or else my struts tags like and don't work! Why is this? Is this correct? If I have to do this in all my sub.jsp's then why even use Tiles? I want to put all my taglibs declaration onc

Re: Tiles: Why need to declare taglibs in each sub-jsp?

2006-07-10 Thread Yanroy
as expected. It took me several hours to work this one out... I hope my workaround helps, or at least spurs someone else to tell both of us a better way to solve this. If I misunderstood your problem, I apologize. I don't mean to mislead. -- View this message in context: http://www.nabb

Tiles: Why need to declare taglibs in each sub-jsp?

2006-07-10 Thread Mississippi John Hurt
I have a MainTemplate.jsp with header, body, footer in it. Weird thing is it seems that even though I put taglib declaration in my header.jsp, as in ... <%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %> I still also have to put taglibs decl

OT: Graphing Taglibs

2005-12-03 Thread Martin Ravell
Hi All, Just casting about for taglibs to produce graphs in a Struts, JSP app that I'm about to start prototyping. Google turned up a couple and Cewolf looks like a likely candidate. Has anyone got experiences to share about this or any other taglib set for producing nice graphs and c

Re: JSP 2.0 and taglibs (was Custom tags referencing struts tags)

2005-11-19 Thread Rahul Akolkar
nd with JSP technology. Every n days, we get a post from someone saying how a given unit of work was done in lesser time using some other technology of choice. This opens up a new dimension of reuse for Struts applications, and therefore, has potential to decrease development time and effort. That a

Re: JSP 2.0 and taglibs (was Custom tags referencing struts tags)

2005-11-19 Thread Laurie Harper
es extensible in the required manner. That way, strict backwards compatibility wouldn't be required (although you'd have to continue to maintain the old set for existing apps of course). I'm not sure that a rewrite delivers enough benefit to justify having two parallel implementatio

Re: JSP 2.0 and taglibs (was Custom tags referencing struts tags)

2005-11-19 Thread Craig McClanahan
On 11/19/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > > Rahul Akolkar wrote: > > Yes, that was more of a post-33064 comment. > > > > Getting the the Struts tags to be 2.0-ready is something I'd be > > interested in too. Given the origin of those tags way before 2.0, > > backward compatibility iss

Re: JSP 2.0 and taglibs (was Custom tags referencing struts tags)

2005-11-19 Thread Laurie Harper
Rahul Akolkar wrote: Yes, that was more of a post-33064 comment. Getting the the Struts tags to be 2.0-ready is something I'd be interested in too. Given the origin of those tags way before 2.0, backward compatibility issues will take precedence. I wonder if there's a better way. Yeah, backwar

Re: Has anybody experienced this weirdness with taglibs?

2005-11-18 Thread Aladin Alaily
Hi Alex, I've finally discovered why the jsessionid appended to the html:rewrites, links, and images was breaking my app. As it turns out, the apache-tomcat connectors were configured to handle anything going to /WEB-INF, *.do, *.jsp. Unfortunately, jsessionid is handled properly only via t

RE: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Aladin Alaily
9:03 AM > To: Struts Users Mailing List > Subject: Re: Has anybody experienced this weirdness with taglibs? > > Hmmm... that's interesting. > > It looks as though I have no control on whether or not the SID is > appended. The first time my page is loaded, the SID is appen

RE: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Garner, Shawn
OTECTED] On Behalf Of Aladin Alaily Sent: Thursday, November 17, 2005 9:03 AM To: Struts Users Mailing List Subject: Re: Has anybody experienced this weirdness with taglibs? Hmmm... that's interesting. It looks as though I have no control on whether or not the SID is appended. The first time my

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Ed Griebel
Your web server is appending the SID to the images (and would to other links to the same webapp in the page) to track sessions, and is a common technique used by webservers to support sessions when browser clients don't support cookies. I'm a little fuzzy on how exactly this works because it "Just

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread brenmcguire
I think this "problem" resides in the rewrite of the URL that Struts makes. Each time an URL is encountered (or an action path, or something similar) an URL rewrite happens. Now, if there is no session cookie activated (I mean in the HTTP-request), or cookies are disabled, then it appends the SID a

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread ALEX HYDE
Aladin, I'm no expert so I can't tell exactly what's wrong from what you're saying. Have u ripped out those url's to the images (with and without SID) and just tried them in a browser direct? Make sure it can find them and see if it serves them up in both cases. If it can't find them with a SID at

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Aladin Alaily
Hmmm... that's interesting. It looks as though I have no control on whether or not the SID is appended. The first time my page is loaded, the SID is appended and the images & links don't resolve. If I reload the page, the SID are removed and everything resolves. I am using Tomcat 5.5.12 and the

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread ALEX HYDE
It works for me. I would guess that this is pretty standard HTTP to be honest. It should resolve the images by stripping off any unnecessary SID info' etc, if you don't use it for security checking for example. I thought that the requests for images are exactly the same as a request for any other

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Aladin Alaily
That's not normal... If you add the semi-colon and the jsessionid to an image src, then the image is not going to resolve properly. That's the behaviour that I'm noticing - with the jsessionid, the links & images don't resolve. Aladin > That's normal. What's wrong with that? > > --- Aladin Al

Re: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread ALEX HYDE
That's normal. What's wrong with that? --- Aladin Alaily <[EMAIL PROTECTED]> wrote: > Hi, > > I am using and tags but when > they are evaluated a > jsessionid is appended: > > Image Example: > -- > /> > > GIVES > > src="/images/x.gif;jsessionid=1F69046A7709D30FD9AC36FC6E8A433

Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Aladin Alaily
Hi, I am using and tags but when they are evaluated a jsessionid is appended: Image Example: -- GIVES height="10" width="1"> Link Example: - " rel="stylesheet" type="text/css"> GIVES rel="stylesheet" type="text/css"> Has anyone experienced this before? If

Taglibs

2005-11-11 Thread Marcio Ghiraldelli
Good resume of avaible open-source taglibs. Perfectly for a "Struts, now what" situation. :) http://java-source.net/open-source/jsp-tag-libraries

Re: Can someone explain to me what is in http://jakarta.apache.org/taglibs/

2005-11-01 Thread Rahul Akolkar
On 11/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Are these tag libs seperate from what comes with Struts 1.2.7? For example I > am interested in using Struts to build a data grid application but I found a > datagrid library at: > http://jakarta.apache.org/taglibs/sa

Re: Can someone explain to me what is in http://jakarta.apache.org/taglibs/

2005-11-01 Thread James Mitchell
They are not part of Struts, but based on what I see here: http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc/index.html ...then it should work fine with Struts. -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. http

Can someone explain to me what is in http://jakarta.apache.org/taglibs/

2005-11-01 Thread bsimonin
Are these tag libs seperate from what comes with Struts 1.2.7? For example I am interested in using Struts to build a data grid application but I found a datagrid library at: http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc/intro.html Are datagrid capabilities not included in Struts

Re: Problems with custom taglibs

2005-10-27 Thread Wendy Smoak
From: "Eric Plante" <[EMAIL PROTECTED]> I have the one that comes with Exadel studio 3.0 (or eclipse3.1). it is named jstl.jar but I don'T know which version I have. Unzip/unjar it (jar -xvf fileame.jar) or open it with WinZip and look in the META-INF directory for the manifest.mf file. It s

Re: Problems with custom taglibs

2005-10-27 Thread Eric Plante
I have the one that comes with Exadel studio 3.0 (or eclipse3.1). it is named jstl.jar but I don'T know which version I have. All standard taglibs(bean, html and logic) works fine and core tags are recognized but the variables are seens as common strings and my personnal taglibs don't c

Re: Problems with custom taglibs

2005-10-27 Thread Wendy Smoak
From: "Eric Plante" <[EMAIL PROTECTED]> Well, I do have a jstl.jar in the lib of my project already. Do you also have standard.jar? (Both are in contrib/struts-el/lib of the Struts 1.2.7 distribution.) -- Wendy - To

Re: Problems with custom taglibs

2005-10-27 Thread Eric Plante
Well, I do have a jstl.jar in the lib of my project already. > From: "Laurie Harper" <[EMAIL PROTECTED]> > > > Yes, you need to add the implementation jars to your application > > classpath. Which version you need to install will depend on your servlet > > container. > > This might help you sort

Re: Problems with custom taglibs

2005-10-26 Thread Wendy Smoak
From: "Laurie Harper" <[EMAIL PROTECTED]> Yes, you need to add the implementation jars to your application classpath. Which version you need to install will depend on your servlet container. This might help you sort out which one you need: http://wiki.wsmoak.net/cgi-bin/wiki.pl?StrutsAndJST

Re: Problems with custom taglibs

2005-10-26 Thread Rahul Akolkar
> > Eric Plante wrote: > > Is there more to add than <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; > > prefix="c" %> > > in my jsp page? > > > > Eric > > Eric - Since the URI you're using belongs to JSTL 1.1, cross-check that you are: 1) using a Servlet 2.4 container 2) using a Servlet 2

Re: Problems with custom taglibs

2005-10-26 Thread Eric Plante
Can it explain why custom taglibs I made don'T work too? Thanks > Yes, you need to add the implementation jars to your application > classpath. Which version you need to install will depend on your servlet > container. > > L. > > Eric Plante wrote: > > Is there

Re: Problems with custom taglibs

2005-10-26 Thread Laurie Harper
Yes, you need to add the implementation jars to your application classpath. Which version you need to install will depend on your servlet container. L. Eric Plante wrote: Is there more to add than <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> in my jsp page? Eric Sou

Re: Problems with custom taglibs

2005-10-25 Thread Eric Plante
Is there more to add than <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> in my jsp page? Eric > Sounds like you didn't add JSTL to your application (that's why the JSTL > expression isn't being evaluated). > > L. > > Eric Plante wrote: > > Hi, > > > > Wendy, I tried: > > > >

Re: Problems with custom taglibs

2005-10-25 Thread Laurie Harper
Sounds like you didn't add JSTL to your application (that's why the JSTL expression isn't being evaluated). L. Eric Plante wrote: Hi, Wendy, I tried: That's a test to output every key in the Map which contain 10 items. the tags are recognized but what's output is ${mot.key} once lit

  1   2   >