RE: question

2004-03-09 Thread as as
-- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 12:05 AM To: Struts Users Mailing List Subject: Re: question the most simplest solution is often the best Au-Yeung, Stella H wrote: > Paul wrote: > >>> >>> > > labelProperty="name&

RE: question

2004-03-08 Thread Au-Yeung, Stella H
I see. I'll try that tomorrow and let you know. Thx. -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 12:05 AM To: Struts Users Mailing List Subject: Re: question the most simplest solution is often the best Au-Yeung, Stella H

Re: question

2004-03-08 Thread Paul Stanton
store the value into "person.id". In other words, I don't know how to convert my statement below to yours: -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:45 PM To: Struts Users Mailing List Subject: Re: question i think

Re: question

2004-03-08 Thread Paul Stanton
e value into "person.id". In other words, I don't know how to convert my statement below to yours: -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:45 PM To: Struts Users Mailing List Subject: Re: question i think you are

RE: question

2004-03-08 Thread Au-Yeung, Stella H
statement below to yours: > > collection="uList" name="UserFormBean" property="userId" > labelproperty="commonName"/> -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:45 PM To: Struts U

RE: question

2004-03-08 Thread Au-Yeung, Stella H
s Users Mailing List Subject: RE: question >>engineerId is an attribute in the dataBean "shopWorkOrder". Can't I >>reference shopWorkOrder.engineerId inside the <%= %>? >> I guess "shopWorkOrder" is the attribute name of the bean. The &l

RE: question

2004-03-08 Thread Gopalakrishnan, Jayesh
ession. Use the to define a JSP variable and use it in <%= %> then use <%=engineerId%> in the . -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 4:49 PM To: 'Struts Users Mailing List' Subject: RE: question I got a compila

Re: question

2004-03-08 Thread Paul Stanton
palakrishnan, Jayesh [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:45 PM To: Struts Users Mailing List Subject: RE: question Try something like this, The "value" attribute is RT-Exp, and not name of a bean. hth -jayash -Original Message- From: Au-Yeung, Stella H [ma

RE: question

2004-03-08 Thread Au-Yeung, Stella H
ED] Sent: Monday, March 08, 2004 6:45 PM To: Struts Users Mailing List Subject: RE: question Try something like this, The "value" attribute is RT-Exp, and not name of a bean. hth -jayash -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent:

RE: question

2004-03-08 Thread Gopalakrishnan, Jayesh
Try something like this, The "value" attribute is RT-Exp, and not name of a bean. hth -jayash -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 3:38 PM To: '[EMAIL PROTECTED]' Subject: question Hi: I need to set a "pre-defined"

Re: question

2004-03-08 Thread Paul Stanton
i think you are trying to do the following... this is assuming uList is a list of beans with id/name fields and your form has a userId field. Au-Yeung, Stella H wrote: Hi: I need to set a "pre-defined" option in using the "value=" attribute, I thought the following will work: I h

RE: Question

2004-03-03 Thread Andrew Hill
If you want to get better answers quicker Id suggest you learn the concept of 'meaningful subjects' for emails. "Question" is not a meaningful subject line. http://www.catb.org/~esr/faqs/smart-questions.html Ok now on to your "Question". Having been kind enough to take the time to read it to see i

Re: Question about DTDs ...

2004-03-03 Thread nicolas De Loof
DOCTYPE syntax uses an optional URI for the DTD, so that a validating XML parser can download an unknown DTD and validate the document. Struts registers local copy of it's configuration DTD to the XML parser (struts, tiles & validator). This way they're is no need to have access to the Internet

RE: Question about File downlods and letting users save a downloaded file. I am losing the original file name.

2004-03-01 Thread Stephan Jones
Answered My own Question. Thank you Jacob -Original Message- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 9:04 AM To: Struts Users Mailing List Subject: [OT] RE: File Download? This is what we use for file downloads (Excel/PDF files). String contentType

RE: Question on iterate

2004-02-12 Thread Patrick Cheng
More clues? it still doesn't work. -Original Message- From: Manish Singla [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 2:34 PM To: Struts Users Mailing List Subject: Re: Question on iterate bean:write cannot support index as bean:write just writes as plain text

Re: Question on iterate

2004-02-11 Thread Manish Singla
bean:write cannot support index as bean:write just writes as plain text. See if html:text with configuration of attributes works for you HTH Manish Singla Patrick Cheng wrote: > Hi all, > > I guess it should be an easy question about logic:iterate. > > I can do this: > > indexId="ctr"> > > >

RE: Question on iterate

2004-02-11 Thread Mohan Radhakrishnan
Hi The following should work. The hidden variable is needed if you want to send it back to the proper indexed property when you submit. Mohan -Original Message- From: Patrick Cheng [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 11:57 AM To: Struts Users Mailing Li

Re: question regarding dynamic Tile capability

2004-02-11 Thread Domingo A. Rodriguez S.
Hello, That could be handled in the controllerClass of the tile, retrieving the values from the session, evaluating them and proceeding depending on those values. Just check some past posts about "Dynamic Tiles" explaining the usage of the controllerClass attribute in the 'tile' tag. Regards Dom

RE: question regarding dynamic Tile capability

2004-02-11 Thread Turner Benjamin
if you use j2ee security something like this would work: Ben -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: 11 februari 2004 14:18 To: Struts Users Mailing List Subject: question regarding dynamic Tile capability We

RE: Question on Frames within Tiles

2004-02-08 Thread Van Riper, Mike
Shitij, You can't insert a frameset document inside of a DIV element in the middle of a regular HTML page. The fact that this is not working has nothing to do with Tiles. It is simply invalid HTML. You can nest frameset documents, but, you would still need to reference the nested frameset document

Re: question about wildcard support in Struts

2004-02-04 Thread Hubert Rabago
http://jakarta.apache.org/struts/faqs/helping.html#release =P --- Emily Gu <[EMAIL PROTECTED]> wrote: > Thanks for your quick reply. Yes, as you said, it is working in the nightly > > builds. > I just tried it. Do you have any idea when the Struts 1.2 will be release? > > Thanks, > Emily > > At

Re: question about wildcard support in Struts

2004-02-04 Thread Emily Gu
Thanks for your quick reply. Yes, as you said, it is working in the nightly builds. I just tried it. Do you have any idea when the Struts 1.2 will be release? Thanks, Emily At 03:26 PM 2/4/2004 -0800, Hubert Rabago wrote: AFAIK, as of now, this is only available from the nightly builds. http://c

Re: question about wildcard support in Struts

2004-02-04 Thread Hubert Rabago
AFAIK, as of now, this is only available from the nightly builds. http://cvs.apache.org/builds/jakarta-struts/nightly/ --- Emily Gu <[EMAIL PROTECTED]> wrote: > Hi All, > > The user guide shows the Struts is supporting "wildcard in action > mapping.". > I have tried it in Struts 1.1, it

Re: ... question? SELECTED ATTRIBUTE

2004-02-02 Thread Jiin-Her Lu
In you ActionForm java class, you have to define the selectedCountry instance variable. For example public MyForm extends ActionForm { private String [] selectedCountry = {}; // if the option is multiple selection (check box or multiple selection listbox) // private String selectCoun

RE: ... question? SELECTED ATTRIBUTE

2004-02-02 Thread Derek Colley
Struts does this for you if the value of the parameter equals the ... Derek > -Original Message- > From: Jino Morgan [mailto:[EMAIL PROTECTED] > Sent: 02 February 2004 17:48 > To: Struts Users Mailing List > Subject: Re: ... question? > SELECTED ATTRIBUTE >

Re: ... question? SELECTED ATTRIBUTE

2004-02-02 Thread Jino Morgan
How does one add selected attribute if I want one the option to have the SELECTED attribute --- Jiin-Her Lu <[EMAIL PROTECTED]> wrote: > you can do as following. > countryCollection is an ArryList with object of > struts' LabelValueBean. The value is the country > code and label is the country na

Re: ... question?

2004-02-02 Thread Jiin-Her Lu
you can do as following. countryCollection is an ArryList with object of struts' LabelValueBean. The value is the country code and label is the country name for example. Once the user changes the country selection, it will submit the change to server so that the action can generate the city lis

RE: Question: How do I put iterated radio buttons in the same gro up?

2004-01-16 Thread Eric Hodges
To: Struts Users Mailing List Subject: RE: Question: How do I put iterated radio buttons in the same gro up? Thanks for the advice, but I can't get that to work. I have to add a "value" attribute to get it to compile, so I changed it to this: That causes this run-time exceptio

Re: question

2004-01-15 Thread Michael McGrady
input is really more where it goes back to rather than where it came from. You can make it go back to wherever you like by the appropriate use of forward classes. At 02:32 PM 1/15/2004, you wrote: you could have a /user/add and a /user/update. If you're reusing the same form then have the acti

Re: question

2004-01-15 Thread Mark Lowe
you could have a /user/add and a /user/update. If you're reusing the same form then have the action as a variable. cheers mark On 15 Jan 2004, at 21:01, Ciaran Hanley wrote: Hey, Is it possible to use the same action path for two different inputs Id like the input to come from addUser.jsp if

RE: question

2004-01-15 Thread Saul Q Yuan
I don't think "input" accepts dynamcic values, but you can do the following to accomplish the same thing. You can define two forwards instead inside your action mapping, say, And in your action class, check for the existence of errors, and based on which page you're from, forward to the corres

RE: Question: How do I put iterated radio buttons in the same gro up?

2004-01-15 Thread Eric Hodges
ined a boolean "master" property to see if it was trying to access "account.master.master", but that failed too. -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 1:03 PM To: Struts Users Mailing List Subject: Re: Quest

Re: Question: How do I put iterated radio buttons in the same group?

2004-01-14 Thread Kris Schneider
Try: Quoting Eric Hodges <[EMAIL PROTECTED]>: > I'm using nested:iterate to display a list of items in a table. Each row > shows on element of the list like this: > > > > > > > > > > > I'd like to have one column that shows radio buttons and I'd like all of > those

Re: question about form handling

2003-12-29 Thread Mark Lowe
Yeah.. I tend to do things on the server and layer the client-side stuff on when i get time. In fact i'm a bit obsessive about not having js dependent apps. :o) On 29 Dec 2003, at 16:53, Cory Wright wrote: Hi Dirk: Sounds like you're talking about client-side issues here. If you're just tryi

Re: question about form handling

2003-12-29 Thread Cory Wright
Hi Dirk: Sounds like you're talking about client-side issues here. If you're just trying to populate form-fields with values from a child window (i.e. popup), use javascript to try something like this in the popup: function updateParent(){ popUpValue = document.getElementById("whateverThePo

Re: question about form handling

2003-12-29 Thread Mark Lowe
I'd approach the problem by thinking about having a child form that popluates a parent form. When you close the window or submit (have a button in noscript tags) the child it fires up an action which copies the values of the child form into the parent. If the parent is scoped to session ChlidF

Re: Question about back button on forward.

2003-12-18 Thread Shrihas Shah
Hi Khalid: Thanks for your reply. I just found out some info. If I want to force to send request upon the hitting back button I can put following lines in my jsp and it does force back the request to server. <% response.setHeader("Expires","0");response.setHeader("Cache- Control","no-cache");%

Re: Question dynamic value for a logic:iterate

2003-12-18 Thread Nicolas De Loof
Oups, sory : On a jsp1.2+ container you can use jstl and struts-el tags too. Nico. - Original Message - From: "struts" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, December 18, 2003 11:25 AM Subject:

Re: Question dynamic value for a logic:iterate

2003-12-18 Thread struts
Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, December 18, 2003 11:12 AM Subject: Re: Question dynamic value for a logic:iterate > use this : > > > > ... > > Nico > > > - Original Message -

Re: Question dynamic value for a logic:iterate

2003-12-18 Thread Nicolas De Loof
use this : ... Nico - Original Message - From: "struts" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, December 18, 2003 11:09 AM Subject: Question dynamic value for a logic:iterate How can i have a dynamic value ? eg: should be somethin

Re: Question about back button on forward.

2003-12-17 Thread Khalid K.
This is an age old questions. There are various javascript 'hacks' around. I suggest google the following: "javascript back button" the problem is that when you click on "back button" no server request is made, the catched page froom "history.back()" (i think that is the method) is displayed.

RE: question on DynaActionForm

2003-12-15 Thread Anderson, James H [IT]
Thanks! That did it. So, unless I read it wrong, the statement regarding transparency was in error. Thanks again. jim -Original Message- From: Fullam, Jonathan [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 9:58 AM To: 'Struts Users Mailing List' Subject: RE: q

RE: question on DynaActionForm

2003-12-15 Thread Fullam, Jonathan
Jim, I'm not exactly sure what the book means when they say that "whether you use an ActionForm or a DynaActionForm should be transparent," but once you use DynaActionForm, you form is no longer of type RegisterForm (hence the ClassCastException). You must cast it to DynaActionFrom now as in:

RE: Question regarding ActionForms.

2003-12-01 Thread Kris Schneider
o be... For a really good > explanation see http://www.yoda.arachsys.com/java/passing.html > > > > worse is better > > -Original Message- > From: Larry Meadors [mailto:[EMAIL PROTECTED] > Sent: Monday, December 01, 2003 10:52 AM > To: [EMAIL PROTECTED] > Subject: Re: Qu

RE: Question regarding ActionForms.

2003-12-01 Thread Mainguy, Mike
:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 10:52 AM To: [EMAIL PROTECTED] Subject: Re: Question regarding ActionForms. Welcome to java 101, formerly known as the struts-users mailing list. Object references are passed to method calls. While that reference cannot be changed, the object that

Re: Question regarding ActionForms.

2003-12-01 Thread Geeta Ramani
Sepand: google under "java pass by reference vs. pass by value" and look at the very first result. It contains a real nice discussion about this.. Geeta EXCELSIS - Sepand Oboudiyat wrote: > Hi, > > I am currently using Struts 1.0.2 and have notice something with regard to > handling of ActionF

Re: Question regarding ActionForms.

2003-12-01 Thread Larry Meadors
Welcome to java 101, formerly known as the struts-users mailing list. Object references are passed to method calls. While that reference cannot be changed, the object that it references can. On the other hand, if you create a new action form and assign it to the "form" parameter, nothing will happ

Re: Question about Tiles Defs...

2003-11-29 Thread Adam Hardy
On 11/28/2003 09:36 PM Timo wrote: Because Internatilization is a big concern, I am using the struts localization technique to resolve labels, texts etc. But now, I am using the tiles-defs.xml to display the pages. one problem is to replace the title property, I know if I am using a regular jsp I c

Re: question

2003-11-17 Thread Sonam Belbase
Thanks, Nick. That solved it. -SB Nick Heudecker wrote: > It doesn't work because you must put the variable into the page scope: > > <% > List myList = (List) someList; > pageContext.setAttribute("myList", myList); > %> > > > If I have > > > > <% > > List myList = (List) someList; > > %>

Re: question

2003-11-17 Thread Nick Heudecker
It doesn't work because you must put the variable into the page scope: <% List myList = (List) someList; pageContext.setAttribute("myList", myList); %> > If I have > > <% > List myList = (List) someList; > %> > > where someList is a list of objects whose name property I want to > displa

Re: Question on compositing Tiles dynamically from Action

2003-11-07 Thread Brice Ruth
erm, OK. Strange response, but I'll take a look at what you have. Vic Cekvenich wrote: Let me try it this way: "_DO NOT_" call a /do from your definition to provide varibility by calling an action from tiles, so that you have much less definitions. Also, "DO NOT" loook at this : http://cvs.sou

Re: Question on compositing Tiles dynamically from Action

2003-11-07 Thread Vic Cekvenich
Let me try it this way: "_DO NOT_" call a /do from your definition to provide varibility by calling an action from tiles, so that you have much less definitions. Also, "DO NOT" loook at this : http://cvs.sourceforge.net/viewcvs.py/basicportal/bPproj/bP/WEB-INF/config/layoutsShop.xml (a shoping c

Re: Question on compositing Tiles dynamically from Action

2003-11-07 Thread Brice Ruth
I read through Tiles 201 just recently and what I read talked about extending the Controller, if I remember ... am I looking at the wrong Tiles 201? Vic Cekvenich wrote: Brice Ruth wrote: This still doesn't keep me from having to duplicate entries for each section of our site (we have 5 -

Re: Question on compositing Tiles dynamically from Action

2003-11-07 Thread Vic Cekvenich
Brice Ruth wrote: This still doesn't keep me from having to duplicate entries for each section of our site (we have 5 - garden, school, office, crafts, housewares) - and other non-Action driven pages need the same .baseLayout extended Tiles for each of the sections (.baseLayout.school, etc.

Re: Question on compositing Tiles dynamically from Action

2003-11-07 Thread Brice Ruth
This still doesn't keep me from having to duplicate entries for each section of our site (we have 5 - garden, school, office, crafts, housewares) - and other non-Action driven pages need the same .baseLayout extended Tiles for each of the sections (.baseLayout.school, etc.) - and those definit

Re: Question on compositing Tiles dynamically from Action

2003-11-07 Thread Vic Cekvenich
Flip it and revrse it, go to tiles, that call actions: /> /> And then yor Struts mapping forwards are You can (should?) have a /do in a tile, for action to figure out what JSP to assemble. Also explained in Tiles 201. .V Brice Ruth wrote: I have an Actio

RE: Question on storing bean in request context

2003-11-06 Thread Wendy Smoak
Brice Ruth wrote: >> What I'm doing, is storing it in the request context request.setAttribute("item",item)) and then my Action returns a forward that is mapped to a tile definition. That tile definition assembles a collection of tiles (which is all working) - the tile that needs to access the info

Re: Question on storing bean in request context

2003-11-06 Thread Brice Ruth
Um (embarrassed) ... I forgot to import the JSTL core taglib ... (/me hides head) Kris Schneider wrote: You shouldn't need . What happens with just: Quoting Brice Ruth <[EMAIL PROTECTED]>: Good morning (again) I have an Action that is retrieving a javabean object from my database (via i

Re: Question on storing bean in request context

2003-11-06 Thread Kris Schneider
You shouldn't need . What happens with just: Quoting Brice Ruth <[EMAIL PROTECTED]>: > Good morning (again) > > I have an Action that is retrieving a javabean object from my database > (via iBATIS, thank you very much :)) and I need to store that bean > somewhere where a Tile can access it.

Re: question about reset()

2003-10-27 Thread Manish Singla
may be check out the scope(session/request)... Your FormBean should be stored in same scope as mentioned in struts-config.xml... Sonam Belbase wrote: OK thanks Brice and Manish, I was not able to retrieve the values of my form properties in my action and according to your explanations, I

Re: question about reset()

2003-10-27 Thread Sonam Belbase
OK thanks Brice and Manish, I was not able to retrieve the values of my form properties in my action and according to your explanations, I can rule out reset() as the source of the problem. Thanks. SB Manish Singla wrote: > Please see below .. > Sonam Belbase wrote: > > I'm trying to understan

Re: question about reset()

2003-10-27 Thread Manish Singla
Please see below .. Sonam Belbase wrote: I'm trying to understand ActionForms a bit better and here is my question: If the servlet controller automatically invokes the reset() method before passing the ActionForm bean to the Action implementation class instance, how can you use the form's propertie

Re: question about reset()

2003-10-27 Thread Ruth, Brice
to my knowledge, reset() is called to clear the form (and perform any re-initialization), before calling the setters for the form parameters being submitted by the browser. this way, the action that accesses the actionform will always have the values submitted by the browser, no more, no less -

Re: [ot] Re: question on javascript... [solved]

2003-10-20 Thread Jacob Wilson
Just tested this... It works Mark... I think I was missing 'document'... Thanks for the help and suggestions... function getValue(optionName, hiddenValue) { var s = document.frmTest.elements[optionName]; for (var i=0; i

Re: [ot] Re: question on javascript...

2003-10-20 Thread Mark Lowe
I was on the wrong lines anyhow.. forms[] and elements[] deal with the index and/or the names. options[] requires the index. the value is a property of the element not the option (at least i recall things being like that. I'd just pass the value of the element as an argument But my apologies

Re: [ot] Re: question on javascript...

2003-10-20 Thread Jacob Wilson
I get that error when I pass the element name only !! function getValue(form, optionName,hiddenValue) { s = form.elements[optionName]; for(i = 0;i < s.options.length;i++) { if(s.options[i].value == hiddenValue) { s.options[i].selected = true; break; } } } optionName is the element nam

Re: [ot] Re: question on javascript...

2003-10-20 Thread Mark Lowe
You can specify an index or the name of the element. Likewise with the array of forms in the page.. Some folks prefer using the document.myform.myelement syntax. But you can use the element name also. Cheers Mark On Monday, October 20, 2003, at 03:14 PM, Jeff Kyser wrote: form.elements is a

Re: [ot] Re: question on javascript...

2003-10-20 Thread Mark Lowe
Its been a while.. try the index or hardcode the form name like before in case it doesn't like the form object being passed as an argument... function getValue(formName,elementName,value) { s = document.forms[formName].elements[elementName]; .. Cheers Mark On Monday, October 20, 2003, a

Re: [ot] Re: question on javascript...

2003-10-20 Thread Jeff Kyser
form.elements is an array, and you'd have to specify it by index: s = form.elements[i]; where i was a supplied integer in the range 0..form.elements.length-1, or s = form.optionName; if 'optionName' was a valid name for a form element. HTH, -jeff On Monday, October 20, 2003, at 08:55 AM,

Re: [ot] Re: question on javascript...

2003-10-20 Thread Jacob Wilson
Thanks for the help Mark... when I do this, it says elements.optionName is not null or an object... Any clue??? Thanks! Mark Lowe <[EMAIL PROTECTED]> wrote:Those variable don't really need to be global. function getValue(form, optionName,hiddenValue) { s = form.elements[optionName]; for(i = 0;i

[ot] Re: question on javascript...

2003-10-20 Thread Mark Lowe
Those variable don't really need to be global. function getValue(form, optionName,hiddenValue) { s = form.elements[optionName]; for(i = 0;i < s.options.length;i++) { if(s.options[i].value == hiddenValue) { s.options[i].selected = true;

RE: question on javascript...

2003-10-19 Thread Jacob Wilson
Thanks Matt... It sure helped... Actually, now, I tried to put it as a common function like... function getValue(optionName, hiddenValue) { var s = document.forms[0].optionName; for (var i=0; i wrote: >This is a basic question... Can I find the index of a select box, >if I have the

RE: question on javascript...

2003-10-19 Thread Kruse, Matt
>This is a basic question... Can I find the index of a select box, >if I have the value or the text ??? >document.formName.optionName.options["C"].selected=true >-- This won't work!! You need to loop through each option, checking to see it's value and then checking it. var s = document.formnam

RE: Question about minimizing javascript loaded into web page

2003-10-02 Thread Yuan, Saul (TOR-ML)
> -Original Message- > From: Nicholas L Mohler [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2003 10:29 AM > To: Struts Users Mailing List > Subject: RE: Question about minimizing javascript loaded into web page > > > > > > >

RE: Question about minimizing javascript loaded into web page

2003-10-02 Thread Nicholas L Mohler
cc: Subject: RE: Question about minimizing javascript loaded into web page 10/02/2003 11:00

RE: Question about minimizing javascript loaded into web page

2003-10-02 Thread Yuan, Saul (TOR-ML)
> -Original Message- > From: Brian McSweeney [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2003 11:01 AM > To: 'Struts Users Mailing List' > Subject: RE: Question about minimizing javascript loaded into web page > > > > > > He

RE: Question about minimizing javascript loaded into web page

2003-10-02 Thread Brian McSweeney
ailto:[EMAIL PROTECTED] Sent: 02 October 2003 13:46 To: Struts Users Mailing List Subject: RE: Question about minimizing javascript loaded into web page > > Hi Saul, > Could you explain this a little more. I'm interested too. > > For example, at the moment I'm just using

RE: Question about minimizing javascript loaded into web page

2003-10-02 Thread Yuan, Saul (TOR-ML)
r messages etc. The static javascripts are those validation javascript functions as defined in the validator-roles.xml file. Hope this helps. Saul > > Am a bit confused :-) > Thanks, > Brian > > > -Original Message- > From: Yuan, Saul (TOR-ML) [mailto:[EMA

RE: Question about minimizing javascript loaded into web page

2003-10-02 Thread Brian McSweeney
staticJavascript.jsp page? 3) What's the difference between static and dynamic javascript? (Probably a real dumb question :-) ) Am a bit confused :-) Thanks, Brian -Original Message- From: Yuan, Saul (TOR-ML) [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 21:09 To: Struts Users

RE: Question about minimizing javascript loaded into web page

2003-10-01 Thread Yuan, Saul (TOR-ML)
If you don't want static javascript rendered inside your jsp page, you can set: staticJavascript="false" and have Saul > > I apologize if this is a question that has already been addressed, but > I've > not been able to find an answer... > > We have implemented the validation framework

Re: [Question] : Close popup after Action has exited... -- SOLVED

2003-10-01 Thread Todor Sergueev Petkov
> Sent: Wednesday, October 01, 2003 12:38 PM Subject: Re: [Question] : Close popup after Action has exited... in your or document.window.close() or try variations on that. Sometimes the browser will complain about, I'm not sure which one gets you past that. - Original Message -

Re: [Question] : Close popup after Action has exited...

2003-10-01 Thread Raphaël di Cicco
forward to a second page that self closes - Original Message - From: "khote" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 01, 2003 12:38 PM Subject: Re: [Question] : Close popup after Action

Re: [Question] : Close popup after Action has exited...

2003-10-01 Thread khote
in your To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 01, 2003 3:37 AM Subject: [Question] : Close popup after Action has exited... > Hi, > Does somebody know how I can close a popup window for which I have > ActionForms and Action when some method in the action ha

RE: [Question] : Close popup after Action has exited...

2003-10-01 Thread Andrew Hill
I do this by having the action forward to some html page with a little javascript that closes the window. -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 18:38 To: Struts Users Mailing List Subject: [Question] : Close popup after Act

RE: [Question] Checkbox multi select problem.

2003-09-29 Thread hari_s
u can give index for every checkbox and then access the value of the records according to this index. it's simple with mailto:[EMAIL PROTECTED] Sent: Saturday, September 27, 2003 11:45 PM To: Struts Users Mailing List Subject: Re: [Question] Checkbox multi select problem. Hi, Can you

Re: [Question] Problem with bean:include.

2003-09-28 Thread Adam L
Where's the connection between 'Head', 'headTemplate' and 'headTemp' ? Perhaps it's the mismatch of names that's causing grief... - Original Message - From: "Rajesh M Vasudevan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, September 28, 2003 7:33 A

Re: [Question] Checkbox multi select problem.

2003-09-27 Thread Rajesh M Vasudevan
Hi, Can you help me with this.. I want to pass the record ids selected by the user using a checkbox, to the Action Bean, when the page is submitted. CheckUnique Rec Ids X1000 X1001 X1002 X1003 The number of rows is dynamic, as

Re: [Question] Image path - Best way?

2003-09-27 Thread Max Cooper
ide/struts-html.html#img -Max - Original Message - From: "Rajesh M Vasudevan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, September 26, 2003 11:32 PM Subject: Re: [Question] Image path - Best way? > Hi guys, > &g

Re: [Question] Image path - Best way?

2003-09-26 Thread James Mitchell
Message - From: "Rajesh M Vasudevan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, September 27, 2003 2:32 AM Subject: Re: [Question] Image path - Best way? > Hi guys, > > I tried the following, and it seems to

Re: [Question] Image path - Best way?

2003-09-26 Thread Rajesh M Vasudevan
Hi guys, I tried the following, and it seems to work good: Is this the right way? Is there a way to specify it as a Resource? Can you give me a tutorial link of how to do that.. Thanks Rajesh > Hi > > What is the best way to give image paths in JSP pages? I see that an image > path given in

Re: Question

2003-09-24 Thread Max Cooper
I don't like HTML base tags, generally, because they make debugging confusing and they specify something that has no value (doesn't help, but reduces flexibility, and might break stuff). I have heard some justifications for their use, but I've written thousands of web pages and never needed one. I

Re: Question about properties in the struts configuration file

2003-09-14 Thread Ted Husted
There's the set-property element which can be used to set an aribrary property on the Java object being deployed. To access those properties, you should go through the object. So if you are using set-properties on an ActionMapping, you cast the ActionMapping to your subclass and then use the pr

Re: Question about date validation

2003-09-01 Thread Jeff Kyser
Hey Jose, here's a snippet from a form validation. Is that what you're looking for? -jeff datePatternStrict -MM-dd On Monday, September 1, 2003, at 02:38 PM, José Gustavo Zaga

Re: Question about DynaActionForm

2003-09-01 Thread Mark Lowe
Hi Erez Things should work as they are and nesting beans in dynaforms works fine. I have no idea about the logging, yes and things can get a little hard to drill down to where the beef is. You'll have to explain what you mean by DynaActionForm derived class? Cheers Mark On Monday, September

RE: Question about DynaActionForm

2003-09-01 Thread Erez Efrati
Ok, I fount what was causing the problem. Turns out that I was missing a 'public' modifier on the Person constructor class which prevented the Struts FormPropertyConfig class to call create a new instance of Person. In MHO it should have printed something to the log instead of swallowing the error

Re: question about modules

2003-08-14 Thread Sgarlata Matt
I am having difficulty with multiple modules also, but I do have answers to some of your questions. > - Is it possible, to do a transparent fallback for messages, tiles and/or > images, common to all modules ? For images I actually wrote my own custom tag, which is ugly but I didn't want images

RE: Question for you Internationalization supporters

2003-08-14 Thread Paananen, Tero
> I guess the first way with EVERYTHING in a message resource > is the only way to go? Just curious what the best way and > any pit falls for supporting internationalization even with > all the built in locale stuff already in the framework? That's basically the way my company is doing things.

RE: Question for you Internationalization supporters

2003-08-14 Thread Kamholz, Keith (corp-staff) USX
Yeah, if you truly want to support internationalization, then you have to display all of your text with message keys. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 1:50 PM To: [EMAIL PROTECTED] Subject: Question for you International

Re: Question for you Internationalization supporters

2003-08-14 Thread Evan Schnell
You're right. Every bit of text should come from a resource. It will make it easy later. Bailey, Shane C. wrote: Every paragraph must be in a message resource. This is not the recommended way to do break out large amounts of text. Paragraph breaks, or even the number of paragraphs may

RE: Question for you Internationalization supporters

2003-08-14 Thread Larry Zappeterrini
Users Mailing List' Subject: RE: Question for you Internationalization supporters Yeah, if you truly want to support internationalization, then you have to display all of your text with message keys. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday,

  1   2   3   4   5   6   >