Re: html:image and pop-ups

2004-05-07 Thread Axel Stahlhut
Sonam Belbase wrote: Hi, I am trying to create a button which invokes an action and then shows the results in a pop-up. How would I do this? For starters, I tried the following, but html:image cannot have a target attribute: Is there anyway to do this using Struts and the openPopUp jsp method?

Re: What was the name of this application? [was] Re: Are there any IDE's that understand Struts tags?

2004-05-30 Thread Axel Stahlhut
Rick Reumann wrote: bOOyah wrote: Actually there was a struts application/IDE that was for demo that was quite impressive but now I forgot the name. Was it NitroX from M7? http://www.m7.com/ Yes! That was the one thanks. That's the only one that I've found that will actually complete the diff

Re: OT: Hibernate Session to User Session

2004-06-07 Thread Axel Stahlhut
Riyad Kalla wrote: I was reading in the Hibernate forums that when you have a WebApp > DAO Hibernate > DB design, and you open/close each Hibernate session at every single DAO method call (what I do now) its actually quite expensive, and is suggested that you attempt to maintain a Hibernate

Re: [OT] JBoss EJBs or Hibernate

2004-06-07 Thread Axel Stahlhut
Kunal H. Parikh wrote: Hi All! I just wanted a view of people in the industry on their preferences for PERSISTENCE, and if possible, WHY! I intend to run everything in the same JVM and most likely be using JBOSS. TIA, Kunal - To u

Re: [OT] RTF & PDF export options

2004-07-19 Thread Axel Stahlhut
Barnett, Brian W. wrote: Any suggestions for converting html to RTF and PDF inside an action class and then sending the RTF or PDF back to the client? Open source tools, code snippets, tips & tricks, etc. ?? Thanks a bunch. Brian Barnett Check iText (http://www.lowagie.com/iText/), it's f

Re: Format Phone numbers using bean:write

2004-08-03 Thread Axel Stahlhut
Hi Marcelo, thats true, it's presentation. Haven't you got FormBeans to get the data for presentation layer (in fact, they are belonging to the presentation layer, too). I would put this in the getter of my FormBeans, which should not be the BusinessObjects anyway? Regards Marcelo Epstein wrot

Re: File upload problem

2004-08-08 Thread Axel Stahlhut
Craig McClanahan wrote: On Sun, 08 Aug 2004 06:37:33 -0400, Erik Weber <[EMAIL PROTECTED]> wrote: A colleague gave me a nice file upload Servlet to use; it uses the jakarta commons file upload classes. Is there a particular reason that you're not using the standard Struts support for file upload

Re: How can I display a table in two columns?

2004-04-06 Thread Axel Stahlhut
bOOyah wrote: Hi all I have a 2-column table containing 16 row items, each with an associated checkbox. Right now I'm iterating over a List to render each row of the table. Column 1 contains the checkboxes; column 2 contains the items. So my table currently looks like this (x == a checkbox)

Re: Html:link and save form

2004-05-13 Thread Axel Stahlhut
Hi Sandra, a link never submits data of the surrounding form. If you do it the way you did, this should work, but if the user has javascript disabled, nothing is submitted. You have got to check at least for errors from that. But the user will never know or understand, ehat is happening. You s

Re: Reports In Struts Frame work

2004-05-10 Thread Axel Stahlhut
we are using cewolf, a set of tags based on jfreechart. Very nice, you just have to implement the models behind the tags and then create all kind of charts you may need. AFor cewolf and jefreechart on Linux you need an XServer or something like xvfb (XVirtualFrameBuffer), if no XWindow install

Re: serialization of a FormFile object

2004-05-10 Thread Axel Stahlhut
Hi. You could implement a FormFileWrapper, geting a FormFile in Constructor. Then you may copy all fields except InputStream (which makes in fact no sense, because it is definetly lost after e.g. restart of App) and let the wrapper implement Serializable. The wrapper can now be stored into you

Re: serialization of a FormFile object

2004-05-10 Thread Axel Stahlhut
Is there any sample code available? Besides the method mentioned above, are there other alternatives to approach the problem? Thanks again! Octavia ----- Original Message - From: "Axel Stahlhut" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]&g