[ANNOUNCE] Struts Console v1.1 beta 1

2001-10-27 Thread James Holmes
Struts Console version 1.1 beta 1 is now available. http://www.ejcenter.com/struts/ http://www.ejcenter.com/struts/struts-console-1.1b1.zip This release has some very cool new features. I have added support for NetBeans and Sun Forte for Java so that you can plug the Struts Console into these

Re: java IDEs

2001-10-27 Thread Vic Cekvenich
I like Netbeans.org. - Original Message - From: Matt Raible [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 26, 2001 5:08 AM Subject: RE: java IDEs I believe in VIM (www.vim.org) - not a memory hog like all the rest of the IDE's. JBuilder seems to get a lot of good

Re: Placing JSP's below the WEB-INF directory

2001-10-27 Thread Troy Hart
I do exactly this, and it works great! Rahim Lalani writes: Hi, I would like to hide all of my jsp pages under the WEB-INF directory so that I can place all of my security in my actions. However, I would also like to use the Struts Template taglib such that my ActionForwards return

RE: Struts and Silverstream

2001-10-27 Thread Brian Holzer
This is a resolution for anyone using struts with Silverstream and not having session persistence. Krueger, Jeff [EMAIL PROTECTED] 10/26/01 08:49am Brian, Thanks for letting me know that the web.xml matter and the deployment plans seems to not. I have been meaning to look into that,

Re: Design consideration: Client side validation

2001-10-27 Thread Matt Raible
Why not use the Validation framework (in nightly builds) to do it? It can do both client-side validation and server-side, it already contains the javascript methods and everything. Pretty slick stuff. --- John Yu [EMAIL PROTECTED] wrote: If client-side validation is preferred, one paradigm

Import MessageResources to JavaScript

2001-10-27 Thread Anthony Martin
In order to make my JavaScript use text found in MessageResources, I have this line in the source of all of my .jsp files: --- script language=JavaScript src=jsMessages.jsp type=text/javascript/script --- The contents of jsMessages.jsp is as follows: --- %@ page language=java

Re: java IDEs

2001-10-27 Thread Marcelo Vanzin
peter wrote: are there any free Java IDEs available, which are relatively easy to use? People have cited many (I think the only free one that was forgotten is IMB's VisualAge - is it still free?). But if you want a good old text editor with many helpful additions and

Support of wrap parameter in textarea jsp tag

2001-10-27 Thread Scott Ryan
I noticed that the wrap parameter is not supported in the textarea jsp tag in html tags. This parameter allows the text to wrap within the text area. Is this an oversight or is there another way to accomplish this. Thanks Scott Ryan Developer First Bank Data Corporation Work: (303) 235-1485

RE: java IDEs

2001-10-27 Thread martin . cooper
JBuilder 5 Personal Edition may be free, but the license prevents you from using it to develop commercial software. From the Borland web site: JBuilder Personal is a fully functional, entry-level version of JBuilder for personal, non-commercial use. -- Martin Cooper At 05:06 AM 10/26/01,

Found problem with tiles in orion

2001-10-27 Thread Stephen Gissendaner
Hello Fellow Travelers, I think that I have found a problem with tiles in orion. This problem only shows itself when I deploy my web module (war) to my orion server. I do my development in JDeveloper and everything works swimmingly. Also I have the tiles and struts sample applications

Import MessageResources to JavaScript

2001-10-27 Thread Anthony Martin
In order to make my JavaScript use text found in MessageResources, I have this line in the source of all of my .jsp files: --- script language=JavaScript src=jsMessages.jsp type=text/javascript/script --- The contents of jsMessages.jsp is as follows: --- %@ page language=java

Re: artimus

2001-10-27 Thread Ted Husted
It should create the table from the admin table. Try downloading it again. I updated it again this afternoon. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ [EMAIL PROTECTED] wrote: I'm

RE: java IDEs

2001-10-27 Thread jelmer
I prefer IDEA http://www.intellij.com, its not bloated like forte or jbuilder and the code editor is simply the best I've seen -Original Message- From: peter [mailto:[EMAIL PROTECTED]] Sent: donderdag 25 oktober 2001 22:13 To: [EMAIL PROTECTED] Subject: java IDEs Hi I know this is off

Re: HowTo: How can I acces the index of a iterator-tag within a logic-tag ?

2001-10-27 Thread John Yu
Use indexId, logic:iterate id=bean name=formBean property=list indexId=myIndex logic:greaterThan name=myIndex value=0 At 12:46 pm 26-10-2001 +0200, you wrote: Hi, How can I acces the index of a iterator-tag within a logic-tag ? logic:iterate id=bean

Re: default scope for struts actions

2001-10-27 Thread John Yu
I've double checked the doco and the code. You're right, emmanuel. I can't remember where I got the wrong impression the default scope is 'request'... At 02:04 pm 26-10-2001 +0200, you wrote: I'm not sure, I think default scope is session. see this in ActionMapping.java /** * The

Re: Different Actions calls in one html:form Tag

2001-10-27 Thread John Yu
Roland, (My email client can't display your example, not even in 'source view'...) Combining DispatchAction and the parameter attribute should give you the functionality you need. See, http://jakarta.apache.org/struts/api-1.0/org/apache/struts/actions/DispatchAction.html Notice that the

Re: html:link page or forward?

2001-10-27 Thread John Yu
Chiji, You do html:link forward=login to forward to a GlobalForward called login defined in your struts-config.xml. You do html:link page=/login.jsp to forward to [servletContextPath]/login.jsp. You do html:link href=/login.jsp to forward to /login.jsp. At 10:59 am 26-10-2001 +, you

Upload Question

2001-10-27 Thread Brandon Goodin
In the process of uploading images to the server I need to determine the location of my application on the server so that I can write to an absolute location on the drive that I can acess from my webapp. In the past (pre-Struts) I used the Servlet Context to determine where the web-app was

Re: Support of wrap parameter in textarea jsp tag

2001-10-27 Thread Ted Husted
http://jguru.com/faq/view.jsp?EID=471944 Scott Ryan wrote: I noticed that the wrap parameter is not supported in the textarea jsp tag in html tags. This parameter allows the text to wrap within the text area. Is this an oversight or is there another way to accomplish this. Thanks

Re: Using html:form within templates

2001-10-27 Thread Ted Husted
Are you importing the required taglibs in each template file (the ones in your include folder). Zielke, Andreas wrote: Hi, I've just started using struts and ran into the following problem: I've created a table layout for my pages; at the moment this is my template. All my real jsps

onmouseover attribute of html:link

2001-10-27 Thread lisa ward
Hi, Can anyone please tell me if what Im trying to do is possible. html:link forward=xx onmouseover=swapImage(%=img.getName() %',1) /html:link My major concern is whether or not I can use a scriptlet or a custom tag within a javascript function that is called by the onmouseover attribute of

onmouseover attribute of html:link

2001-10-27 Thread lisa ward
Hi, Can anyone please tell me why this works: a href=xx onmouseover=swapImage('','vlounge:resource type='image' source='fan_on.gif'/',1)/a but this doesn't html:link forward=xx onmouseover=swapImage('','vlounge:resource type='image' source='fan_on.gif'/',1)/html:link

Re: default scope for struts actions

2001-10-27 Thread Ted Husted
The default scope for ActionMappings can be set to request in the web.xml, using a predefined class. init-param param-namemapping/param-name param-valueorg.apache.struts.action.RequestActionMapping/param-value /init-param This is also how you would tell Struts to use some

Forward to an action after file upload

2001-10-27 Thread Gavin Terrill
Anyone figured out how to get around the issue where you can not forward to an action (aside from redirecting) when using the upload package, as described here: http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg09121.ht ml. My scenario is the user is looking at a file listing

how to remove formbean

2001-10-27 Thread Ricco Lee
How can I remove or destroy the formbean in session scope? thx for the help. _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Re: onmouseover attribute of html:link

2001-10-27 Thread Sandeep Takhar
i think you may have to define a scripting variable to build the string first. It is probably not working because of the swapImage( at the start of the value and the container doesn't know what to do about the embedded scripting variables. - Sandeep --- lisa ward [EMAIL PROTECTED] wrote: Hi,

To Strut or not to Strut that is the question?

2001-10-27 Thread iT meDic
Dear fellow developers, I am involved in a huge project involving creating a music licensing website for all digital media/ringtones etc($47 mil project). I have been actively searching for a framework which will satisfy our needs. I seem to like struts and have proposed using it as our

Re: Comment on using the Struts platform for this project.

2001-10-27 Thread Sandeep Takhar
I almost sounds like you could use xml/xsl for this piece. another product that does this kinda thing is dbForms, however the interface is not too pretty. I believe there are other weaknesses of this design, but for something that needs to be done quickly and is not an enterprise app, this may

Re: Nightly Build Problem

2001-10-27 Thread Sandeep Takhar
I think you need to be running tomcat 4. Apparently there are previous posts on this. Someone pointed this out to me as well. It was a problem with 3.2.x.. Sorry, but it escapes me as to what you should search for in the archives... Sandeep --- L. Yeung [EMAIL PROTECTED] wrote: My struts

Re: Different Actions calls in one html:form Tag

2001-10-27 Thread Sandeep Takhar
You may want to check Ted Husted's site for an alternative take on this: http://husted.com/about/scaffolding/catalog.htm Sandeep --- John Yu [EMAIL PROTECTED] wrote: Roland, (My email client can't display your example, not even in 'source view'...) Combining DispatchAction and the

Re: onmouseover attribute of html:link

2001-10-27 Thread Sandeep Takhar
I just realized something: You can't nest custom tag libraries. You're vlounge tag library is screwing things up. This is a limitation of xml and not custom tags, but that is the problem. - Sandeep --- lisa ward [EMAIL PROTECTED] wrote: Hi, Can anyone please tell me why this works: a

JSP Editor for Struts Framework

2001-10-27 Thread Alex Lin
Hi, This question may be a duplicate one. Sorry, i've paid attention. What is the best (or reasonable) jsp editor for struts (taglib) framework ? Thanks, Alex

Testing struts-user@jakarta.apache.org

2001-10-27 Thread Pier Fumagalli
Testing the mailing list after moving server -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Testing struts-user@jakarta.apache.org

2001-10-27 Thread Pier Fumagalli
Pier Fumagalli at [EMAIL PROTECTED] wrote: Testing the mailing list after moving server Yes, it works... Now messages should be back to normal. The only problem might be with old mail which might still be backlogged on Daedalus... Let me know of any problems :) Pier -- To unsubscribe,

Struts and VAJ ?

2001-10-27 Thread PARR, Kristian
Title: Struts and VAJ ? Hi, I'm new to struts and am trying to install it to run under VAJ 3.5. I've followed the instructions from the following mail http://www.mail-archive.com/struts-user@jakarta.apache.org/msg00019.html to install the framework using apache test environment. And

Re: java IDEs

2001-10-27 Thread Selvan Hitler
You can try the IBM VisualAge for Java Entry Enterprise Edition, Version 4.0. Other than the 750 classes limitation its one of the best IDEs in the market. http://www7.software.ibm.com/vad.nsf/ - Selvan

Tiles Problem

2001-10-27 Thread Darryl Pentz
Hi All, I'm having a problem using Tiles (nightly build of Struts). Cedric, I don't know if you'd perhaps be able to give me a suggestion. I'm using a template and including the main body of the page inline, i.e. within the template:put name='body' tag. So I have a number of tags as follows:

Re: To Strut or not to Strut that is the question?

2001-10-27 Thread James Holmes
iT_meDic-- You can use the Struts Console (http://www.ejcenter.com/struts/) for quickly understanding what classes are mapped to what inside the struts-config.xml. The Struts Console is a visual tool that allows for quick and easy management of the Struts config file. Hope this helps you with

Re: PROPOSAL: collectionProperty attribute in html:options

2001-10-27 Thread David M. Karr
Mindaugas == Mindaugas Idzelis [EMAIL PROTECTED] writes: Mindaugas PROPOSAL: collectionProperty attribute in html:options Mindaugas Abstract: Mindaugas A new attribute collectionProperty which will act like the current Mindaugas colllection attribute Mindaugas except that

Re: html:options and FormBean

2001-10-27 Thread David M. Karr
Francois == Francois Duchaussoy [EMAIL PROTECTED] writes: Francois Hi, Francois I have an ActionForm with a Collection object inside. Francois I'd like to use the html:options tag to display that Collection. Francois Could anyone give me an example on how to do that?

Create button instead of html:link to JSP page

2001-10-27 Thread David M. Karr
(I tried sending this on Thursday, but I haven't seen it yet, even after I started to see real flow again in the list.) I have a working html:link element, which links to a JSP page. It doesn't need any request parameters or action, it just links directly to it. I'm trying to figure out the

Re: how to remove formbean

2001-10-27 Thread martin . cooper
session.removeAttribute(formBeanName); -- Martin Cooper - Original Message - From: Ricco Lee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, October 27, 2001 10:10 AM Subject: how to remove formbean How can I remove or destroy the formbean in session scope? thx for the

Re: Import MessageResources to JavaScript

2001-10-27 Thread martin . cooper
No, there is currently no way to iterate over the keys supported by a MessageResources object. Adding an iteration capability isn't quite as simple as it might seem. Consider that you might have several resource files covering different locales, and those files need not contain messages for all

Re: Upload Question

2001-10-27 Thread martin . cooper
The same way that you did in the past. Just use getServlet(), which is in the Struts Action class that your action extends, to get the servlet object. -- Martin Cooper - Original Message - From: Brandon Goodin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 26, 2001 11:44

Re: How can a retrive an Action instance with a path ?

2001-10-27 Thread martin . cooper
If you want the actual Action instance, then it can't be done. Struts creates Action instances as they are needed, so when your tag is doing its thing, the Action instance may or may not exist yet. If you just want to know which Action class will handle the request, then, as Ted mentioned, you

Re: How do I use non-string values in logic:equal ... ?

2001-10-27 Thread martin . cooper
Yes, you need to convert it to a String, because the 'value' attribute of the tag is a String property. -- Martin Cooper - Original Message - From: Eric Boudreau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 26, 2001 1:31 PM Subject: How do I use non-string values in

Re: Radio Buttons

2001-10-27 Thread martin . cooper
The following works for me: html:radio property=level value=0/ html:radio property=level value=1/ This assumes that you have a String property named 'level' in your form bean. -- Martin Cooper - Original Message - From: Steven Leija [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Example of bundle attribute in bean:message

2001-10-27 Thread martin . cooper
There aren't any examples that come with Struts, but it's pretty straightforward. To define and use your own bundle, first load the messages like this (usually at startup time): MessageResourcesFactory factoryObject = MessageResourcesFactory.createFactory(); messages =

Re: getting jsp output to a servlet

2001-10-27 Thread martin . cooper
If, by into my servlet, you mean into the output stream being generated by your servlet, then you can use RequestDispatcher.include() to do that. -- Martin Cooper - Original Message - From: Ralf Krakowski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 24, 2001 12:43

Re: Create button instead of html:link to JSP page

2001-10-27 Thread martin . cooper
The reason you are getting this error is that your action mapping does not specify a form bean. -- Martin Cooper - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, October 27, 2001 8:29 PM Subject: Create button instead of html:link to JSP page (I

Re: Cancel in struts

2001-10-27 Thread David M. Karr
Alexander == Alexander Jesse Alexander writes: Alexander Hi, Alexander struts generates a normal submit button, to give the action the chance to do a logical cancel. Alexander Can be usefull. I think the naming is a bit unlucky. To get the normal cancel-button: use the

Re: Create button instead of html:link to JSP page

2001-10-27 Thread David M. Karr
martin == martin cooper [EMAIL PROTECTED] writes: martin The reason you are getting this error is that your action mapping does not martin specify a form bean. Yes, I figured this out, but this is sort of annoying, as I don't NEED a form bean for this page. I ended up defining a

Re: Create button instead of html:link to JSP page

2001-10-27 Thread martin . cooper
In that case, do you really need to use the html:form tag? Wouldn't the regular HTML form tag meet your needs instead? -- Martin Cooper - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, October 27, 2001 10:28 PM Subject: Re: Create button instead of