RE: Problem with loss form (session scope)

2004-02-27 Thread Andrew Hill
Hmm. That does sound rather odd! Like you say, should not be like that. :-( Only thing I can thing of here is: Is it the same session? (grasping at straws now!) Try println/logging the sessionId from the action and see if its still the same as first time through. -Original Message-

Exception while deploying

2004-02-27 Thread Parag
Experts, I am getting following exception while deploying Struts application on Weblogic8.1 SP2 Caused by: java.lang.NoClassDefFoundError: org/apache/struts/validator/ValidatorForm Can any one help... Regards, Parag Listing Exception: Feb 27, 2004 12:55:29 PM

Re: [ANNOUNCE] Struts 1.2.0 Test Build available

2004-02-27 Thread nicolas De Loof
I've built Struts 1.2.0 from the sources package uising maven 1.0RC1 without trouble. When I run maven site, the generated m-target/docs has no index.html and faqs, proposals, tiles and userGuide are empty directory. Is this a known build problem (waiting for update for an *official* release)

RE: Struts Workflow

2004-02-27 Thread shirishchandra.sakhare
Hi, I don't think building a real workflow would be that simple.I mean the workflow must be built in the framework, the actions being just configured to use it. And why reinvent the wheel when there is already a solution :-)) Have a look at http://www.livinglogic.de/Struts/ We used it in our

Re: [OT] RE: Memory usage

2004-02-27 Thread Anand Stephen
+1 What's happening to the struts mailing list? Of late people have been more than willing to crucify users for any reason. I remember this mailing list being one of the friendliest mailing lists. Appreciate your post very much Christian; very well said. Lets not clutter this list by

ArrayList in Form

2004-02-27 Thread Dixit, Shashank (Cognizant)
Hello All I have a ArrayList in the form which contains a CustomObject TheROw. I iterate thr this arraylist to display it by logic:iterate as follows. This row will contain many fields such as rate or amount. logic:iterate id=currentRow name=theForm property=rows type=com.custobj.TheRow \\

RE: ArrayList in Form

2004-02-27 Thread Parthasarathy Kesavaraj
I had the same rpoblem and i have used nested tags as suggested by Niall and it works fine. http://jakarta.apache.org/struts/userGuide/dev_nested.html http://www.keyboardmonkey.com/index.jsp With Regards Partha -Original Message- From: Dixit, Shashank (Cognizant) [mailto:[EMAIL

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread Parthasarathy Kesavaraj
Thanks mark , hubert and paul. i removed scope = request and it is working fine now. (Temporary fix :-)) i'll try to use lazy list once i finish off my work) With Regards Partha -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 8:35 PM To:

RE: FormBeans: A question of Style

2004-02-27 Thread Max Cooper
On Thu, 2004-02-26 at 23:01, Pradeep, PK wrote: I think whatever you do you can't make JSP and Action Class independent. Where are you populating ActionForm Object from the results from service layer? In Action class only right? Which you know very well for which JSP page it will be

microsoft sqlserver driver struts

2004-02-27 Thread Claire Wall
Hi, I am trying to use microsoft's jdbc driver with my struts application, but to no avail. Here is my datasource definition: data-source key=DB type=org.apache.commons.dbcp.BasicDataSource set-property property=description value=My SqlServer pool/ set-property property=driverClassName

Re: microsoft sqlserver driver struts

2004-02-27 Thread Mark Lowe
Does the error get thrown when you attempt to access the data source or at startup? On 27 Feb 2004, at 11:34, Claire Wall wrote: Hi, I am trying to use microsoft's jdbc driver with my struts application, but to no avail. Here is my datasource definition: data-source key=DB

java.lang.ClassCastException

2004-02-27 Thread Vano Beridze
Hello I've got struts 1.1 sun jdk 1.4.2_03 Fedora Core 1 I have a simple application one action that has two forwards. One of them I want to costruct dynamically. I created a plugin and in its init method I do the following moduleConfig.addForwardConfig(new ForwardConfig(mypath,myurl,true));

Re: microsoft sqlserver driver struts

2004-02-27 Thread Claire Wall
It gets thrown when the application starts, but then more errors occur as there are several servlets which load upon start-up - the data source is null at this point (NullPointerException's are being thrown) and so the errors are thrown when these classes try to access the database. -

Re: microsoft sqlserver driver struts

2004-02-27 Thread Mark Lowe
Can i see the bits of code in the servlets (non action servlets) at start up that retrieve the datasource? And an example from any actions. Also see the load on start up order as i imagine that the struts servlet needs to load before your servlets to be able to access the datasource. On 27

SV: ArrayList in Form

2004-02-27 Thread Claus Weng Madsen - TELMORE
Hi Shashank If I understand you correct, you want to modify the properties in an object within a Collection Do like this: logic:iterate id=rows name=theForm property=rows type=com.company.TheObject html:text name=rows property=firstName indexed=true / html:text name=rows

Re: java.lang.ClassCastException

2004-02-27 Thread Max Cooper
I am not sure this will be a complete solution to your problem, but try: moduleConfig.addForwardConfig(new ActionForward(mypath,myurl,true)); ActionForm extends ForwardConfig, not the other way around. -Max On Fri, 2004-02-27 at 03:22, Vano Beridze wrote: Hello I've got struts 1.1 sun

Re: microsoft sqlserver driver struts

2004-02-27 Thread Claire Wall
Mark, My problem is that I'm switching JDBC drivers - before I was using weblogic's JDBC driver for SQL Server and I've been using that for a long time now and never had any problems. Now I'm trying to ditch the weblogic driver and in its place use Microsoft's JDBC driver for SQLServer. Sorry,

Bean:message in attribute causes non-matching extension tags error

2004-02-27 Thread Abhishek Srivastava
Hello All, I am trying to have text from my property file appear into one of the attributes of an html select element. The code which I have written is html:select property=destinationType onchange= javascript:fnLocationBlur(); fnChangeZoomImage() onfocus=fnSetFocus('0');window.status

Re: microsoft sqlserver driver struts

2004-02-27 Thread Mark Lowe
Ah okay.. If you've had the same stuff running with another database i'm tree-barking. No I've never used and hope never to use M$ sql server. Postgres, mysql and oracle so I'm signing off this thread. but before i go try this. jdbc:microsoft:sqlserver://SERVERNAME:1433;SelectMethod=cursor

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread McCormack, Chris
i'll try to use lazy list once i finish off my work Eugh... We have all done it, but that is how botches get in to production code. People usually get too busy to apply the 'proper' code, or something more important that needs attention comes along. 2 years later someone comes along and has

Re: microsoft sqlserver driver struts

2004-02-27 Thread Claire Wall
nope, that didnt work either :( Anybody else out there use SQL Server and connects to it via Microsoft's SQL Server JDBC driver? there must be somebody Thanks Claire - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday,

RE: ArrayList in Form

2004-02-27 Thread Dixit, Shashank (Cognizant)
Hi Claus I am getting following exception if I do indexed = true java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:508) at java.util.ArrayList.get(ArrayList.java:320) at

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread shirishchandra.sakhare
But using lazy initialization is simple... See my earlier post... I am resending my earlier mail to another user.Go through the sample code and ask me if u dont understand something. The important portions are commented.Especially look at the jsps property how it is set and also the form

[OT] JSP or Velocity

2004-02-27 Thread A.White
Howdy I am starting to develop an application using struts and have been looking round the rest of the Jakarta project and came across the Velocity project. I was interested to see which which people recommended for a relative newbie Cheers Andrew

Re: [OT] JSP or Velocity

2004-02-27 Thread John Ferguson Smart
For my part, I tried Velocity with Struts and found it quite cool, but had trouble with some more tricky needs (dynamic includes) which where easier to do with Tiles and Taglibs (JSP 2.0-style taglibs, that is...) Just my 2 cents... A.White wrote: Howdy I am starting to develop an

RE: servlet filters and authentication

2004-02-27 Thread David Evans
Hi, I checked out SecurityFilter yesterday, after Robert Taylors recommendation, and have looked through a good bit of the source. I'm probably going to use your package once i get this thing closer to its final state. It looks like a great program. I like to write my own lite versions of

RE: [OT] JSP or Velocity

2004-02-27 Thread Andrew Hill
Havent used velocity myself , but from what Ive seen it is very good. (Theres also a very good introduction for newbies in Teds Struts in Action book where hes given a chapter to using velocity with Struts) That said, if you learn JSP its probably a much more portable skillset that will stand you

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread Parthasarathy Kesavaraj
Thx chris for pointing to this... With Regards Partha -Original Message- From: McCormack, Chris [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 5:51 PM To: Struts Users Mailing List Subject: RE: Problem in nested tags- Very Urgent - Please Help i'll try to use lazy list

RE: [OT] JSP or Velocity

2004-02-27 Thread McCormack, Chris
Having your JSP built using tiles, each (if necessary) having its own dynamic Tileaction is excellent. It offers so much flexibility, especially when its combined with JSTL. The only gripe I have is with JSTL and not having the ability to get map sizes. Its easy to code around this, but it

RE: microsoft sqlserver driver struts

2004-02-27 Thread Srikanth Gubba
Hi, I am using the same datasource configuration as you do: data-source type=org.apache.commons.dbcp.BasicDataSource key=BkEdDbFls set-property property=driverClassName value=com.microsoft.jdbc.sqlserver.SQLServerDriver / set-property property=url

Re: [OT] JSP or Velocity

2004-02-27 Thread Larry Meadors
[EMAIL PROTECTED] 02/27/04 5:44 AM I am starting to develop an application using struts and have been looking round the rest of the Jakarta project and came across the Velocity project. I was interested to see which which people recommended for a relative newbie After looking at

Re: microsoft sqlserver driver struts

2004-02-27 Thread Claire Wall
here's the error i'm getting: javax.servlet.UnavailableException: Initializing application data source DBNAME at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.j ava:1091) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472) at

RE: [OT] JSP or Velocity

2004-02-27 Thread Andrew Hill
Yes, Velocity has been around for quite awhile now, and it was intended to address many of the problems inherent in (older versions of) JSP. Nowdays JSP (especially JSP2) coding techniques and technologies have rather caught up with velocity. Your assesment that it doesnt add much value over the

RE: [OT] JSP or Velocity

2004-02-27 Thread A.White
Thanks for your answers, they are all greatly appreciated I think I'll be using JSP and JTSL then. However I have tried to look for some good tutorials for JTSL but have failed to find any that have addressed the basics. Any pointers to resources (apart from www.google.com ;-) ) will receive

Re: [OT] JSP or Velocity

2004-02-27 Thread Markus
Hi, I've used JSTL and velocity. Velocity is fast and a smart way to generate dynamic pages but it is not as comfortable as JSTL is. You have to implement many things which exist in JSTL and other taglibs already. If you use the macro stuff it will be easier but still a lot work to do. Kind

Re: [OT] JSP or Velocity

2004-02-27 Thread John Ferguson Smart
Probably been there already, but the Sun J2EE Tutorial isn't too bad. JSTL In Action (Shawn Bayern) is pretty good as well. A.White wrote: Thanks for your answers, they are all greatly appreciated I think I'll be using JSP and JTSL then. However I have tried to look for some good tutorials

RE: [OT] JSP or Velocity

2004-02-27 Thread Kris Schneider
Starting points: http://java.sun.com/products/jsp/jstl/reference/docs/index.html http://java.sun.com/products/jsp/jstl/reference/techart/index.html Quoting A.White [EMAIL PROTECTED]: Thanks for your answers, they are all greatly appreciated I think I'll be using JSP and JTSL then. However

Re: [ANNOUNCE] Struts 1.2.0 Test Build available

2004-02-27 Thread Joe Germuska
At 9:34 AM +0100 2/27/04, nicolas De Loof wrote: I've built Struts 1.2.0 from the sources package uising maven 1.0RC1 without trouble. When I run maven site, the generated m-target/docs has no index.html and faqs, proposals, tiles and userGuide are empty directory. Is this a known build

Manipulate page validation for ValidatorForm

2004-02-27 Thread Mikael Wikblom
Hi, I have the following problem; the page validation of the ValidatiorForm requires that the pages are ordered (e.g. a wizard-initalization) and performs validation for all pages = current page. If a page is undefined or 0, validation for all pages is performed. In my application I have an

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread Martin Sturzenegger
hi, i'm trying to use hubert's (and shirish's) approach on request-scope, and as long as the amount of rows are fixed it works well. BUT now i have an additional feature on my page and that gives me headaches. actionOne gets the rows from the dto-bean and initializes the jsp. on the jsp-page

[OT] JSP or Velocity

2004-02-27 Thread Leonardo Francalanci
take a look at freemarker http://www.freemarker.org/index.html It is very similar to Velocity, but you can use JSP tags in freemarker templates. (You can use JSP custom tag libraries in templates. from http://freemarker.org/fmVsVel.html)

RE: Manipulate page validation for ValidatorForm

2004-02-27 Thread Hookom, Jacob
We had to do this for our last project; I had an ActionForm for each page with validator bindings to validate input on each page. In the Actions, I used the page's form to update a transaction bean in the session which I in turn called a commit method on it to execute business logic (validate

RE: [OT] JSP or Velocity

2004-02-27 Thread Navjot Singh
Basically, i use velocity only for email templates and sometimes to generate other kind of templates from one template where the use of XSLT is not appropriate. For web templates, that have more complex requirements, i prefer to use taglibs. besides el makes life as easy as we may talk in

RE: Why can't I name a form using html:form?

2004-02-27 Thread Leticia Golubov
Thanks Mark, I stumbled upon the answer to my question by accident, yesterday, which made me quite happy (must get out more)... :) cheers -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 24 February 2004 12:41 To: Struts Users Mailing List Subject: Re: Why can't I name

RE: Problem with tags and overloaded methods

2004-02-27 Thread Slattery, Tim - BLS
I reiterate, I believe it's a bad idea to use the same method name for two different property mappings. If you can find some documentation that recommends you do that, I'd like to see it. I believe Tim is referring to what is defined in section 8.3.3 of the JavaBeans spec,

Re: microsoft sqlserver driver struts

2004-02-27 Thread ian_d_stewart
Hi Claire, We are successfully connecting to a Microsoft SQL Server 2000 using the type 4 JDBC drivers. However, we do not use DBCP, but rather the DataSource implementation provided by Microsoft. Here is the configuration we use (this is taken from an internal configuration file that we use to

Re: microsoft sqlserver driver struts

2004-02-27 Thread Claire Wall
Ian, This is the way I tried first as it seemed most logical to use the SQLServerDataSource type from the mssqlserver.jar but this doesnt work for me. The only one that made some progress was the com.microsoft.jdbcx.base.BaseDataSource but then this threw some strange error which said:

Re: Manipulate page validation for ValidatorForm

2004-02-27 Thread Mikael Wikblom
Hi Jacob, yes it is possible to solve this in a number of ways. I just wanted to know if the is an easy way of doing it. I've looked at the struts/validatior implemtentation, it would only mean changing one line of code ( a = to a = ) to have my desired behaviour. It would not be hard to

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread shirishchandra.sakhare
I have not understood your problem completely. But this looks like more a problem of resetting the list in form than anything else. Firstly, if you are using request scoped form, then why going from page 1 to page 2 will apend the beans to form? Are you sure you are using request scoped forms?

Re: Problem with loss form (session scope)

2004-02-27 Thread rick
Perhaps your form implements reset()? Rick DeBay On Fri, 27 Feb 2004 05:06 , Niall Pemberton [EMAIL PROTECTED] sent: Without seeing your jsp/struts-config.xml/action its a bit of a guessing game. I'm a bit confused by you saying ...at this point, I set up this form bean as session scope. To me

Re: microsoft sqlserver driver struts

2004-02-27 Thread Claire Wall
ok i've manager to connect to the datasource! What I did was to move my jars into common/lib. Now I have another problem though. For some reason this driver does not like my queries - more specifically it does not like table names used on their own but only likes them when the database name and

html:link action - how to append query string

2004-02-27 Thread Leticia Golubov
I have a simple question, for a change... :) Given % String value=some Value % and html:link action='/scopeAction?row=???' how do I append the java var 'value' to the end of the action? If I hardcode it, it works and the behaviour is as expected, i.e.: html:link action='/scopeAction?row=3'

RE: html:link action - how to append query string

2004-02-27 Thread Tomeu Vizoso
I would recommend using the html-el tag library, in which case the code should look like that: html:link action='/scopeAction?row={$value}' See here for an explanation on how to utilize the EL (expression language): http://javaboutique.internet.com/tutorials/Struts_EL/ Regards, Tomeu

RE: html:link action - how to append query string

2004-02-27 Thread Paul, R. Chip
You have I think three choices, in preferred order: 1. Use the paramName, paramScope, and paramProperty attributes of html:link (see http://jakarta.apache.org/struts/userGuide/struts-html.html#link) This may not work with the page scoped variable defined the way you've done it, I

RE: ArrayList in Form

2004-02-27 Thread Julio Cesar De Salvo
I' m in a similar situation but when I use the type element to cast the object in the ArrayList throws an ClassCastException. Any ideas? Thanks, Julio -Mensaje original- De: Claus Weng Madsen - TELMORE [mailto:[EMAIL PROTECTED] Enviado el: Viernes, 27 de Febrero de 2004 08:48 a.m.

action errors and resource bundles

2004-02-27 Thread David Adelson
I have numerous property files for storing my resources (applicationresources.properties). Each one has a bundle name identified in struts-config. Is there a way for ActionError or ActionMessage to get data from a particular bundle? thanks

Re: microsoft sqlserver driver struts

2004-02-27 Thread rick
If you're switching JDBC drivers, take a look at JSQLConnect from J-netdirect. We found it performed MUCH better than the driver from Microsoft. Rick DeBay On Fri, 27 Feb 2004 11:56 , Claire Wall [EMAIL PROTECTED] sent: Mark, My problem is that I'm switching JDBC drivers - before I was using

RE: [OT] JSP or Velocity

2004-02-27 Thread rick
JSTL in Action http://www.manning.com/bayern/ Rick DeBay On Fri, 27 Feb 2004 13:45 , A.White [EMAIL PROTECTED] sent: Thanks for your answers, they are all greatly appreciated I think I'll be using JSP and JTSL then. However I have tried to look for some good tutorials for JTSL but have failed

Re: action errors and resource bundles

2004-02-27 Thread Adam Hardy
On 02/27/2004 05:04 PM David Adelson wrote: I have numerous property files for storing my resources (applicationresources.properties). Each one has a bundle name identified in struts-config. Is there a way for ActionError or ActionMessage to get data from a particular bundle? LOoking at the

RE: action errors and resource bundles

2004-02-27 Thread David Adelson
thanks for the reply. I was all excited about splitting up my properties files for common, module1, and module2. But now it appears that all the errors we use all have to be in one properties file. bummer. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: html:link action - how to append query string

2004-02-27 Thread Leticia Golubov
Yes, I've been trying solution number 3, but that doesn't work at all. The browser doesn't like and renders the link incorrectly. I'm now trying solution 1, as suggested, as below: html:link action='/scopeAction' paramId='%=value%' paramName='scopeForm'

how to set selectedIndex at html:select

2004-02-27 Thread Daniel
How can change the selectedIndex of dropdown values obrigado Daniel S.

RE: [OT] JSP or Velocity

2004-02-27 Thread Hookom, Jacob
Go to java.sun.com and search for JSTL pdf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: None To: Struts Users Mailing List Subject: RE: [OT] JSP or Velocity JSTL in Action http://www.manning.com/bayern/ Rick DeBay On Fri, 27 Feb 2004 13:45 , A.White

Re: action errors and resource bundles

2004-02-27 Thread Adam Hardy
Er, hold on a moment. If you use modules, then you can specify a different properties file in each struts-config. On 02/27/2004 05:21 PM David Adelson wrote: thanks for the reply. I was all excited about splitting up my properties files for common, module1, and module2. But now it appears that

MockStrutsTestCase problem

2004-02-27 Thread John Fitzpatrick
I'm having a problem setting up tests where errors are created during validation by a DynaActionForm using MockStrutsTestCase. Here's my code: The DynaActionForm: === package test; import javax.servlet.http.*; import org.apache.struts.action.*; public class

RE: html:link action - how to append query string

2004-02-27 Thread Leticia Golubov
I just don't understand why the 3rd option doesn't work for me... I've tried all possible variations of it but I just can't seem to be able to parse %value% to the query string... does anybody know why? so html:link page=/scopeAction.do?row=%= value % doesn't work nor does html:link

RE: action errors and resource bundles

2004-02-27 Thread David Adelson
Thanks. I am doing this. This is why I am having trouble. I have seperated my files and each is named in struts-config. If I want a property from the correct resource using bean:message I just do, bean:message bundle=BundleNameInStrutsConfig key=whatever BUT, actionerrors will not do it:

RE: html:link action - how to append query string

2004-02-27 Thread Hubert Rabago
Have you tried html:link page=%= /scopeAction.do?row= + value % ? --- Leticia Golubov [EMAIL PROTECTED] wrote: I just don't understand why the 3rd option doesn't work for me... I've tried all possible variations of it but I just can't seem to be able to parse %value% to the query

RE: html:link action - how to append query string

2004-02-27 Thread Leticia Golubov
No!! But it worked! You're a star! I owe you a beer or a tea (if you're not a drinker) :) thanks :) -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: 27 February 2004 16:52 To: Struts Users Mailing List Subject: RE: html:link action - how to append query

Re: Problem with tags and overloaded methods

2004-02-27 Thread Martin Cooper
Slattery, Tim - BLS [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I reiterate, I believe it's a bad idea to use the same method name for two different property mappings. If you can find some documentation that recommends you do that, I'd like to see it. I believe Tim

Re: [ANNOUNCE] Struts 1.2.0 Test Build available

2004-02-27 Thread Martin Cooper
Andrew Hill [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ah I see. Its just the jars, tlds, dtds necessary for a struts app, sans docs. Yup, that's it exactly. We've actually been releasing a 'lib' version for a while now, for people who don't want to have to download the entire

Re: action errors and resource bundles

2004-02-27 Thread Adam Hardy
But surely you have name them in each struts-config.xml files differently? In which case there should be no need to specify the bundle in the bean:message taglib. That's the way I understood it - I don't actually use modules. On 02/27/2004 05:53 PM David Adelson wrote: Thanks. I am doing this.

Re: [ANNOUNCE] Struts 1.2.0 Test Build available

2004-02-27 Thread Martin Cooper
nicolas De Loof [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've built Struts 1.2.0 from the sources package uising maven 1.0RC1 without trouble. When I run maven site, the generated m-target/docs has no index.html and faqs, proposals, tiles and userGuide are empty directory.

Re: how to set selectedIndex at html:select

2004-02-27 Thread Mark Lowe
set the value of the form property that you wish to select. On 27 Feb 2004, at 17:40, Daniel wrote: How can change the selectedIndex of dropdown values obrigado Daniel S. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: action errors and resource bundles

2004-02-27 Thread David Adelson
You may have something there. I think I may have done something wrong. Thanks, I'll let you know how it goes -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 12:27 PM To: Struts Users Mailing List Subject: Re: action errors and resource

Re: [ANNOUNCE] Struts 1.2.0 Test Build available

2004-02-27 Thread Martin Cooper
Oswald Campesato [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Martin Cooper [EMAIL PROTECTED] wrote: The Struts 1.2.0 Test Build is now available here: Excellent:) http://www.apache.org/~martinc/struts/v1.2.0/ This is the first Struts build being made available following the

Re: [ANNOUNCE] Struts 1.2.0 Test Build available

2004-02-27 Thread Joe Germuska
Given that Maven still hasn't reached an official 1.0 release in almost 3 years of development. hey, now... Struts 1.1 took a darn long time! I bet they're in the same boat. Plenty of people who don't really track version numbers are using it happily, so the urge to actually cut a release

Re: [OT] JSP or Velocity

2004-02-27 Thread Martin Cooper
There is one *huge* gripe I have about JSP that many people probably don't care about. But if you do care about it, it can be pretty much of a showstopper, and drive you to use Velocity instead. The problem is that JSP *must* be invoked in a servlet request / response environment. Why is this a

struts-faces doesn't update pages correctly when using tiles

2004-02-27 Thread Diego Louzán Martínez
I'm refactoring a Struts+JSTL application to use JSF too, and I have a problem when using the struts-faces library. Everything works ok until I use a ForwardAction to navigate to an action like this: action path=/MainPage type=org.apache.struts.actions.ForwardAction parameter=.mainPage/

RE: [OT] RE: Memory usage

2004-02-27 Thread Dhaliwal, Pritpal (HQP)
+1 I agree with everyone who has responded. We should not clutter this very friendly mailing list with things that don't belong here, that includes not so nice responses. I haven't been on many, but this is by far my favorite list, even though I am mainly a spectator. I lashed out because this

[OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)

2004-02-27 Thread Martin Cooper
Joe Germuska [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Given that Maven still hasn't reached an official 1.0 release in almost 3 years of development. hey, now... Struts 1.1 took a darn long time! I bet they're in the same boat. Plenty of people who don't really track

struts-actions.xml

2004-02-27 Thread as as
I tried adding Xdoclet tags into my struts action classes so that it can generate struts action mappings etc stuff automatically into my output struts-config.xml file. It doesnt do so...unless I add manually a file called struts-actions.cml into my project merger directory.please indicate a

java.lang.reflect.InvocationTargetException when using Indexed properties

2004-02-27 Thread Julio Cesar De Salvo
Hi, I get this error when sending the parameters to action that saves the information in tha database, the creation of the form is successfull. I guess that might be something related with the getters/setters in the ActionForm as when I change this methods names the exception changes to

RE: html:text works, bean:write fails [Resolved]

2004-02-27 Thread rcdunn
Well the following fixed it: bean:write name=reportForm property=totalInventory/ The problem was the case in the reportForm. The form bean was named ReportForm and I did not realize the case was changed when set in the session. I used the following snippet of code to help in the debugging (I

Re: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)

2004-02-27 Thread Joe Germuska
At 11:19 AM -0800 2/27/04, Martin Cooper wrote: (When it comes to IDEs, though, most of them know about Ant, but don't yet know about Maven at all, so there's not so much of a case for Maven there, IMHO.) Since you added the OT to the subject line, I feel ok about dragging this on... the beauty

Action class calling other Action class

2004-02-27 Thread Ramadoss Chinnakuzhandai
Hi, I hv ActionClassA ==Display JSP of ActionClassA having a link to Edit JSP of ActionClassB==ActionClassB=Edit JSP of ActionClassB==ActionClassB(Update records)=dispatch control over to ActionClassA. My question is that Can I forward my control to ActionClassA from

Re: struts-actions.xml

2004-02-27 Thread Mark Lowe
do your source files contained in the same directory structure as you package path? e.g. package com.sparrow.struts; .. /src/com/sparrow/struts/*.java You might have more luck on the xdoclet list. I use xdoclet but not for action classes as struts console helps me cross that bridge. On 27 Feb

Iterate of List - need to test if list is null

2004-02-27 Thread sean jones
I have an object named Wizard in the request. Wizard has a property defined as pubic Class Wizard { private List progressBar = null; public Wizard() {} public List getProgressBar() { return progressBar; } } in JSP i do this logic:iterate name=wizard property=progressBar

RE: Iterate of List - need to test if list is null

2004-02-27 Thread Slattery, Tim - BLS
I have an object named Wizard in the request. Wizard has a property defined as pubic Class Wizard { private List progressBar = null; public Wizard() {} public List getProgressBar() { return progressBar; } } in JSP i do this logic:iterate name=wizard

Re: Iterate of List - need to test if list is null

2004-02-27 Thread sean jones
Thanks Tim, Hopefully the heads of state won't balk at the JSTL code. thanks again. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

bean:define ???

2004-02-27 Thread Mauricio T. Ferraz
Anybody knows how can I define a script variable with bean define tag or another, for the first element of a collection??? for example: % ArrayList users = (ArrayList)pageContext.getAttribute(users); User user = users.get(0); % How I do it with tags??? Because I want to get the firt element

RE: bean:define ???

2004-02-27 Thread Glenn Wilson
Mauricio, I think this is what you'd be looking for: %@ taglib prefix=c uri=http://java.sun.com/jstl/core; % c:set var=users value=${pageContext.users} / c:set var=user value=${users[0]} / I'm pretty sure that arraylists (being that they are collections) in the c: taglib will take brackets...

RE: bean:define ???

2004-02-27 Thread Slattery, Tim - BLS
Anybody knows how can I define a script variable with bean define tag or another, for the first element of a collection??? for example: % ArrayList users = (ArrayList)pageContext.getAttribute(users); User user = users.get(0); % c:set target=user value=${users[0]}/ Not sure exactly

[OT] Gays and computing

2004-02-27 Thread Melvin Kurzchen
Fellow Struts Users, Sorry this is so off topic. But, i know that a large portion of you are of a good humanitarian heart. So, i wanted to share this with you. I read the following article and was shocked at these industry statistics. I am thinking of putting together a petition to defend

Re: [OT] RE: Memory usage

2004-02-27 Thread Christian Bollmeyer
On Friday 27 February 2004 19:53, Dhaliwal, Pritpal (HQP) wrote: Ah, you're welcome. Everybody makes mistakes, me too, as did Viru possibly. I certainly did a lot more mistakes in this direction when I was younger. Still, Viru had a problem and searched for 'rays of hope' here. Now, it might well

RE: [OT] Gays and computing

2004-02-27 Thread Joshi, Naveen
NEVER GO THERE!!! Melvin SUCKS!!! -Original Message- From: Melvin Kurzchen [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 4:39 PM To: [EMAIL PROTECTED] Subject: [OT] Gays and computing Fellow Struts Users, Sorry this is so off topic. But, i know that a large portion of you

Re: [OT] Gays and computing

2004-02-27 Thread Rick Reumann
On Friday 27 February 2004 4:39 pm, Melvin Kurzchen wrote: Article: http://www.albinoblacksheep.com/flash/you.html Good article but does it have to use all that nude pictures to make his point? -- Rick - To unsubscribe,

RE: Problem with loss form (session scope)

2004-02-27 Thread Betty Koon
One thing I found out that the reset method was getting called everytime if there is no error return from validation. This could cause the form to be reset to the original state. -betty -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 12:07

RE: [OT] JSP or Velocity

2004-02-27 Thread David Friedman
Navjot, Though I haven't tried Velocity, I like the idea that my stub-pages can be easily edited in HTML editors. How do your manage letting your designers alter the JSP layouts? Do you have them use some (and if so, what is it) HTML editor which is (Stuts JSP EL) aware? Regards, David

RE: Action class calling other Action class

2004-02-27 Thread Gopalakrishnan, Jayesh
You could do this by just forwarding to an action mapping entry for ActionClassB. In you action mapping for ActionClassA, have multiple forwards. And the logic in ActionClassA would forward to whichever, with 1 of them being ActionClassB. action path=/actionA

  1   2   >