Re: Problem using indexed properties and validator framework

2005-06-03 Thread John Fitzpatrick
... Could you give me an example as to how we pre populate the array? Regards, Nitesh - Original Message - From: John Fitzpatrick [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, June 02, 2005 6:00 PM Subject: Re: Problem using indexed properties

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 html-el

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 logic:iterate. 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

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. logic:iterate

Re: redirect from index.jsp

2005-06-02 Thread John Fitzpatrick
Try this as your entire index.jsp: jsp:forward page=/app/preLoadViewTree.do / 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: %@

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
having session scope and it gave me java.lang.ArrayIndexOutOfBoundsException. Tried using ArrayList and gives me java.lang.IndexOutOfBoundsException Regards, Nitesh - Original Message - From: John Fitzpatrick [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org

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
java.lang.IndexOutOfBoundsException Regards, Nitesh - Original Message - From: John Fitzpatrick [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, June 02, 2005 5:15 PM Subject: Re: Problem using indexed properties and validator framework Looks like you've got a few

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: html-el:text property=myIndexedProperty[${outerLoop.index * innerLoop.index}]//td On 20050602 11:22 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

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

Re: HttpServletRequest Question

2004-10-15 Thread John Fitzpatrick
.) 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, but here goes anyway: I'm working on a Struts site which must be i18n compatible and have a login system where some