Re: Problem using indexed properties and validator framework

2005-06-03 Thread John Fitzpatrick
up for you. John On 20050603 5:05 AM, "Nitesh" <[EMAIL PROTECTED]> wrote: > Thanks for the answer John... > > Could you give me an example as to how we pre populate the array? > > Regards, > Nitesh > - Original Message - > From: "J

Re: Having problems moving between pages with struts

2005-06-02 Thread John Fitzpatrick
If I'm reading your desired config correctly, It looks like you've got one action, InfoAction which would be reached at /action/PersonalInfo.do and will either load info.vm or menu.vm depending on what the action returns. (Note the placement of the ".do" -- that's what that means) If there are ot

Re: Expression evaluation with html-el tags?

2005-06-02 Thread John Fitzpatrick
I've never had a need to do anything like what you're doing, but I can tell you that ${} needs to contain the entire expression. Try this: On 20050602 11:22 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > Is it possible to do more than just simple loop index evaluation with

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
he form having session scope and it gave me >> java.lang.ArrayIndexOutOfBoundsException. >> >> Tried using ArrayList and gives me java.lang.IndexOutOfBoundsException >> >> Regards, >> >> Nitesh >> >> - Original Message - >> >>

Re: The Action form in request during several actions

2005-06-02 Thread John Fitzpatrick
Rodolfo, Anything in the "request" scope will go away as soon as the response is sent to the client. If you want something to stick around between requests for that client, you want to put it into the "session" scope. John On 20050602 7:56 AM, "Rodolfo GarcĂ­a Esteban/CYII" <[EMAIL PROTECTED]

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
I tried removing size with the form having session scope and it gave me > java.lang.ArrayIndexOutOfBoundsException. > > Tried using ArrayList and gives me java.lang.IndexOutOfBoundsException > > Regards, > > Nitesh > > - Original Message - > > From: &q

Re: redirect from index.jsp

2005-06-02 Thread John Fitzpatrick
Try this as your entire index.jsp: The standard jsp tag should do ya fine. John On 20050602 6:46 AM, "andy wix" <[EMAIL PROTECTED]> wrote: > Hi, > > I am having trouble redirecting users from index.jsp to a Tile layout. > > In index.jsp I have: > > <%@ taglib uri="struts/logic" prefix="lo

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
Looks like you've got a few issues. Let me answer what I can and see if that helps: On 20050602 7:34 AM, "Nitesh" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use the validator framework with dyna forms. > > In the JSP page I have a list of user details being listed for edit. > > type=

Re: Onload Action

2005-06-02 Thread John Fitzpatrick
On 20050602 5:27 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > I have a form where there is a grid(plain HTML) which needs to be > populated via . Is there a way to populate that form before > the page is loaded( somehow via struts=config ..er??) so that I do > not need to submit

Re: target attribute from server in html:link tag please Help!

2005-06-02 Thread John Fitzpatrick
On 20050601 5:36 PM, "Lucas Bern" <[EMAIL PROTECTED]> wrote: > > Hi guys! i have a problem > > I need to configurate de "target" attribute of my form, but i have to do it > from mi action > > Any idea? In the .jsp: If you need to specify it from the action, you'll need to use the

Re: HttpServletRequest Question

2004-10-15 Thread John Fitzpatrick
; === > > You can certainly pull some data out of the request (params, properties, etc.) > and store that, but do not maintain a reference to the actual request object. > > Quoting John Fitzpatrick <[EMAIL PROTECTED]>: > >> This may be slightly off-topic for this list

HttpServletRequest Question

2004-10-15 Thread John Fitzpatrick
This may be slightly off-topic for this list, but here goes anyway: I'm working on a Struts site which must be i18n compatible and have a login system where some of the pages are protected. What I'm looking to accomplish is two fold: 1. When viewing any page, including query results, be able to s