Re: Question regarding filters in html-tags

2004-11-16 Thread René Thol
Hello David, David G. Friedman schrieb: I just skimmed over the SVN code repository for both html:text and html:textarea tags and it looks like it automatically behaves like a filter="true" with no option to set it differently. You could always go to bugzilla and request a modification. I skimmed

Re: Question regarding filters in html-tags

2004-11-16 Thread René Thol
Hi Bill, Bill Siggelkow schrieb: Rene, Can you explain what you are trying to do? Are you trying to prohibit/allow the user inputting HTML markup? I've got an application where users can enter data into different textfields, -areas. These data are stored within a database and may be altered by t

using a user-defing function inside EL

2004-11-16 Thread Rajesh
Hai i have a user-defing function in path Package : com.mypack.funs.Commons; Function: public static String sayHai(String name); can i use this code snippet inside my JSP page ${com.mypack.funs.Commons.sayHai(myName)} Regards, Rajmahendra R. Hegde GK Bharani Software Pvt. Lt

using a user-defing function inside EL

2004-11-16 Thread Rajesh
Hai i have a user-defing function in path Package : com.mypack.funs.Commons; Function: public static String sayHai(String name); can i use this code snippet inside my JSP page ${com.mypack.funs.Commons.sayHai(myName)} Regards, Rajmahendra R. Hegde GK Bharani Software Pvt. Lt

Re: talking about paradigms

2004-11-16 Thread Eddie Bush
That "think" was supposed to be "thick" :-) ... but "think" is appropriate to. As in too much logic there. Nasty stuff! Pain to maintain! My team just gained a few folks the other day - part of us are hoping to re-write the old ASP/COM stuff in Java/JSP using Struts :-) Oh happy day! :-D ---

Re: talking about paradigms

2004-11-16 Thread Dakota Jack
No pain no big bucks. Where'd you spend it Eddie? ;-) The "think" part is the part I like. I have never been enamored with the typing part of coding. The really powerful tools are the province of those who command some $$$. That is a GOOD reason to like the "think" part? LOL I also love

Reload the MessageResources ???

2004-11-16 Thread Eric Chow
Hello, I implement a EJBMessageResource that extends Struts' MessageResources. How can I reload the MessageResources after the application starts ??? Best regards, Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: talking about paradigms

2004-11-16 Thread Eddie Bush
There are obvious benefits to using XSLT as cited earlier (taking one input to multiple outputs - ie. different clients). I personally think that debugging the transformations is a major pain. My primary exposure to this has been through a a couple of ASP/COM apps at work. To me, the pages ar

[OT] User Preference System Design

2004-11-16 Thread Julian
Hi, I am a Struts Newbie and would appreciate if anyone could give me some pointers on a user preferences/ configuration system design. Perhaps a link to a good resource? I have an ASP system with several levels of "users" that are as broad as an organization and as fine-grained as an individual

Re: Error running CactusStrutsTest case with an ExtendedActionServlet instead of ActionServlet

2004-11-16 Thread Bill Siggelkow
Hmm .. the NoClassDefFoundError would indicate that the struts.jar is not included in your WEB-INF/lib. [EMAIL PROTECTED] wrote: Any help with this please... We extended our actionServlet with ExtendedActionServlet and when I tried to run my test from a browser in this fashion: http://localhost:

RE: Tiles:insert role(s)?

2004-11-16 Thread Dave Bender
The logic:present looks like a good solution, but I would be interested in seeing how you've defined a controllerClass to do the trick, too. Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 2:29 PM To: [EMAIL PROTECTED] Subject: R

RE: Question regarding filters in html-tags

2004-11-16 Thread David G. Friedman
I just skimmed over the SVN code repository for both html:text and html:textarea tags and it looks like it automatically behaves like a filter="true" with no option to set it differently. You could always go to bugzilla and request a modification. I skimmed through the bean:write tag and implemen

Error running CactusStrutsTest case with an ExtendedActionServlet instead of ActionServlet

2004-11-16 Thread Mick.Knutson
Any help with this please... We extended our actionServlet with ExtendedActionServlet and when I tried to run my test from a browser in this fashion: http://localhost:8080/ServletTestRunner?xsl=cactus-report.xsl&suite=com.wf.bd.ice.creditapplication.CreditapplicationSuite I got this error: -

Re: AW: AW: using multiple action forms in one action. Best practice?

2004-11-16 Thread Bill Keese
It's hard for me to answer because I don't really understand your application. JSP1 is for picking a region, and then JSP2 is for picking stores within that region, right? And then after picking the stores, you display a confirmation page with the map and the list of picked stores? When you hi

RE: Tiles:insert role(s)?

2004-11-16 Thread Charles . Gouin-Vallerand
Pedro have a better idea than I. I have forget it when I write my reply, but, in one of our application, we use a controller to show a menu, and this menu is not the same for all users. I can also send you an exemple for this controller. Charles -Original Message- From: [

RE: Tiles:insert role(s)?

2004-11-16 Thread salgado.pc
You can also define a controllerClass for your tiles definition and insert the tiles properties according to the user roles. If you need I can send you an example (tomorrow). Pedro Salgado > Hi Dave, > You can use the logic present to show what you want for a particular > role. You ca

RE: Problem with null value

2004-11-16 Thread Apte, Dhanashree (Noblestar)
If you are trying to do different processing in your action based on different buttons clicked in the form, you can use the Struts LookupDispatchAction instead of the normal Action class. It lets you map the buttons on your page to separate methods in your action. Please refer the struts API doc

Re: Old versions of strust for download?

2004-11-16 Thread Niall Pemberton
http://www.apache.org/dist/jakarta/struts/struts-legacy/ - Original Message - From: "Edward" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 16, 2004 6:12 PM Subject: Old versions of strust for download? > Hi all, > > I need to download jakarta-struts-1.0.zip so th

RE: Tiles:insert role(s)?

2004-11-16 Thread Charles . Gouin-Vallerand
Hi Dave, You can use the logic present to show what you want for a particular role. You can use it like this : With the logic:present you can write user as much that you want it. Charles -Original Message- From: Dave Bender [mailto:[EMAIL PROTECTED] Sent

Tiles:insert role(s)?

2004-11-16 Thread Dave Bender
Is it possible to make a tile show up for people from multiple roles? I'm building a dynamic menu and would like certain items to show up for people in different roles. For example: works great to make the admin link show up if the user in the 'admin' role. But I want some items to sho

Re: Contrib tld files on ibiblio ?

2004-11-16 Thread Bill Siggelkow
Keith, I did notice that JAR files for Struts-EL (which will contain the TLDs) are available for access from maven at http://cvs.apache.org/repository/struts/jars/ Bishop, Keith wrote: Hi, Could anyone direct me to the location of the contrib tld files ( i.e. struts-html-el.tld etc etc) on www.i

Re: Old versions of strust for download?

2004-11-16 Thread James Mitchell
I found this on one of the mirrors... http://www.axint.net/apache/jakarta/struts/struts-legacy/ -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Edward" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tues

Re: talking about paradigms

2004-11-16 Thread Don Brown
Now, now, Peter, you can't quite say that since you met me at the Struts user group at JavaOne. :) I've used stxx, an XML transformation Struts extension, for a production app and have been pretty happy with it. Performance is good, as long as one has memory resources available. The stylesheets

Old versions of strust for download?

2004-11-16 Thread Edward
Hi all, I need to download jakarta-struts-1.0.zip so that I can create a dev environment that matches production. Help appreciated! Thanks, Edward - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: talking about paradigms

2004-11-16 Thread Bill Siggelkow
As I recall the transformations were cached; performance was not an issue (also, this was a low-volume intranet application). Pilgrim, Peter wrote: -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: 16 November 2004 17:46 To: Struts Users Mailing List Subject: Re: talki

RE: Actions being executed twice

2004-11-16 Thread Owen Berry
To set the record straight, just in case anyone thought there was a problem with Mozilla/Firefox: no problem there, but apparently there is a problem with my eyesight. I did not notice earlier that the plain vanilla href is contained within a table cell that has a Javascript onclick event. Apologie

RE: talking about paradigms

2004-11-16 Thread Pilgrim, Peter
> -Original Message- > From: Dakota Jack [mailto:[EMAIL PROTECTED] > Sent: 16 November 2004 17:46 > To: Struts Users Mailing List > Subject: Re: talking about paradigms > > > Bill, > > Sounds like you don't need what XSLT provides. The important thing, I > think, is to make sure that

[OT] Re: talking about paradigms

2004-11-16 Thread Bill Siggelkow
Dakota, You are assessment is correct -- this was an app that I was involved with a few years back; I am not actively working with it now. The architecture of the system used a hand-rolled front controller to access pluggable "actions"; these "actions" accessed EJBs, then marshalled the returne

Re: Switching Modules and Request Processors

2004-11-16 Thread Susan Bradeen
On Tue, 16 Nov 2004 12:39:09 -0500, Jeff Beal <[EMAIL PROTECTED]> wrote: > If you're using a basic hyper-link to switch from moduleA to moduleB, > you can use the module attribute of the tag to avoid all of > the SwitchAction rigamarole. ( module="moduleB">LINK TEXT should do the trick) I don't

Re: Switching Modules and Request Processors

2004-11-16 Thread Susan Bradeen
On Tue, 16 Nov 2004 12:22:08 -0500, Bill Siggelkow <[EMAIL PROTECTED]> wrote: > I believe your observations are correct. If you want to avoid the > "special features" you could conditionally skip them if the request is a > SwitchAction to the new module ... just one idea. > Ok, thanks for the c

Re: talking about paradigms

2004-11-16 Thread Dakota Jack
Bill, Sounds like you don't need what XSLT provides. The important thing, I think, is to make sure that the framework leaves that option open for those that want it and does not require that option to those who do not want it. I am not privy to the details of your application, of course, but add

Re: Switching Modules and Request Processors

2004-11-16 Thread Jeff Beal
If you're using a basic hyper-link to switch from moduleA to moduleB, you can use the module attribute of the tag to avoid all of the SwitchAction rigamarole. (LINK TEXT should do the trick) I don't believe this will involve the request processor for moduleA in any way. Unfortunately, the

Re: talking about paradigms

2004-11-16 Thread Dakota Jack
Very interesting stuff, Adam. Very interesting! I do not see the filter as determining what the view would be but merely as providing data that would become part of the workflow as kept in the View Stores. The view would decide on what it wanted to do about this information in terms of present

Re: file upload, HttpSession content serialization failure, session size

2004-11-16 Thread Bill Siggelkow
OutputStreams are not serializable; in other words, when the object is deserialized chances are it cannot be restored the state it was in when it was serialized. Probably the best way to solve your problem is to to mark the field that holds the OutputStream (FormFile?) as "transient". [EMAIL PR

RE: Actions being executed twice

2004-11-16 Thread Owen Berry
David, Thanks for the suggestion. Unfortunately I do not have any Javascript on these links - they are plain vanilla href's: Home I tried logging the referer header, but they are the same for both requests. I do find it interesting that I can type the URL into the location bar instead of follow

Re: Switching Modules and Request Processors

2004-11-16 Thread Bill Siggelkow
I believe your observations are correct. If you want to avoid the "special features" you could conditionally skip them if the request is a SwitchAction to the new module ... just one idea. Susan Bradeen wrote: I have a Struts application that uses a custom request processor. Now I am trying to

Re: file upload, HttpSession content serialization failure, session size

2004-11-16 Thread Markku . Luotamo
- Tried commons-upload newest version 11604 nightly, not compatible with Struts 1.2.4. This is a commons-upload 1.1 development build that seems to be completely refactored. Nice, there seem to be portlet features support coming up. However, there is no specification version mentioned in the manif

Re: talking about paradigms

2004-11-16 Thread Adam Hardy
Using filters and different modules for delivering different HTML for different browsers is known in the HTML/CSS world as browser sniffing, and is frowned on by the HTML designer purists, but in the real world such modules could definitely be a highly attractive. Alot would depend on what you

Switching Modules and Request Processors

2004-11-16 Thread Susan Bradeen
I have a Struts application that uses a custom request processor. Now I am trying to add a module so that I have part of the app using the standard request processor. The custom request processor makes checks on things I don't want checked when entering into my second module. Is it true that in ord

Re: help files

2004-11-16 Thread Jeff Beal
I don't know of anything Struts-specific on this, but Oracle has a free help system that I have used in the past. The help files are authored in HTML and there are XML files for building a table of contents, an index, and a full-text search engine. Oracle provides a desktop client for adding

Re: Question regarding filters in html-tags

2004-11-16 Thread Bill Siggelkow
René Thol wrote: Hello everybody, unfortunately I did not find anything within the ML archive regarding this topic! My question is: Is there any mechanism like the filter="false" within the tag for the html:text and html:textarea tags? Or does exist another way to protect the contents of the la

Re: talking about paradigms

2004-11-16 Thread Bill Siggelkow
Jack, What I found was that alot of Java code to generate XML (using DOM API) had to be added in the controller layer to facilitate the view; for example, an odd/even indicator was added just to facilitate striping on the generated HTML table; to me, this seems downright overkill for some featu

file upload, HttpSession content serialization failure, session size

2004-11-16 Thread Markku . Luotamo
Hello - I'm using Struts 1.2.4 HTML form upload to upload files (e.g. FormFile and commons-upload 1.0 bundled with Struts ) In order to keep my app clusterable, I want to keep all HttpSession content serializable. To enforce this in a non-app-server-specific way (and also to get heuristics on se

Question regarding filters in html-tags

2004-11-16 Thread René Thol
Hello everybody, unfortunately I did not find anything within the ML archive regarding this topic! My question is: Is there any mechanism like the filter="false" within the tag for the html:text and html:textarea tags? Or does exist another way to protect the contents of the latter both tags f

Re: AW: talking about paradigms

2004-11-16 Thread Dakota Jack
David, You are a clear thinker. I am jealous. That should end that discussion. LOL Jack On Tue, 16 Nov 2004 09:59:30 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Dang, you must've gotten the New and Improved Super Java. You know the one > without any NullPointerExceptions. Whe

RE: AW: talking about paradigms

2004-11-16 Thread Daniel Perry
intermixed... > This is a simple sintaxis issue... > parameters in java are not passes as pointers.. they are passed as values > ( the memory address of the object in the heap ).. emm... that's a pointer :) passing variables by reference or value is neither here nor there. "pointer - An address,

Problem with null value

2004-11-16 Thread Mauro Morales M.
Hi, In my .jsp have follow html code First is my update button, second delete button, both in same form. This is my form code public String getResActualizar () { return this.resActualizar; } public void setResActualizar (String resActualizar) { this.resActualizar

Re: AW: talking about paradigms

2004-11-16 Thread Dakota Jack
LO! Lucas, You changed the topic from pointers to whether parameters are pointers. That is a different question. Again, there are real pointers in Java. Again, every object reference is such a pointer. I assume you meant "syntax issue". This is not a syntax issue. Pointers are referents to

Re: talking about paradigms, or why there are no pointer in java

2004-11-16 Thread Rosenberg, Leon
Ok, it's getting really OT here, but: I've just copied the definition for both, pointers and references, from wikipedia: In computer science, a pointer is a programming language _datatype_ whose value is used to refer to ("points to") another value stored elsewhere in the computer memory. [htt

help files

2004-11-16 Thread andy wix
Hi, I am wondering if there is a standard Struts approach to having system help files. I am using an image button and javascript to create a nice small chromeless windows in which to display my help text (I don't use the struts framwork), but would like the help text to come from the resource f

Re: AW: talking about paradigms

2004-11-16 Thread DGraham
Dang, you must've gotten the New and Improved Super Java.  You know the one without any NullPointerExceptions.  Where can I get a copy? "Rosenberg, Leon" <[EMAIL PROTECTED]> 11/16/2004 05:46 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "Struts Users Mailin

Re: talking about paradigms

2004-11-16 Thread Dakota Jack
Hello, Adam, You are definitely right that this is a crucial part of any web application, and not only for browsers but also for flash, javascript, etc. versions. This is so important in the overall picture for web programming that perhaps a whole separate set of interfaces amounting to a separat

Re: AW: talking about paradigms

2004-11-16 Thread Lucas Gonzalez Pearson
This is a simple sintaxis issue... parameters in java are not passes as pointers.. they are passed as values ( the memory address of the object in the heap ).. so if we are to be precise there are no real pointers in java... however.. the main difference with C/C++ is that you cannot do ar

Re: AW: talking about paradigms

2004-11-16 Thread Struts User
I agree with Jack. There are pointers everywhere in Java. Java learns from C++ mistake by "hiding" error prone functionality such as pointers. Joshua Block's book is not a Java Book for beginner. It is target for experience developer. Probably you should look into Bruce Eckel's on-line book for mo

Re: AW: talking about paradigms

2004-11-16 Thread Dakota Jack
Hello, Leon, There are pointers in Java. Every object is referenced by a pointer. Indeed, how else could an object be referenced? I am not sure why you cited Joshua Bloch's book on this. There is not, as Eddie said, pointer arithmetic. Jack On Tue, 16 Nov 2004 11:46:05 +0100, Rosenberg, Leo

RE: talking about paradigms

2004-11-16 Thread Pilgrim, Peter
All mixed up below > -Original Message- > From: Rosenberg, Leon [mailto:[EMAIL PROTECTED] > Sent: 16 November 2004 10:58 > To: Struts Users Mailing List; Dakota Jack > Subject: AW: talking about paradigms > > > Hi Jack, > > I like you kind of "cashing out", but I think your diagram > m

Re: can i get solved example

2004-11-16 Thread Jay Chandran
Hi, You can go through "Professional jakarta Struts 1.1" written by james goodwill and richard hightower. its published by wrox . jay - Original Message - From: "Nishant" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 16, 2004 4:40 PM Sub

Re: can i get solved example

2004-11-16 Thread Erik Weber
http://wiki.apache.org/struts/StrutsArticles Erik Nishant wrote: hi, can i get anywere solved struts examples because it will made easy to understand struts Nishant Patil Software Engineer Cybage Software Pvt. Ltd. (A CMM Level 3 Company) West Avenue , Kalyani Nagar, Pune - 411 006 Tel: 91-20-

can i get solved example

2004-11-16 Thread Nishant
hi, can i get anywere solved struts examples because it will made easy to understand struts Nishant Patil Software Engineer Cybage Software Pvt. Ltd. (A CMM Level 3 Company) West Avenue , Kalyani Nagar, Pune - 411 006 Tel: 91-20-4041700 -355 Email: [EMAIL PROTECTED] Website: www.cybage.com T

AW: talking about paradigms

2004-11-16 Thread Rosenberg, Leon
Hi Jack, I like you kind of "cashing out", but I think your diagram misses some points. In fact the view-controller itself is a view on the application model, where the business logic unit (which can be a component in a co-architecture i.e. session-bean) is the appropriate controller. So a comp

RE: talking about paradigms

2004-11-16 Thread Daniel Perry
XSLT makes me wince... I love what you can do with it, I just hate writing it! I think one of the big differences between xslt and jsp is that in jsp all the complexities are hidden until you choose to use them. You can stick pure html in a jsp file and it works. You can add some jstl, or maybe

AW: talking about paradigms

2004-11-16 Thread Rosenberg, Leon
Hi Eddie, thanx for your reply, I will put it in my poetry album, and reread eat, each time I'm asking myself about the sense of the living... Sad, but my problems are rather in the real world, where the developers aren't Jedi or whatever Knights, but a bunch of guys, with each of them being nei

Re: talking about paradigms

2004-11-16 Thread Adam Hardy
Jack, one thing you missed off the diagram is the HTML reader. A public website often has to cater for: - old browsers like Netscape 4 - text only browsers like lynx - PDA browsers with no javascript etc - spiders which ignore sessions - screen readers for the blind all of which make strong deman

Re: Use JSTL with html:multibox tag

2004-11-16 Thread andy wix
Thanks for the input - i've had a play and can't get it to work and now my patience has timed out so i'll use the logic:iterate method instead. Thanks, Andy _ Use MSN Messenger to send music and pics to your friends http://www.msn.c

AW: AW: using multiple action forms in one action. Best practice?

2004-11-16 Thread Martin Kindler
Hi Bill, so you say, it is good practice to use the two forms in one action as I do in my current solution? Sure, one has to hide the internals from AF1 to an action primarily designed to use AF2 to keep the address module generic. Perhaps I should make the calling ActionForms implement a specific

RE: multiThread, action and Database access

2004-11-16 Thread McCormack, Chris
Set a HTTP header to refresh the request every 30 seconds. -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: 16 November 2004 08:45 To: Struts Users Mailing List Subject: Re: multiThread, action and Database access You need to be more specific, I think. See below: Ja

Re: multiThread, action and Database access

2004-11-16 Thread Dakota Jack
You need to be more specific, I think. See below: Jack On Tue, 16 Nov 2004 07:33:40 +0100 (CET), Ryan julius <[EMAIL PROTECTED]> wrote: > Hi, > > I have in my project, an action /ReadDataBaseData.do and the corresponding > handler : > public ActionForward accessDatabase(ActionMapping, ActionFo

RE: Actions being executed twice

2004-11-16 Thread Lesaint Sébastien
Hi, I had the same problem once. After a lot of investigation, turned out this was due to the tag and the way I used tiles. In any case, check the value of the tag in the final HTML code. It might point to one of your actions. Some browser send a request to it to check if the base URL actually

Re: talking about paradigms

2004-11-16 Thread Dakota Jack
Point well taken, Frank. The complexity is real but is less severe than the alternative of using repetitive relative simplicity requiring you to recode the entire thing: brains instead of brute force. The thing is always balancing the scales, right? Give a little get more is the objective. Look