RE: Creating reports in PDF format

2001-12-28 Thread Lawson, Rick
I seem to remember that you can put basic info into excel by simply sending your page as a comma separated list and setting the MIME type to be that of excel ( something like x-application/ms-excel I think - you can check in Windows, I'd check myself but I've switched off access to that menu for

Struts Vs Pet Store for Analysis and code resuibility

2001-12-28 Thread Patney
Hi All, I am from core Java Background. My new project is web based with J2EE with Servlets/JSP/EJB/Jbuilder/Appserver. We want to use good basic design pattens but also keep things simple. I encountered 2 apps useful to me for designing 1) Java Pet Store 2) Struts Can u please tell me which

Struts EJB support

2001-12-28 Thread Patney
Hi All, Can anyone give comment for my observation below : According to the struts documentation , it seams to be focusing a lot on the Servlet / JSP combination and does not seam to be exploiting the EJB features as extensively as it could. Do i need to use Sun Pet Store for best EJB design

RE: Struts EJB support

2001-12-28 Thread Gopalakrishnan Rangaswamy
Patney, The struts framework is basically meant for medium sized projects, so EJBs are not envisaged as part of it. If the project is big, and likely to face scalability issues then it is better to adapt ejb based design patterns. And nothing stops from calling a ejb in the struts framework.

Re: JavaScript error messages.

2001-12-28 Thread Gregory Dobkins
Greg, Spend a good deal of time looking at this problem and you will discover that your problem is related to how you have the ApplicationResources.properties file located in your application. I am using Weblogic 6.1 and VisualCafe 4.5.1 Once I moved the properties file to my

Re: Struts EJB support

2001-12-28 Thread Jon Ferguson
Am I not correct in suggesting that Action objects are essentially our opportunity to connect into an EJB model... Therefore struts' major focus is not on the Model side of things which is where EJB majors (esp. Entity Beans). The two seem like a cool fit. As far as scalability issues... what

Please can someone post an example of there Environment setup 4 tomcat 4

2001-12-28 Thread kuma.cra
I have deleted the previous install of tomcat 3.2.3 I have installed tomcat 4 . Thus in my environment set-up i have the following Tomact unarchived and resides in C:\jakarta-tomcat-4.0.1 rem set %CATALINA_HOME%\bin\startup set CATALINA_HOME=C:\jakarta-tomcat-4.0.1 set

RE: Please can someone post an example of there Environment setup 4 tomcat 4

2001-12-28 Thread Geoffrey Mroz
If I understood you right: The STARTUP script is in the C:\jakarta-tomcat-4.0.1\bin directory. If you are not directly in the \bin directory when you run it, you will need to include C:\jakarta-tomcat-4.0.1\bin somewhere in your path. Hope that helps. -- Geoff -Original Message-

RE: Please can someone post an example of there Environment setup 4 tomcat 4

2001-12-28 Thread Chen, Fang
My experience is that the dos version in Win9x could not hold a lot of environment variables if you do not change the initial setting of the memory. Open a DOS window. Check the properties and set the initial environment size to a bigger value. Then run the startup if you include the tomcat home

Re: Problem with different Struts versions

2001-12-28 Thread Geoffrey Mroz
I have tomcat 4.01 working with multiple webapps, and with different versions of struts (1.0.1 and a nightly build). The only thing that comes to mind is something in your tomcat4/conf/server.xml file? I've got: Context path=/App1 docBase=App1 debug=0 reloadable=true/ Context

Re: Struts EJB support

2001-12-28 Thread Vic Cekvenich
When I did EJB's, my understanding was that Sun would recommend them for distributed application. Other's found them very slow. This is said on EBB home page the EJBTM server-side component model simplifies development of middleware components that are transactional, scalable, and portable. So

Re: Struts Vs Pet Store for Analysis and code resuibility

2001-12-28 Thread Vic Cekvenich
I think you answered your questions. Simple design. Pet Store to me is let's use every technology possible to create something and it is to complex. It might be fun technically, but if you code to business requirements it might not be the approach. It is the equivalent of creating a flaming

a problem with struts logic:iterate

2001-12-28 Thread Xin Li
Hi, I tried to use logic:iterate to populate a table. I used logic:iterate id=i_tableArr name=keyTableArray indexId=row_index trtdthis is the test page/td/tr /logic:iterate KeyTableArray is the attribute, which contatains an ArrayList. When I try to run the the application, it gave me

RE: Creating reports in PDF format

2001-12-28 Thread Ajay Chitre
Let me clarify the issue regarding Excel. Our system at present allows a user to save the report in CSV format. The users can then import this into Excel. But they are complaining that when they do this all the formatting (bold face etc.) is lost. They have to format the report manually. To

Configuration struts-config.xml

2001-12-28 Thread Philip Tong
Dear all, When i study the the struts example and DTD, a set-property element has been found in action element. likes as follows: action path=/logon type=jspbook.example.authcontrol.LogonAction name=logonForm scope=request input=/logon.jsp

New entities in struts-config?

2001-12-28 Thread Wilson, Wayne
Hi, In order to be able to toggle back and forth between secure and insecure mode (https http) I have had to use some static URLs in the global-forwards section of the struts-config. Since this app gets deployed into multiple environments (with different hostnames) I would like an easier way

Re: This would be a question for Kyle Brown, however ...

2001-12-28 Thread Vic Cekvenich
I disagree with the statement. I want to use as little technology as possible to leverage it to be productive. I too looked at integrating other, but it turns out YOU DO NOT NEED anything else but Struts. For Portal, use tiles with RSS for Content Syndication and XSLT. Much better and practical

Re: Problem with different Struts versions

2001-12-28 Thread Dietmar Kling
Thanks for your answer, however i can not get them to work parallel. I attach the logfiles ... and yes it works if i remove one webapps :( ?? ?? ?? Regards Dietmar Geoffrey Mroz wrote: Subject: Re: Problem with

Help with focus

2001-12-28 Thread Lawrence, Jane K
In my JSP I have the following image button: html:img imageName=attachmentButton src=../Assets/images/but_addattachment.gif alt=Add attachment height=20 hspace=0 vspace=0 border=0 align=left/ I am trying to get focus on the button (conditionally eventually, but at this point

Re: Problem with different Struts versions

2001-12-28 Thread Dietmar Kling
Hi, at last ... I switched to IBM-1.3.0 SDK (running tomcat) and everything works fine -- sigh --- portable or not portable, that is the question :( Regards Dietmar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Help with focus

2001-12-28 Thread Cuperus, Bob
Hello: You might want to type setting the focus in the body tag onload. body onload=javascript:document.mafForm.attachmentButton.focus(); You might also try putting the JavaScript code at the very bottom of the page so that the button is created when the JavaScript is fired. Hope this

RE: Help with focus

2001-12-28 Thread Lawrence, Jane K
Thanks - my problem with the body tag is that it's buried several layers deep in templates - I haven't even located it yet. I do have the javascript at the bottom, but it's still not firing for some reason? - JKL -Original Message- From: Cuperus, Bob [mailto:[EMAIL PROTECTED]] Sent:

RE: Help with focus

2001-12-28 Thread Cuperus, Bob
Try dropping an alert into the JavaScript block to confirm that the page is running the code. Are you wrapping the image with an a href tag to make it clickable or are you planning on setting up additional JavaScript to handle the user clicking the image? Just curious. Bob -Original

RE: Help with focus

2001-12-28 Thread Lawrence, Jane K
I did have an alert in it and it wasn't firing. Have I got it in the wrong place? The button is associated with an action. html:link href=javascript:doMafFormSubmit('add_attachment'); onMouseOver=return hint('Add a new

FOP, XSL Struts

2001-12-28 Thread Ajay Chitre
Hello, I am trying to create a report in PDF format using FOP in my Struts based application. When I use a previously created fo file my code works fine. For example, when I do something like this it works fine; //This is a test! String foParam = c:\\temp\\TestReport.fo; //TODO

RE: JADE

2001-12-28 Thread Darren Spurgeon
I hope this is what you're looking for: http://www.discoverjade.com/ Cheers, Darren --- Sean Gollschewsky [EMAIL PROTECTED] wrote: Sorry to not answer your question, but I have been hunting for information about JADE, and have had no luck. Do you have any URLs, PDFs, anything that might

RE: JADE

2001-12-28 Thread Darren Spurgeon
Actually, I may have mispoken. This is probably what you were looking for: http://sharon.cselt.it/projects/jade/ --- Darren Spurgeon [EMAIL PROTECTED] wrote: I hope this is what you're looking for: http://www.discoverjade.com/ Cheers, Darren --- Sean Gollschewsky [EMAIL PROTECTED]

Error Tag Usage

2001-12-28 Thread Jeff_Mychasiw
Greetings: I apologize if this has been answered before... When I use the error tag to display the LIST of errors it works as expected along with the header an footer that I have in my properties file. However when I choose not to display the list, but instead just place a

Re: Error Tag Usage - Found the answer myself - I think

2001-12-28 Thread Jeff_Mychasiw
I found this in the release notes for 1.0.1: The html:errors when the property tag is specified, errors are no longer printed if the specified property has no errors. Previously errors were always printed! Future enhancements would include additional attributes to always turn off the header or

RE: Error Tag Usage - Found the answer myself - I think

2001-12-28 Thread Danny Collins
Your off just a little bit, Struts automatically checks for the existence of the header and the footer. So if it's in the properties file it will use them. So if you don't want to use the header and the footer take them out of the properties file. HTH Danny -Original Message- From:

RE: Error Tag Usage - Found the answer myself - I think

2001-12-28 Thread Michael Sabitov
Hello! I wanted to use errors tag in the following scenario: if there was an error in the specific input control I'd like to change some properties of the label for that control (for example change text color to red). In addition I wanted to display standard list of errors in the beginning of

RE: JADE

2001-12-28 Thread Sandeep Takhar
Actually, neither of these point to the JADE stuff. JADE is built by IBM and all info is behind the firewall. Sandeep --- Darren Spurgeon [EMAIL PROTECTED] wrote: Actually, I may have mispoken. This is probably what you were looking for: http://sharon.cselt.it/projects/jade/ ---

How do I use nested Collections with iterate tag?

2001-12-28 Thread Prem Kumar Ponnuraj
Hi, I have an ArrayList of ArrayList. /*** ArrayList objScreenDetailsContainer = new ArrayList(); ArrayList objRowDetails = new ArrayList(); objRowDetails.add(Hello1); objRowDetails.add(Hello2); objScreenDetailsContainer.add(objRowDetails); objRowDetails = new ArrayList();

Re: Form initialization and frames

2001-12-28 Thread mctwo
We found the answer. I think I should have thought of this before because now it seems obvious change frame name=criteria src=criteria.jsp noresize scrolling =no/ to frame name=criteria src=criteria.do noresize scrolling =no/ where criteria would be the path in the

Re: Struts +ACY- EJB support

2001-12-28 Thread Shengmeng Liu
Couldn't agree with you anymore+ACE- According to my understanding, Struts is basically an MVC framework for web applications.So it's main focus is on the web tier and it doesn't place any restrictions on how you implement the business logic. The model part of the Struts framework, namely