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

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 if

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

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. See

RE: question regarding dynamic Tile capability

2004-02-11 Thread Turner Benjamin
if you use j2ee security something like this would work: logic:present role=admin tiles:insert definition=layout.admin tiles:put name=title value=Title here / tiles:put name=content value=admin.jsp / /tiles:insert /logic:present logic:present role=user tiles:insert

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

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. logic:iterate name=myForm property=results id=result indexId=ctr bean:write name=result property=bookingNo/ html:hidden name=result property=bookingNo

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: logic:iterate name=myForm

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

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 seems

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.

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 03:26 PM

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

2004-01-16 Thread Eric Hodges
, 2004 7:50 AM 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: html:radio property=master idName=account

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

2004-01-15 Thread Eric Hodges
that defined 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: Question: How do I put

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

2004-01-14 Thread Kris Schneider
Try: html:radio property=master idName=account/ 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: nested:iterate id=account property=accounts tr td nested:radio

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

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 =

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

Re: Question dynamic value for a logic:iterate

2003-12-18 Thread Nicolas De Loof
use this : bean:define id=foo name=operator property=operatorWeightType/ logic:equal name=element property=weightType value=%= foo % ... Nico - Original Message - From: struts [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, December 18, 2003 11:09 AM

Re: Question dynamic value for a logic:iterate

2003-12-18 Thread struts
[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 : bean:define id=foo name=operator property=operatorWeightType/ logic:equal name=element property=weightType value=%= foo

Re: Question dynamic value for a logic:iterate

2003-12-18 Thread Nicolas De Loof
] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, December 18, 2003 11:25 AM Subject: Re: Question dynamic value for a logic:iterate Got the following error. symbol : method setValue (java.lang.Object) location: class org.apache.struts.taglib.logic.EqualTag

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);% Thanks

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. So

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 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: question

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

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 ActionForms.

RE: Question regarding ActionForms.

2003-12-01 Thread Mainguy, Mike
: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 it references can. On the other hand, if you create

RE: Question regarding ActionForms.

2003-12-01 Thread Kris Schneider
Meadors [mailto:[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

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

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: definition name=myPage1 extends=baseLayout put name=body value=/do/myPage1/ put name=tile value=/do/myTile/ / definition name=myPage2 extends=baseLayout put name=body value=/do/myPage2/ put name=tile

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

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,

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
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 cart

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 :

Re: Question on storing bean in request context

2003-11-06 Thread Kris Schneider
You shouldn't need jsp:useBean. What happens with just: c:out value=${requestScope.item.productName}/ 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

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 jsp:useBean. What happens with just: c:out value=${requestScope.item.productName}/ Quoting Brice Ruth [EMAIL PROTECTED]: Good morning (again) I have an Action that

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

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: 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

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 understand

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 on javascript...

2003-10-20 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; is.options.length; i++) { if ( s.options[i].value == hiddenValue ) {

[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: [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

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 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,

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

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

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... [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... HTML BODY onLoad='initTable(table2);' script language=javascript function getValue(optionName, hiddenValue) { var s = document.frmTest.elements[optionName]; for (var i=0;

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 =

RE: Question about minimizing javascript loaded into web page

2003-10-02 Thread Brian McSweeney
Users Mailing List Subject: RE: Question about minimizing javascript loaded into web page If you don't want static javascript rendered inside your jsp page, you can set: staticJavascript=false and have script src=staticJavascript ... reference the static part. Something like below: html:javascript

RE: Question about minimizing javascript loaded into web page

2003-10-02 Thread Yuan, Saul (TOR-ML)
-roles.xml file. Hope this helps. Saul 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 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 Brian McSweeney
:[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 the tag: html:javascript

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 Helps very much Saul. Cheers. Final dumb question: So

RE: Question about minimizing javascript loaded into web page

2003-10-02 Thread Nicholas L Mohler
: 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: 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 Saul, Thanks for the responses to the question

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

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

2003-10-01 Thread khote
in your form onSubmit=self.close(); 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 - From: Todor Sergueev Petkov [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

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

2003-10-01 Thread Raphaƫl di Cicco
forward to a second page that self closes BODY onload=javascript:window.close(); - 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 has exited

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 form onSubmit=self.close(); or document.window.close() or try variations on that. Sometimes the browser will complain about, I'm not sure which one gets you past

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 script src=staticJavascript ... reference the static part. Something like below: html:javascript formName=yourForm method=validateYourForm dynamicJavascript=true

RE: [Question] Checkbox multi select problem.

2003-09-30 Thread hari_s
To: Struts Users Mailing List Subject: Re: [Question] Checkbox multi select problem. 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 X

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 AM

Re: [Question] Image path - Best way?

2003-09-27 Thread Rajesh M Vasudevan
Hi guys, I tried the following, and it seems to work good: img src=%=request.getContextPath()%/images/leiste_oben.jpg width=430 height=80 border=0 alt= 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

Re: [Question] Image path - Best way?

2003-09-27 Thread James Mitchell
://www.struts-atlanta.org 678.910.8017 770.822.3359 AIM:jmitchtx - Original 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

Re: [Question] Image path - Best way?

2003-09-27 Thread Max Cooper
Users Mailing List [EMAIL PROTECTED] Sent: Friday, September 26, 2003 11:32 PM Subject: Re: [Question] Image path - Best way? Hi guys, I tried the following, and it seems to work good: img src=%=request.getContextPath()%/images/leiste_oben.jpg width=430 height=80 border=0 alt

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

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

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 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 field property=date depends=required,date arg0 key=myForm.date.errorname/ var var-namedatePatternStrict/var-name

Re: question about modules

2003-08-14 Thread Reinhard
Thanks a lot Matt! That where a lot of impulses to work on. Have a nice day, Reinhard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Question for you Internationalization supporters

2003-08-14 Thread Larry Zappeterrini
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, August 13

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

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

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 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 about data formating using display taglib

2003-08-01 Thread Yansheng Lin
Yes it does. style type=text/css .tableRowHeader { align:center; } .tableRowOdd { align:center; } .tableRowEven { align:center; } ... /style -Original Message- From: victor gusz [mailto:[EMAIL PROTECTED] Sent: August 1, 2003

RE: question about data formating using display taglib

2003-08-01 Thread victor gusz
Thanks, Does it? How do you use this stylesheet in its display:table display:column tags? The following stylesheet is used in its examples' html pages, its not in its jsp source, just because its tags cannot format data? Maybe I am just not clear about this, please clarify. regards, Victor

RE: question about data formating using display taglib

2003-08-01 Thread Yansheng Lin
as your jsp page refers to it, it's going to render it. Hope this helps! -Original Message- From: victor gusz [mailto:[EMAIL PROTECTED] Sent: August 1, 2003 12:22 PM To: Struts Users Mailing List Subject: RE: question about data formating using display taglib Thanks, Does it? How do

RE: question about data formating using display taglib

2003-08-01 Thread victor gusz
Thanks, You are right. But it seems it only renders internal stylesheets. regards, --- Yansheng Lin [EMAIL PROTECTED] wrote: It's the default classname for the rows and columns, etc. if you take a look at the source code. Presentation in html should be separated from the content,

RE: Question About Passing Values from Action Class

2003-07-24 Thread Mike Jasnowski
Generally you would stuff this ArrayList in a formbean accessible via a public getter, or you could I suppose put it in the session yourself as a scoped attribute. Then in the JSP you access it by that attribute name. -Original Message- From: Meka Struts [mailto:[EMAIL PROTECTED] Sent:

Re: Question About Passing Values from Action Class

2003-07-24 Thread Meka Struts
clearing my doubts. - Original Message - From: Mike Jasnowski [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, July 24, 2003 4:10 PM Subject: RE: Question About Passing Values from Action Class Generally you would stuff this ArrayList in a formbean

RE: Question About Passing Values from Action Class

2003-07-24 Thread Mike Jasnowski
4:24 PM To: Struts Users Mailing List Subject: Re: Question About Passing Values from Action Class Hi Mike, Got your point. Thank You In that case, how would the view classes be helpful. Because some people will write View classes (plain java files with get/set - java beans ) Can i set

RE: Question About Passing Values from Action Class

2003-07-24 Thread Canning, Chuck
this information helps you find your solution. (My example is not exact). Chuck -Original Message- From: Meka Struts [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 3:24 PM To: Struts Users Mailing List Subject: Re: Question About Passing Values from Action Class Hi Mike, Got your

Re: Question About Passing Values from Action Class

2003-07-24 Thread Meka Struts
end. Hope i made it clear Regards, Meka Toka - Original Message - From: Canning, Chuck [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, July 24, 2003 4:34 PM Subject: RE: Question About Passing Values from Action Class Hey Meka, I am not sure if I

RE: Question on how to remove a detail row?

2003-07-21 Thread Mike Jasnowski
You could generate an onclick eventhandler for each button, parameterized with the record ID, or some other data. Then when the button is clicked, it can set a parameter (or hidden form field) that identifies the row. -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent:

RE: Question on how to remove a detail row?

2003-07-21 Thread Norr, Peter
I prefer non-javascript if possible? -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 3:12 PM To: Struts Users Mailing List Subject: RE: Question on how to remove a detail row? You could generate an onclick eventhandler for each button

RE: Question on how to remove a detail row?

2003-07-21 Thread Adam Levine
have each row be its own separate form. add a hidden field that indicates which row it's on. read that field on the submit. From: Norr, Peter [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Question on how

RE: Question on how to remove a detail row?

2003-07-21 Thread Adam Levine
-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Question on how to remove a detail row? Date: Mon, 21 Jul 2003 15:21:14 -0400 I prefer non-javascript if possible? -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED

RE: Question on how to remove a detail row?

2003-07-21 Thread Alex Shneyderman
I was just thinking, never tried this, but You could change your form a bit to have an extra Property like String [] submit Now in JSP you can say html:submit property=submit[$iter.count] value=removeConstraint/html:submit When you submit this request you will have submit [array] That will

RE: Question on how to remove a detail row?

2003-07-21 Thread Norr, Peter
/tr /c:forEach -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 3:12 PM To: Struts Users Mailing List Subject: RE: Question on how to remove a detail row? You could

RE: Question on how to remove a detail row?

2003-07-21 Thread Alex Shneyderman
Do you use el tags? -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 4:34 PM To: 'Struts Users Mailing List' Subject: RE: Question on how to remove a detail row? Ok, how do I code the onclick param?? Below does not work? c:forEach

RE: Question on how to remove a detail row?

2003-07-21 Thread Alex Shneyderman
Sorry I should have asked what is not working? -Original Message- From: Alex Shneyderman [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 4:36 PM To: 'Struts Users Mailing List' Subject: RE: Question on how to remove a detail row? Do you use el tags? -Original Message

RE: Question on how to remove a detail row?

2003-07-21 Thread Norr, Peter
: RE: Question on how to remove a detail row? Sorry I should have asked what is not working? -Original Message- From: Alex Shneyderman [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 4:36 PM To: 'Struts Users Mailing List' Subject: RE: Question on how to remove a detail row

Re: question on heavy load website design using struts

2003-07-18 Thread Nicolas De Loof
You could look at this : http://c-jdbc.objectweb.org/ this intermediate JDBC driver allow you to cluster databases. Notice I never used it, use it at your own risk ;-) Nico. Hi, I am sure that someone here must have worked on a large website with heavy load using struts and I wonder if

Re: question on heavy load website design using struts

2003-07-18 Thread guo yingshou
Nico, Great! That is exactly what I'm looking for.Maybe I'll have some hard time to setup a testing environment and write some code to see what will happen. Thanks a lot! Guo Yingshou --- Nicolas De Loof [EMAIL PROTECTED] You could look at this : http://c-jdbc.objectweb.org/ this

  1   2   3   4   5   >