Re: My OWN VALIDATOR

2005-05-11 Thread Niall Pemberton
This is the same problem you had with your other custom validation method - the parameters you've defined in the validation configuration file don't match your method signature. http://www.mail-archive.com/user@struts.apache.org/msg26221.html http://www.mail-archive.com/user@struts.apache.org/msg2

quick Digester help

2005-05-11 Thread rmanchu
got 3 classes, one for each XML node type. at the end, is a custom HashMap(parent-form.name, List-of(child-form)). in this setup the parent-form bean becomes obsolete although this setup works fine. i would like to remove use of the parent-form class altogether. what i don

Re: html:image and IE

2005-05-11 Thread Dakota Jack
David, could you please indicate which docs you are talking about and give a reference? Thanks. On 5/11/05, Durham David R Jr Ctr 805 CSPTS/SCE <[EMAIL PROTECTED]> wrote: > > > > > > From the docs: > > A way of retrieving these values through a form bean is to define > getX(), getY(),

Re: My OWN VALIDATOR

2005-05-11 Thread Metal KoRn
Hi Im having a problem with validators this is the error VALIDATION FAILED May 11, 2005 11:29:09 PM org.apache.struts.validator.ValidatorForm validate SEVERE: validator.FMValidator.validateList(java.lang.Object, org.apache.commons. validator.ValidatorAction, org.apache.commons.validator.Field, o

Add ability of required to handle checkboxes, radio, ... - I GOT A PROBLEM!

2005-05-11 Thread Oratai Sookrojnirun
> Dear All, > > I'm in trouble of using "depends=required" in validation.xml for validate > radio buttons. > If has no any selected the radio buttons. It don't validate anything and I > got an errors message > "WARNING: Unhandled Exception thrown: class java.lang.NullPointerException" > (I'm using

Re: Is struts more performant than JSF

2005-05-11 Thread Dakota Jack
The JSF is an event-based framework with tight coupling in a page-based controller. That should answer the question in itself. If you want that, then you will put up with the performance and CPU hit. You might even put up with the performance and CPU hit if you are hell bent on using tools inste

Re: html:image and IE

2005-05-11 Thread Dakota Jack
Unless Dave is right, Chad,which I don't think he is, the difficulty is that you get as a name/value pair in the request parameters [property].x=[some integer] and [property].y=[some integer] so that the task becomes getting the name which is the "property" in [property] rather than the value, i.e.

Re: html:image and IE

2005-05-11 Thread Dakota Jack
I may be wrong, Dave, but I think you are going to get an integer value for getX and getY and not "Update". Isn't that right? That is why the solutions have to be a little more detailed and why we got saddled with the LookupDispatchAction and other heavy solutions. Once again, I think the option

Re: Problem using session var

2005-05-11 Thread Lucas Bern
Hi! bean write tag just takes a bean under "name" key form the scope where you indicates with "scope" or with findAttrinute searching in every scopes if you omit the "scope" attribute. Once the bean is found, the tag, takes the value of the "property" attribute as String and -first replace the

Re: Problem using session var

2005-05-11 Thread Rafael Taboada
My bad... I cleaned and rebuilt and It works without logic:iterate and getStrValor and setStrValor and strValor attribute. :) But. Why does it work using logic:iterate and getstrValor and setstrValor? Thanks for help me. -- Rafael Taboada ---

Re: Problem using session var

2005-05-11 Thread Rafael Taboada
Yes, I used logic:iterate with getstrValor and setstrValor and it worked fine.. But I tried with logic:iterate and getStrValor and setStrValor and it worked too... So, what's the problem???... Is my Has it to be inside a iteration method??? Because lstTipoCambio is a collection Id tried

RE: Problem using session var

2005-05-11 Thread David G. Friedman
Rafael, Are you sure you used the logic:iterate with the old method signatures and not the new case sensitive getters and setters? Regards, David -Original Message- From: Rafael Taboada [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 9:44 PM Cc: Struts Users Mailing List Subject:

Re: Problem using session var

2005-05-11 Thread Rafael Taboada
I renamed my methods but nothing happened. My new getters and setters: getStrValor() setStrValor() But it's still the same error. But I did this: And it worked Do u know why? Because lstTipoCambio is a collection object???. And why don't work renaming my methods like Larry

Re: Problem using session var

2005-05-11 Thread Larry Meadors
This has nothing to do with sessions - it is just standard bean naming, and AFAIK, all jsp tags will stick to this. The methods getXxx and setXxx create a property named xxx. One more naming issue to watch out for is this one: The methods getXName and setXName create a property named XName, no

Re: Problem using session var

2005-05-11 Thread Rafael Taboada
I didn't know about capitalization of bean:write. So, how can i know in order to print some data in my jsp?. using session vars... Using JSTL?.. I don't know. -- Rafael Taboada - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: [POLL] What do you use action forms for?

2005-05-11 Thread Don Brown
#1, mainly because my primary app uses stxx (http://stxx.sf.net) so without taglibs, there isn't much left to ActionForms. My forms are XML based, so I use commons-validator with custom XML validators, and JXPath to populate (treats the form element names as xpath expressions). My wizards that us

RE: Problem using session var

2005-05-11 Thread David G. Friedman
Rafael, Your try/catch lists YOUR setter as: tipocambio.setstrValor() This suggests you make your getter tipocambio.getstrValor(). Unfortunately, bean:write capitalizes the first letter of the property so bean:write is trying to invoke 1stTipoCambio.getStrValor(), not your 1stTipoCambio.getstrV

Problem using session var

2005-05-11 Thread Rafael Taboada
Hi folks. I have a problem using session variables, I hope u can help me. In my jsp: In my action: if (session.getAttribute("lstTipoCambio")==null) session.setAttribute("lstTipoCambio",articuloDAO.getTipoCambio()); In my DAO: getTipoCambio returns a Collection, a set of TipoCambio o

Re: [POLL] What do you use action forms for?

2005-05-11 Thread Michael Jouravlev
By the way, hopefully by input and output data we understand the same information. For example, this wiki page http://wiki.apache.org/struts/StrutsMultipleActionForms treats data from a page point of view: "Most pages have both input data (setup) and output data (request name/value pairs)." That me

Re: [POLL] What do you use action forms for?

2005-05-11 Thread rmanchu
#4 Michael Jouravlev wrote: Turns out, that my way of using action forms differs from many other Struts users' habits. So, I am wondering how do you use action forms. I could not find the same poll in mailing list archives, so I am starting this one. You can answer here in the thread, or in the pol

Re: LookupDispatchAction - missing resource in key method map

2005-05-11 Thread Randy Kennedy
OkayI figured out what I was doing wrong, so I'm going to post this FYI out there just in case someone else makes the same mistake I did. In my form, I had a hidden field with the same name as the parameter (e.g. methodToCall) defined in my action. After my initialization action forwarded

Re: [POLL] What do you use action forms for?

2005-05-11 Thread Michael Jouravlev
Ok Matt, so you still use them, even though you do not create them ;-) And what do you use those generated forms for? #1 means that people read input data right from the request, and stick output data in some bean of theirs, which is not an action form. On 5/11/05, Matt Raible <[EMAIL PROTECTED]>

Re: [POLL] What do you use action forms for?

2005-05-11 Thread Neil Erdwien
A related question I've wondered about is whether to store everything a JSP page needs in the ActionForm. When I first learned Struts, that seemed like a smart idea -- everything that a page needed was stored in the one object. Obviously some of the fields would be nested objects. Now it seem

Re: [POLL] What do you use action forms for?

2005-05-11 Thread Michael Jouravlev
#4 and #5 > #4 > > So (out of interest) how are you using action forms? > > > > What is your preferred way to use action forms? > > > #1 Prefer not to use action forms at all > > > #2 For input data only (usually collected from HTML form) > > > #3 For output only (to be used in JSP) > > > #4 Same

Re: [POLL] What do you use action forms for?

2005-05-11 Thread Simon Chappell
#4 The same action form for both input and output. On 5/11/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Turns out, that my way of using action forms differs from many other > Struts users' habits. So, I am wondering how do you use action forms. > I could not find the same poll in mailing lis

Re: [POLL] What do you use action forms for?

2005-05-11 Thread Jonathan Wright
#4 So (out of interest) how are you using action forms? Jonathan Wright - Original Message - From: "Matt Raible" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, May 12, 2005 10:06 AM Subject: Re: [POLL] What do you use action forms for? > #1 - so I generate them fr

Re: [POLL] What do you use action forms for?

2005-05-11 Thread Leon Rosenberg
#2 :) #1 if possible too (means, if I'm too lazy to go for number 2) > -Ursprüngliche Nachricht- > Von: Michael Jouravlev [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 12. Mai 2005 00:03 > An: Struts Users Mailing List > Betreff: [POLL] What do you use action forms for? > > Turns out

Re: [POLL] What do you use action forms for?

2005-05-11 Thread Leon Rosenberg
#2 :) #1 if possible too (means, if I'm too lazy to go for number 2) > -Ursprüngliche Nachricht- > Von: Michael Jouravlev [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 12. Mai 2005 00:03 > An: Struts Users Mailing List > Betreff: [POLL] What do you use action forms for? > > Turns out

Re: NestedLazy Validation

2005-05-11 Thread Niall Pemberton
Are you using the indexedListProperty in your validation.xml? Niall - Original Message - From: "Vincent" <[EMAIL PROTECTED]> Sent: Wednesday, May 11, 2005 8:10 PM > I am having a lot of fun using nested lazyforms as > described here: > http://www.niallp.pwp.blueyonder.co.uk

Re: [POLL] What do you use action forms for?

2005-05-11 Thread Rafael Taboada
#4 -- Rafael Taboada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [POLL] What do you use action forms for?

2005-05-11 Thread Matt Raible
#1 - so I generate them from my POJOs using XDoclet. All the other frameworks I use (JSF, Spring, Tapestry and WebWork) allow me to use my POJOs directly. Matt On May 11, 2005, at 4:02 PM, Michael Jouravlev wrote: Turns out, that my way of using action forms differs from many other Struts users

Re: [POLL] What do you use action forms for?

2005-05-11 Thread Larry Meadors
I use them for #2...ironic in a way. Larry On 5/11/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > Turns out, that my way of using action forms differs from many other > Struts users' habits. So, I am wondering how do you use action forms. > I could not find the same poll in mailing list a

[POLL] What do you use action forms for?

2005-05-11 Thread Michael Jouravlev
Turns out, that my way of using action forms differs from many other Struts users' habits. So, I am wondering how do you use action forms. I could not find the same poll in mailing list archives, so I am starting this one. You can answer here in the thread, or in the poll form, which I created on

RE: html:image and IE

2005-05-11 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> > >From the docs: A way of retrieving these values through a form bean is to define getX(), getY(), setX(), and setY() methods, and specify your property as a blank string (property=""). So, you could just do: In a JSP: Then in your action: if (((DynaBean)f

Re: Is struts more performant than JSF

2005-05-11 Thread Craig McClanahan
On 5/10/05, Yan Hu <[EMAIL PROTECTED]> wrote: > Hi: > I have been playing with JSF lately. I really like it since it is very > intuitive. But as I > understand it, JSF keeps a component tree for each page with JSF widgets in > it on the server. So > it is heavy weight compared with struts. Coul

Re: html:image and IE

2005-05-11 Thread Dakota Jack
The whole point is not to use the form, I think, Chad. By the way, all the browsers return the keys with .x and .y, even though some also return the variables without the .x and .y. On 5/9/05, Chad Rosen <[EMAIL PROTECTED]> wrote: > Ok I'm going to reply to myself :) > > Adding this check solved

Re: nested:iterate and nested:hidden question

2005-05-11 Thread Rick Reumann
Liu, Benson wrote the following on 5/11/2005 2:21 PM: public Class Discrepancy { String[] discrepancyIds; } public Class CashException { Collection discrepancies; // collection of Discrepancy objects } In my JSP, I tried the following: How would

Re: Feature wanted: autocomplete attribute for html:text/form tag s

2005-05-11 Thread Tomasz Nazar
On Tue, May 10, 2005 at 05:12:40PM +0100, Niall Pemberton wrote: > Since Struts 1.2.5 the html tags have had some re-factoring that makes it > easier to create your own custom version. All you need to do is extend the > TextTag, add appropriate getter/setter methods for a new "autocomplete" > prope

servlet mapping , possible OT

2005-05-11 Thread David Evans
Hello All, I have a struts app which is having problems with its servlet mapping. this problem appeared seemingly on its own, unrelated to any change to the configuration. surely thats unlikely, but i'm the only admin on the box and i don't remember changing anything. the app is running on tomcat,

Problems with ActionError

2005-05-11 Thread Néstor Boscán
Hi I'm trying to use the ActionErrors clases. I'm doing validation on the Action class like this: if (user == null) { errors.add ("username", new ActionError ("errors.fieldisrequired", "username")); } saveErrors (request, errors); Ths resource file is configured correctly. I can do a getM

RE: Input Page Enhancement?

2005-05-11 Thread Benedict, Paul C
I don't understand why there needs to be a special setting just to accomplish this? -Original Message- From: Michael Jouravlev [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 1:30 PM To: Struts Users Mailing List Subject: Re: Input Page Enhancement? Actually, you can make it red

Re: Is struts more performant than JSF

2005-05-11 Thread Adam Hardy
On 11/05/05 00:15 Matt Raible wrote: You could hammer on AppFuse and Equinox - they both have Struts and JSF versions. http://demo.appfuse.org/appfuse (Struts 1.2.4) http://demo.appfuse.org/appfuse-jsf (MyFaces 1.0.7) http://demo.raibledesigns.com/equinox-struts (same versions as above) http://de

Re: how to download file (example)

2005-05-11 Thread Fco Javier Jiemnez
This is a little example : response.setHeader("Content-Disposition", "attachment; filename=\"" + part.getFileName() + "\""); response.setContentType(part.getContentType()); InputStream instream = part.getInputStream(); ServletOutputStream outstream = response.getOutp

Re: how to download file (example)

2005-05-11 Thread Frank W. Zammetti
True... I would however be very willing to bet you can lift the DownloadAction class from 1.2.6 and drop it in 1.2.4 without any problem... As a matter of fact, although I'm not 100% certain, I think the sample app I wrote that you can grab off the Wiki is in fact using 1.2.4... heck, there's a cha

Re: how to download file (example)

2005-05-11 Thread Grzegorz Stasica
Frank W. Zammetti wrote: Hello, Do you want to use the Struts DownloadAction? If so, have a look here: http://wiki.apache.org/struts/StrutsFileDownload Even if you don't want to use it, you may find the example helpful, along with the source for DownloadAction, to help you along. Unfortunatelly I

NestedLazy Validation

2005-05-11 Thread Vincent
I am having a lot of fun using nested lazyforms as described here: http://www.niallp.pwp.blueyonder.co.uk/lazyactionform.html#section4 I've run into an issue though where I'm finding it hard to validate them, though. in the JSP I'm using nested:iterate to display a bunch of them. when I get them

Re: how to download file (example)

2005-05-11 Thread Frank W. Zammetti
Hello, Do you want to use the Struts DownloadAction? If so, have a look here: http://wiki.apache.org/struts/StrutsFileDownload Even if you don't want to use it, you may find the example helpful, along with the source for DownloadAction, to help you along. -- Frank W. Zammetti Founder and Chie

Re: user hitting back-button and sending POSTDATA

2005-05-11 Thread Michael Jouravlev
On 5/11/05, Joe Germuska <[EMAIL PROTECTED]> wrote: > At 10:35 AM -0700 5/11/05, Michael Jouravlev wrote: > >On 5/11/05, Scott Purcell <[EMAIL PROTECTED]> wrote: > >> I am having trouble getting information, or a workaround for the > >>following problem. > >> > >> A user fills out a simple textfi

how to download file (example)

2005-05-11 Thread Grzegorz Stasica
hi, I'm looking for links/examples how to download file in struts action. In action I have OutputStream but what header should I send and the most important how the stram should be send to browser - To unsubscribe, e-mail: [EMAI

nested:iterate and nested:hidden question

2005-05-11 Thread Liu, Benson
Hi, I have a nested object hierarch as follows: public Class Discrepancy { String[] discrepancyIds; } public Class CashException { Collection discrepancies; // collection of Discrepancy objects } In my JSP, I tried the following: How would

Re: question

2005-05-11 Thread David Johnson
');javascript:setPortName('');document.forms[0].submit();"/>  works like a charm. so no more html-el:img for me. On 5/11/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > From: "David Johnson" <[EMAIL PROTECTED]> > > the URL when this page is up is : > > http://localhost:8080/myApp/portfolio.actio

RE: Way of reading this mailing list as a heirachy

2005-05-11 Thread Pilgrim, Peter
See intermixed > -Original Message- > From: Mark Benussi [mailto:[EMAIL PROTECTED] ==== > > My award of the week goes to Adam for this piece of information. > > I was just downloading some open source e-mail client but am > relieved I can > do this option. > > -Original Message-

Re: user hitting back-button and sending POSTDATA

2005-05-11 Thread Joe Germuska
At 10:35 AM -0700 5/11/05, Michael Jouravlev wrote: On 5/11/05, Scott Purcell <[EMAIL PROTECTED]> wrote: I am having trouble getting information, or a workaround for the following problem. A user fills out a simple textfield form. I update the database with the value and show a new jsp page. T

Re: question

2005-05-11 Thread Wendy Smoak
From: "David Johnson" <[EMAIL PROTECTED]> > the URL when this page is up is : > http://localhost:8080/myApp/portfolio.action but the base href is: > http://localhost:8080/myApp/jsp/layouts/siteLayout.jsp";> FWIW, I never use . Or at least I would set it to something reasonable like the index page

Re: user hitting back-button and sending POSTDATA

2005-05-11 Thread Michael Jouravlev
On 5/11/05, Scott Purcell <[EMAIL PROTECTED]> wrote: > I am having trouble getting information, or a workaround for the following > problem. > > A user fills out a simple textfield form. I update the database with the > value and show a new jsp page. Then the user hits the back-button, and even

Re: Input Page Enhancement?

2005-05-11 Thread Michael Jouravlev
Actually, you can make it redirect, but this affects the whole application, since you need to make change in element: Then you will need to refer a element in your "input" property: ... Because this involves a regular element anyway, I think that "input" in its current

Input Page Enhancement?

2005-05-11 Thread Benedict, Paul C
>From all this discussion, something occurred to me: I think someone should submit an enhancement for Struts 1.2.8/1.3, so that we can define the input page as an action forward/redirect: After talking with Michael, this solution would solve one of the input/output pr

Re: question

2005-05-11 Thread David Johnson
another tidbit, the following link displays the gif file properly http://localhost:8080/myApp/jsp/images/portGraph.gif On 5/11/05, David Johnson <[EMAIL PROTECTED]> wrote: > > The full img tag includes some el tags which werent coming out properly > with a normal img tag :( I tried that first

Re: question

2005-05-11 Thread David Johnson
The full img tag includes some el tags which werent coming out properly with a normal img tag :( I tried that first :) the URL when this page is up is : http://localhost:8080/myApp/portfolio.action but the base href is: http://localhost:8080/myApp/jsp/layouts/siteLayout.jsp";> how can I em

Re: question

2005-05-11 Thread Wendy Smoak
From: "David Johnson" <[EMAIL PROTECTED]> > Any thoughts on this? I tried > but that is an illegal argument :( What is the URL in the browser window when it's trying to load the image? Images are requested separately by the browser after the page is loaded. The URL for the image needs to be rela

Re: user hitting back-button and sending POSTDATA

2005-05-11 Thread Joe Germuska
At 11:14 AM -0500 5/11/05, Scott Purcell wrote: I am having trouble getting information, or a workaround for the following problem. A user fills out a simple textfield form. I update the database with the value and show a new jsp page. Then the user hits the back-button, and even though the bro

Re: question

2005-05-11 Thread David Johnson
Any thoughts on this? I tried wrote: > > Interesting twist, when I add in it gets translated into > this: > > href="http://localhost:8080/myApp/jsp/layouts/siteLayout.jsp"; > > > > So, does that mean the base location is the "layou

DynaValidatorForm not validating ?

2005-05-11 Thread Michael Klaene
I'm trying to set up a DynaValidatorForm and I can't seem to get it to work. As you can see, the log leads you to believe it *did* validate and the validation passed (?) Log: 2005-05-11 12:23:22,004 DEBUG [RequestProcessor] Storing ActionForm bean instance in scope 'request' under attribute

StrutsCatalogInputOutputSeparation continued / PRG

2005-05-11 Thread Benedict, Paul C
Michael, I want to continue this discussion because I think it has merit. I've used the PRG pattern for over a year since I first came across your article on TheServerSide.com. It works well in most cases, but I don't use it 100% of the time because of certain limitations. It just happened that y

user hitting back-button and sending POSTDATA

2005-05-11 Thread Scott Purcell
I am having trouble getting information, or a workaround for the following problem. A user fills out a simple textfield form. I update the database with the value and show a new jsp page. Then the user hits the back-button, and even though the browser gives an alert (this will POSTDATA that is

Re: question

2005-05-11 Thread David Johnson
Interesting twist, when I add in it gets translated into this: http://localhost:8080/myApp/jsp/layouts/siteLayout.jsp";> So, does that mean the base location is the "layouts" dir? Obviously I'm using Tiles in this app. Thoughts? On 5/11/05, David Johnson <[EMAIL PROTECTED]> wrote: > > Hey al

question

2005-05-11 Thread David Johnson
Hey all I've got the followiong directory structure for my web-app C:\Builds\riskGrid\WebRoot\jsp (all JSP's are here) C:\Builds\riskGrid\WebRoot\jsp\images (all images) This is the image code (in a JSP in the jsp directory) that results in the image not being found. What am I missing?? I cant

RE: Problems with Form Action Using Struts-Faces Integration Library

2005-05-11 Thread Kevin Hinners
Am I posting to the wrong list for Struts-Faces problems? Kevin Hinners -Original Message- From: Kevin Hinners [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 3:11 PM To: user@struts.apache.org Subject: Problems with Form Action Using Struts-Faces Integration Library I am tryin

Re: Struts-flow and ActionForm

2005-05-11 Thread Don Brown
This is the tricky part I haven't worked out yet with Struts Flow - smooth ActionForm integration. By forcing you to customize the populate and validate methods, it does allow you to have complete control of how your form is interacted with. For ActionForms, the populate would be a call to BeanUt

Re: OT JSTL c:out

2005-05-11 Thread Jeff Beal
With JSTL 1.1 you can do: On 5/11/05, Brian McGovern <[EMAIL PROTECTED]> wrote: > I want to only print a portion of a string with JSTL c:out tag > > So if my string = "foobar", I want to know how to print out "xxxbar" > > Thanks > -B > > ---

LookupDispatchAction - missing resource in key method map

2005-05-11 Thread Randy Kennedy
I've banged my head on this problem for at least 4-5 hours, and I'm at my wits end. I've already reviewed several possible solutions, but it appears that I have everything in order for using the LookupDispatchAction class. Here's the message that I receive: --- 10:17:29,172 ERROR [Engine] Stan

RE: StrutsCatalogInputOutputSeparation

2005-05-11 Thread Benedict, Paul C
Michael, I read your article again two more times, and I have to say I really do like it. It's an ingenious solution; so I am warming up to it in some areas. Regardless, this email thread will certainly help everyone think through the problem :) Here are some further reflections: 1) I wrote: "do

unable to access properties from formbean in included jsp

2005-05-11 Thread temp temp
I am creating a new bean containg struts formbean in jsp .I put this new bean in request scope. I want to include another jsp in this jsp. In another jsp I want to access the properties from the new bean . Any property I try to write or define I get error message no getter and setter metho

Saving context in web application with exception-driven authentication

2005-05-11 Thread Yaroslav Novytskyy
Hi! I'm looking for a suitable solution for the following problem which concerns authentication. In my application the logon process is triggered by an exception which is thrown by the call of an API function. The important moment is that my web application cannot know whether the user has the

R: OT JSTL c:out

2005-05-11 Thread Amleto Di Salle
Hi, You can use the "fn:substring" function (see some documentation, for example JSTL1.1 specification, for the attributes). In order to use it, you have to declare the directive taglib i.e. <%@ taglib uri="http://java.sun.com/jsp/jstl/functions"; prefix="fn" %> at the begin of jsp. BR /Amleto

OT JSTL c:out

2005-05-11 Thread Brian McGovern
I want to only print a portion of a string with JSTL c:out tag So if my string = "foobar", I want to know how to print out "xxxbar" Thanks -B - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

RE: (OT) Acegi & Struts

2005-05-11 Thread hermod . opstvedt
Hi Have a look at another SF project: SecurityFilter Hermod -Original Message- From: Rodolfo García Esteban/CYII [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 11:34 AM To: Struts Users Mailing List Subject: Re: (OT) Acegi & Struts Hello, Have you look at CAS? www.yale.e

Re: (OT) Acegi & Struts

2005-05-11 Thread Matt Raible
On May 11, 2005, at 3:26 AM, Marco Mistroni wrote: Hello all, Sorry for partially off-topic question, but I am looking For some feedback.. Is anyone using (or has used, or plan to use) acegi security system(http://acegisecurity.sourceforge.net/) with Struts? I'm using Acegi as part of AppF

Re: StrutsCatalogInputOutputSeparation

2005-05-11 Thread Ted Husted
On 5/10/05, Benedict, Paul C <[EMAIL PROTECTED]> wrote: > I have read Michael Jouravlev's article: > http://wiki.apache.org/struts/StrutsCatalogInputOutputSeparation > > I can't find any blog or comment box on the page, so I'll write here. I > would like people to freely respond to my comments. A

Re: (OT) Acegi & Struts

2005-05-11 Thread Rodolfo García Esteban/CYII
Hello, Have you look at CAS? www.yale.edu/tp/auth/cas10.html Rodolfo ___ "Marco Mistroni" <[EMAIL PROTECTED]> 11/05/2005 11:26 Por favor, responda a "Struts Users Mailing List" Para: "'Struts Users Mailing List'" cc:

(OT) Acegi & Struts

2005-05-11 Thread Marco Mistroni
Hello all, Sorry for partially off-topic question, but I am looking For some feedback.. Is anyone using (or has used, or plan to use) acegi security system(http://acegisecurity.sourceforge.net/) with Struts? Any feedback? Any recommendations for other security 'systems' to use with struts

Re: Multiple tiles layouts for single application

2005-05-11 Thread Andreas Toom
Hello, actually my solution is on page 16 ;) It's not that much to say about it, the example is quite straight forward. Just point the definition path to a struts action which will, based upon some condition, forward to a page or other tile that will be used as the path for the definition and ex

RE: Html:muttibox tag help

2005-05-11 Thread Faisal.Shoukat
I tried the below and the value of String [] resourceIds in my action form is still null. I have looked through many examples on using the multibox and just cannot see as to why the resourceIds array is not being populated. Help! -Original Message- From: Rafael Taboada [mailto:[EMAIL PRO