Alternative UrlRenderer bean

2010-11-15 Thread GF
Hello everyone. i want to use a custom UrlRenderer bean. reading Struts2 source code i found that is used to render the URLs generated by s:url .. If in my struts.xml I insert: bean type=org.apache.struts2.components.UrlRenderer name=mystruts class=org.apache.struts2.components.MyUrlRenderer/

Re: Alternative UrlRenderer bean

2010-11-15 Thread Nils-Helge Garli Hegvik
You can take a look at how the portlet plugin does this (which was actually why the UrlRenderer bean was created in the first place). In addition to defining the bean, you need to tell Struts to use your renderer: The portlet plugin does it like this: bean

RE: Struts 2.1.6 - Alternative Template Engines - JSP

2009-04-30 Thread Kishan G. Chellap Paandy
- From: Musachy Barroso [mailto:musa...@gmail.com] Sent: Wednesday, April 29, 2009 11:30 PM To: Struts Users Mailing List Subject: Re: Struts 2.1.6 - Alternative Template Engines - JSP it sets the engine used by the tags. musachy On Wed, Apr 29, 2009 at 1:27 AM, Kishan G. Chellap Paandy

Re: Struts 2.1.6 - Alternative Template Engines - JSP

2009-04-29 Thread Musachy Barroso
. Regards, Kishan.G Senior Software Engineer. www.spansystems.com -Original Message- From: Musachy Barroso [mailto:musa...@gmail.com] Sent: Tuesday, April 28, 2009 6:37 PM To: Struts Users Mailing List Subject: Re: Struts 2.1.6 - Alternative Template Engines - JSP The template

Struts 2.1.6 - Alternative Template Engines - JSP

2009-04-28 Thread Kishan G. Chellap Paandy
Hi, I'm using Struts 2.1.6. I'm developing custom Struts 2.1.6 tags. I want to use org.apache.struts2.components.template.JspTemplateEngine. The framework supports three template engines, which can be controlled by the struts.ui.templateSuffix in struts.properties. If I set the above, does

Re: Struts 2.1.6 - Alternative Template Engines - JSP

2009-04-28 Thread Musachy Barroso
The template engines just process certain types of templates(ftl, vm, jsp, etc), but are not(directly) related to tags. The tags need to output something, what you use to generate the output is up to you, the struts tags use freemarker, but the javatemplates plugin uses plain java, for example.

RE: Struts 2.1.6 - Alternative Template Engines - JSP

2009-04-28 Thread Kishan G. Chellap Paandy
, April 28, 2009 6:37 PM To: Struts Users Mailing List Subject: Re: Struts 2.1.6 - Alternative Template Engines - JSP The template engines just process certain types of templates(ftl, vm, jsp, etc), but are not(directly) related to tags. The tags need to output something, what you use to generate

file upload interceptor alternative

2009-04-19 Thread Andy
It seems there are some big holes in the file upload interceptor. Validation doesn't work as stated and and max file size configs are not being used properly. I verified by checking the 2.1.6 JIRA list. Is there any robust alternative that people are using? Thanks

Re: What's the best alternative after Struts2 Dojo PlugIn deprecate?

2009-01-30 Thread Ralf Fischer
Subject Please respond to Re: What's the best alternative Struts Users after Struts2 Dojo PlugIn Mailing List deprecate? u...@struts.apac he.org What IDE setup are you using to run

What's the best alternative after Struts2 Dojo PlugIn deprecate?

2009-01-29 Thread jwl
Any suggestion for the alternative AJAX framework for Struts2 after they deprecate Dojo PlugIn? I know there are many out there, but what's the best one to integrate with Struts2? Any suggestion or analysis is highly appreciated! -- View this message in context: http://www.nabble.com/What

Re: What's the best alternative after Struts2 Dojo PlugIn deprecate?

2009-01-29 Thread Becky . L . O'Sullivan
Subject What's the best alternative after Please respond to Struts2 Dojo PlugIn deprecate? Struts Users Mailing List

Re: What's the best alternative after Struts2 Dojo PlugIn deprecate?

2009-01-29 Thread Musachy Barroso
To user@struts.apache.org 01/29/2009 01:45 cc PM Subject What's the best alternative

Re: What's the best alternative after Struts2 Dojo PlugIn deprecate?

2009-01-29 Thread Chris Boldon
Subject What's the best alternative after Please respond to Struts2 Dojo PlugIn deprecate? Struts Users Mailing List u...@struts.apac

Re: What's the best alternative after Struts2 Dojo PlugIn deprecate?

2009-01-29 Thread Becky . L . O'Sullivan
Subject Please respond to Re: What's the best alternative Struts Users after Struts2 Dojo PlugIn Mailing List deprecate? u...@struts.apac

Re: What's the best alternative after Struts2 Dojo PlugIn deprecate?

2009-01-29 Thread Struts Two
...@yahoo.com wrote: From: jwl wansto...@yahoo.com Subject: What's the best alternative after Struts2 Dojo PlugIn deprecate? To: user@struts.apache.org Received: Thursday, January 29, 2009, 9:45 PM Any suggestion for the alternative AJAX framework for Struts2 after they deprecate Dojo PlugIn? I

Do we have such alternative?

2008-07-14 Thread Igor Vlasov
Hello. Some days ago I looked in source code of project in ASP.net 2. Here I saw a good architectural alternative to: lt;%@ include file=/include/header.jsp % body lt;%@ include file=/include/footer.jsp % It looks like this: Page 1: lt;%@ CodeFile=EditUsers.aspx.cs MasterPageFile

Re: Do we have such alternative?

2008-07-14 Thread Antonio Petrelli
2008/7/14 Igor Vlasov [EMAIL PROTECTED]: Do we have some similar mechanism is JSP 2 + struts2? Well, Tiles: http://tiles.apache.org/ Struts 2 has a Tiles plugin: http://struts.apache.org/2.x/docs/tiles-plugin.html Antonio -

Re: Do we have such alternative?

2008-07-14 Thread Piero Sartini
Hello, Do we have some similar mechanism is JSP 2 + struts2? Or Do i must use struts2++ library? JSP can not do that out of the box. But there are very good solutions available. Have a look at Sitemesh or Tiles2: - http://struts.apache.org/2.x/docs/sitemesh-plugin.html -

Re: Do we have such alternative?

2008-07-14 Thread Igor Vlasov
/docs/sitemesh-plugin.html - http://struts.apache.org/2.x/docs/tiles-plugin.html Piero Thank for your answer. I will try . -- View this message in context: http://www.nabble.com/Do-we-have-such-alternative--tp18441301p18441909.html Sent from the Struts - User mailing list archive

Re: OT: Alternative to html frames

2008-02-13 Thread Randy Burgess
@struts.apache.org Date: Tue, 12 Feb 2008 10:36:08 -0500 To: Struts Users Mailing List user@struts.apache.org Subject: Re: OT: Alternative to html frames Antonio Petrelli wrote: Frank, you might love this article :-) http://thedailywtf.com/Articles/I-am-right-and-the-entire-Industry-is-wrong.a spx

Re: OT: Alternative to html frames

2008-02-13 Thread Randy Burgess
:34 -0500 To: Struts Users Mailing List user@struts.apache.org Subject: Re: OT: Alternative to html frames So that seems to say that it's left to the portlet developers to ensure there are no naming conflicts, am I understanding that right? Frank Randy Burgess wrote: As to the multiple

Re: OT: Alternative to html frames

2008-02-13 Thread Marc Eckart
Communications From: Frank W. Zammetti [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org Date: Wed, 13 Feb 2008 09:45:34 -0500 To: Struts Users Mailing List user@struts.apache.org Subject: Re: OT: Alternative to html frames So that seems to say that it's left

Re: OT: Alternative to html frames

2008-02-13 Thread Frank W. Zammetti
:45:34 -0500 To: Struts Users Mailing List user@struts.apache.org Subject: Re: OT: Alternative to html frames So that seems to say that it's left to the portlet developers to ensure there are no naming conflicts, am I understanding that right? Frank Randy Burgess wrote: As to the multiple

Re: OT: Alternative to html frames

2008-02-13 Thread Frank W. Zammetti
. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications From: Frank W. Zammetti [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org Date: Tue, 12 Feb 2008 10:36:08 -0500 To: Struts Users Mailing List user@struts.apache.org Subject: Re: OT: Alternative

Re: OT: Alternative to html frames

2008-02-13 Thread Marc Eckart
] Reply-To: Struts Users Mailing List user@struts.apache.org Date: Wed, 13 Feb 2008 09:45:34 -0500 To: Struts Users Mailing List user@struts.apache.org Subject: Re: OT: Alternative to html frames So that seems to say that it's left to the portlet developers to ensure there are no naming

Re: OT: Alternative to html frames

2008-02-13 Thread Randy Burgess
17:30:38 +0100 To: Struts Users Mailing List user@struts.apache.org Subject: Re: OT: Alternative to html frames The most applications are hosted in the intra net. We have another subnet with some Websphere servers secured by firewalls but they can all be accessed within out domain. So I think

Re: OT: Alternative to html frames

2008-02-13 Thread Randy Burgess
] Reply-To: Struts Users Mailing List user@struts.apache.org Date: Wed, 13 Feb 2008 16:44:17 +0100 To: Struts Users Mailing List user@struts.apache.org Subject: Re: OT: Alternative to html frames Hmm, in our case the single applications should not know it they are running in a portal or somewhere

Re: OT: Alternative to html frames

2008-02-13 Thread Frank W. Zammetti
. Zammetti [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org Date: Wed, 13 Feb 2008 09:45:34 -0500 To: Struts Users Mailing List user@struts.apache.org Subject: Re: OT: Alternative to html frames So that seems to say that it's left to the portlet developers to ensure

Re: OT: Alternative to html frames

2008-02-12 Thread Antonio Petrelli
2008/2/11, Frank W. Zammetti [EMAIL PROTECTED]: Marc, what aren't you happy about with the frame-based design? I've done a lot of that over the years and, once you learn to avoid the pitfalls, it's worked out great. I admit that in recent years I've leaned towards iFrames when frames were

Re: OT: Alternative to html frames

2008-02-12 Thread Antonio Petrelli
2008/2/11, Laurie Harper [EMAIL PROTECTED]: Antonio Petrelli wrote: 2008/2/11, Marc Eckart [EMAIL PROTECTED]: But we are not so happy with this frame aproaches in general. But we don't know how to integrate the different (indepentend) applications transparent to the users without

Re: OT: Alternative to html frames

2008-02-12 Thread Frank W. Zammetti
I think it all comes down to whether the different application/jsp's are in the same domain. If they are, then iFrames might do the trick nicely. Note that even if they are different subdomains, you can still do cross-frame scripting, it just requires some playing around with the

Re: OT: Alternative to html frames

2008-02-12 Thread Brantley Hobbs
Ya know, this triggers a question of my own: I have apps that use *tons* of iframes, and there *are* some drawbacks: 1. Without some sort of onload() built-in to every page, there's no way of knowing if the frame has loaded when you update its .src attribute. With an AJAX filled div, you'd

Re: OT: Alternative to html frames

2008-02-12 Thread Frank W. Zammetti
Antonio Petrelli wrote: Frank, you might love this article :-) http://thedailywtf.com/Articles/I-am-right-and-the-entire-Industry-is-wrong.aspx Hehe :) It's a good example of the typical taking an idea too far. The world seems to be divided into the people that say frames are evil and

Re: OT: Alternative to html frames

2008-02-12 Thread Marc Eckart
Hi Frank, thank you and all others for your answers ;-) We have a similar aproach like you described. We have an application which acts as a portal. This application has two frames - one top frame for the navigation and another frame for hosting the embbeded (independet) application. One of this

Re: OT: Alternative to html frames

2008-02-11 Thread Laurie Harper
Antonio Petrelli wrote: 2008/2/11, Marc Eckart [EMAIL PROTECTED]: But we are not so happy with this frame aproaches in general. But we don't know how to integrate the different (indepentend) applications transparent to the users without frames. A portlet container? Regular divs loaded via

Re: OT: Alternative to html frames

2008-02-11 Thread Frank W. Zammetti
div's aren't equivalent to frames in most cases... the most important difference is that of namespacing... when you use frames, there's no worry of Javascript or DOM element name collisions, which can occur with simple div's. Marc, what aren't you happy about with the frame-based design?

Re: OT: Alternative to html frames

2008-02-11 Thread Antonio Petrelli
2008/2/11, Marc Eckart [EMAIL PROTECTED]: But we are not so happy with this frame aproaches in general. But we don't know how to integrate the different (indepentend) applications transparent to the users without frames. A portlet container? Antonio

OT: Alternative to html frames

2008-02-11 Thread Marc Eckart
Hi, I have an offtopic question :-) We have an intranet portal with a menu where you can start different applications. The applications run on different containers (e.g. tomcat, websphere) on different servers. The portal has a html frameset with two frames. The topframe is for the portal menu

[s2] alternative path for the validation xml?

2008-02-05 Thread GF
Is there anything alternative (apart annotation) to place validation xml for the action method in the same package of the action classes? I don't like to place .xml in the same directory of the .java Any idea (apart annotation) thanks

Struts2 Configutation alternative to sessions?

2007-11-06 Thread James Carr
Hi All, I'm using struts 2 for a small web app that has an action attribute that needs to maintain state. Currently I'm using sessions but I would like to reconfigure my application to use something besides sessions, perhaps something like viewState in .NET that would be availble via a hidden

Re: Struts2 Configutation alternative to sessions?

2007-11-06 Thread Dave Newton
--- James Carr wrote: Currently I'm using sessions but I would like to reconfigure my application to use something besides sessions, perhaps something like viewState in .NET that would be availble via a hidden input or get parameter. Why are you trying to avoid the session? I'm sure

Re: Struts2 Configutation alternative to sessions?

2007-11-06 Thread James Carr
Sessions aren't currently available on the server and I don't want to have to wait till the end of the week for my client to view the application. Thanks, James On Nov 6, 2007 12:11 PM, Dave Newton [EMAIL PROTECTED] wrote: --- James Carr wrote: Currently I'm using sessions but I would like to

Re: Struts2 Configutation alternative to sessions?

2007-11-06 Thread Gary Affonso
James Carr wrote: Hi All, I'm using struts 2 for a small web app that has an action attribute that needs to maintain state. Currently I'm using sessions but I would like to reconfigure my application to use something besides sessions, perhaps something like viewState in .NET that would be

Re: [S 1.3]IncludeAction or any other Alternative?

2007-10-26 Thread Igor Vlasov
this? H. -- View this message in context: http://www.nabble.com/-S-1.3-IncludeAction-or-any-other-Alternative--tf4693599.html#a13423608 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

[S 1.3]IncludeAction or any other Alternative?

2007-10-25 Thread enthucoder
-Alternative--tf4693599.html#a13415790 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

struts 2 alternative to propertyset

2007-08-27 Thread Leonidas Papadakis
Hi there, in the past i have used propertyset from opensymphony in order to have a key-value property file for configuration settings. i.e. i had a file my-sets.xml property key=defaultlanguage type=stringen/property Is there a built in mechanism in struts 2 i.e. to have a file with values :

Alternative Template Ajax + web Standards for business solutions

2007-06-22 Thread sardagna
Hi, people. What you think we create a alternative template to use ajax and web standards. Why ajax? Dojo is a great framework ajax, however is very slow to make bussiness solutions, and i don't think appropiate to use with struts2, because what the widget dojo do is to make easy a complexy

Alternative Template Ajax + web Standards for business solutions

2007-06-22 Thread José Carlos Sardagna
Hi, people. What you think we create a alternative template to use ajax and web standards. Why ajax? Dojo is a great framework ajax, however is very slow to make bussiness solutions, and i don't think appropiate to use with struts2, because what the widget dojo do is to make easy a complexy

Re: Alternative Template Ajax + web Standards for business solutions

2007-06-22 Thread Musachy Barroso
to take the bait and attempt to answer this email... José Carlos Sardagna wrote: Hi, people. What you think we create a alternative template to use ajax and web standards. Why ajax? Dojo is a great framework ajax, however is very slow to make bussiness solutions, and i don't think appropiate

Re: Alternative Template Ajax + web Standards for business solutions

2007-06-22 Thread Jeromy Evans
I'm going to take the bait and attempt to answer this email... José Carlos Sardagna wrote: Hi, people. What you think we create a alternative template to use ajax and web standards. Why ajax? Dojo is a great framework ajax, however is very slow to make bussiness solutions, and i don't think

Re: alternative

2006-10-01 Thread Yariel Ramos Moreno
I have seen AJAXTags, but UITags thoes exactly what I need. The problem is that I can't get it work. I have follow all steps for configuration, and take a look at the samples.war, but it doesn't work to me. Have any of you any example or tutorial or can tell me how to use it with struts 1.1?

Re: alternative

2006-09-29 Thread Thomas Joseph
@struts.apache.org Sent: Friday, September 29, 2006 1:21 AM Subject: Re: alternative Thanks everybody for your comments. I can't use AJAX now 'cause the time is short and the amount of changes will be a lot, but I will try uitags (I have seen the demo and I liked it). Thanks very much

Re: alternative

2006-09-28 Thread Mikolaj Rydzewski
Yariel Ramos Moreno wrote: Any help is welcome, If you don't want go AJAX, then try uitags.sf.net. -- Mikolaj Rydzewski [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature

Re: alternative

2006-09-28 Thread Yariel Ramos Moreno
Thanks everybody for your comments. I can't use AJAX now 'cause the time is short and the amount of changes will be a lot, but I will try uitags (I have seen the demo and I liked it). Thanks very much! __ XIII Convención Científica de Ingeniería y

alternative

2006-09-27 Thread Yariel Ramos Moreno
Hi all: I'm writing 'cause I need a suggestion about the best way to face an issue in a project. I'm working in a big management system. In this struts application almost all pages have a lot of fields with a performance like a desktop application, specially with a lot of validations. The

Re: alternative

2006-09-27 Thread Thomas Joseph
- Original Message - From: Yariel Ramos Moreno [EMAIL PROTECTED] To: Struts user@struts.apache.org Sent: Thursday, September 28, 2006 6:17 AM I'm working in a big management system. In this struts application almost all pages have a lot of fields with a performance like a desktop

Oracle AS jsp:setProperty problem, Struts alternative?

2006-09-20 Thread Scott Van Wart
Is there a Struts (1.3.5) alternative to the jsp:setProperty tag? jsp:setProperty works fine when it's close to the jsp:useBean tag, but when it's farther down the page, Oracle's JSP translator might put the setProperty translation in a separate method than the bean declaration in the output

Re: Oracle AS jsp:setProperty problem, Struts alternative?

2006-09-20 Thread Chris Pratt
That's basically what the Struts bean: taglib and JSTL c: (core) taglib's are for. Give them a look. (*Chris*) On 9/20/06, Scott Van Wart [EMAIL PROTECTED] wrote: Is there a Struts (1.3.5) alternative to the jsp:setProperty tag? jsp:setProperty works fine when it's close to the jsp:useBean

Re: Oracle AS jsp:setProperty problem, Struts alternative?

2006-09-20 Thread Scott Van Wart
Chris Pratt wrote: That's basically what the Struts bean: taglib and JSTL c: (core) taglib's are for. Give them a look. (*Chris*) c:set looks like it will work. I figured bean:... would have all I need, but IIRC some tags were deprecated because of some of the jsp:XXX tags. Thanks, Scott

Struts Unit Tests / Alternative getUserPrincipleCall

2005-04-05 Thread Tim Christopher
Hi, Does anyone know how to code a response to request.getUserPrinciple().getName()? I've used that call at the start of many of my Actions so that only relevant content would be displayed, however I'm now trying to run unit tests I'm getting no where as the User Principle is not in the request.

Re: Struts Unit Tests / Alternative getUserPrincipleCall

2005-04-05 Thread Tim Christopher
Just in case anyone else experiences the same problem this is how I solved it: TestPrincipal user = new TestPrincipal(tim); ServletContext context = getActionServlet().getServletContext(); HttpServletRequestSimulator hsrs = new HttpServletRequestSimulator(context);

Re: Advise How to set alternative raow background color

2005-01-28 Thread Eddie Bush
I avoid runtime expressions and scriplets as much as I can: c:forEach values=myList item=var varStatus=status c:choose c:when test=${ (status.count % 2) == 0 } %-- White BG --% tr class=rowEven ... /c:when c:otherwise %-- Grey BG --% tr class=rowOdd

Re: Advise How to set alternative raow background color

2005-01-28 Thread Rick Reumann
senthil Kumar wrote the following on 1/27/2005 2:19 AM: I am getting more than 100 regards from database and print in a JSP by 15 regards per Page. Its is working fine. Now i want to set alternative Row background color. I print all the rows between the logic:iterator in Struts. any one

Re: Advise How to set alternative raow background color

2005-01-27 Thread Cedric Levieux
: Advise How to set alternative raow background color On Thu, 27 Jan 2005 12:49:00 +0530, senthil Kumar [EMAIL PROTECTED] wrote: Hi all. I am getting more than 100 regards from database and print in a JSP by 15 regards per Page. Its is working fine. Now i want to set alternative Row

Re: Advise How to set alternative raow background color

2005-01-27 Thread Jeff Beal
Kishore Senji wrote: On Thu, 27 Jan 2005 12:49:00 +0530, senthil Kumar [EMAIL PROTECTED] wrote: Hi all. I am getting more than 100 regards from database and print in a JSP by 15 regards per Page. Its is working fine. Now i want to set alternative Row background color. I print all the rows

Advise How to set alternative raow background color

2005-01-26 Thread senthil Kumar
Hi all. I am getting more than 100 regards from database and print in a JSP by 15 regards per Page. Its is working fine. Now i want to set alternative Row background color. I print all the rows between the logic:iterator in Struts. any one help me. Here i am putting my code also

Re: Advise How to set alternative raow background color

2005-01-26 Thread Kishore Senji
On Thu, 27 Jan 2005 12:49:00 +0530, senthil Kumar [EMAIL PROTECTED] wrote: Hi all. I am getting more than 100 regards from database and print in a JSP by 15 regards per Page. Its is working fine. Now i want to set alternative Row background color. I print all the rows between

Alternative Presentation Layers

2004-12-10 Thread Jerry Jalenak
been-away-awhile-but-now-back! / Starting a major rewrite of one of our client facing webapps, along with a significant change to the underlying production system that feeds the webapp. One of the changes is that I know have the option of receiving well-formed XML documents instead of big, ugly

Form tag spanning more than one tile - surely this is possible or is there alternative pattern?

2004-11-29 Thread Graeme Miller
Hi guys, Here is what I think should be a very simple tiles question. So simple in fact that I am left scratching my head thinking there is no way struts could not do this - I must be doing something wrong! Lets say I have a base layout jsp simple-layout.jsp %@ page language=java% %@ taglib

RE: Form tag spanning more than one tile - surely this is possible or is there alternative pattern?

2004-11-29 Thread Hollaway, Shedrick L CIV TRIREFFAC
or is there alternative pattern? Hi guys, Here is what I think should be a very simple tiles question. So simple in fact that I am left scratching my head thinking there is no way struts could not do this - I must be doing something wrong! Lets say I have a base layout jsp simple-layout.jsp %@ page language=java

Re: Need an alternative to bean:define

2004-11-05 Thread James Mitchell
04, 2004 11:43 PM Subject: Re: Need an alternative to bean:define My condolences :-( I now see your rock and hard spot. It's not about bleeding edge though. Of course, what counts in that regard is your clients' opinion of what bleeding edge is. Best of luck! Eddie - Original Message

[OT] Re: Need an alternative to bean:define

2004-11-05 Thread Erik Weber
: Thursday, November 04, 2004 11:43 PM Subject: Re: Need an alternative to bean:define My condolences :-( I now see your rock and hard spot. It's not about bleeding edge though. Of course, what counts in that regard is your clients' opinion of what bleeding edge is. Best of luck! Eddie

RE: Need an alternative to bean:define

2004-11-04 Thread Janice
, 2004 5:17 PM To: Struts Users Mailing List Subject: Re: Need an alternative to bean:define I would question anyone who told me I had to use something that is going away in the future (most of Struts' taglibs), instead of using a standard technology (the JSTL). Are they fully-aware of the decision

Re: Need an alternative to bean:define

2004-11-04 Thread Eddie Bush
' [EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:25 PM Subject: RE: Need an alternative to bean:define I should point out that it isn't my company that has the restrictions. My employer would quite happily move to the bleeding edge of any technology if there were any benefit to do so

RE: Need an alternative to bean:define

2004-11-03 Thread Janice
Unfortunately, I need to get all kinds of approval to use JSTL, is there no Struts tag that will do this? TIA, J -Original Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 5:04 PM To: Struts Users Mailing List Subject: Re: Need an alternative

Re: Need an alternative to bean:define

2004-11-03 Thread Matt Bathje
, 2004 5:04 PM To: Struts Users Mailing List Subject: Re: Need an alternative to bean:define Is JSTL an option? I find Struts Logic tag hard to read! If so, I think this should do: c:set var=lastCN value=/ logic:iterate... c:if test=${widget.clinetName != lastCN} /c:if c:set var=lastCN value

Re: Need an alternative to bean:define

2004-11-03 Thread Matt Bathje
Matt Bathje wrote: Janice - I do multiple bean:defines (with values, not with name/property attributes) in some of my jsps, and never have problems, and am therefore assuming that the name/property attributes are causing the problem. Here may be a non-jstl workaround you can try: bean:define

RE: Need an alternative to bean:define

2004-11-03 Thread Janice
] Sent: Wednesday, November 03, 2004 10:32 AM To: Struts Users Mailing List Subject: Re: Need an alternative to bean:define Janice - I do multiple bean:defines (with values, not with name/property attributes) in some of my jsps, and never have problems, and am therefore assuming that the name

Re: Need an alternative to bean:define

2004-11-03 Thread Matt Bathje
-bean.html#define You can't re-define in 1.1. There must be a workaround? TIA, J -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 10:32 AM To: Struts Users Mailing List Subject: Re: Need an alternative to bean:define Janice - I do multiple

Re: Need an alternative to bean:define

2004-11-03 Thread Wendy Smoak
From: Janice [EMAIL PROTECTED] Thanks Matt, but I think my problem is that I'm using Struts 1.1 (and can't change it) According to: http://struts.apache.org/userGuide/struts-bean.html#define You can't re-define in 1.1. There must be a workaround? Honestly, I'd last 2.5 seconds in a place

RE: Need an alternative to bean:define

2004-11-03 Thread Joe Hertz
Janice, Does this snippet work if you move all of the bean:defines insidea of your logic:iterate? I haven't tested this myself, but I strongly suspect that the problem is the fact that bean:define declares the variable in the resulting servlet code that gets generated. It's trying to declare a

RE: Need an alternative to bean:define

2004-11-03 Thread Joe Hertz
Janice, Does this snippet work if you move all of the bean:defines insidea of your logic:iterate? I haven't tested this myself, but I strongly suspect that the problem is the fact that bean:define declares the variable in the resulting servlet code that gets generated. It's trying to declare a

RE: Need an alternative to bean:define

2004-11-03 Thread Janice
).getClientName()); % It works, I was just hoping for a nicer solution. Thanks for everyone's input! -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 1:52 PM To: 'Struts Users Mailing List' Subject: RE: Need an alternative to bean:define Janice

Re: Need an alternative to bean:define

2004-11-03 Thread Eddie Bush
List' [EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 1:06 PM Subject: RE: Need an alternative to bean:define Thanks Matt, but I think my problem is that I'm using Struts 1.1 (and can't change it) According to: http://struts.apache.org/userGuide/struts-bean.html#define You can't re-define

Need an alternative to bean:define

2004-11-02 Thread Janice
My brain has stopped working. I need an alternative to bean:define. What I'm TRYING to do is iterate through a list, displaying a certain bit of code only when its different than the last iteration (grouping). Here's a snip: bean:define id=lastClientName value

RE: [OT] Sending multipart alternative emails (HTML and text)

2004-06-29 Thread Matthias Wessendorf
: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 11:21 PM To: [EMAIL PROTECTED] Subject: [OT] Sending multipart alternative emails (HTML and text) I've been tasked with sending out emails which contain both HTML and text. I have successfully implemented this and tested

RE: [OT] Sending multipart alternative emails (HTML and text)

2004-06-29 Thread Robert Taylor
Thanks Matthias, robert -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 2:07 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Sending multipart alternative emails (HTML and text) Robert, perhaps you may look at: http

RE: Struts alternative to using request.getParameterValues in an actionform?

2004-06-17 Thread Rajat Pandit, Gurgaon
:) -Original Message- From: Asif Rahman [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 10:44 PM To: Struts Users Mailing List; Asif Rahman Subject: Re: Struts alternative to using request.getParameterValues in an actionform? Importance: High Satish, it does not seem to work

Re: [SOLVED] Re: Struts alternative to using request.getParameterValues in an actionform?

2004-06-17 Thread atta-ur rehman
You're welcome, Asif! Now you why didn't I copy-pasted some code for you ;) ATTA - Original Message - From: Asif Rahman [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, June 17, 2004 8:17 AM Subject: [SOLVED] Re: Struts alternative to using

RE: Struts alternative to using request.getParameterValues in an actionform?

2004-06-16 Thread Satish Kataria
Message- From: Asif Rahman [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 2:31 AM To: [EMAIL PROTECTED] Subject: Struts alternative to using request.getParameterValues in an actionform? Importance: High Hi Im using logic:iterate shown below to iterate through an arraylist (sitesList

Re: Struts alternative to using request.getParameterValues in an actionform?

2004-06-16 Thread Asif Rahman
- From: Satish Kataria [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; Asif Rahman [EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 8:35 AM Subject: RE: Struts alternative to using request.getParameterValues in an actionform? You can use nested tags to automatically retrive

Re: Struts alternative to using request.getParameterValues in an actionform?

2004-06-16 Thread Asif Rahman
*blush* sorry, forgot the taglib directive. -Asif - Original Message - From: Asif Rahman [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 9:50 AM Subject: Re: Struts alternative to using request.getParameterValues in an actionform? I

Re: Struts alternative to using request.getParameterValues in an actionform?

2004-06-16 Thread Asif Rahman
PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; Asif Rahman [EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 10:21 AM Subject: Re: Struts alternative to using request.getParameterValues in an actionform? *blush* sorry, forgot the taglib directive. -Asif - Original Message

Struts alternative to using request.getParameterValues in an actionform?

2004-06-15 Thread Asif Rahman
Hi Im using logic:iterate shown below to iterate through an arraylist (sitesList) in my actionform (OpportunitySitesForm). This arraylist contains a number of Site objects which have the properties siteName, address1, and city. This is getting displayed correctly. Now when processing the

Re: Struts alternative to using request.getParameterValues in an actionform?

2004-06-15 Thread atta-ur rehman
:14 PM Subject: Re: Struts alternative to using request.getParameterValues in an actionform? Hellow Asif, Indexed Properties is exactly what you need here. For more info, please search thru the mail archive at: http://www.mail-archive.com/[EMAIL PROTECTED]/ or at: - Original Message