RE: Newbie Question:XML parsing

2003-06-05 Thread shirishchandra.sakhare
If you want to just read the file and validate it against some rules, then may be you need to write a dtd/schema for the file and just read teh file using xerces or some other parser while setting the validate feature true...That is simple and easy..Apart from writting the xml schema /dtd

Internationalization support

2003-06-05 Thread Alen Ribic
Hi all What is the best way to handle internationalization in your system when using Struts framework? Basically, I would like to use human language specific resource bundles that would need to be used in session specific manner. Example: Croatian user logs on and MyAppResources_hr.properties

Handling ServletException

2003-06-05 Thread Eirik Kjølsrud
Hi. I've followed everyones advice and written a custom Exception handler. The exceptionhandler is set up in struts-config to catch all exceptions : !-- Global Exceptions -- global-exceptions exception handler=mypackage.strutsextensions.CustomizedExceptionHandler key=global.error.message

RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Manuel Lenz
Hi, I have seen some examples like the one below, but no one works with struts. I don´t know how to address the form beans field. And I habe to specify the param´s name I´d like to save. I tried this code, but it doesn´t work: a href=# style=text-decoration:none;

RE: Action Form Bean required ???

2003-06-05 Thread Tran Nguyen Thanh Bao
Dear Andrew, Could u please send me your struts-config.xml file that you configure for some of your screens not to use form bean ??? I tried many times but not successful :( Thanks and Best Regards, TRANBAONGUYEN -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent:

RE: Action Form Bean required ???

2003-06-05 Thread Andrew Hill
Well they look a little something like: action path=/fooListView type=com.something.FooListAction /action We might be able to help a bit more if you clarified what you mean by 'not successful'. -Original Message- From: Tran Nguyen Thanh Bao [mailto:[EMAIL PROTECTED] Sent: Thursday, 5

RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Vijay Pawar
Hi, why does ur following code contain DEFANGED_ Is this in ur actual code also? if it is then scripts will not work. try removing all instances of DEFANGED_ cheers ! Vijay Hi, I have seen some examples like the one below, but no one works with struts. I don´t know how to address the

RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread graghupathy
try this one ... input src=path to image type=image name=somename value=somevalue Regards guru -Original Message- From: Vijay Pawar [mailto:[EMAIL PROTECTED] Sent: 05 June 2003 10:05 To: Struts Users Mailing List Subject: RE: RE: Submitting value with Graphical Buttons Hi, why does

log4j in struts application

2003-06-05 Thread harm
Hi all, I'm trying to use the Log4J package in my webapplication. Therefore I placed the file log4j.properties in WEB-INF/classes which looks like this: log4j.rootLogger = DEBUG, stdout, rolling log4j.appender.stdout = ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

Antwort: RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Manuel Lenz
Hi, DEFANGED_ was added by the e-mail client I use, it´s not in the original code. My code is that: a href=# style=text-decoration:none; onclick=javascript:document.testForm.fieldname.value='page.jsp'; document.testForm.submit() Still the same question: Where is the error? How do I save a

RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Dirk Markert
Hello Manuel, using a page like: /HEAD BODY BGCOLOR=#FDF5E6 H2 ALIGN=CENTERTest/H2 FORM Name=testForm ACTION=http://localhost:8088/SomeProgram; Field 1: INPUT TYPE=TEXT NAME=field1BR INPUT TYPE=SUBMIT /FORM a href=# style=text-decoration:none;

Re: struts validator

2003-06-05 Thread Ted Husted
Mark Galbreath wrote: You know, I just don't get it. I think Validator was a great idea that simply proved wrong in implementation. And I know I am not alone it this assessment. I've been using the Validator for about two and half years now, and I have to agree, that it does seem to be

Re: log4j in struts application

2003-06-05 Thread Gemes Tibor
[EMAIL PROTECTED] rta: I'm using JBoss with integrated Tomcat 4.1 (on linux). In the JBoss log I see: Jboss has its own log4j config file. It is used container-wise, so you should configure that. It is checked every minute, and reloaded the logging if changed. I cannot remember the name,

Antwort: RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Manuel Lenz
Hi Dirk, you are right with your statement, but this is not exactly what I want to do. You are filling an input field in the html-page and submit this value. Id like to fill directly an field in a specified FormBean on the server. But how do I address this field in the expected FormBean? Idont

Antwort: RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Manuel Lenz
The value is only submitted in Netscape-based-Browsers like Mozilla. Internet Explorer doesn´t submit this value-Tag in http-post. Cheers, Manuel |-+ | || | || | |

RE: Antwort: RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Andrew Hill
You could use a GET request with the value for that field appended as a query parameter. These are treated the same as POSTed parameters when the form is populated. (Dont forget to rewrite the url to preserve session for cookie haters). -Of course you will lose the values for all the other fields

Re: Antwort: RE: RE: Submitting value with Graphical Buttons

2003-06-05 Thread Dirk Markert
Manuel, are you preparing your form data with an action? Then simply use something like actionForm.setXyProp() Struts will populate your jsp with the data from your action form. ML Hi Dirk, ML you are right with your statement, but this is not exactly what I want to ML do. ML You are

Re: Using nested tags

2003-06-05 Thread lcl
I need online tutorial :-) Mark Galbreath [EMAIL PROTECTED] :[EMAIL PROTECTED] you didn't. would you like lessons? -Original Message- From: lcl [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 11:55 PM Hi Dan, Sorry for post it to your email directly.

Re: struts validator

2003-06-05 Thread Brian McSweeney
I had initial trouble setting up the validator, mainly to do with it not working when you try to validate the dtd with a machine not connected to the net. It didn't give a good error explaining this. However, once I realised this was the problem, and set up the validator properly, it works really

Validating a double

2003-06-05 Thread Brian McSweeney
Hi all, I'd like to validate a double using the validator. However, does this mean that the field in the ValidatorForm should be a double (primary data type) or a java.lang.Double. Or perhaps I should take the field in as a string and try to validate it as a double? I only say this because I

RE: struts validator

2003-06-05 Thread graghupathy
hi, Can you please let me know of how do you get rid of this issuse ( i mean setting up the validator so that i need not be connected to the net ) ... Thanks Guru -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: 05 June 2003 10:50 To: Struts Users

Re: struts validator

2003-06-05 Thread Frances Aleah Z. de Guzman
but my pc is connected to the net. but i have this compilation error no route to host the url of the validation dtd...but my struts-config.dtd works fine. On Thursday 05 June 2003 05:49 pm, Brian McSweeney wrote: I had initial trouble setting up the validator, mainly to do with it not working

Re: struts validator

2003-06-05 Thread Brian McSweeney
I use xdoclet to generate my validator stuff. There is a tag in the strutsvalidationxml/ that allows you to use the dtd or not. I set it there. Not sure how it actually works under the hood though. Sorry :-( Anyone else know? Brian - Original Message - From: [EMAIL PROTECTED] To: [EMAIL

Re: [OT] Newbie Question:XML parsing

2003-06-05 Thread Max Cooper
I'll third the recommendation to use Digester. I needed to parse an XML file for the securityfilter project, and I had not done any XML parsing before so I was expecting it to be a fair amount of work to do. Then I recieved a contributed solution from a member of this list that used Digester. It

logic:redirect question

2003-06-05 Thread harm
Hi all, In my struts application I verify if a user is valid, and if so I store the user information in the Session object. I use an object called 'user'. In the rest of my JSP's I check if this 'user' object is present, and if not I redirect the user to the login-screen. I use this code:

passing parameters or object from one action to other

2003-06-05 Thread meissa . Sakho
hi all, I have an action1 whose forward is another action2. I need to pass some parameters or object from action1 to action2 I don't want to put them(parameters or object) in the session. Is there a solution for doing that. thanks in advance Meissa L'integrite de ce message n'etant pas

RE: passing parameters or object from one action to other

2003-06-05 Thread Andrew Hill
You can put them in the request as attributes and use a non-redirecting forward *but* then you are 'action chaining'. (Action chains are bad. n'kay) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 June 2003 19:25 To: [EMAIL PROTECTED] Subject:

Re: struts validator

2003-06-05 Thread Mark Lowe
Not sure all this talk of validator is that justifiable. I've had no issues generating both the client side and server side validation, and its saved me a lot of work. Like others i think it would be nice to define form beans and validation rules in the same place but I like it as it is,

RE: passing parameters or object from one action to other

2003-06-05 Thread Andrew Hill
(Oops. Hit send too soon. Try again!) You can put them in the request as attributes and use a non-redirecting forward *but* then you are 'action chaining'. (Action chains are bad. n'kay) The other alternative - suitable for string parameters - is to make them request parameters by appending to

RES: struts validator

2003-06-05 Thread Julio Cesar C Neto
Hi, Just point the dtd reference to a file in your disk: FROM: !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/validator_1_0.dtd; TO: !DOCTYPE form-validation PUBLIC -//Apache

Nested indexed reference problem

2003-06-05 Thread Jean-Marc Gabriel
Hi all ! My jsp contain the following code : nested:form action=/admin.gp?ACTION=getGroups type=gaston.project.struts.user.AdminAction name=SESSIONUSER nested:nest property=groups nested:write property=root.name/br (A) nested:iterate property=childs[1]

tiles and tiles controllers

2003-06-05 Thread teknokrat
I have a page definition that uses a tiles controller. This works fine. However, i now want to defines several pages that extend the first page but i do not want them using the controller ( or any controller). can this be done? leaving urlController blank gives errors. thanks

Réf. : RE: passing parameters or object from oneaction to other

2003-06-05 Thread meissa . Sakho
why do you say 'Action chains are bad'. Is there another solution then. Meissa Andrew Hill [EMAIL PROTECTED] 05/06/2003 13:28 Veuillez répondre à Struts Users Mailing List Pour : Struts Users Mailing List [EMAIL PROTECTED] cc : Objet : RE: passing parameters or

RE: [OT] Reach out and touch someone?

2003-06-05 Thread Mark Galbreath
My apologies to all. This is why I created the #struts-user on darkmyst. No doubt most of us have high-stress jobs and blowing off steam in an irreverent humorous way comes entirely natural to hackers. I even remember Craig making a joke (once) on the list sometime during the summer of 2002. We

RE: Storing the Output of a Servlet to Database

2003-06-05 Thread Rajesh P
Thanks Craig, for the input. I was able to capture the output using servlet filter and the response wrapper classes. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 1:39 AM To: Struts Users Mailing List Subject: RE: Storing the Output

Re: Illegal target of jump or branch

2003-06-05 Thread mmolinar
Ok! you're right! Thank you a lot! Marco Scrive [EMAIL PROTECTED]: Hi, I'm using a b3 version of Struts everything works fine my problem occurs when I try to use a lot of tags in the same page,about 120 ( many of them are img tag...) The page that generetes the error is included with

RE: tiles and tiles controllers

2003-06-05 Thread Mike Jasnowski
I suppose one possibility is to have a noop controller, noop.jsp, or use the controller attribute on each tile rather than the definition, which I think is less desireable than having it at the def level. -Original Message- From: teknokrat [mailto:[EMAIL PROTECTED] Sent: Thursday, June

[OT] Readers' Choice Awards - only remotely related to Struts and without humor

2003-06-05 Thread Mark Galbreath
As per James' SEX SEX SEX post yesterday (which WAS funny): The results of 2003 JDJ Readers' Choice Awards will be announced on October 31, 2003. The special awards issue of Java Developer's Journal will be on newsstands worldwide on November 4, 2003. HERE IS A LIST OF PRODUCTS YOU NOMINATED AS

Multiple Message Resource Files

2003-06-05 Thread Natalie D Rassmann
Hi, My requirement is to have multiple message resource files not based on Locale but based on the user's project. For example, I need to create a message bundle for Project A and another one for Project B. MessageResources_ProjectA.properties looks like this: label.first = First Name

RE: Using nested tags

2003-06-05 Thread Phillip Qin
visit keyboardmonkey.com -Original Message- From: lcl [mailto:[EMAIL PROTECTED] Sent: June 5, 2003 5:34 AM To: [EMAIL PROTECTED] Subject: Re: Using nested tags I need online tutorial :-) Mark Galbreath [EMAIL PROTECTED] :[EMAIL PROTECTED] you didn't. would you like lessons?

Re: Multiple Message Resource Files

2003-06-05 Thread David Chelimsky
I know that if you're using the jstl tags you can define the bundle in the tags. So instead of: bean:message key=some.label/ you'd write: fmt:message bundle=${currentBundle} key=some.label/ Then you can set the value of currentBundle in your Action based on the current project, or store it

SOS. How to solve this problem ????

2003-06-05 Thread Tran Nguyen Thanh Bao
Dear all, When I first try my own application with Struts (using Tomcat 4.1.18), the errors generated as follow: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception

RE: Appending params to the URL of ActionForward

2003-06-05 Thread Andrew Hill
You can create a new action forward and return that. The code below creates a new actionforward based on the path in an existing one and appending some parameter: ActionForward forward = mapping.findForward(myforward); forward = new ActionForward( addParameterToUrl(forward.getPath(),foo,bar),

RE: OT FRIDAY: Is it Friday yet? Monkeys are cool.

2003-06-05 Thread Andrew Hill
I thought friday had been cancelled? We really need a friday newsgroup/mailing list. Realtime chat groups, IRC arent much good for those of us in other timezones who want to join the fun... -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Friday, 6 June 2003 10:19

RE: Action Form Bean required ???

2003-06-05 Thread Tran Nguyen Thanh Bao
Dear Andrew, Thanx for ur answer. In fact, i didnot try to write my own code to test, just run the samples of Struts, I removed all Action Form Beans and Action classes of the example and modify struts-config.xml so that the screens just go forward as its logical flow, with no processing

Re: SOS. How to solve this problem ????

2003-06-05 Thread FrenzyGNX
Maybe you should explain what does your application do, how did you configure your application, and what is ze file. --- Tran Nguyen Thanh Bao [EMAIL PROTECTED] wrote: Dear all, When I first try my own application with Struts (using Tomcat 4.1.18), the errors generated as follow: HTTP

access old application from struts?

2003-06-05 Thread Misc
Hi, I'm migrating webapplication to Weblogic5.1 from my old web application which has a lot of servlets into Struts application. Before completely migrating the whole application, I want struts still be able to access the old application. Both should share the same session id. But I'm facing

RE: Submit issue for new form with struts

2003-06-05 Thread raghu_c
Ya , this works however, the params are displayed in the url as request parameters + are editable (if u do a Ctrl-N on the popup window) No, i do not want to disable a ctrl-N or anything what i was looking for is a way to push the params into my Form Bean using their property methods

Re: [OT] What layer does an XSL transform belong to

2003-06-05 Thread Jeff Kyser
Very nice - thanks! putting it to the test here now -jeff On Wednesday, June 4, 2003, at 07:44 AM, Kris Schneider wrote: Nope, your XSL should stay the same. The only functional difference of the code I posted is that it doesn't do the doc.trim().length() 0 test. The JSTL empty operator

RE: [OT] Components and package

2003-06-05 Thread ruben
Well, i think that components are an interface linking with an implementation, and I access the component through the interface. I think package it's more a group of components or a group of classes that have some similar characteristic. I have some dudes, but I think that should be some similar

Struts View (JSP's -vs-Servlets)

2003-06-05 Thread sjones
I am writing an application that will Access an LDAP Directory Server The directory has many, many attributes and an attribute may be a single element or an array of elements. Using an entry of the type- employee we have this example. Example: A phone number attribute will store as many phone

Re: Struts View (JSP's -vs-Servlets)

2003-06-05 Thread Vic Cekvenich
This is not a Struts or MVC question, try the Servlet mail list. (If you used a MVC framework, you would create a Bean (that you unit test) that had a DAO (that talked to LDAP. Then you can use any View you wanted) .V sjones wrote: I am writing an application that will Access an LDAP

RE: Struts View (JSP's -vs-Servlets)

2003-06-05 Thread Andrew Hill
snip Question 1. if my writeHTML() method returns HTML with struts tags will, the struts tags be evaluated properly. /snip No of course not. snip My problem is this. I can create a java class for each attribute that i need to use and my class can have a method such as writeHTML() which returns

Re: [OT] Release Manager

2003-06-05 Thread Max Cooper
Are you looking for how-to info about doing releases of your project/product as source code? If so, one source of info is to look at mature open-source projects, including the fine projects available from Apache. SourceForge would be another place to look. What to deliver and how to do (automate)

Re: Submit issue for new form with struts

2003-06-05 Thread James Mitchell
Please describe further Grid of textboxes? Grid of static text? What are you submitting? The whole page of data or the row that was dbl clicked? What do you mean by do a lot of actions? -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org 770-822-3359

Re: CAM - Removing User Principal

2003-06-05 Thread Max Cooper
The details of configuring single-sign on will depend on what server you are using. It is pretty easy with Tomcat. The forthcoming 1.4 version of the J2EE spec adds a logout() method to the request interface that sounds like it could be used to achieve the cross-context logout functionality you

Re: ActionErrror messages from relational database

2003-06-05 Thread James Mitchell
This was implemented last year and released on the sf.net struts site: http://sourceforge.net/projects/struts Look for MessageResources Impls -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org 770-822-3359 AIM:jmitchtx - Original Message - From:

Validation question

2003-06-05 Thread Hurdle, Robert H, PERSCOM
I am trying to set up the Struts validator to have two required fields on my input form; userid and acesloccd. When the input form should display I get an error msg: Error Message: No getter method for property acesloccd of bean org.apache.struts.taglib.html.BEAN The input form never

Re: Illegal target of jump or branch

2003-06-05 Thread James Mitchell
Please search the archives, this is discussed at least once a month here. -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org 770-822-3359 AIM:jmitchtx - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003

RE: Submit issue for new form with struts

2003-06-05 Thread raghu_c
essentially a table of values (list of records) retrieved from the db - on the action of the first jsp on dbl clicking the list, i have a javascript function that captures the record index and tries opening another window(a popup type) that queries the db for further data based on the record dbl

RE: Coarse-grained DynaValidatorForm

2003-06-05 Thread Bailey, Shane C.
You'll notice there are 4 types of Validator form beans. 2 of the Dyna variety and 2 of the original variety. The ones with Action in their name names like ValidatorActionForm and DynaValidatorActionForm should be extended when you want validation based on (triggered by) an action received by

RE: Struts View (JSP's -vs-Servlets)

2003-06-05 Thread Mark Galbreath
1. No; this is just output and it will be ignored by the browser as undefined tags. 2. No; but you can do this: html:text property=%= fld_nme % value=%= fld_val %/ -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of sjones Sent: Wednesday, June 04, 2003 9:16 AM

RE: [OT] Release Manager

2003-06-05 Thread Tumi Mathibedi
thanks Max, that answered my concern. -Original Message- From: Max Cooper [mailto:[EMAIL PROTECTED] Sent: 04 June 2003 03:41 To: Struts Users Mailing List Subject: Re: [OT] Release Manager Are you looking for how-to info about doing releases of your project/product as source code? If

Internationalization advice [OT]

2003-06-05 Thread Brian McSweeney
Hi all, I've got internationalization working nicely using the html:html tags and using the setLocale method. However, from this very knowledgeable group perhaps i could get a bit of advice. If I want my database to be able to store some characters in a non ASCII languages like chinese,

Validation question

2003-06-05 Thread Hurdle, Robert H, PERSCOM
Never mind. Next time I'll search the archive before asking the question. The answer came from Craig McClanahan. Struts uses the naming design patterns of the JavaBeans specification. Therefore, if you have a property named foo, it looks for methods getFoo() and setFoo(), while a method

Mutil URL access to a struts application

2003-06-05 Thread Laurent Garcia
Hi all, I just finished my struts 1.0 application, and now I would like to access to my application through several URL : My root context is APP and I want to access to my application with, for example : http://localhost:9080/APP/init.do http://localhost:9080/APP/foo/init.do

Re: Mutil URL access to a struts application

2003-06-05 Thread jbaker
One approach is to create separate action mappings for /init /foo/init /foo/init2 all of which forward to the same action class, and then decode the mapping in the action to determine what to do. E.g., String path = mapping.getPath(); if (path.equals(/init.do) { } else { Joe Baker

RE: Mutil URL access to a struts application

2003-06-05 Thread Bailey, Shane C.
I looked at that the other day because I wanted to do something like: servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping servlet-mapping servlet-nameaction/servlet-name url-pattern*.jsp/url-pattern /servlet-mapping and in my controller

validator: how to validate if either of two fields is present andvalid

2003-06-05 Thread Doug Bryant
we have a form we are displaying to the user. depending on the permissions the user has, they are required to either fill out a requiredDeliveryDate or daysAro Depending on what permissions you have, you must fill out one or the other and you must fill in either a date or an integer value

Struts redirection problem

2003-06-05 Thread J, Sadhasivam (Cognizant)
Hi, We are doing a portal in which we have a News Channel in the pages across the site. assume its just a corner html display area in the Site which frameless site. with respect to site updation and new arrivals this content should be picked and display the top 10 records. For

Re: Submit issue for new form with struts

2003-06-05 Thread James Mitchell
- Original Message - From: raghu_c [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 10:05 AM Subject: RE: Submit issue for new form with struts essentially a table of values (list of records) retrieved from the db - on the action of the

RE: Struts redirection problem

2003-06-05 Thread Andrew Hill
Make the input attribute in the mapping point at the action (the one it goes through before forwarding to that view if its different). -Original Message- From: J, Sadhasivam (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 June 2003 23:38 To: [EMAIL PROTECTED] Cc: [EMAIL

RE: Struts redirection problem

2003-06-05 Thread J, Sadhasivam (Cognizant)
in the problem statement i have mentioned that we are doing that but its not the right way to do as per my assumption. because do the formvalidation if its invalid instead of going to the action.perform redirect to jsp directly is the struts thumb rule and design. Ideally is it good to over

problem with reset button in DynaActionForm

2003-06-05 Thread Kommana, Sridhar
Iam using Struts 1.1 beta 2 version. I have one zipcode search page.it has search criteria fields and search results table. case:1 If i enter search criteria and click on reset button it works fine. case:2 If i enter search criteria and click on search -- iam calling action where

how to put a bean:write in a href=

2003-06-05 Thread António Santos
Hi all, Maybe this is a simple question, but I'm stuck with this: How can I set a href in a html:link tag with a string concatenated with a bean:write...? I mean, I want to do something like this: html:link href=getorg.do?id=bean:write name=orglist property=id/bean:write name=orglist

RE: problem with reset button in DynaActionForm

2003-06-05 Thread Chen, Gin
Reset only resets back to the default values (it renders as an HTML submit) Since struts puts the values into the html fields (value=blah) that is picked up as the default values. Therefore, reset will reset back to what the screen looked like when you first came in before doing any posts. -Tim

RE: problem with reset button in DynaActionForm

2003-06-05 Thread Andrew Hill
I never use the Reset button myself, but afaik its just an html reset button (the clicking of which resets form properties to the values they started with when the browser loaded the page (doesnt cause a hit on the server)) and thus has no relation with the actionforms reset() method.

RE: how to put a bean:write in a href=

2003-06-05 Thread Chen, Gin
2 possibilities without using scriplets: 1) Struts-EL: html-el:link href=/getorg.do?id=${orglist.id}/ 2) JSTL: c:url value=/getorg.do c:param name=id value=${orglist.id}/ /c:url -Tim -Original Message- From: António Santos [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003

RE: how to put a bean:write in a href=

2003-06-05 Thread Varun Garg
Do this html:link href=getorg.do paramId=id paramName=orglist paramProperty=id -Original Message- From: António Santos [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 11:54 AM To: [EMAIL PROTECTED] Subject: how to put a bean:write in a href= Hi all, Maybe this is a simple

Re: how to put a bean:write in a href=

2003-06-05 Thread Mark Lowe
I hate dollar signs :o) I'd do this html:link page=/gtorg.do paramId=id paramName=orglist paramProperty=id I Love Sparrows!!! /html:link Mark On Wednesday, Jun 4, 2003, at 17:03 Europe/London, Chen, Gin wrote: 2

Re: Exception handling question

2003-06-05 Thread David Graham
How do you get access to the exception that was thrown when your action is called by the container (i.e. from the error-page directive in web.xml)? for example: a custom tag throws an exception, it is caught by the container and the container forwards to my action. so where is the exception

RE: Tiles menuLayout.jsp extending in the tiles-def.xml?

2003-06-05 Thread Gary D Ashley Jr.
Personally, I found doing menu layouts via tiles was to complicated and definitely wan't as clean as I'd like. My approach was to create my own custom xml file like: tab-menu name=facilityBasicTabMenu images selected preImage=../images/preTab_b.gif

Showing errors on forms

2003-06-05 Thread Aaron Robinson
Struts 1.1 offers the ability to show a list of errors at the top of a form based on the errors from the ActionErrors class. Is there a way of getting struts to highlight the fields in error in any way? TIA _ Stay in touch with

RE: Showing errors on forms

2003-06-05 Thread Mark Galbreath
Add the property attribute to html:errors/, where property=field_name and place the tag where you want it (usually beside or above the field to be validated). Mark -Original Message- From: Aaron Robinson [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 12:39 PM To: [EMAIL

RE: Message Resource Bundle utilities?

2003-06-05 Thread Gary D Ashley Jr.
There is an extension in the sandbox, I believe, that will allow you to maintain resource bundles in a database versus .properties file. -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 12:02 PM To: [EMAIL PROTECTED] Subject: Message Resource

RE: Intelligent Refresh/Reloading

2003-06-05 Thread Marcos Oliva
Jason, I did this with Jboss - MDB (message driver beans) -- applet/javascript The applet is a non-displayable applet that sits on the client web page and listens to the publisher (MDB bean) and whenever new info hits the server then the MDB publish a message, the servlet receives it and by

RE: Struts redirection problem

2003-06-05 Thread J, Sadhasivam (Cognizant)
The doubt is can implement portal channel kind of behivour where in channels are dropped in my dynamic contents and in the content area requalr CRUD operation will be followed. -Original Message- From: J, Sadhasivam (Cognizant) Sent: Wednesday, June 04, 2003 9:22 PM To: 'Struts Users

quick: action input= parameter question.

2003-06-05 Thread Mick Knutson
I am wondering if the default, if I omit the input=/action.do, what it will default to? I have all of mine the same as the name of my actions, and really don't want to keep adding the parameter each action as I feel it may be redundant. --- Thanks... Mick Knutson ---

RE: Message Resource Bundle utilities?

2003-06-05 Thread Mick Knutson
Which sandbox? I know Ted had one he created, but it used Hybernate. I am _only_ using EJB's and do not want to add Hybernate into our system. Or do you mean the commons sandbox? --- Thanks... Mick Knutson --- From: Gary D Ashley Jr. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List

Re: Message Resource Bundle utilities?

2003-06-05 Thread James Mitchell
There is a database implementation of MessageResources on SourceForge.net. Go to: http://sourceforge.net/projects/struts Look for MessageResources Impls It consists of 3 classes, very simple. I've even included a modified version of the struts-example to demonstrate. The default setup uses

Re: Message Resource Bundle utilities?

2003-06-05 Thread Mick Knutson
I did see this before, but this will force me to use OJB instead of a more generic means by SQL, or allowing me to change this to use CMP 2.0. 1st Question, does anyone have an EJB implementation of this that puts the entire bundle into memory so each call for resources does not mean an SQL

Re: [OT] Release Manager

2003-06-05 Thread Erik Price
Tumi Mathibedi wrote: thanks Max, that answered my concern. Also there is a very good (but more high-level than the Java Development with Ant book) chapter on packaging source code in Agile Software Development: Patterns, Principles, and Practices by Robert Martin. The chapter is length and

limit on length of message in ResourceBundel?

2003-06-05 Thread Mick Knutson
Is there a limit on length of message in ResourceBundel? Such as: form.description = Some really, really long 500 character description here in the RB. --- Thanks... Mick Knutson --- _ MSN 8 helps eliminate e-mail viruses. Get

Re: Posted again: sendind data to the View (using XML)

2003-06-05 Thread Erik Price
António Santos wrote: Can some of you please tell me if sending data to the View in an XML formatted string as an attribute in the HTTP Request is a good practice? This will force the JSP to do XML parsing, but I think this is a fairly good idea in order to send lots of data (example: several

[OT] Reach out and touch someone?

2003-06-05 Thread Mark Galbreath
heh heh...Brandon is flirting with Becky on irc.darkmyst.org 6667 right now -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 1:23 PM The quickest way to reach me is with AIM.

RE: [OT] Reach out and touch someone?

2003-06-05 Thread Chappell, Simon P
Well, don't be telling everyone ... or he'll turn into a bitter and cynical foster's beer drinking grouch like someone we all know! ;-) -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 12:40 PM To: 'Struts Users Mailing List' Subject:

Re: Exception handling question

2003-06-05 Thread Bradley M. Handy
Here are the request scope attributes you need to worry about (page 64 of the Servlet 2.3 spec): javax.servlet.error.status_code java.lang.Integer javax.servlet.error.exception_type java.lang.Class javax.servlet.error.message java.lang.String javax.servlet.error.exception

Newbie Question: Tiles and html:link how to make it work.

2003-06-05 Thread Davidson, Glenn
I am new to Struts and Tiles and am trying to make it work. I have written a simple web site that uses the html:link forward=some forward name ... and this works well. The some forward name is currently defined in the global forwards section of the struts-config.xml I have looked at the

RE: validator: how to validate if either of two fields is presentandvalid

2003-06-05 Thread Doug Bryant
Perfect! Thanks James. That's exactly what I was looking for. Doug On Wed, 2003-06-04 at 14:16, James Turner wrote: Check out the requiredif validation. It's even in the newbie FAQ now. James -Original Message- From: Doug Bryant [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: [ANNOUNCE] Struts Presentation @ JavaOne

2003-06-05 Thread Craig R. McClanahan
On Tue, 3 Jun 2003, James Holmes wrote: Date: Tue, 3 Jun 2003 20:41:18 -0400 From: James Holmes [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users List [EMAIL PROTECTED] Subject: [ANNOUNCE] Struts Presentation @ JavaOne I'm going to be giving a

  1   2   >