Re: How to render html embedded in a text-area?

2004-08-03 Thread brenmcguire
[EMAIL PROTECTED] wrote: Looks like I went a bit over the top with the embedded html proposal. It seems the users would be content if whatever they'd keyed into a text-area looked the same when subsequently re-displayed as text in a document. ie just preserve the line-feeds, no need for

RE: How to render html embedded in a text-area?

2004-08-03 Thread Shilpa Vaidya
hey, May be too technical jargons are not needed in this issue. incase in the first run you are storing the value in text area in a database .Then y not append the the td and trs along with them using stringbuffer. i guess when u would require to prepoulate the same data .It would display the

Which version is the offcial and stable version?

2004-08-03 Thread Zsolt Koppany
Hi, I have been using struts-1.1 for a long time but consider to upgrade. Which is the current official and stable version? When comes the next stable version? Should I upgrade know or should I wait? Zsolt - To unsubscribe,

Re: Which version is the offcial and stable version?

2004-08-03 Thread Nicolas De Loof
They're is no 'stable' version of the 1.2.x branch. They're should be one soon. We use 1.2.1 (considered as 'beta') on our application without troubles. You may understand that a version is considered 'stable' when *lot's* of peoples use it without having (unknown) bugs. As current 1.2.x is

struts and iText

2004-08-03 Thread Otto, Frank
Hi, I have generated a pdf with iText. In my action class I want to write it in the response object. The result should be a jsp-page with content pdf generated successful and a link to this pdf. The pdf should be shown in a new browser window too. Has someone do this? How can I do this?

Re: struts and iText

2004-08-03 Thread Vic Cekvenich
Struts action execute gives you a request/response, so you can just pretend that it's a servlet, set the type and stream anything you want. .V Otto, Frank wrote: Hi, I have generated a pdf with iText. In my action class I want to write it in the response object. The result should be a

RE: struts and iText

2004-08-03 Thread Jesse Alexander (KXT)
Well,... If you already have the PDF generated, why not directly write it to the response(and in this way to the browser)? To fulfill your use case as described. Your action generates the PDF and caches it somewhere. Then it will forward to the JSP-File containing the message and the link.

struts help

2004-08-03 Thread Srinivas.Amarnadh
Hi all, I am new to struts, I would like to know where I can get good material on Struts validation framework. Thanks and regards M.Srinivas Amarnadh iflex Solutions Ltd., Millenium Towers, Kundalahalli Main Road, Bangalore - 560 037. Phone : 57596000 , 22086000 Extn - 6616

AW: struts and iText

2004-08-03 Thread Otto, Frank
Thanks for your answer. I will cache the pdf for later evaluation. The webserver has access to this pdf (saved on hard disk). I want to open the pdf in the browser and show the jsp page at the same time. How must I write the action class? -Ursprüngliche Nachricht- Von: Jesse

RE: struts and iText

2004-08-03 Thread Buland Altaf
Hi There, I agree with the strategies Alexender told. I also append some code to open a new window just ease your work. --- script language=javascript function popup(mylink, windowname) { if (! window.focus)return true;

Re: struts help

2004-08-03 Thread Buland Altaf
Hi There, There are a lot material on the net. 1. Apache Web Site(for Struts) 2. JGuru forums 3. Java world 4. http://javaboutique.internet.com/tutorials/ WebAppSTRUTS/ Regards, Buland --- [EMAIL PROTECTED] wrote: Hi all, I am new to struts, I would like to know where I

Re: struts help

2004-08-03 Thread Niall Pemberton
http://struts.apache.org/userGuide/dev_validator.html - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 9:59 AM Subject: struts help Hi all, I am new to struts, I would like to know where I can get good material on Struts validation

Re: struts help

2004-08-03 Thread Hubert Rabago
Manning Publications also provides a sample chapter from Struts In Action that covers the validator. http://www.manning.com/catalog/view.php?book=husted Most of the material should still apply to the current version. --- Niall Pemberton [EMAIL PROTECTED] wrote:

Re: Which version is the offcial and stable version?

2004-08-03 Thread Ted Husted
http://struts.apache.org/acquiring.html On Tue, 03 Aug 2004 08:54:53 +0200, Zsolt Koppany wrote:  Hi,  I have been using struts-1.1 for a long time but consider to  upgrade. Which is the current official and stable version? When  comes the next stable version? Should I upgrade know or should I  

RE: Which version is the offcial and stable version?

2004-08-03 Thread Zsolt Koppany
Hi Ted, thank you. Zsolt -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 2:26 PM To: Struts Users Mailing List Subject: Re: Which version is the offcial and stable version? http://struts.apache.org/acquiring.html On Tue, 03 Aug 2004

How to allow users enters html links in text input area and how t o display it

2004-08-03 Thread Jirole, Amar
Hi All, Our users would like to enter urls in the text input area and when click the link bring up the page. I tried using filter=false for bean:write but that did not work. We use simple struts-jsp architecture. Any ideas? Thanks in Advance -Amar

Re: How to allow users enters html links in text input area and how t o display it

2004-08-03 Thread Bill Siggelkow
Jirole, Amar wrote: Hi All, Our users would like to enter urls in the text input area and when click the link bring up the page. I tried using filter=false for bean:write but that did not work. We use simple struts-jsp architecture. Any ideas? Thanks in Advance -Amar I have done this before

RE: struts and iText

2004-08-03 Thread Frank Zammetti
Another option: write the PDF out to a database BLOB field, then create an Action to retrieve that field. This I think gives you the best of all worlds. If you structure the table properly, you can share the PDF across various requests/users and you can even avoid PDF generation potentially

RE: struts and iText

2004-08-03 Thread Jirole, Amar
This is how we are doing it : We have put in our main page following snippet IFRAME src=html:rewrite page='/exportToPdf.do?'/ This exportToPdf action returns a response with which has pdf content and following contenttype application/pdf. Depending whether your PDF is set to open documents

Re: How to allow users enters html links in text input area and h ow t o display it

2004-08-03 Thread Bill Siggelkow
Hmmm -- if a user enters the following into the text area: My favorite site is a href='http://struts.apache.org'Struts/a Then you render this using bean:write filter=false/ it should work. If the users are just entering the URLs (the http://... part) then you will need to generate the a href part

RE: How to allow users enters html links in text input area and h ow t o display it

2004-08-03 Thread Jirole, Amar
We are displaying the text in text area as well. The reason we are doing this is we want to preserve para and other formatting info which gets lost in plain bean:write -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow Sent: Tuesday, August 03, 2004 10:03

eclipse3.0 struts plugin

2004-08-03 Thread char
hi all. May anybody tell me a struts plugin can use in eclipse3.0RC1. I have download the easystruts plugin , but very unlucky, It can only support eclipse 2.0 kind regards, Thanks char

RE: eclipse3.0 struts plugin

2004-08-03 Thread Erez Efrati
You might want to check www.myeclipseide.com I use it and it's great! --Erez -Original Message- From: char [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 5:18 PM To: [EMAIL PROTECTED] Subject: eclipse3.0 struts plugin hi all. May anybody tell me a struts plugin can use

RE: eclipse3.0 struts plugin

2004-08-03 Thread James Holmes
Struts Console works with all versions of Eclipse from 1.0 all the way through the latest nightly builds. Additionally Struts Console has support for Struts, Tiles and Validator configuration files. http://www.jamesholmes.com/struts/ -James -Original Message- From: char [mailto:[EMAIL

RE: How to render html embedded in a text-area?

2004-08-03 Thread John McGrath
javascript'll preserve line feeds. functions below. to replace newlines with br/ tags when submitting, do this: html:form action=*.do onSubmit=newlinesToHtml( this ); then to convert the other way, say when editing the same content, put this or something like it at the bottom of the page:

Java Bean Scope in Action Class

2004-08-03 Thread Bussie, Andre D
I want to place a bean in the session scope in my action class and then make me bean accessible in JSP pages within the application. Is this possible? Any examples/resources so I can implement. Thanks is advance

ActionForm vs Hibernate POJO

2004-08-03 Thread abdel . leshob
Hi all, I am using Struts with Hibernate, and I was asked to reuse the Hibernate pojo as forms for my actions. Is it possible ? Thanks a lot ** La présente communication (et tout fichier rattaché) s'adresse

RE: ActionForm vs Hibernate POJO

2004-08-03 Thread Jim Barrows
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 8:49 AM To: [EMAIL PROTECTED] Subject: ActionForm vs Hibernate POJO Hi all, I am using Struts with Hibernate, and I was asked to reuse the Hibernate pojo as forms for my

Re: How to allow users enters html links in text input area and h ow t o display it

2004-08-03 Thread Bill Siggelkow
Well, text in a text area is not HTML markup -- it's just text -- to render the links you will have to output the data using bean:write filter=false -- since you need to preserve line breaks take a look at this thread http://marc.theaimsgroup.com/?l=struts-userm=106685398105831w=2 Good Luck!

RE: How to allow users enters html links in text input area and h ow t o display it

2004-08-03 Thread Jirole, Amar
Thanks for your help Bill -Amar -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow Sent: Tuesday, August 03, 2004 11:54 AM To: [EMAIL PROTECTED] Subject: Re: How to allow users enters html links in text input area and h ow t o display it Well, text in a

Re: ActionForm vs Hibernate POJO

2004-08-03 Thread Wendy Smoak
I am using Struts with Hibernate, and I was asked to reuse the Hibernate pojo as forms for my actions. Is it possible ? Possible, but not advisable... at some point you will need to have something different in the form than in the POJO. Forms are generally all String properties, POJO's should

Re: Upgrading a Struts 1.1 app to 1.2.1: any 'gotchas' to watch for?

2004-08-03 Thread Paul Spencer
Niall, I have posted your comments on the Struts Wiki. Hopefully this page will be updated as new gotchas are found. http://wiki.apache.org/struts/Struts1_2e1to1_2e2_2e1UpgradeNotes I have also found them very helpful. Paul Spencer Niall Pemberton wrote: * jars - I guess its obvious to say

RE: Brain fart - allowing user to download file

2004-08-03 Thread Jim Barrows
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 5:00 PM To: Struts Users Mailing List Subject: Re: Brain fart - allowing user to download file The usual suspects are: 1) not granting public access to the file you're

Réf. : Re: ActionForm vs Hibernate POJO

2004-08-03 Thread abdel . leshob
Thanks a lot, Is there any work done for OGNL integration in struts ? Wendy Smoak [EMAIL PROTECTED] 03/08/2004 11:57 Veuillez répondre à Struts Users Mailing List Pour : Struts Users Mailing List [EMAIL PROTECTED] cc : Objet : Re: ActionForm vs Hibernate POJO

Re: ActionForm vs Hibernate POJO

2004-08-03 Thread Wendy Smoak
From: [EMAIL PROTECTED] Thanks a lot, Is there any work done for OGNL integration in struts ? [Googles... Object-Graph Navigation Language; it is an expression language for getting and setting properties of Java objects] I'm not entirely sure what happens behind the scenes, but: In the

Réf. : RE: Réf. : Re: ActionForm vs Hibernate POJO

2004-08-03 Thread abdel . leshob
I want to reuse the Hibernate pojo, and not to create ActionForm bean and for two reasons I'm wondering if it is possible 1 Because it contains non-primitive property. 2 My forms should extends ActionForm I see that it is possible in WebWork. Thanks Jim Barrows [EMAIL PROTECTED]

RE: Java Bean Scope in Action Class

2004-08-03 Thread Martin Gainty
Andre- take a look at http://66.137.16.41:8080/expresso/expresso/doc/struts/users_guide.html Basically a session scoped bean's contents would be accessible to all entities (jsp/servlet) within the session..ther are some good Form Login examples there too- Martin Gainty From: Bussie, Andre D

RE: Réf. : RE: Réf. : Re: ActionForm vs Hibernate POJO

2004-08-03 Thread Jim Barrows
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 9:29 AM To: Struts Users Mailing List Subject: Réf. : RE: Réf. : Re: ActionForm vs Hibernate POJO I want to reuse the Hibernate pojo, and not to create ActionForm bean and

Re: eclipse3.0 struts plugin

2004-08-03 Thread char
thanks all . thanks Erez and James but Which is the better between myEclipse and Struts Console and which can support jstl better? - Original Message - From: James Holmes [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 11:34 PM

RE: eclipse3.0 struts plugin

2004-08-03 Thread James Holmes
Struts Console and MyEclipse are complimentary not competitive tools. MyEclipse is a full suite of Eclipse plugins that aid J2EE development whereas Struts Console is a tool specifically for simplifying the management of Struts configuration files. I would recommend you install both. -James

Réf. : Re: ActionForm vs Hibernate POJO

2004-08-03 Thread abdel . leshob
Thanks a lot Hubert Rabago [EMAIL PROTECTED] 03/08/2004 13:32 Veuillez répondre à Struts Users Mailing List Pour : Struts Users Mailing List [EMAIL PROTECTED] cc : Objet : Re: ActionForm vs Hibernate POJO Take a look at FormDef

Re: How to render html embedded in a text-area?

2004-08-03 Thread Christian Bollmeyer
On Tuesday 03 August 2004 17:34, John McGrath wrote: Something possibly even cooler (as long as the client is IE 5.5+; otherwise, it won't show up) I recently stumbled over is http://www.interactivetools.com/products/htmlarea/ which turns a textarea into a configurable WYSIWYG HTML editor. Easy

Re: Réf. : Re: ActionForm vs Hibernate POJO

2004-08-03 Thread Nick Heudecker
If you're using XDoclet, I wrote an extension to allow you to define DynaValidatorActionForms using XDoclet tags. You can download it from here: http://www.systemmobile.com/code/xdoclet-apache-module-sm-1_2.zip Using this extension, you may define your Hibernate mappings and dynaform

Cannot find message Resource

2004-08-03 Thread Bussie, Andre D
I have a web application that has been performing fine for weeks now all of sudden I get the following error: javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE My web.xml has the following web-app . init-param

RE: Data not being populated from database on form jsp

2004-08-03 Thread Shilpa Nalgonda
Thi soptions looks better to me, Alternatively when you get the shipping information from the datbase initially, copy it to an ActionForm, and use that for display everywhere. THis would mean setting the name and validation fields in the strutsconfig for each action that uses the form. Display

RE: Cannot find message Resource

2004-08-03 Thread Jim Barrows
-Original Message- From: Bussie, Andre D [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 12:33 PM To: [EMAIL PROTECTED] Subject: Cannot find message Resource I have a web application that has been performing fine for weeks now all of sudden I get the following error:

RE: Data not being populated from database on form jsp

2004-08-03 Thread Jim Barrows
-Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 12:35 PM To: Struts Users Mailing List Subject: RE: Data not being populated from database on form jsp Thi soptions looks better to me, Alternatively when you get the shipping

Re: How to render html embedded in a text-area?

2004-08-03 Thread Niall Pemberton
Another one of these is also FCKeditor: http://www.fckeditor.net/ Theres a JSP tag version here: http://www.piyosailing.com/S/index.jsp?redirUrl=/S/programming-opensource.jsp Niall - Original Message - From: Christian Bollmeyer [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

RE: Data not being populated from database on form jsp

2004-08-03 Thread Shilpa Nalgonda
thanks, that might help. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 3:51 PM To: Struts Users Mailing List Subject: RE: Data not being populated from database on form jsp -Original Message- From: Shilpa Nalgonda

More brain flatulence

2004-08-03 Thread Erik Weber
I have a colleage who is getting the old AbstractMethodError when trying to deploy his first Struts app -- an app that is running in other environments successfully. Apparently our plugin won't load. Here is a snip from the stack trace during deployment: 16:06:44,238 ERROR [Engine] - Root

RE: Data not being populated from database on form jsp

2004-08-03 Thread Shilpa Nalgonda
i still have problem, i did as per ur instructions. can u please help... Below is my action class. public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,

html: and fmt: tags

2004-08-03 Thread Jason King
I'm using jstl tags whereever I can. I want to i18n my buttons, and so I tried this: %@ taglib uri=/WEB-INF/lib/struts-html-el.tld prefix=html % html:form action=/details !-- other fields-- html:submit value=${fmt:message key=todo.editSaveButton bundle=${loc}/}/ /html:form I get:

R: How to render html embedded in a text-area?

2004-08-03 Thread Simone - Dev
Just want to point out a few things On the fckeditor.net site there is just the new beta 2.0 version (that already include the JSP tag lib) For a production environment I suggest the use of the 1.6 stable version http://sourceforge.net/project/showfiles.php?group_id=75348package_id=7

ANN: New low cost XML Editor

2004-08-03 Thread Stylus Studio Announcements
[announce]Dear Jakarta Struts community, Stylus Studio is pleased to announce Stylus Studio 5 Home Edition, a new, value-priced version of our award-winning XML IDE. Stylus Studio 5 Home Edition is specifically designed for learning or working with XML in educational, training, or home

Re: More brain flatulence

2004-08-03 Thread Niall Pemberton
The init() method signature for the PlugIn interface was changed from: init(ActionServlet, ApplicationConfig) to init(ActionServlet, ModuleConfig) in Nov 2002 in between the Strust 1.1 beta 2 and Strust 1.1 beta 3 versions. Also the stuff in initApplicationPlugIns() method in ActionServlet

Re: R: How to render html embedded in a text-area?

2004-08-03 Thread jthompson
I've just shown these rich-text editors to our users and they are ecstatic. Thanks to everybody who responded - amazing where a simple question will lead. Regards, John [EMAIL PROTECTED] Ph (09) 372-5010 |-+ | | Simone - Dev | |

Re: R: How to render html embedded in a text-area?

2004-08-03 Thread Peng Tuck Kwok
Yeah, it looks great. Something to keep in mind when building webapps which need some text editing :D On Wed, 4 Aug 2004 14:24:49 +1200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've just shown these rich-text editors to our users and they are ecstatic. Thanks to everybody who responded