Need Advise: use Struts/XSLT

2003-02-12 Thread Jason Yam
Hi everyone, anyone knows what direction the apache group will go related to Struts/XML/XSLT? I mean what do they respond to the following methods: (1) Model 2: Struts + stxx + xslt (2) Model 2: Struts + StrutsCX + xslt (3) Model 2: Cocoon + Struts + xslt (4) Model 2: Other publishing

Handling a form with dynamis number of lines

2003-02-12 Thread LEMERY Guillaume (DSIT-EM)
Hi everybody ! I have big troubles to set and use a form with multiple lines. Let me explain what I want to do. My page displays some operations about a car. This operations can be from 1 to n, so they are displayed in a table. For each line, I have a select list in which the user must choose if

Validator on an ArrayList (nested)

2003-02-12 Thread Christoph Rooms
hi, I got the validator working on an arraylist in my ActionForm. Really nice ! Would it be possible to have in my error message a dynamic value ? For example : my action form holds 1 STring with a name. It also holds an ArrayList with Translation objects. A translation object consist out of

RE: Need Advise: use Struts/XSLT

2003-02-12 Thread Oguz Kologlu
Hi, There is an article on theserverside.com that discusses this issue at: http://www.theserverside.com/home/thread.jsp?thread_id=17866article_count=1 6 To oversimplify - it says you should develop JSP Documents ( well formed xml ) and use xslt for presentation/rendering/i18n etc. Regards Oz

RE: Need Advise: use Struts/XSLT

2003-02-12 Thread ROSSEL Olivier
-Message d'origine- De: Oguz Kologlu [mailto:[EMAIL PROTECTED]] Date: mercredi 12 février 2003 11:15 À: Struts Users Mailing List Objet: RE: Need Advise: use Struts/XSLT Hi, There is an article on theserverside.com that discusses this issue at: To oversimplify - it says you

Re: RES: [OT] Resin 2.1.6 doesn't like resource-env-ref

2003-02-12 Thread Daniel H. F. e Silva
Hi all, Take a look at this : http://www.caucho.com/resin/ref/app-config.xtp First paragraph says that Resin HTTP configuration follows the Servlet 2.2 deployment descriptors. Best regards, Daniel. --- Marcelo Aita Riss [EMAIL PROTECTED] wrote: Hi Sri, I'm having the same trouble here.

RE: Need Advise: use Struts/XSLT

2003-02-12 Thread Rabih Yazbeck
What about Cocoon integration with Struts? Is it possible that cocoon handle the presentation layer while Sturts focus on the controller? Even though Cocoon has released a version 2, but I think there is anymore much work on Cocoon, am I right? Thanks, and yes I believe in the power of

RE: [OT] Please help me !!

2003-02-12 Thread Amitkumar_J_Malhotra
yes, there was no attachment, sorry for that, but the problem got solved automatically after spending a lot on the time for the same thanx a lot for the same regards, amit malhotra - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Need Advise: use Struts/XSLT

2003-02-12 Thread Oguz Kologlu
There is actually a lot of work being done on cocoon. Cocoon in fact resembles struts in many ways - the developers will freely admit they take the best ideas from each project to integrate into cocoon. Some of the features: - schematron ( same as validators ) - internationalisation support -

RES: RES: [OT] Resin 2.1.6 doesn't like resource-env-ref

2003-02-12 Thread Marcelo Aita Riss
Hello Craig, Thanks for help. I already fixed the problem using 'resource-ref'. About the use of 'resource-env-ref': I tried to use it because the description of this tag at servlet 2.3 reference says: !-- The resource-env-ref element contains a declaration of a web application's reference to an

RES: RES: [OT] Resin 2.1.6 doesn't like resource-env-ref

2003-02-12 Thread Marcelo Aita Riss
Daniel, I already had looked at www.caucho.com and had observed that resin uses Servlet 2.2 deployment descriptors, but I thought that could have some way to configure resin to use Servlet 2.3. It seems that I was wrong. So, I fixed the problem using 'resource-ref' tag. Thanks for help. Best

RE: Need Advise: use Struts/XSLT

2003-02-12 Thread ROSSEL Olivier
What about Cocoon integration with Struts? Is it possible that cocoon handle the presentation layer while Sturts focus on the controller? Yes. i think this is the best approach. But I never had the opportunity to do that. Probably my company (which is Cocoon commiter) will launch a Struts

RE: still wondering Re: Where to repopulate dynamic lists ?

2003-02-12 Thread Robert Taylor
Rick, I usually define the setUpForm action URI as the input attribute of the processForm action element. That way if a validation error occurs the request is forwarded to the setUpForm action which repopulates the list and forwards to the page where my list is displayed along with the error

html:options selected attribute

2003-02-12 Thread Jason Vinson
Hi folks, There my be a simple answer to this that I am overlooking, but I am populating a pull down select, and I can't figure out a good way to set the selected attribute to the first element. I am using a collection (string array) and my jsp has this code: td align=right colspan=6

Ultradev + Struts TagLib

2003-02-12 Thread Eduardo Fabricio Elias
Someone know how to work with Ultradev and Struts TagLib? Can Macromedia Ultradev display TagLib how Web Component? __ Eduardo Fabrício Elias CIEE-RS - Porto Alegre [EMAIL PROTECTED] ICQ#: 25223384 Fone: 51 32847029

[OT] Tell VM to use a different java.security file other than the one in default location

2003-02-12 Thread Robert Taylor
Apologies in advance for the OT post. I have some background processes that run as NT services. Each process will run in its own VM. I would like each process to use its own java.security file. I know there must be a way to tell the VM to use a different java.security file other than the default

AW: html:options selected attribute

2003-02-12 Thread Slobodan Kasterovic
Hi ! Look my sample: ### Form private ArrayList projektfilterliste; private String[] projektfilter; ### JSP html:select property=projektfilter size=1 onchange=newProjektfilter() styleClass=input_area html:options collection=projektfilterliste property=value labelProperty=label /

RE: Need Advise: use Struts/XSLT

2003-02-12 Thread Jacob Hookom
You are better off creating a TransformationFilter that will work with 2.3 Servlet Specs (Tomcat 4.1.x). The filter would catch the response, wrap it with an HttpServletResponseWrapper and send it on to your jsp where it would take the data written to the print writer or outputstream and

Re: AW: html:options selected attribute

2003-02-12 Thread Jason Vinson
I am not exactly following the logic here. Could you elaborate a little more? Thanks, Jason ---Original Message--- From: Slobodan Kasterovic [EMAIL PROTECTED] Sent: 02/12/03 08:24 AM To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: AW: html:options selected attribute Hi !

Re: Need Advise: use Struts/XSLT

2003-02-12 Thread Vic Cekvenich
What I do is store XML file as a BLOB field in DB (and somtetimes a HTMLCache field as well). Then I do JSTL x: transform mostly or use the cached HTMLfield version sometimes. .V Jason Yam wrote: Hi everyone, anyone knows what direction the apache group will go related to

Re: [OT] help Modal Window in javascript.

2003-02-12 Thread David Graham
FYI, off topic posts should be prefixed with [OT]. Thanks, David From: udhay kumar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Off Topic help Modal Window in javascript. Date: Wed, 12 Feb 2003 05:19:25 + Hi, Any body have done

Any good sugestions on implementing Security

2003-02-12 Thread Ntolios Christos
Hi folks, I was wondering which would be the best approach on implementing security? Basically I have an application and I only want specific groups of people to have access and i want it to be Dynamic. I thought of changing the ActionMappings to have an extra attribute of the groups that

RE: html:options selected attribute

2003-02-12 Thread Sri Sankaran
Take your pick of http://marc.theaimsgroup.com/?l=struts-userm=103416927522003w=2 http://marc.theaimsgroup.com/?l=struts-userm=103313043614360w=2 http://marc.theaimsgroup.com/?l=struts-userm=103254783510467w=2 http://marc.theaimsgroup.com/?l=struts-userm=102406536726794w=2 Or just look at the

AW: AW: html:options selected attribute

2003-02-12 Thread Slobodan Kasterovic
(in the forefront: Sorry for my english) ok. I have ### Form ... private ArrayList all; private String[] selected; public ArrayList getAll(){ return all; } public void setAll(ArrayList all){ this.all = all; } public String[] getSelected(){ return selected; } public void setSelected(String[]

Re: Nested Tags Problem .... Urgent

2003-02-12 Thread ashokd
Hi, If I am displaying nested tags in a jsp page it is working fine. When I include some other jsp page as iframe it is giving null pointer exception (I am not put any html:form tag). When I kept html:form action=myAction.go then it is working fine. I have three this type of frames. User can

RE: Any good sugestions on implementing Security

2003-02-12 Thread Rao, Nagraj
Well the best approach I can think of is to keep it separate from the MVC model. You could use a FilterServlet to handle security , which then forwards the request to the Struts framework. Thus making it more pluggable, than embedded -Original Message- From: Ntolios Christos

Re: Nested Tags Problem .... Urgent

2003-02-12 Thread ashokd
Hi, If I am displaying nested tags in a jsp page it is working fine. When I include inner.jsp page as iframe in parent.jsp it is giving null pointer exception (I am not put any html:form tag in inner.jsp page, but I kept html:form in parent.jsp). When I kept html:form action=myAction.go in

Re: RE: html:options selected attribute

2003-02-12 Thread Jason Vinson
Thanks Sri, the first link had a solution that worked perfectly. I'll be sure to search google and the archives before posting in the future. Thanks again, Jason ---Original Message--- From: Sri Sankaran [EMAIL PROTECTED] Sent: 02/12/03 09:48 AM To: Struts Users Mailing List [EMAIL

RE: Any good suggestions on implementing Security

2003-02-12 Thread Rob Kischuk
+1 on the ServletFilter approach. Even better if you can get container managed security to meet your needs. Depending on the container, your groups and group memberships can be dynamically mapped to roles, with declarative specification of what resources can be accessed. This approach is optimal

milestone source drop

2003-02-12 Thread Durham David Cntr 805CSS/SCBE
The link to the milestone source drop is broken, I think that it should be http://www.apache.org/dist/jakarta/struts/source/ David Durham NCI Information Systems Scott AFB, AMC SCBE 618.256.5264 - To unsubscribe, e-mail:

Re: Nested Tags Problem .... Urgent

2003-02-12 Thread James Mitchell
Do you understand how iframe works? It is a client-side include, not server-side. Here's a good place to start: http://www.htmlhelp.com/reference/html40/special/iframe.html -- James Mitchell - Original Message - From: ashokd [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

RE: Indexed properties and form

2003-02-12 Thread Chen, Gin
umm is my email program messed up or does anyone else here see the same thing. % int i = ; % ?? I dont see how that works. Shouldnt it be more like: % int i = 0; % -Tim -Original Message- From: Samir Shah [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 9:32 PM To: Struts

Re: Need Advise: use Struts/XSLT

2003-02-12 Thread rablists [EMAIL PROTECTED]
Yes, the power of xml is Soap. And actually this is the main reason behind my question: web-services. I have worked on xsp, like it and dislike it! As i understand from this discussion, cocoon and struts are not possible to integrate, or at least work together. Thanks, Rabih. --- In [EMAIL

[OT] Generating microsoft word documents

2003-02-12 Thread John Cavacas
I'm currently doing some initial research on the possibility of generating Microsoft word documents (yuk) from a web application for a project that I am working on. The web app portion of course would use struts. However, as I suspected, I'm finding that creating word documents from Java is, well

RE: Indexed properties and form

2003-02-12 Thread Samir Shah
I meant to say % int i = 0; % The page display correctly. The problem is accessing the variable in the ActionForm. How do I declare the form variables in the ActionForm to gain access to them Thanks, Samir --- Chen, Gin [EMAIL PROTECTED] wrote: umm is my email program messed up or does

Re: [OT] Generating microsoft word documents

2003-02-12 Thread Jon Paul Jones
Have you thought of using Rich Text Format (.rtf files) instead of actual Word (.doc) files? RTFs would probably be easier to create from java since it uses a type of markup language (plain text) and there may already be utilities in java for creating such files. The best thing is Word will open

RE: [OT] Generating microsoft word documents

2003-02-12 Thread Durham David Cntr 805CSS/SCBE
I know that Open Office can do what you want, but I haven't done it myself. -Original Message- From: John Cavacas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 9:29 AM To: 'Struts Users Mailing List' Subject: [OT] Generating microsoft word documents I'm currently

RE: [OT] Generating microsoft word documents

2003-02-12 Thread Durham David Cntr 805CSS/SCBE
iText can create RTF docs. http://www.lowagie.com/iText/ it's LGPL. -Original Message- From: Jon Paul Jones [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 9:40 AM To: Struts Users Mailing List Subject: Re: [OT] Generating microsoft word documents Have you

RE: [OT] Generating microsoft word documents

2003-02-12 Thread John Cavacas
Have you thought of using Rich Text Format (.rtf files) instead of actual Word (.doc) files? RTFs would probably be easier to create from java since it uses a type of markup language (plain text) and there may already be utilities in java for creating such files. The best thing is Word will

best place to keep the user specific XML files

2003-02-12 Thread Ashish Kulkarni
Hi, I have some xml files which are used to store the preference files of the user, What is the best location to keep them, so i can access them giving the location of the files, I dont want to rely on classloader as they behave differently for different Application server(for example , tomcat

RE: [OT] Generating microsoft word documents

2003-02-12 Thread Jerome Jacobsen
Have you looked at OpenOffice (http://www.openoffice.org/)? They may have Java APIs for doing this sort of thing. -Original Message- From: John Cavacas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 10:29 AM To: 'Struts Users Mailing List' Subject: [OT] Generating

RE: [OT] Generating microsoft word documents

2003-02-12 Thread John Cavacas
iText can create RTF docs. http://www.lowagie.com/iText/ it's LGPL. [John Cavacas] Thanks David, I'll have a look at iText. Although it looks like we'll have to do something with actual word documents. John This communication is intended for the use of the individual(s) or entity it was

RE: best place to keep the user specific XML files

2003-02-12 Thread Pani, Gourav
don't you think it would be better if you didn't go into the classes directory and instead created another folder such as /WEB-INF/user-xml/. Just a thought. Off the topic, man you really need to lose the $ out of your signature. ;) -Original Message- From: Ashish Kulkarni

RE: [OT] Generating microsoft word documents

2003-02-12 Thread John Cavacas
-Original Message- From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 10:49 AM To: Struts Users Mailing List Subject: RE: [OT] Generating microsoft word documents Have you looked at OpenOffice (http://www.openoffice.org/)? They may have Java APIs

Searching the Archives?

2003-02-12 Thread Jason Vinson
I feel dumb for asking this, but I am trying to search the list archives via: http://nagoya.apache.org/eyebrowse/SearchList?listId=[EMAIL PROTECTED]searchText=bean+attributesdefaultField=subjectSearch=Search and when i do a search, it returns Text search not available for this list. Where

RE: [OT] Generating microsoft word documents

2003-02-12 Thread ROSSEL Olivier
I'm currently doing some initial research on the possibility of generating Microsoft word documents (yuk) from a web application for a project that I am working on. The web app portion of course would use struts. However, as I suspected, I'm finding that creating word documents from Java

RE: [OT] Generating microsoft word documents

2003-02-12 Thread Durham David Cntr 805CSS/SCBE
You want to look at Open Office. You can pull in existing word docs and use them as templates. -Original Message- From: John Cavacas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 9:49 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Generating microsoft word

RE: [OT] Generating microsoft word documents

2003-02-12 Thread Chappell, Simon P
It might even be possible to create an RTF with a .doc extension. I know that I worked alot with RTF about 7 years ago and was actually generating the bulk of content for some books of technical data in RTF. Kinda fun project actually. Simon -Original Message- From: Jon Paul Jones

Re: Searching the Archives?

2003-02-12 Thread James Mitchell
I use mail-archive.com http://www.mail-archive.com/struts-user%40jakarta.apache.org/ -- James Mitchell - Original Message - From: Jason Vinson [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, February 12, 2003 10:51 AM Subject: Searching the

RE: best place to keep the user specific XML files

2003-02-12 Thread Durham David Cntr 805CSS/SCBE
Well, users don't need to download the xml files directly so of course your app can access them at WEB-INF/somewhere. It sounds like http://jakarta.apache.org/commons/digester would be of use for this. -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent:

Re: Searching the Archives?

2003-02-12 Thread JONATHAN PHILIP HOLLOWAY
Try http://www.mail-archive.com Instead.. : ) Jon - Original Message - From: Jason Vinson [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, February 12, 2003 3:51 PM Subject: Searching the Archives? I feel dumb for asking this, but I am trying to

RE: Searching the Archives?

2003-02-12 Thread Kandi Potter
http://www.mail-archive.com/struts-user%40jakarta.apache.org/ -Original Message- From: Jason Vinson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 10:52 AM To: Struts Users Mailing List Subject: Searching the Archives? I feel dumb for asking this, but I am trying to

RE: Any good suggestions on implementing Security

2003-02-12 Thread Jeff_Mychasiw
Depending on the container, your groups and group memberships can be dynamically mapped to roles, with declarative specification of what resources can be accessed. Is this the case with tomcat? I did not think so. Our needs our very similar. The users with a admin page that allows them to

RE: [OT] Generating microsoft word documents

2003-02-12 Thread Durham David Cntr 805CSS/SCBE
I think you can pull in existing rtf's with iText, but can not parse the doc into objects like you can with Open Office. In this scenario, using iText, you would have to add text and such with absolute positioning. This is going to be easier than using Open Office. I'm doing this exact thing

RE: [OT] Generating microsoft word documents

2003-02-12 Thread Alvaro Coronel
John, you may also want to check POI at Jakarta http://jakarta.apache.org/poi/index.html I haven't looked much into it, but the index page states The POI project consists of APIs for manipulating various file formats based upon Microsoft's OLE 2 Compound Document format using pure Java. Might

bean question

2003-02-12 Thread Jason Vinson
This may be beyond the scope of this list, but here goes. I have implemented a simple container class that implements an object with a few String objects. I initialized it in my Action class for testing, but when i try to write it out using the bean:write tag, i can't figure out how to access

RE: best place to keep the user specific XML files

2003-02-12 Thread Ashish Kulkarni
Hi, Digester is on of the solutions, but I have all the classes written and working to build the XML file, map them to java objects, now only the missing piece is reading the XML file, so need some suggestions on reading these XML files, Ashish --- Durham David Cntr 805CSS/SCBE [EMAIL

[Validator] REQUIREDIF Question

2003-02-12 Thread Jerry Jalenak
Hi All, I have a rather simple form with 4 fields on it. If the first field (patientId) is left blank, then the other three fields (lastName, firstName, dob) are required. So, in struts-config I have snip form-bean name=UserInfo type=org.apache.struts.validator.DynaValidatorForm

RE: best place to keep the user specific XML files

2003-02-12 Thread Mitchell Morris
What is the best location to keep them, so i can access them giving the location of the files, I dont want to rely on classloader as they behave differently for different Application server(for example , tomcat looks for files in tomcat\common\classes, where as websphere looks in classes

RE: best place to keep the user specific XML files

2003-02-12 Thread Pani, Gourav
if you want to read an XML file, have the path specified in a properties file. then open it as a file object and put it into a DOM. you can then traverse through it any way you want. -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003

RE: [OT] Generating microsoft word documents

2003-02-12 Thread John Cavacas
John, you may also want to check POI at Jakarta http://jakarta.apache.org/poi/index.html I haven't looked much into it, but the index page states The POI project consists of APIs for manipulating various file formats based upon Microsoft's OLE 2 Compound Document format using pure Java.

RE: [OT] Any good suggestions on implementing Security

2003-02-12 Thread Rob Kischuk
Depending on the container, your groups and group memberships can be dynamically mapped to roles, with declarative specification of what resources can be accessed. Is this the case with tomcat? I did not think so. Our needs our very similar. The users with a admin page that allows them to

RE: best place to keep the user specific XML files

2003-02-12 Thread Durham David Cntr 805CSS/SCBE
Does this help? InputStream input = getServletContext().getResourceAsStream(WEB-INF/config/something.xml); -Dave -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 10:09 AM To: Struts Users Mailing List Subject: RE: best place

RE: bean question

2003-02-12 Thread Durham David Cntr 805CSS/SCBE
post your code -Original Message- From: Jason Vinson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 10:09 AM To: Struts Users Mailing List Subject: bean question This may be beyond the scope of this list, but here goes. I have implemented a simple container

1.0.2 with Collection property

2003-02-12 Thread Clement, Stephen
Is it me or does the logic:iterate tag with a Collection property not work in 1.0.2 in such a way as to populate my page and properly submit my form class? I have struggle somewhat with this lately. I can make it work with bean:write's but then changes to my pages won't populate my form class

Re: bean question

2003-02-12 Thread Jeff_Mychasiw
I depends on how you got it onto your page. If you set the object inside your form bean then simple dot notation will work: html:form bean:write property=myContainerObj.prop1/ If you put the attribute into scope directly, then a bean defin tag will be needed first. Jason Vinson

RE: Any good suggestions on implementing Security

2003-02-12 Thread Mingfai Ma
Is there an area I can look that suggests how to implement this type of dynamic security with a servlet filter? i think the best source of reference material is Chapter 12 (Security) of the Servlet specification. There should be many other source of information on web, just go to google to

RE: 1.0.2 with Collection property

2003-02-12 Thread John Espey
Can you post a snippet from your JSP? -Original Message- From: Clement, Stephen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 10:19 AM To: [EMAIL PROTECTED] Subject: 1.0.2 with Collection property Is it me or does the logic:iterate tag with a Collection property

Re: RE: bean question

2003-02-12 Thread Jason Vinson
Ok, Action Class contains a QueueData Object, which i wrote as a simple container, and it is initialized as follows: QueueData qData = new QueueData(id, title, condition, status, sev); //The ActionForm passed into the execute method is theForm theForm.setQueueData(qData); In my ActionForm class

RE: still wondering Re: Where to repopulate dynamic lists ?

2003-02-12 Thread Theodas, Jacques
Rick, I just read your post on this question and wanted to share how I handle this. Whenever I have a page with a dynamic dropdown list, I set validate to false for the action that I am submitting to in struts-config.xml. Then in my action, I call the validate method on the ActionForm that I get.

[OT] Jakarta-Commons HttpClient v2.0

2003-02-12 Thread Pani, Gourav
I have an application that is currently using the Socket object to post XML documents to client systems. Currently, we are using dedicated lines for transactions but we might be bringing some new customers on board who will require HTTPS transactions, which would be a problem to implement using

RE: RE: bean question

2003-02-12 Thread Jarnot Voytek Contr AU HQ/SC
have you tried dot notation, if QueueData has a getTitle() method try queueData.title -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Jason Vinson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 10:28 AM To: Struts Users Mailing

RE: 1.0.2 with Collection property

2003-02-12 Thread Clement, Stephen
Here's the stuff that's working with an Array property. logic:iterate id=predicate name=AdvancedQueryForm property=predicates indexId=index tr td class=checkbox html:checkbox

RE: [OT] Generating microsoft word documents

2003-02-12 Thread Chappell, Simon P
I just tried out my own suggestion and it worked, so create an RTF file with a .doc extension. Simon -Original Message- From: Chappell, Simon P Sent: Wednesday, February 12, 2003 9:54 AM To: Struts Users Mailing List Subject: RE: [OT] Generating microsoft word documents It might even

RE: Any good sugestions on implementing Security

2003-02-12 Thread Theodas, Jacques
This is the approach that I have used. Each of my actions declared in struts-config performs a specific function that a user can be authorised to use. I keep a database table of permissions, roles, and groups. The Perform method of each Action checks for 1 or more permissions before allowing

Re: convertNull problems

2003-02-12 Thread James Mitchell
Not sure if this was recently fixed, but I just verified that it works fine with the nightly build. I can provide a modified struts-example that validates this (if you like). I'm sure you are aware of why you would not want to use form fields other than String, but I thought I would mention it.

RE: still wondering Re: Where to repopulate dynamic lists ?

2003-02-12 Thread Jerome Jacobsen
I'd like to hear Craig and/or Ted respond to this topic. I think the solutions presented this far are interesting, but would like to hear what the Struts masters say. I haven't seen anything about this very common problem in the two Struts books I have or in the online docs. Come on Craig or

LookupDispatchAction

2003-02-12 Thread JONATHAN PHILIP HOLLOWAY
Does anybody know why the following is casuing me so many problems. I'm using LookupDispatchAction and have a number of methods defined in my action class including an execute method. The problem is that the execute method ALWAYS gets executed and not the intended method. I have in the

Re: Re: bean question

2003-02-12 Thread Jason Vinson
Dot notation worked for a single instance, but now i am trying to iterate through an array of them, and I get null pointer exceptions when i try to initialize the values. I am thinking this isn't related to struts directly though, but i guess it doesn't hurt to ask. Jason ---Original

RE: best place to keep the user specific XML files

2003-02-12 Thread Marco Tedone
To address this issue, i wrote a PlugIn with a property 'dbConfigLocation' set in the struts-config.xml file. Then a get/set method for the property must be written in your class. The set method is called automatically by the framework, while the getter method should return to you the property

Simple question

2003-02-12 Thread julian green
Is there a nifty way of accessing attributes of the form bean? Julian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: LookupDispatchAction

2003-02-12 Thread David Graham
The key method map should contain resource keys not actual message text. David From: JONATHAN PHILIP HOLLOWAY [EMAIL PROTECTED] Reply-To: JONATHAN PHILIP HOLLOWAY [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: LookupDispatchAction Date: Wed, 12 Feb 2003 17:03:57

Re: Simple question

2003-02-12 Thread David Graham
From where? David From: julian green [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Simple question Date: Wed, 12 Feb 2003 17:09:24 + Is there a nifty way of accessing attributes of the form bean? Julian

RE: Simple question

2003-02-12 Thread Guptill, Josh
You mean in a display .jsp? You could use a taglib: http://jakarta.apache.org/struts/doc-1.0.2/api/org/apache/struts/taglib/bean /package-summary.html#package_description -Original Message- From: julian green [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 12:09 PM To:

RE: Simple question

2003-02-12 Thread John Espey
formName.property inside an el expression or name=formName property=property inside of tags that support these two attributes but not EL where formName is the name of the form in struts-config.xml -Original Message- From: julian green [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: LookupDispatchAction

2003-02-12 Thread Rob Kischuk
The keys in your KeyMethodMap should correspond to messages in your message bundle used to render the button. So you would have in your jsp: html:submit bean:message key=button.add.banana/ /html:submit in your action: protected Map getKeyMethodMap(ActionMapping mapping, ActionForm form,

Re: Simple question

2003-02-12 Thread julian green
Sorry, from within a jsp. Julian David Graham wrote: From where? David From: julian green [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Simple question Date: Wed, 12 Feb 2003 17:09:24 + Is there a

RE: LookupDispatchAction

2003-02-12 Thread Wendy Smoak
The problem is that the execute method ALWAYS gets executed and not the intended method. Does anybody know why EXECUTE is called but the intended ADDBANANA method is not called? You've effectively undone the use of LookupDispatchAction by overriding the execute method without calling

[Validator] how to Validate DATE? it doesn't work ... HELP me PLS.

2003-02-12 Thread michael . korolyov
Hello, my date validation doesn't work on client (jsp) side. I need validate date in MM/dd/yy format. in validation.xml : formset form name=financeChartForm field property=startDate depends=required,date arg0 key=prompt.startDate/

Action without a Form. Error is Cannot retrieve definition for formbean null

2003-02-12 Thread Bert Catsburg
Hello, I am getting an error when requesting a JSP page. The extract from the Tomcat-Apache logfile is below. Also I have included the action-mappings from the struts-config.xml file. As you can see in there, I have no Form and JSP connected to that Action. When it is started by the user (via a

RE: Any good suggestions on implementing Security

2003-02-12 Thread Donald Dwoske
I didn't read this whole thread, so I might be duplicating some info or not answering your question at all... Look at http://securityfilter.sourceforge.net .. very nifty. Remember that open source is just that, you could use that as a baseline and add your own extensions if you wish, or just

Re: Simple question

2003-02-12 Thread David Graham
The form bean is stored in the session or request so your jsp can access it with: c:out value=${myForm.myProperty}/ David From: julian green [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Simple question

[JSTL] How can I use c:if to check the size of a list?

2003-02-12 Thread Peter S. Hamlen
I'm a bright new convert to the beautiful world of JSTL,and I'm struggling over one tricky issue. We're paging over a resultset using the c:forEach tag and specifying the start and end parameters. I would like to be able to create a previous and next button. Obviously, if we're at the end of

OT: Yet another Persistence Survey

2003-02-12 Thread Vic Cekvenich
I am curious as to what is popular and working in larger production sites (as opposed to still in development, or like less than 200 concurent users, or not working well in production or a theory as to what might work well) for persistence: A. Hibernate B. Castor C. Roll Your Own Beans/

RE: [JSTL] How can I use c:if to check the size of a list?

2003-02-12 Thread Brandon Goodin
Here are a couple great reference links: http://www.manning.com/bayern/appendixA.pdf http://rs1.vtu.lt:8080/jstl-examples/index.html Brandon Goodin Phase Web and Multimedia PO Box 85 Whitefish MT 59937 P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original

RE: [JSTL] How can I use c:if to check the size of a list?

2003-02-12 Thread Jerome Jacobsen
If you are iterating with c:forEach then use the iteration status which has a count property. See this example: c:forEach var=customer items=${customers} varStatus=status tr tdc:out value=${status.index}//td tdc:out value=${status.count}//td tdc:out

struts 1.1b3 weblogic 6.1sp2

2003-02-12 Thread Pascal Sourisseau
Hi, I've used struts 1.1b3 application want to deploy to weblogic... Some errors, exceptions occured... for struts-blank application also When i deploy struts-blank 1.02 application on weblogic it seems OK (deployement, execution)... Issues on weblogic 6.1sp2 usage ? Any suggestions ?

Re: [OT] Generating microsoft word documents (use HTML!!!)

2003-02-12 Thread Peter S. Hamlen
John, We had the same problem here - in particular, our clients were accustomed to some standard packets that were generated in Word and still wanted them to be Word documents, open them in Word, edit them in Word, but have the original document generated by our webapp. Our eventual solution:

Re: OT: Yet another Persistence Survey

2003-02-12 Thread Evan Schnell
Vic Cekvenich wrote: F. EJB We use service oriented architectures so there may be a Web Services or MQ layer between the webapp and the session beans. Either way our clients have been very happy with several different EJB containers. Evan. -- Evan Schnell, Technical Lead nVISIA, Twin

Re: Need Advise: use Struts/XSLT

2003-02-12 Thread Erik Bruchez
The article on TheServerSide.com actually comes with sample code that illustrates exactly this. Feel free to download it, the code is under an MPL / LGPL / GPL tri-license. Very bare-bones, but that can give you an idea of how to get started.

  1   2   >