RE: redirect=true ActionErrors

2004-02-05 Thread Manjunath Bhat
Hi Hubert, It would be nice if I get those subclasses to add to my app. Please point me to location of the patches. Also a write up for usage of those classes. Thanks Manjunath -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:29 PM

Re: [OT]CVS client

2004-02-05 Thread exnihilo
List Mailbox wrote: You can also enable icons that show which files have been changed locally in the Navigator or Package Explorer - under Window | Preferences | Workbench | Label Decorations. Cal www.calandva.com Ah, that is great. Thanks! I'd never noticed that option before, and it's very

RE: web spider

2004-02-05 Thread McCormack, Chris
I would be interested to see how you have set it up :) thanks Chris -Original Message- From: Tomeu Vizoso [mailto:[EMAIL PROTECTED] Sent: 30 January 2004 10:03 To: 'Struts Users Mailing List' Subject: RE: web spider Hi, I'm using a custom solution using Websphinx as the spider and

Re: [OT]CVS client

2004-02-05 Thread Max Cooper
Another nice option is SmartCVS (http://www.smartcvs.com). It is a pure Java GUI app that is available as a free version or a reasonably priced commercial version (with more features). One especially nice thing about SmartCVS is that it is easy to setup for CVS over SSH access. I don't mind

Re: Basic Tiles question!

2004-02-05 Thread Mark Lowe
tiles:insert attribute=content / On 5 Feb 2004, at 06:47, Anand Stephen wrote: Any idea what would cause this exception? 500 Servlet Exception java.lang.NullPointerException at org.apache.struts.taglib.tiles.InsertTag.processName(InsertTag.java: 528) at

Re: web spider

2004-02-05 Thread Richard Raquepo
we hope you can share it here. thanks, Richard - Original Message - From: McCormack, Chris [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 05, 2004 5:19 PM Subject: RE: web spider I would be interested to see how you have set it up :)

RE: Technical question about Struts Workflow Extension

2004-02-05 Thread shirishchandra.sakhare
Hi, We have just created an account with source forge for the workflow extension project and will be transferring the source code etc. to that account in the next couple of days. So we are just in early stages of code transfer. But regarding your question. As you said,most of the workflow

REPOST: newbie - How to generate form controls dynamically in struts

2004-02-05 Thread Sudip Kumar Bhattacharya
Reposting my query since nobody answered it... -Original Message- From: Sudip Kumar Bhattacharya [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 4:45 PM To: Struts Users Mailing List Subject: newbie - How to generate form controls dynamically in struts Hi friends, I need

RE: Hi

2004-02-05 Thread A Umesh
Hi Umesh A - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: global data objects -- best practices?

2004-02-05 Thread Craig R. McClanahan
Ooofff ... off-by-one error warning ... :-) Quoting Craig R. McClanahan [EMAIL PROTECTED]: If you are in a Servlet 2.4 environment, use a ServletContextListener -- this is exactly what they are defined to do. Your contextInitialized() method is called once, before any requests are

RE: REPOST: newbie - How to generate form controls dynamically in struts

2004-02-05 Thread Andrew Hill
Have you looked at the tutorials on the Keyboard Monkey site? It may prove helpful. (Concerns nested form beans. You may be able to make use of these techniques to implement it?) http://www.keyboardmonkey.com/next/index.jsp Although in this case based on your sample output you could probably

RE: Hi

2004-02-05 Thread A Umesh
Can any body make me aware about StrutsEJB Umesh A -Original Message- From: A Umesh Sent: Thursday, February 05, 2004 5:31 PM To: Struts Users Mailing List Subject: RE: Hi Hi Umesh A - To unsubscribe, e-mail:

RE: Hi

2004-02-05 Thread Andrew Hill
G'day -Original Message- From: A Umesh [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 February 2004 20:01 To: Struts Users Mailing List Subject: RE: Hi Hi Umesh A - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Hi

2004-02-05 Thread A Umesh
Ya same to u Umesh A Software Engineer First American Interactive Division Unit 1, Level 1, Explorer Building International TechPark, Whitefield Road Bangalore 560 066. INDIA Phone : 91 80 5115 6050 Extn. 4032 Fax: 91 80 841 1858 Email id: [EMAIL PROTECTED] -Original Message- From:

AW: REPOST: newbie - How to generate form controls dynamically in struts

2004-02-05 Thread Otto, Frank
Hi, use the iterator tag in this way: logic:iterator name=myForm property=myBean id=list html:radio name=myForm property=myPropertyOfSelectedValue idName=list value=id bean:write name=list property=name/ /html:radio /logic:iterator Regards, Frank

FW: Custom solution with Spider and Search

2004-02-05 Thread Tomeu Vizoso
Hi, I was not sure if it was of interest for the mailing list community. Here you have what I've done till now. It's incomplete but perhaps it serves as a starting point. Regards, Tomeu -Mensagem original- De: Tomeu Vizoso [mailto:[EMAIL PROTECTED] Enviada: quarta-feira, 4 de

Form populate

2004-02-05 Thread Namasivayam, Sudhakar (Cognizant)
Title: Form populate Hi all, This may have been discussed earlier.. but i couldnt find any useful way to solve the problem... here it goes.. I have a form with text fields which i am populating in the constructor and in the jsp it works fine.. just printing the default values. But in

FW: Custom solution with Spider and Search

2004-02-05 Thread Tomeu Vizoso
Sorry, something ate the attachments. Four classes follow. You can find easily the websphinx and lucene packages easily on the net. package foo.common; import java.io.IOException; import java.net.MalformedURLException; import

RE: Form populate

2004-02-05 Thread Ramachandran
Form populate var first_name=document.CandidateForm.first_name.value; u have to get the value of the form from jsp like this only -Original Message- From: Namasivayam, Sudhakar (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 6:04 PM To: [EMAIL

duplicate form object

2004-02-05 Thread rob rowntree
im new, i have 2 subscriptionForm objects instead of a single OID. The trace below involves these activities: 1. subscription.jsp is submitted and handled by subscriptionForm whose configuration includes: name=subscriptionForm scope=session 2. a forward occurs on name success and

RE: Form populate

2004-02-05 Thread Ben Anderson
granted your struts-config is setup properly to use your bean and it extends actionForm, then why don't you just use the reference that is passed in to the execute method? if( form instanceof myForm ){ myForm mf = (myForm)form; mf.setXXX( Steelers rule ); } You don't need to worry about

STC - How Can I test multiple Actions in same method

2004-02-05 Thread Ravi Kulkarni
Hi, StrutsTestCase documentation says we can test multiple Actions in same method, by calling setRequestPathInfo() and actionPerform() multiple times within the same method. I am also calling clearRequestparameters() after every perform method. But I am unable to execute the second Action. Below

Can't make html:checkbox CHECKED by default

2004-02-05 Thread otisg
Hello, I am using html:checkbox Struts tag, but I am unable to set it to a CHECKED state by default (I read the docs). This is what I am using now: html:checkbox property=foo value=true Is 'value' not the attribute I should use for that? Which attribute should I use then? Any help would be

[a little bit OT]struts and velocity

2004-02-05 Thread Markus
Hi I've tried to install velocity with struts. I followed the installation instructions from velocity. Put velocity-1.3.1.jar and velocity-tools-1.1-beta1.jar in my lib. copied toolbox.xml and velocity.properties in my WEB-INF canged web.xml to snip servlet servlet-namevelocity/servlet-name

RE: Can't make html:checkbox CHECKED by default

2004-02-05 Thread Paul McCulloch
The checkbox will display a value depending on the value of the 'foo' property of your form bean. To make the value checked set the value on the form bean before displaying the page. Paul -Original Message- From: otisg [mailto:[EMAIL PROTECTED] Sent: 05 February 2004 12:58 To: [EMAIL

RE: duplicate form object

2004-02-05 Thread Ben Anderson
jsp:useBean id=subscription scope=session class=com.borneo.beans.SubscriptionForm / This creates a new SubscriptionForm object because no object exists in session scope(or any scope) referenced by the name subcription. Struts uses a different id. I think it depends on the version of Struts

repost: validator retrieving data

2004-02-05 Thread Leonardo Francalanci
I'm sorry but nobody answered my question... Could somebody help me? I'm using validator for my pages. Searching the mailing list I found that I should use 2 actions: If there are 2 actions, one to prepare the page and one to process the user input, we define the input attribute value of the

Re: Re-populating form after validate fails

2004-02-05 Thread Paul Barry
I finally figured this out. It was a stupid mistake. I had html:text property=username value= /. The value= overrides what was in the bean. Once I removed this, problem solved. Paul Barry wrote: If validate fails, your action won't even be processed. You can't use any of the forwards that

RE: Re-populating form after validate fails

2004-02-05 Thread Mainguy, Mike
I've seen this happen a couple of times with different people (myself included). It seems like the default (expected) behavior is: use the bean value unless it's blank, then use the html i.e. if html= and bean=text it should be the bean value if the bean= and the html=asdasdf then it should be

REPOST: GZipping response with Servlet 2.2 / Struts 1.0

2004-02-05 Thread BILODEAU Guillaume SOFRECOM
Hi everyone, I have read the following reply (rather old) in the archives: In servlet 2.2 environments, you basically won't be able to do this. But in servlet 2.3 environments, you can create a Filter to do the compression for you, on output from either servlets or JSP pages. This was in

RE: html:checkbox and struts-EL

2004-02-05 Thread Renato Romano
You're right, I missed an element: the form is split across several pages (a wizard style form) so I can't reset the checkbox value because I need to mantain the value it had. Anyway your hint on the source location is very useful!! Thank you If you have suggestions about handling such a

Printing nested properties

2004-02-05 Thread Edgar Silva
folder structureHi Folks... I have a situation where I have this model: Customer - name : String - phone : String - addr1 : String: - addr2 : String - sales: Vector (of following classe) Sales - date: Date - paymentMethod: String - value: Double How can I present the properties from sales

Re: [OT]CVS client

2004-02-05 Thread ian_d_stewart
Well, better is a relative term, but another client you may want to look into for Windows is Tortoise CVS (http://www.tortoisecvs.org), which incorporates CVS functionality into the Windows Explorer shell. HTH, Ian

RE: How to export the html table contents (records) to an Excel f ile.

2004-02-05 Thread Desai, Sunny
Does anybody know if Display Tag' performs 'in memory ' sorting? What I mean is once I give a collection of records to the 'Display Tag' user clicks on column header to sort on, does the 'Display Tag' send a new request to the Action every time or 'Display Tag' sorts the collection by itself

Re: REPOST: GZipping response with Servlet 2.2 / Struts 1.0

2004-02-05 Thread Franck Lefebure
Le Thursday, February 05, 2004 9:59 AM, BILODEAU Guillaume SOFRECOM [EMAIL PROTECTED] m'a, d'une plume avisee, ecrit: Hi everyone, Would there be any other mechanism to compress the response sent to the client? Hi, My application server (Jrun) is interfaced with Apache, And I use mod_gzip in

RE: web spider

2004-02-05 Thread Michael McGrady
Hello, Chris, I would love to see this code. Thanks a million! Michael At 01:19 AM 2/5/2004, you wrote: McCormack, Chris [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: struts-menu from action

2004-02-05 Thread Pingili, Madhupal
Here is the code to create MenuRepository: //Call SQL or Stored Procedure, get roles and prepare list of roles. ArrayList userMenus = new ArrayList(); userMenus.add(TabbedUserSearch); userMenus.add(TabbedAdvSearch); userMenus.add(TabbedLogoff);

Using the ActionForm in the JSP

2004-02-05 Thread Rahul Mohan
Hi everyone, I need to access the ActionForm properties inside the JSP code for the same window. Is there any way to do this? Regarding this I have some doubts about the life cycle of ActionForms 1. When exactly is the ActionForm object instantiated? Is the ActionForm object

RE: repost: validator retrieving data

2004-02-05 Thread anant.parnami
Hi, You don't need to have two actions but you can have different mappings for the same action class For e.g. action name=formbean path=abcdisplay type=AbcAction.java forward name=success path=jsp name / /action action name=formbean path=abcProcess type=AbcAction.java validate=true

RE: repost: validator retrieving data

2004-02-05 Thread anant.parnami
Sorry there was a typo in last one Hi, You don't need to have two actions but you can have different mappings for the same action class For e.g. action name=formbean path=abcdisplay type=AbcAction.java forward name=success path=jsp name / /action action name=formbean path=abcProcess

Formating a float

2004-02-05 Thread Lucas Gonzalez
Hi, I´ve been searching the list for any insight about this issue, but found no real solutions. I need to format a float that is shown using: bean:write name=netTotal filter=true format=#,###.00/ but it does not works. I´ve tried with many formats, but none seems to work. There is anything

Re: REPOST: GZipping response with Servlet 2.2 / Struts 1.0

2004-02-05 Thread Martin Gainty
Have you posted this to the GZIP Discussion list at [EMAIL PROTECTED] Regards, -Martin - Original Message - From: BILODEAU Guillaume SOFRECOM [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 05, 2004 8:59 AM Subject: REPOST: GZipping response with Servlet 2.2 / Struts 1.0

RE: web spider

2004-02-05 Thread McCormack, Chris
I think the code you are waiting to see (as am I!) is from Tomeu Vizoso :) Chris -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: 05 February 2004 14:33 To: Struts Users Mailing List Subject: RE: web spider Hello, Chris, I would love to see this code. Thanks a

RE: Using the ActionForm in the JSP

2004-02-05 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi Rahul, I'm kind of a newbie, but I believe that: (1) Assuming that the scope you specified for that bean is request, it's intantiated when rendering the page (I suppose you mean a GET) and every time you do a POST. (2) You can specify a default value inside your JSP, but - almost sure -

RE: Formating a float

2004-02-05 Thread Ben Anderson
are you using jstl? fmt:formatNumber pattern=#,###.00 value=${netTotal}/ From: Lucas Gonzalez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Formating a float Date: Thu, 5 Feb 2004 11:55:18 -0300 Hi, I´ve been

R: repost: validator retrieving data

2004-02-05 Thread Leonardo Francalanci
It seems a good solution, but compared to the hidden field: 1) I have to set up an action just to show the error. With the hidden field I could use 2 action (instead of 3) doing something like if (hiddenpar.isSet()) { leave form as is, we are here because validation failed } else {

Re: repost: validator retrieving data

2004-02-05 Thread Alvaro Martinez
I don't know if the proposal of Anant works. I know my proposal works well. You must use the same bean in the page proccess and the page prepare. For e.g. action path=/prepare type= name=bean scope=request forward name=success path=Process.jsp/ /action action path=/process

RE: Formating a float

2004-02-05 Thread Guillermo Meyer
Lucas: Inspecting WriteTag.java code i found this: */ protected String formatValue(Object valueToFormat) throws JspException { Format format = null; Object value = valueToFormat; Locale locale = RequestUtils.retrieveUserLocale( pageContext,

Global Variable - SetupServlet

2004-02-05 Thread Oliver Thiel
Hi all, I wrote a struts app with database 'driven' forms using iBatis. For this purpose I wrote a 'SetupServlet' which creates some LinkedHashMaps e.g. register == {username=, password=, ..} and sets them into the Servlet Context servletContext.setAttribute(register, register); In the

RE: Formating a float

2004-02-05 Thread Guillermo Meyer
Lucas: Inspecting WriteTag.java code i found this: */ protected String formatValue(Object valueToFormat) throws JspException { Format format = null; Object value = valueToFormat; Locale locale = RequestUtils.retrieveUserLocale( pageContext,

RE: How to export the html table contents (records) to an Excel f ile.

2004-02-05 Thread Paul McCulloch
By default (no requestURI attribute) sorting just makes another request to the .jsp to do the work - the action isn't executed again. I tend to use a 'redraw' dispatch action so that every server request still goes through an action. Paul -Original Message- From: Desai, Sunny

Re: Array of text fields generated dynamically

2004-02-05 Thread Hubert Rabago
http://jakarta.apache.org/struts/faqs/indexedprops.html http://www.developer.com/java/other/article.php/2233591 Also, http://marc.theaimsgroup.com/?l=struts-users=LazyList - Hubert --- Shyam A [EMAIL PROTECTED] wrote: Hi, I have a scenario in my Struts application, where I have an array

RE: Array of text fields generated dynamically

2004-02-05 Thread Wendy Smoak
From: Shyam A [mailto:[EMAIL PROTECTED] I have a scenario in my Struts application, where I have an array of text fields grouped by category on a JSP, and these are generated dynamically. It looks like a Map to me, with the key being the category, and then a String[] or ArrayList as the

REPOST: Global Variable - SetupServlet

2004-02-05 Thread Oliver Thiel
My mail client seams to make trouble, so I repost my mail. SORRY if you get it twice! -Ursprüngliche Nachricht- Von: Oliver Thiel [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 5. Februar 2004 17:06 An: '[EMAIL PROTECTED]' Betreff: Global Variable - SetupServlet Hi all, I wrote

Fw: repost: validator retrieving data

2004-02-05 Thread Alvaro Martinez
I don't know if the proposal of Anant works. I know my proposal works well. You must use the same bean in the page proccess and the page prepare. For e.g. action path=/prepare type= name=bean scope=request forward name=success path=Process.jsp/ /action action path=/process

RE: repost: validator retrieving data

2004-02-05 Thread Marco Mistroni
Hi, I haven't understood properly ur workflow, but I'll add my 2 cents since I have encountered similar problems... Is this scenario feasible? 1 - b4 going to screen, u call the setup action which loads the data 2 - setup will redirect to the input page that will submit the form to

RE: html:checkbox and struts-EL

2004-02-05 Thread Karr, David
I believe this is typically done by keeping track of the current page number and checking that value in the reset() method. You only reset the fields associated with the given page number. -Original Message- From: Renato Romano [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05,

R: repost: validator retrieving data

2004-02-05 Thread Leonardo Francalanci
I don't think I made myself clear. I can't set the input of the process action to the jsp of the prepare action because in the prepare action I get data from the db to fill a listbox. If I used your solution in case of a validation error my list box would not be filled. But if I set the input

RE: unable to find jakarta-poi jar file from the downloaded .tar file. pls. help me finding the right .zip/.tar file location (link).

2004-02-05 Thread Yee, Richard K,,DMDCWEST
srinivas, Since you downloaded the source file, you need to build it. When you build it, it will make the .jar files. If you do not want to build it, then download the binary distribution instead. Rgds, Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: Form populate

2004-02-05 Thread Namasivayam, Sudhakar (Cognizant)
it works.. thanks ben regards, sudhakar -Original Message- From: Ben Anderson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 6:16 PM To: [EMAIL PROTECTED] Subject: RE: Form populate granted your struts-config is setup properly to use your bean and it extends

Localization questions

2004-02-05 Thread Nathan Maves
I know that struts can handle data formating great between different locales. My question is how and what needs to happen to support double byte languages? How can you create the locale specific properties files? What databases support these characters? nathan

Re: Formating a float

2004-02-05 Thread Mark Lowe
I think the JSTL suggestion was perhaps worth listening to. On 5 Feb 2004, at 17:06, Guillermo Meyer wrote: Lucas: Inspecting WriteTag.java code i found this: */ protected String formatValue(Object valueToFormat) throws JspException { Format format = null; Object value =

RE: Global Variable - SetupServlet

2004-02-05 Thread Jesse Alexander (KAID 11)
Well, you do not seem to copy the register-object. Therefor you basically address the same object via the servlet-context AND the request. That means that everything you do with the object addressed in request1, you do to the object you have in the servlet context. Then you fetch that global

Re: REPOST: GZipping response with Servlet 2.2 / Struts 1.0

2004-02-05 Thread BILODEAU Guillaume SOFRECOM
GZip compression on the web server using mod_gzip seemed like a suitable solution to my problem, but unfortunately it is not usable in our environment: the web server is shared by multiple applications and such a configuration modification would require the approval of all other teams (which would

RE: duplicate form object

2004-02-05 Thread rob rowntree
I made the suggested changes and still get the same result = there are 2 subscriptionForm beans instead of a single one. The properties set in saveSubscription action are no longer avaiable when the forward to Welcome.jsp occurs. config file now contains form-bean

REPOST: Question on Frames within Tiles

2004-02-05 Thread Mutreja, Shitij
Any suggestions please. Am desperate at this point. Can framesets even be loaded from tiles? -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:16 PM To: '[EMAIL PROTECTED]' Subject: Question on Frames within Tiles Is there a good

Tiles And Frames

2004-02-05 Thread Mutreja, Shitij
Is there a good place/article/sample code to check out, for mixing framesets and tiles. The App that I am working on seems to need to use both. Basically, we have to display content such that there are 2 frames, the left one showing some text, while the right one accepts user input. Both these

Re: R: repost: validator retrieving data

2004-02-05 Thread Hubert Rabago
The values that you read from the DB need to come from somewhere. Perhaps you can store them in a session attribute (then clear it once the form passes validation). Oh, yeah, an action has to prepare them, so maybe you can use the same action, except that before it reads from the DB, it checks if

Fw: repost: validator retrieving data

2004-02-05 Thread Alvaro Martinez
Well, read this... I don't think I made myself clear. I can't set the input of the process action to the jsp of the prepare action because in the prepare action I get data from the db to fill a listbox. Yes, you can. If I used your solution in case of a validation error my list box would not

RE: Html:text printing null

2004-02-05 Thread Yee, Richard K,,DMDCWEST
Anant, Either set the values of your strings when you declare them to or set them to in the constructor of your FormBean. Rgds, Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 10:42 PM To: [EMAIL PROTECTED] Subject:

Re: Formating a float

2004-02-05 Thread Lucas Gonzalez
Ben, Thanks a lot! that got me on the right way... but now I am getting this error: org.apache.jasper.JasperException: In formatNumber, value attribute can not be parsed into java.lang.Number: ${invoice.totalBilling} I´ve tried to find out why is this happening, but the property

RE: REPOST: Question on Frames within Tiles

2004-02-05 Thread Anand Patil
Have to tried using IFRAME instead of FRAMEs... IFRAME will do the trick Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 10:08 AM To: 'Struts Users Mailing List' Subject: REPOST: Question on Frames within Tiles Any

Re: Printing nested properties

2004-02-05 Thread Edgar Silva
Hi Friends... I will reply my question, because I get the correct way to solve it: Is very simple: logic:iterate id=customer name=customers logic:iterate id=sale name=customer property=sales do something with beans /logic:iterate /logic:iterate Anyway Thanks and any other idea will be

RE: REPOST: GZipping response with Servlet 2.2 / Struts 1.0

2004-02-05 Thread Nirmal Davis V
Hi, Have u set the http headers properly? If we don't set the headers properly browser will throw up the dialog box saying save/open it. Here is what I tried and what I found working on Tomcat 4.1.29, IE 6.0 Inside doGet() or doPost() - String acceptEncodingHeaderStr =

SOLVED AW: Global Variable - SetupServlet

2004-02-05 Thread Oliver Thiel
YES that was quite obvious! But some how I over looked it! But now it works ... THANKS 2 Alexander Regards Oliver -Ursprüngliche Nachricht- Von: Jesse Alexander (KAID 11) [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 5. Februar 2004 18:33 An: 'Struts Users Mailing List' Betreff: RE:

RE: REPOST: Question on Frames within Tiles

2004-02-05 Thread Mutreja, Shitij
Thanks so much. will try it out. However there is another issue. How do u communicate between these iframes. For example I have a footer tile that has some control buttons. When I click on one buton, I need to submit the form associated with one of these iframes. -Original Message- From:

RE: duplicate form object

2004-02-05 Thread Paul McCulloch
--- I commented the usebean that was pointed out in prev. thread !-- jsp:useBean id=subscription scope=session class=com.borneo.beans.SubscriptionForm /-- No you didn't - you commented out the result of the tag from the rendered html. You need to comment it out in the world of jsp %-- --%

help with xml syntax of JSP with taglibs

2004-02-05 Thread tj . herring
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 in the browser window stays the same (for example: http://localhost/webapp/index.jsp). index.jsp forwards to /foo/bar.jsp like this: jsp:forward

RE: REPOST: Question on Frames within Tiles

2004-02-05 Thread Anand Patil
I have done this in Internet Explorer. From any frame you can get reference to any frame using 'window.top.document.all.nameofyouriframe'. once you get reference to the iframe , I think you can get reference to the document in it and then the from inside that document. Look @ microsoft's

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: REPOST: Question on Frames within Tiles

2004-02-05 Thread Mutreja, Shitij
fantastic, the iframes seem to work. One further question though. the response to the form being submitted, is that the struts action class forwards to a tile definition. The problem is that the result just displays within the frame that is submitted. I was hoping that the entire page is replaced

RE: REPOST: Question on Frames within Tiles

2004-02-05 Thread Anand Patil
Make the submitting form's target=_top Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 2:08 PM To: 'Struts Users Mailing List' Subject: RE: REPOST: Question on Frames within Tiles fantastic, the iframes seem to work. One

RE: Using Parameter in Action via the struts-config.xml

2004-02-05 Thread Anand Patil
It worked!!! Thanks a lot Anand -Original Message- From: Gopalakrishnan, Jayesh [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 1:49 PM To: Struts Users Mailing List Subject: RE: Using Parameter in Action via the struts-config.xml There's a mapping.getParameter() method

Re: Tiles And Frames

2004-02-05 Thread Michael McGrady
For you Tiles devotees out there, I think this would be something that would be really helpful. This is a recurring question. I know! I know! If I have time, I will, after the other stuff. Just a second of this need. At 10:35 AM 2/5/2004, Mutreja, Shitij wrote: Is there a good

Re: Tiles And Frames

2004-02-05 Thread Adam L
According to: http://www.w3.org/TR/REC-html40/present/frames.html 16.2 Layout of frames An HTML document that describes frame layout (called a frameset document) has a different makeup than an HTML document without frames. A standard document has one HEAD section and one BODY. A frameset

RE: How to disable a Text Box

2004-02-05 Thread Ravi Kulkarni
Well you can make the textbox readonly. This doesnt allow the user to enter any text and u can read the value of the text box in ur action. Hope it helps Kulkarni -Original Message- From: Sathish Kumar T.K. [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 10:55 AM To:

RE: How to disable a Text Box

2004-02-05 Thread Ramachandran
yes i done like that only. Now it is working. Thank u... -Original Message- From: Ravi Kulkarni [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 10:06 AM To: Struts Users Mailing List Subject: RE: How to disable a Text Box Well you can make the textbox readonly. This doesnt

RE: repost: validator retrieving data

2004-02-05 Thread anant.parnami
You would have to hard code the values in your action class -Original Message- From: Leonardo Francalanci [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 8:14 PM To: Struts Users Mailing List Subject: R: repost: validator retrieving data It seems a good solution, but