question

2006-02-22 Thread red phoenix
I have a JSP file,and I use in this page,but it raise error,my code is follows: <%@ taglib uri="/WEB-INF/struts-form.tld" prefix="html" %> and my Form is follows: .. public ActionErrors validate(ActionMapping mapping,HttpServletRequest request) { ActionErrors errors = new ActionError

RE: debuging in eclipse

2006-02-22 Thread Shasirekha Engala
These are the lines in run.bat here %JAVA_OPTS% indicates the need information that needs to be set. Should I still remove rem rem Setup JBoss specific properties set JAVA_OPTIONS=-Xdebug-Xnoagent -Djava.compiler=none -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n set JAVA_OPTS=%

RE: debuging in eclipse

2006-02-22 Thread Chris Loschen
Quick question -- The JAVA_OPTS line you have below starts with "rem" which indicates a remark in batch files. That would indicate that the line isn't getting executed. If you remove the "rem," does that help? Chris -Original Message- From: Max Cooper [mailto:[EMAIL PROTECTED] Sent: We

RE: debuging in eclipse

2006-02-22 Thread Max Cooper
You can use whatever port you want, just make sure the port number in the script that starts JBoss matches the port that you have in your Eclipse debug configuration. I suppose the "default" port for JBoss is whatever it is set to in the comment in the run script (8787?). The default in the maven-

RE: debuging in eclipse

2006-02-22 Thread Shasirekha Engala
Hi Chandra I am using Jboss with Eclipse and the operating system I am using is windows XP. In jboss/bin/run.bat file the java options are specified as rem set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS% but

Re: Sorting & paging search results with delete button for each row?

2006-02-22 Thread Kim Brianne Go
you can add delete functionality with display tag by assigning an actionmapping to delete a particular record based on parameters passed. though i tried using it on extremecomponents. though same concept applies with display tag. On 2/23/06, Lixin Chu <[EMAIL PROTECTED]> wrote: > > why displayta

Re: Sorting & paging search results with delete button for each row?

2006-02-22 Thread Lixin Chu
why displaytag does not meet your requirements ? On 2/22/06, Narayanan, Shiva <[EMAIL PROTECTED]> wrote: > > Hello All, > > What is the best way to sort and page search results, (with delete button > for each row) using Struts? Are there are any open source tag libraries to > achieve this? > > > >

Off Topic Expression Language question

2006-02-22 Thread Jim Collins
Hi All, Appologies for the off topic posting. Does anyone Know how I can access a bean property that takes a parameter using EL. For example if in a bean I have define a name property with public String getName(){return name;} I can access this with EL ${mybean.name} But suppose in my bea

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread CONNER, BRENDAN \(SBCSI\)
OK, thanks. I'll look at that. - Brendan -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 4:55 PM To: Struts Users Mailing List Subject: RE: Re: [SHALE] Using the Test Framework >From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> >

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread Gary VanMatre
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > If you are using the shale test framework with simple junit tests, the > test framework doesn't digest your faces-confg.xml anyway. You have to > do that kind of setup in the test cases. > > The isolated code you want to test in the mana

Re: AW: Disabling Back Button in IE

2006-02-22 Thread Josh McDonald
Disabling keys in the browser is a bad idea for regular users, a disabling idea for the vision-impaired, and for many organisations technically against the law since you're deliberately doing something out of the norm which makes it inaccesible to disabled people. -- "His comrades fought be

Re: [shale] clay description elements

2006-02-22 Thread Gary VanMatre
>From: "Ryan Wynn" <[EMAIL PROTECTED]> > > I think it may be beneficial to extend the clay dtd to add extra > elements for documentation. Just like the component element in the > faces-config.xml has a description sub-element. I say this only > because I am trying to document all of my clay con

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread CONNER, BRENDAN \(SBCSI\)
If you are using the shale test framework with simple junit tests, the test framework doesn't digest your faces-confg.xml anyway. You have to do that kind of setup in the test cases. The isolated code you want to test in the managed beans would just use a indirect reference (the managed bean name

[shale] clay description elements

2006-02-22 Thread Ryan Wynn
I think it may be beneficial to extend the clay dtd to add extra elements for documentation. Just like the component element in the faces-config.xml has a description sub-element. I say this only because I am trying to document all of my clay config definitions and it would really be nice if I co

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread Gary VanMatre
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > Well, the thing that's nice about my approach is that all the > configuration and testing changes take place completely outside of the > application. Our application code (including the faces-config.xml and > web.xml files) are under sour

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread CONNER, BRENDAN \(SBCSI\)
Sorry, ignore that last paragraph. ;-) - Brendan -Original Message- From: CONNER, BRENDAN (SBCSI) Sent: Wednesday, February 22, 2006 3:47 PM To: Struts Users Mailing List Subject: RE: Re: [SHALE] Using the Test Framework Well, the thing that's nice about my approach is that all the co

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread CONNER, BRENDAN \(SBCSI\)
Well, the thing that's nice about my approach is that all the configuration and testing changes take place completely outside of the application. Our application code (including the faces-config.xml and web.xml files) are under source control, and we don't want to modify any of that just to test t

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread Gary VanMatre
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > Are you saying I should register my delegates as JSF managed beans? > Sure, why not? The faces IoC container is not spring but you could still have some of the same benefits. In fact, you could snap in Spring down the road using the S

Should we add MIME type in hosting package to make it execute .do files?

2006-02-22 Thread Legolas Woodland
Thank you for reading my post. My struts application works in my own PC but it does not works on Host that i purchased. it return 404 error. should i add a new MIME type for .do ? if so , What kind of MIME it should be ? Thank you --

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread CONNER, BRENDAN \(SBCSI\)
Are you saying I should register my delegates as JSF managed beans? - Brendan -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 2:49 PM To: Struts Users Mailing List Subject: RE: Re: [SHALE] Using the Test Framework >From: "CONNER, BREN

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread Gary VanMatre
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> > > In case anyone else was in the same boat I was in trying to run the Shale > Test > Framework "in isolation" on the Web Tier of a 3-tier application, I did come > up > with a technique that doesn't depend upon Spring. This is in the conte

Re: validate indexed properties

2006-02-22 Thread James Mitchell
Yes. -- James Mitchell EdgeTech, Inc. http://edgetechservices.net/ 678.910.8017 Skype: jmitchtx On Feb 22, 2006, at 3:16 PM, Juergen Schmailzl wrote: Hi, is it possible to validate indexeded properties with Struts validator (struts 1.2.7) -

validate indexed properties

2006-02-22 Thread Juergen Schmailzl
Hi, is it possible to validate indexeded properties with Struts validator (struts 1.2.7)

Re: How to get the value of combo box of previous page?

2006-02-22 Thread Laurie Harper
The first thing that jumps out is that you have the html:select and the html:options tags bound to the same form bean property (eng_name). That's almost certainly not what you want to do, although I don't think it explains the problem you're asking about. What's the 'action' attribute set to f

Re: Reg: DynaActionforms and ActionForms

2006-02-22 Thread Laurie Harper
Shasirekha Engala wrote: Hi, I want some information regarding the difference between DynaActionforms and ActionForms and advantages of DynaActionforms over ActionForms. I need the code of subclassing the dynaforms and using it. For example, I am having a BaseForm with the variables pageno(

Re: error-page design question

2006-02-22 Thread [EMAIL PROTECTED]
Try looking at your web servers custom error pages. Once the container is unavailable the web server is the only one that can process a request. Once the server goes down you will need to go with Laurie's said (good advice for any shop) Bryan LaPlante -- Original Message --- From:

Re: error-page design question

2006-02-22 Thread Laurie Harper
Jay Burgess wrote: Our app currently throws a custom UnavailableException from a couple of places inside our Action handlers when the app is "offline" doing end-of-day processing. We thought we had this situation covered from the UI perspective, as we'd configured the following mapping in our web

Re: using tiles and setting a cookie

2006-02-22 Thread brian papa
Well it looks like I've found the cause of the problem. The ServletResponse object passed into my Controller's execute is wrapped inside of ServletResponseWrapperInclude, which wraps an instance of org.apache.catalina.core.ApplicationHttpResponse. In that class, the addCookie() method is overidden

Re: getting various control like checkbox and drop down as column in HTML table.

2006-02-22 Thread Laurie Harper
[EMAIL PROTECTED] wrote: Hi: I am trying to put in editable checkbox inside HTML table, but it doesn't seem to work. any ideas where am going wrong ? Thanks in adv. Digant varStatus="status2">

Struts "seems" to be picking wrong translations creating a language mix in my web application.

2006-02-22 Thread Fali
Dear Colleagues, I use struts 1.2.8 I have an application with two message resource bundles: ApplicationResources.properties and ApplicationResources_es.properties. ApplicationResources.properties is written for the English language, and my intention is to use the english as the default lenguag

Re: Buttons and DispatchActions

2006-02-22 Thread Michael Jouravlev
On 2/22/06, Fali <[EMAIL PROTECTED]> wrote: > Moosbauer, I use MappingDispatchActions and they work fine for me. I enter > the name of the method in the actual Action definition in the > struts-config.xml using the attribute called "parameter" ... ... Once in the > mapped method, I know what bu

Re:Buttons and DispatchActions

2006-02-22 Thread Fali
Moosbauer, I use MappingDispatchActions and they work fine for me. I enter the name of the method in the actual Action definition in the struts-config.xml using the attribute called "parameter" ... ... Once in the mapped method, I know what button of the form that was clicked by the user because

Re: AW: Disabling Back Button in IE

2006-02-22 Thread Frank W. Zammetti
I knew something was weird... I have basically the exact same code in one app on every page in response to onLoad: onLoad="document.onkeydown=function(e){if(event.srcElement.type=='text'||event.srcElement.type=='textarea'){return true;}else{return false;}};" Now, at least in IE, that seems to blo

Re: getting various control like checkbox and drop down as column in HTML table.

2006-02-22 Thread Michael Jouravlev
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise http://www.catb.org/~esr/faqs/smart-questions.html#volume On 2/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi: > I am trying to put in editable checkbox inside HTML table, but it > doesn't seem to work. > any i

getting various control like checkbox and drop down as column in HTML table.

2006-02-22 Thread digant . k . joshi
Hi: I am trying to put in editable checkbox inside HTML table, but it doesn't seem to work. any ideas where am going wrong ? Thanks in adv. Digant

RE: Re: [SHALE] Using the Test Framework

2006-02-22 Thread CONNER, BRENDAN \(SBCSI\)
In case anyone else was in the same boat I was in trying to run the Shale Test Framework "in isolation" on the Web Tier of a 3-tier application, I did come up with a technique that doesn't depend upon Spring. This is in the context of using IBM's RSA IDE, but I imagine a similar technique would

RE: Action Oriented Framework Rendering Mode

2006-02-22 Thread Pilgrim, Peter
see intermixed > -Original Message- > From: Ian Roughley [mailto:[EMAIL PROTECTED] ==== > > > The ww:action is not used for AJAX interactions with the > server. There Ok that is cool to know. > are several UI widgets that can be AJAX enabled - the one you > would be > looking

AW: AW: Disabling Back Button in IE

2006-02-22 Thread Bernhard Slominski
This problem is as old as the web browsers are, at the beginning browsers and http were just there to display static pages, not for building applications with it, so the back button was not a problem. But you get serious problems with that when building applications. But as Frank and Josh pointed,

Re: need some files..

2006-02-22 Thread Antonio Petrelli
hemant kumar ha scritto: hi ahmed i need struts 1.1.zip file. if u hv it then send it. Seriously :-P , you can download Struts 1.1 files from the archive site: http://archive.apache.org/dist/struts/struts-1.1/ Ciao P.S.: Please do not ask anyone to send you through e-mail things you can fin

Re: Disabling Back Button in IE

2006-02-22 Thread Michael Jouravlev
What if Javascript is turned off? BTW, I use Alt+Left all the time on websites with disabled navigation buttons. On 2/22/06, Eickvonder Bjoern <[EMAIL PROTECTED]> wrote: > Just add > > document.onkeydown = function(e) { > if (document.all) { > if (event.srcElement.t

Re: AW: Disabling Back Button in IE

2006-02-22 Thread Frank W. Zammetti
Doesn't stop me from clicking my mouse wheel, which is mapped to Back :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Wed, February 22, 2006 11:09 am, Eickvonder Bjoern said: > Just

[OT] Re: need some files..

2006-02-22 Thread DGraham
Is it Friday already? -Dennis hemant kumar <[EMAIL PROTECTED]> 02/22/2006 11:19 AM Please respond to "Struts Users Mailing List" To user@struts.apache.org cc Subject need some files.. hi frnds..i m very much new to struts programing...so i need some help.. i need 13 .jar files..

Re: [OT] Re: need some files..

2006-02-22 Thread Dave Newton
Antonio Petrelli wrote: > hemant kumar ha scritto: >> hi frnds..i m very much new to struts programing...so i need some help.. >> i need 13 .jar files..to place them in my lib folder..plus the .tld >> files.. >> plz it would be very helpful if nebody send them to... >> [EMAIL PROTECTED] .

Re: need some files..

2006-02-22 Thread hemant kumar
hi ahmed i need struts 1.1.zip file. if u hv it then send it. Ahmed Hashim <[EMAIL PROTECTED]> wrote: What do you mean by 13 .jar file? Do you mean the struts lib's and tag lib's? You can easily download them from the website. On 2/22/06, hemant kumar wrote: > > > > hi frnds..i m very much new

[OT] Re: need some files..

2006-02-22 Thread Antonio Petrelli
hemant kumar ha scritto: hi frnds..i m very much new to struts programing...so i need some help.. i need 13 .jar files..to place them in my lib folder..plus the .tld files.. plz it would be very helpful if nebody send them to... [EMAIL PROTECTED] . thnks in advance.. And a cu

Re: need some files..

2006-02-22 Thread Cédric Levieux
RTFM ? 2006/2/22, hemant kumar <[EMAIL PROTECTED]>: > > > > hi frnds..i m very much new to struts programing...so i need some help.. > i need 13 .jar files..to place them in my lib folder..plus the .tld > files.. > plz it would be very helpful if nebody send them to... > [EMAIL PROTECTED] . > >

Re: need some files..

2006-02-22 Thread Ahmed Hashim
What do you mean by 13 .jar file? Do you mean the struts lib's and tag lib's? You can easily download them from the website. On 2/22/06, hemant kumar <[EMAIL PROTECTED]> wrote: > > > > hi frnds..i m very much new to struts programing...so i need some help.. > i need 13 .jar files..to place them

need some files..

2006-02-22 Thread hemant kumar
hi frnds..i m very much new to struts programing...so i need some help.. i need 13 .jar files..to place them in my lib folder..plus the .tld files.. plz it would be very helpful if nebody send them to... [EMAIL PROTECTED] . thnks in advance.. --

AW: Disabling Back Button in IE

2006-02-22 Thread Eickvonder Bjoern
Just add document.onkeydown = function(e) { if (document.all) { if (event.srcElement.type=="text" || event.srcElement.type=="textarea") return true; else return false; } else { if (e.target.type=="text" || e.target.ty

Getting Access to Application Properties from plain classes

2006-02-22 Thread starki78
Hi, normally we are getting the properties them in the normal Struts-way with the help of the request or bean:message , but for the purpose of some test classes it would be useful to access them within a main class or a plain java class. I tried this but I didn't find a solution. Is there any pos

Re: How to get the value of combo box of previous page?

2006-02-22 Thread Michael Jouravlev
Try this first: http://wiki.apache.org/struts/StrutsWidgets On 2/22/06, PC Leung <[EMAIL PROTECTED]> wrote: > > > The above line returns blank. Where goes wrong? > > In previous page as below, the combo box has values. > > > > property="eng_name

Re: RequestProcessor processPopulate heavily increases memory usage

2006-02-22 Thread willem . vermeer
Hi, Thanks for your pointers. It turns out that on *all* forms the enctype="multipart/form-data" was set even though no file upload was taking place. This caused the commons multipart request handler to allocate huge amounts of memory (256K for each field on the form) for each form which never g

Re: debuging in eclipse

2006-02-22 Thread nitin mandolkar
I am using eclipse/MyEclipse for my application development. I never did such complex setting for debugging. For me it always works fine with tomcat 4, tomcat 5 and Weblogic 8.1. Do these setting really needs to debug the application. Nitin M. Mandolkar. On 2/22/06, [EMAIL PROTECTED] <[EMAIL PR

RE: debuging in eclipse

2006-02-22 Thread Chandra.Ravinithala
Is your server(i.e tomcat or Jboss or whatever) running and listening for debugging connections? here is how I use Tomcat, JBoss and Eclipse to build and debug applications. Which ever platform you are using (tomcat or JBoss) you need to start them with the JPDA debugging enabled. For tomcat thi

How to get the value of combo box of previous page?

2006-02-22 Thread PC Leung
The above line returns blank. Where goes wrong? In previous page as below, the combo box has values. struts-config.xml is

Re: Reg: debuging in eclipse

2006-02-22 Thread nitin mandolkar
Can you please check eclipse log file at same. You will get more details. Nitin M. Mandolkar. On 2/22/06, Shasirekha Engala <[EMAIL PROTECTED]> wrote: > > Hi > > I have some problem related to eclipse. When I am trying to debug my > struts > application I am getting the error as "Failed to conne

Re: application resources on iplanet

2006-02-22 Thread Raúl Eduardo Plata
Thanks Jim, that information is valuable for me, i have no access to the iplanet machine, and i can´t change any configuration. The same war is working on Sun One 6.1 and tomcat, i tried changing the configuration from struts-config to web.xml, and same results. I'll try to get a copy of the sa

Re: Action Oriented Framework Rendering Mode

2006-02-22 Thread Ian Roughley
The ww:action is not used for AJAX interactions with the server. There are several UI widgets that can be AJAX enabled - the one you would be looking for is the remote DIV. But, this would be most helpful in a webwork application to make it portlet-like, not sure how it would help when deploy

RE: Action Oriented Framework Rendering Mode

2006-02-22 Thread Pilgrim, Peter
See intermixed > -Original Message- > From: Michael Jouravlev [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 21, 2006 7:02 PM > To: Struts Users Mailing List > Subject: Re: Action Oriented Framework Rendering Mode > > > On 2/21/06, Pilgrim, Peter <[EMAIL PROTECTED]> wrote: > > > >I

Reg: debuging in eclipse

2006-02-22 Thread Shasirekha Engala
Hi I have some problem related to eclipse. When I am trying to debug my struts application I am getting the error as "Failed to connect to remote VM". Can I get solution to this problem. Regards Shasi - To unsubscribe, e-mail

struts iterate tag

2006-02-22 Thread Hans-Peter Petek
Hello group, i have a problem with the logic:iterate tag ... i want to show a list of objects (which habe attributes with values of 0 or 1 or 2) I want to show them in a list of radio-elements OBJECT 1 0 1 20 1 20 1 2 OBJECT 20 1 20 1 20 1 2 ... where 0,

Re: Tiles on Tomcat 5.0.30

2006-02-22 Thread Antonio Petrelli
[EMAIL PROTECTED] ha scritto: Hi All I have used tiles in while this week and when I look at Tiles user guide, it says "If you are using Struts 1.2.x you will need to also make sure you are using the |org.apache.struts.tiles.TilesRequestProcessor| or a |RequestProcessor| class that extends i