Re: help with modules

2004-03-26 Thread James Norman
Try adding contextRelative=true to the forwards in your struts-config. I remember a similar problem I had a while back, but I'm not entirely sure this will solve it. Here is an example of an Action I had in a struts module I wrote: action path=/listLoggers

RE: Help on struts

2004-03-26 Thread Shoaib
Thanks for your guidance. You are right , we are in the case where user will come back from search page. I will try as you suggested and give feedback. Regards Shoaib I guess the first thing to consider is what you mean by come back to the previous page. Do you just mean have the user

RE: HELP: applet-to-action anomaly

2004-03-23 Thread Pady Srinivasan
For me, clicking on Standard Area Page: took me to the page with SoA site - Standard area It seems to work ok. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: w i l l i a m b o y d [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 12:57 AM To: [EMAIL

RE: HELP: applet-to-action anomaly

2004-03-23 Thread w i l l i a m b o y d
...this is how to reproduce the problem: 1) *FIRST* load http://www.thefreelancer.net:8080/soa/jsp/enterAreaToRead.do? areaid=3. you should be taken to the error page. 2) then, load http://www.thefreelancer.net:8080/soa/jsp/mockups/index.jsp. you can see that the user is logged in by the

RE: help in java script

2004-03-15 Thread Andrew Hill
Should not that be: html:text size=20 property=userId onchange=javascript:find('%=value%')//TD (note the ' around value) -Original Message- From: Shobhana.S, ASDC Chennai [mailto:[EMAIL PROTECTED] Sent: Monday, 15 March 2004 17:27 To: Struts Users Mailing List Subject: help in java

RE: help in java script

2004-03-15 Thread Shobhana.S, ASDC Chennai
Hi! If my value is an int variable then how shld i pass the value? Say, % int value=10; % I want to pass this value to my onchange event. Unliek this case where i've defined the value in my program the value is determined dynamically. Thank you Shobhana

RE: help in java script

2004-03-15 Thread Shobhana.S, ASDC Chennai
the single quotes (') around the dynamic text some time, cause it's really annoying to use the method im describing here. Regards, Andreas -Ursprngliche Nachricht- Von: Andrew Hill [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. M?rz 2004 10:30 An: Struts Users Mailing List Betreff: RE

RE: help in java script

2004-03-15 Thread Andrew Hill
im describing here. Regards, Andreas -Ursprngliche Nachricht- Von: Andrew Hill [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. M?rz 2004 10:30 An: Struts Users Mailing List Betreff: RE: help in java script Should not that be: html:text size=20 property=userId onchange=javascript:find

RE: Help on struts

2004-03-13 Thread Andrew Hill
I guess the first thing to consider is what you mean by come back to the previous page. Do you just mean have the user redirected back to that url when they have finished playing with the search? or is it more complex. For example the previous page is a form, and they are halfway through filling

Re: help! I m going mad

2004-03-12 Thread Mark Lowe
Okay here's a full example, first of all i'm going to mess with your naming conventions as they'd drive me mad also //bean package com.sparrow.struts; public class TestBean { private String name; public String getName() { return name; }

Re: help! I m going mad

2004-03-12 Thread Niall Pemberton
In your struts-config.xml, is the action which initially displays your jsp page associated with TestBeanForm? Niall - Original Message - From: Mu Mike [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 12, 2004 10:17 AM Subject: help! I m going mad I just cant use

Re: help! I m going mad

2004-03-12 Thread Siamack
Hello: the name attribute in your logic:iterate should be your object name not your class name. Hope this helps. html:form action=/testAction.do logic:iterate name=YOUR OBJECT NAME property=testBean id=mybean indexId=index1 %-- html:text property=fontName value=12 indexed=true/--%

RE: help implementing modules...

2004-03-12 Thread Liu, Anne I
Subject: RE: help implementing modules... Thanks for the feedback. I removed these and still the same problem. Also, I originally put them in on the guidance of the UserGuide. Anything else look like a problem? Thanks, Gary -Original Message- From: Daniel [mailto

RE: help implementing modules...

2004-03-12 Thread Liu, Anne I
name=SearchForm type=com.qualcomm.bds.struts.SampleAppSearchAction input=/Home.jsp Hope this helps! -Original Message- From: Liu, Anne I [SMTP:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 10:13 AM To: 'Struts Users Mailing List' Subject: RE: help implementing

RE: help implementing modules...

2004-03-12 Thread Damm, Gary
- From: Srikanth Shenoy [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 7:30 PM To: [EMAIL PROTECTED] Subject: Re: help implementing modules... Hi Gary, I would suggest download the following free chapter from my book - Struts Survival Guide. Go to http

RE: help about struts

2004-03-11 Thread Leticia Golubov
This is where I started: Read Struts In Action (Published by Manning) book. http://www.manning.com/husted/index.html Resources: http://jakarta.apache.org/struts/ http://jakarta.apache.org/index.html -Original Message- From: EROL TEZCAN [mailto:[EMAIL PROTECTED] Sent: 11 March 2004

Re: help me with using bean

2004-03-11 Thread stu
On Thu, 11 Mar 2004 01:30:38 + Mu Mike [EMAIL PROTECTED] wrote: I have files like the below,I m trying to submit a bean object to my action class, yet when I pressed the submit on the jsp file,it threw an exception:java.lang.IllegalArgumentException: No bean specified what is the

RE: help me with using bean

2004-03-11 Thread shirishchandra.sakhare
Can you send the mail without the entrust cretificate? I can not read the mail and hence help you :-(( -Original Message- From: stu [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 3:04 PM To: [EMAIL PROTECTED] Subject: Re: help me with using bean File: SMIME.txt

RE: help implementing modules...

2004-03-11 Thread Liu, Anne I
I don't know if this will help, but you have to prepend the module name into your URL. Thus, your link should look like html-el:form action=module1/DomainSearch I've found the short section in the struts the most helpful when dealing with modules

Re: help implementing modules...

2004-03-11 Thread Daniel
take out the redirect attribute. Abraços Daniel S. - Original Message - From: Liu, Anne I [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, March 11, 2004 5:08 PM Subject: RE: help implementing modules... I don't know if this will help, but you have

Re: help implementing modules...

2004-03-11 Thread Daniel
ops ;-) and contextRelative too. - Original Message - From: Liu, Anne I [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, March 11, 2004 5:08 PM Subject: RE: help implementing modules... I don't know if this will help, but you have to prepend

RE: help implementing modules...

2004-03-11 Thread Damm, Gary
To: Struts Users Mailing List Subject: Re: help implementing modules... ops ;-) and contextRelative too. - Original Message - From: Liu, Anne I [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, March 11, 2004 5:08 PM Subject: RE: help implementing

RE: help me about indexed properties

2004-03-11 Thread Mu Mike
sorry, the last mail doesnt display correctly, but when I tried to write a new one, I saw it displays correctly as the below ThanksRegards From: Mu Mike [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: help me about indexed properties Date:

RE: help me about indexed properties

2004-03-11 Thread Craig Tataryn
Hi Mike, the attributes for logic iterate are all explained here: http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate and http://jakarta.apache.org/struts/faqs/indexedprops.html I've put it in my own words for you below: For logic:iterate == name attribute: tag

Re: help implementing modules...

2004-03-11 Thread Srikanth Shenoy
Hi Gary, I would suggest download the following free chapter from my book - Struts Survival Guide. Go to http://www.objectsource.com and find the link there to download Chapter 4. It tells you how to setup and use modules. Hope that helps, Srikanth Shenoy Author Struts Survival Guide:

RE: help me about indexed properties

2004-03-11 Thread Mu Mike
PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: help me about indexed properties Date: Thu, 11 Mar 2004 21:11:42 -0600 (CST) Hi Mike, the attributes for logic iterate are all explained here: http://jakarta.apache.org/struts/userGuide/struts-logic.html

RE: help ,action path

2004-03-10 Thread Mu Mike
for guiding programming with struts 1.1 thank you all From: Mu Mike [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: help ,action path Date: Wed, 10 Mar 2004 05:46:16 + of course, I m using an ide to edit the jsp page, it can hotly tell

RE: help me with using bean

2004-03-10 Thread David Friedman
Mike, When you use form-property with a form-bean, don't you need to make the main Bean a DynaActionForm or a class you extended from DynaActionForm? Where do you initialize the form-property bean. For DynaActionForms, they initialize to null, per If you do not supply an initial attribute,

RE: help me with using bean

2004-03-10 Thread Mu Mike
about this as soon as possible ThanksRegards From: David Friedman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: help me with using bean Date: Wed, 10 Mar 2004 20:50:18 -0500 Mike, When you use form-property

RE: help me with using bean

2004-03-10 Thread David Friedman
! if ( bean == null ) bean = new FontBean(); return bean; } Regards, David -Original Message- From: Mu Mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 9:16 PM To: [EMAIL PROTECTED] Subject: RE: help me with using bean David, Thank you, I m

RE: help me with using bean

2004-03-10 Thread Mu Mike
: David Friedman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: help me with using bean Date: Wed, 10 Mar 2004 21:24:54 -0500 Mike, Why not change your: public class SelectFontForm extends ActionForm{ public

RE: help me with using bean

2004-03-10 Thread Mu Mike
David: by the way, the setBean method in FontBean seems never been called, I think it should be called sometime during the running process From: Mu Mike [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: help me with using bean Date: Thu

RE: help me with using bean

2004-03-10 Thread David Friedman
but I think that your use of Form-Property without extending from the class DynaActionForm is giving you the trouble. Regards, David -Original Message- From: Mu Mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 9:36 PM To: [EMAIL PROTECTED] Subject: RE: help me with using bean

RE: help me with using bean

2004-03-10 Thread Mu Mike
] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: help me with using bean Date: Wed, 10 Mar 2004 22:29:01 -0500 Mike, You wrote are new to Struts so have you tried this without nesting a Bean within a form? I.E. by making an ActionForm which has size and fontName properties then copying them

RE: help me with using bean

2004-03-10 Thread Mu Mike
ok, I have solved the problem,seems I should use html:submit instead but not input type=submit by the way,thank you all ,especially David ThanksRegards From: Mu Mike [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: help me with using

Re: help ,action path

2004-03-09 Thread Daniel Henrique Alves Lima
Please, try html:form method=post action=/openReport or html:form method=post action=/myapp/openReport You can also do a view source and look the html generated by tag html:form - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: help ,action path

2004-03-09 Thread Mu Mike
modified the jsp file to the below still doesnt work html:form method=post action=/openReport or html:form method=post action=/myapp/openReport You can also do a view source and look the html generated by tag html:form and ,I think I need an explaination of this, and what should be the right

Re: help ,action path

2004-03-09 Thread Daniel Henrique Alves Lima
Sorry, my mistake. When you use view source of your browser, how does the html code look like ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: help ,action path

2004-03-09 Thread Khalid K.
Do you have the tag libraries defined on top of the page Example: %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % ??? Khalid modified the jsp file to the below still doesnt work html:form method=post action=/openReport or

RE: help ,action path

2004-03-09 Thread Mu Mike
] Subject: RE: help ,action path Date: Tue, 9 Mar 2004 21:41:30 -0800 Do you have the tag libraries defined on top of the page Example: %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % ??? Khalid modified the jsp file to the below

Re: help ,action path

2004-03-09 Thread Daniel Henrique Alves Lima
The exception is been generated when .jsp is rendered (and not when you submit the form), hum ? Try to enable struts debug log (in your log4j config file) and try to check the package/name of your action (in struts-config.xml)...

Re: Help on ApplicationResources

2004-03-04 Thread Niall Pemberton
Kamakshya, I answered this message, but I didn't notice you had posted this to both the struts-dev AND struts-user list and the reply address defaulted to struts-dev, so my answer went there. First of all, you need to post messages to the appropriate list - this is a user question, so it never

RE: Help on mapping multiple records with formbean.

2004-03-04 Thread Andrew Hill
Do not cross-post to the developer list like that. http://www.catb.org/~esr/faqs/smart-questions.html The developer list is not the place to post user questions. Have you looked at the keyboard monkey tutorial yet? http://www.k [LINK CENSORED FOR CROSSPOSTING.] ;- oh all right... here it

RE: Help on ApplicationResources

2004-03-04 Thread Todd G. Nist
Kamakshya, There is an implementation of this available at http://sourceforge.net/project/showfiles.php?group_id=49385. Go to the above site and about halfway down the page you will find a project category called: MessageResources Impls Under this you will find a package called:

Re: help with xml syntax of JSP with taglibs

2004-02-09 Thread Kris Schneider
Quick try - what about something like this: style type=text/css @import url(c:url value=/css/main.ss); /style Otherwise, how 'bout using regular JSP syntax for bar.jsp ;-)? Or, if you're using JSP 2.0, it's pretty easy to do. If none of those work/apply, here's something goofy for your

Re: help with xml syntax of JSP with taglibs

2004-02-05 Thread Larry Meadors
can you use the jstl xml tags to do that? I am guessing you can, but don't have time now to look it up... LArry [EMAIL PROTECTED] 02/05/04 1:57 PM Hello... I have a file called /foo/bar.jsp. The file bar.jsp is an XML syntax JSP. The file is only being used by a 'forward' therefore the URL

Re: Help URL Rewriting

2004-01-26 Thread Michael E. Allen
. Eric Bariaux wrote: What about session=false on your jsp page directive? Would this help? Eric. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Michael E. Allen Sent: Thursday, January 22, 2004 10:37 PM To: [EMAIL PROTECTED] Subject: Re: Help URL Rewriting Ted Husted

Re: Help URL Rewriting

2004-01-23 Thread Michael E. Allen
- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Michael E. Allen Sent: Thursday, January 22, 2004 10:37 PM To: [EMAIL PROTECTED] Subject: Re: Help URL Rewriting Ted Husted wrote: The container can't be sure that any given client supports cookies, so it will always use URL rewriting

Re: Help URL Rewriting

2004-01-23 Thread Christian Bollmeyer
: What about session=false on your jsp page directive? Would this help? Eric. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Michael E. Allen Sent: Thursday, January 22, 2004 10:37 PM To: [EMAIL PROTECTED] Subject: Re: Help URL Rewriting Ted Husted wrote

RE: Help: messagesPresent = true if JSP is served from ActionServlet

2004-01-22 Thread Richard Hightower
comments below Rick Hightower Developer Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm Struts/J2EE consulting -- http://www.arc-mind.com/consulting.htm#StrutsMentoring -Original Message- From: Chris Wall [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22,

RE: Help: messagesPresent = true if JSP is served from ActionServlet

2004-01-22 Thread Chris Wall
To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Help: messagesPresent = true if JSP is served from ActionServlet comments below Rick Hightower Developer Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm Struts/J2EE consulting -- http://www.arc-mind.com/consulting.htm

Re: Help URL Rewriting

2004-01-22 Thread Michael E. Allen
Ted Husted wrote: The container can't be sure that any given client supports cookies, so it will always use URL rewriting on the first request. Is there any way to shut that off? From and Action I am returning an ActionForward from the execute that maps to an jnlp file. The

RE: Help URL Rewriting

2004-01-22 Thread Eric Bariaux
What about session=false on your jsp page directive? Would this help? Eric. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Michael E. Allen Sent: Thursday, January 22, 2004 10:37 PM To: [EMAIL PROTECTED] Subject: Re: Help URL Rewriting Ted Husted wrote

RE: Help needed in form beans

2003-12-18 Thread Robert Taylor
You may want to consider creating a separate object to hold these values in the session and use your form beans for data input. This way you can decide when to populate your form beans with the data that you've captured in the session. To control when reset() affects my form properties I

RE: Help on form reset

2003-12-17 Thread Fullam, Jonathan
No, the reset method will automatically be called on a Session scoped ActionForm upon each request. Request scoped ActionForms are newly instantiated upon each request so, with Request scoped ActionForms, the reset method is irrelevant. -Jonathan -Original Message- From: vasudevrao gupta

Re: Help on form reset

2003-12-17 Thread Martin Gainty
Mailing List' [EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 9:11 AM Subject: RE: Help on form reset No, the reset method will automatically be called on a Session scoped ActionForm upon each request. Request scoped ActionForms are newly instantiated upon each request so, with Request

RE: Help Req : Loading init params

2003-12-12 Thread Ben Anderson
you're getting the NullPointerException because getServlet() is returning null. This is because setServlet hasn't been called by Struts yet. From the javadoc for Action: When an Action instance is first created, the controller servlet will call setServlet() with a non-null argument to

Re: Help URL Rewriting

2003-12-11 Thread Ted Husted
The container can't be sure that any given client supports cookies, so it will always use URL rewriting on the first request. -Ted. michel Van Asten wrote: Hi, I have a strut application running with ServletExec 4.1 (patch 20...) I want to manage my session with cookies... not url rewrinting

Re: HELP: about to get datasource of struts and pass to logic beans...

2003-12-08 Thread Caroline Jen
There are lots of classes involved. I will give you an example: 1. my LogonAction calls EditorService.java (business delegate) 2. EditorService.java calls MySQLEditorDAO.java (data access object implements EditorDAO.java, which is a data access interface) 3. the MySQLEditorDAO.java returns

RE: HELP: about to get datasource of struts and pass to logic bea ns...

2003-12-08 Thread Edgar P Dollin
[mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 4:29 PM To: Struts Users Mailing List Subject: Re: HELP: about to get datasource of struts and pass to logic beans... There are lots of classes involved. I will give you an example: 1. my LogonAction calls EditorService.java (business

Re: HELP: about to get datasource of struts and pass to logic bea ns...

2003-12-08 Thread Vic Cekvenich
at sourceforge (I highly reccomend it for non-j2ee projects). Most others use the DataSource supplied with the container. Edgar -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 4:29 PM To: Struts Users Mailing List Subject: Re: HELP: about

Re: HELP: about to get datasource of struts and pass to logic beans...

2003-12-06 Thread Vic Cekvenich
Take a look at a very good db example app that uses Struts on iBatis.com caled PetStore 3. .V Ricky wrote: hi, there, with my project i had several queries about get datasource in struts. i know how to get datasource in struts, just as in myAction, use getDataSource method and

Re: Help Req on Iterate Tag using HashMap

2003-11-05 Thread Shakti
Message - From: Sashi Ravipati [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 6:46 PM Subject: Re: Help Req on Iterate Tag using HashMap Hi This is how we iterate in a jsp page table width=100% border=0 cellpadding=0 cellspacing=1 logic:iterate id=sbList name

Re: Help Req on Iterate Tag using HashMap

2003-11-05 Thread Nicolas De Loof
- Original Message - From: Sashi Ravipati [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 6:46 PM Subject: Re: Help Req on Iterate Tag using HashMap Hi This is how we iterate in a jsp page table width=100% border=0 cellpadding=0 cellspacing=1

Re: Help Req on Iterate Tag using HashMap

2003-11-05 Thread Ashish Sinha
/logic:iterate /html:select Regards, Ashish. [Povedu do bezkonechnostiu.] - Original Message - From: Shakti [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 9:27 AM Subject: Re: Help Req on Iterate Tag

Re: Help Req on Iterate Tag using HashMap

2003-11-05 Thread Sunny
PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 6:46 PM Subject: Re: Help Req on Iterate Tag using HashMap Hi This is how we iterate in a jsp page table width=100% border=0 cellpadding=0 cellspacing=1 logic:iterate id=sbList name=addProviderForm property=assocSBList

Re: Help Req on Iterate Tag using HashMap [PROBLEM SOLVED]

2003-11-05 Thread Shakti
Hi , Thanks buddy, it was the perfect solution that i was looking for ... :-) chao ... Shakti - Original Message - From: Sunny [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 3:12 PM Subject: Re: Help Req on Iterate Tag using

Re: Help - Looping with iterate without collection is possible?

2003-11-05 Thread David Graham
--- Henrique VIECILI [EMAIL PROTECTED] wrote: Hi, can i make a loop using logic:iterate (or any other tag) without defining a collection to iterate? I just wanna have a 'for' behavior... The JSTL has a c:forEach tag that does this. http://java.sun.com/products/jsp/jstl/ David thanx

Re: Help - Looping with iterate without collection is possible?

2003-11-05 Thread Henrique VIECILI
Thank you a lot!! It works perfectly! (or in Portuguese: Funcionou Redondo!) Henrique - Original Message - From: David Graham [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 3:06 PM Subject: Re: Help - Looping with iterate without

RE: Help with framesets

2003-11-04 Thread Jose Ramon Diaz
I think the framesStruts question is a bit more complicated. I write here what I told in another message several days ago. (nobody tells me what they think... so I continue posting it... :) if you use frames, please tell me what you think) Imagine if one action may load the same frame set but

Re: Help Req on Iterate Tag using HashMap

2003-11-04 Thread Sashi Ravipati
Hi This is how we iterate in a jsp page table width=100% border=0 cellpadding=0 cellspacing=1 logic:iterate id=sbList name=addProviderForm property=assocSBList indexId=i tr tdhtml:text name=sbList property=sbBeginDate maxlength=10 size=10 //td tdhtml:text name=sbList property=sbEndDate

Re: Help with framesets

2003-11-03 Thread javen fang
your frames have names: header / left / right so when you action mapping, you may use target tag. Example, if left , an action is a query data,and view it in right,just: target = right. form and href both have target attribute. Good luck. javen --- Vijay Kandy [EMAIL PROTECTED] wrote:

Re: Help with framesets

2003-11-03 Thread Rajat Pandit
http://localhost:8080/struts-documentation/userGuide/struts-html.html#link in the html:link ... use the target attribute. quote target - The window target in which the resource requested by this hyperlink will be displayed, for example in a framed presentation. (RT EXPR) /quote in your case

RE: Help with framesets

2003-11-03 Thread Vijay Kandy
- From: javen fang [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 11:16 AM To: Struts Users Mailing List Subject: Re: Help with framesets your frames have names: header / left / right so when you action mapping, you may use target tag. Example, if left , an action is a query data

RE: Help with framesets

2003-11-03 Thread Vijay Kandy
Thank you! I understand now. -Vijay -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 11:08 AM To: Struts Users Mailing List Subject: Re: Help with framesets http://localhost:8080/struts-documentation/userGuide/struts-html.html#link

RE: Help with framesets

2003-11-03 Thread javen fang
Mailing List Subject: Re: Help with framesets your frames have names: header / left / right so when you action mapping, you may use target tag. Example, if left , an action is a query data,and view it in right,just: target = right. form and href both have target attribute

Re: Help with framesets

2003-11-03 Thread Jim Theodoridis
fang [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, November 03, 2003 6:44 PM Subject: RE: Help with framesets left have a query: html:link action=customer.do?area=china target=rigth/ then view the result in the rigth content frame. javen --- Vijay

Re: Help please -- How to provide a Back button?

2003-10-29 Thread VKeswani
for ur question 2: you can use javascript function to call two different action: function faddpurpose() { document.editform.methodtocall.value = addpurpose; document.editform.forwardpage.value = totalsuccess; document.editform.target=_self;

RE: Help please -- How to provide a Back button?

2003-10-29 Thread Jimmy Emmanual
a href=javascript:history.go(-1)Back/a -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 3:25 PM To: Struts Users Mailing List Subject: Re: Help please -- How to provide a Back button? for ur question 2: you can use javascript

Re: Help please -- How to provide a Back button?

2003-10-29 Thread ishmael riles
Another solution if you don't want to use javascript, is to rely on the fact that the name and value atrributes of the submit button that was pressed are passed through the http request. The values for the other submit buttons aren't sent. So in your action you check for the existance of each

Re: Help please -- How to provide a Back button?

2003-10-29 Thread ZYD
Thanks for your fast response, it's of GREAT help, thanks a lot my friend. bruce - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 30, 2003 4:24 AM Subject: Re: Help please -- How to provide a Back button? for ur

Re: Help please -- How to provide a Back button?

2003-10-29 Thread ZYD
Hi my friend, you solve my problem, thanks!! bruce - Original Message - From: ishmael riles [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Cc: ZYD [EMAIL PROTECTED] Sent: Thursday, October 30, 2003 5:11 AM Subject: Re: Help please -- How to provide a Back button

Re: Help please -- How to provide a Back button?

2003-10-29 Thread ZYD
thanks buddy! - Original Message - From: Jimmy Emmanual [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 30, 2003 4:44 AM Subject: RE: Help please -- How to provide a Back button? a href=javascript:history.go(-1)Back/a -Original

Re: Help needed on Iterate Tag

2003-10-22 Thread David Molinier
' [EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 7:33 AM Subject: RE: Help needed on Iterate Tag Hi Navjot, This is the error message that I get, Error 500: Cannot find bean element in any scope This is the code in jsp , logic:iterate id=element name=newCatFormBean property=names

RE: Help needed on Iterate Tag

2003-10-22 Thread Thakur, Vikram
, 2003 2:13 PM To: Struts Users Mailing List Subject: Re: Help needed on Iterate Tag Try this : logic:iterate id=element name=newCatFormBean bean:write name=element property=names/ /logic:iterate -- David Molinier - PagesJaunes - DSI/DET/DCR 3 - 05.56.90.50.03 * - Original

Re: Help needed on Iterate Tag

2003-10-22 Thread Abhijeet Mahalkar
Aapko Naye Saal me... Chandragupt Ki Shakti Meerabai Ki Bhakti Ramchandra Ka Gyan Karan Ka Daan Einstein Ki Buddhi Nobel

RE: Help needed on Iterate Tag

2003-10-22 Thread Kalra, Ashwani
] Sent: Wednesday, October 22, 2003 2:34 PM To: 'Struts Users Mailing List' Subject: RE: Help needed on Iterate Tag Thanks everyone. There was no problem with the tag but I had not defined the %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % entry and that is why it was not working :( Thanks

RE: Help needed on Iterate Tag

2003-10-22 Thread Rajat Pandit
Huh? -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 3:46 AM To: Struts Users Mailing List; WebSphere User Group Tech Q A Forum Subject: Re: Help needed on Iterate Tag Aapko Naye Saal me... Chandragupt

RE: Help with using HttpUnit with Struts

2003-10-22 Thread Moyer, Alan L
When I use a browser (IE or Netscape) I do not experience any problem. Al -Original Message- From: Kirk Wylie [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 7:55 PM To: Struts Users Mailing List Subject: Re: Help with using HttpUnit with Struts Does this happen when you hit

Re: Help with URL localization (continued)

2003-10-22 Thread Ruth, Brice
Jason Lea wrote: Ruth, Brice wrote: This seems like a good idea, but I think it would prevent the country code from always being available in the URL (so if you're in the US site, you should always see /US/index.do, etc.) unless I can do this within the Tomcat/Servlet interaction, w/o issuing

RE: Help with using HttpUnit with Struts

2003-10-22 Thread Moyer, Alan L
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 8:26 PM To: Struts Users Mailing List Subject: Re: Help with using HttpUnit with Struts Kirk Wylie wrote: Does this happen when you hit the page directly (i.e. not go through HttpUnit

Re: Help with using HttpUnit with Struts

2003-10-22 Thread Craig R. McClanahan
execute method, and I see this printout before the nullptr exception. I suspect the problem is in the forwards out of this action. Al -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 8:26 PM To: Struts Users Mailing List Subject: Re: Help

RE: Help with form bean [urgent]

2003-10-21 Thread Rajat Pandit
PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Help with form bean [urgent] For your drop-down: select name=country logic:iterate id=countries name=yourArrayList scope=request option value=bean:write name=countries /bean:write name=countries //option /logic:iterate /select Let me know

RE: Help with URL localization (continued)

2003-10-21 Thread Carlos Sanchez
Maybe you can extend the request processor, see the url of the asked page, update it with the localized url and redirect the user to that page -Mensaje original- De: Ruth, Brice [mailto:[EMAIL PROTECTED] Enviado el: martes, 21 de octubre de 2003 17:41 Para: Struts Users Mailing List

Re: Help with URL localization (continued)

2003-10-21 Thread Adam Hardy
Hi Brice, wasn't long before you came back! I was holding out thinking someone else might have a more intuitive solution than mine, but whatever, in your position I write my own taglib based on the html link taglib add in the locale to the URL in that. As for the action mappings, I think

Re: Help with URL localization (continued)

2003-10-21 Thread Ruth, Brice
The straightforward wildcarding didn't seem to work (it matched against a literal wildcard). Just an FYI for others, I guess .. :) Adam Hardy wrote: Hi Brice, wasn't long before you came back! I was holding out thinking someone else might have a more intuitive solution than mine, but

Re: Help with URL localization (continued)

2003-10-21 Thread Jason Lea
Here is a thought... Set up your action mappings in struts-config.xml without the domain prefix eg /index.do /crafts/crafts.do Then in your filter you can check for the locale prefix and set the locale. In the same filter, construct a new path by removing the locale prefix and forward

Re: Help with using HttpUnit with Struts

2003-10-21 Thread Kirk Wylie
Does this happen when you hit the page directly (i.e. not go through HttpUnit)? Kirk Wylie M7 Corporation Moyer, Alan L wrote: I recently downloaded HttpUnit and have been trying to use it to test a working Struts application. If anyone is using HttpUnit, please help me get by this problem.

Re: Help with using HttpUnit with Struts

2003-10-21 Thread Craig R. McClanahan
Kirk Wylie wrote: Does this happen when you hit the page directly (i.e. not go through HttpUnit)? That would be my advice too ... (loving HttpUnit :-). You should get the same error, which is likely to be a forward element that doesn't have a defined path attribute (which is what is being

Re: Help with URL localization (continued)

2003-10-21 Thread Ruth, Brice
This seems like a good idea, but I think it would prevent the country code from always being available in the URL (so if you're in the US site, you should always see /US/index.do, etc.) unless I can do this within the Tomcat/Servlet interaction, w/o issuing a redirect to the browser?! Can

  1   2   3   4   5   6   7   8   9   >