parameter passing from one jsp-screen to another

2005-03-08 Thread jj endenburg
Hi everyone, I have the following problem: how can I pass a parameter from a jsp-screen A to a jsp-screen B within the struts-framework? More concrete: Screen A has several clickable link instances to screen B. Each link instance has its own (dynamically calculated) parameter value to pass to

Re: Hibernate Struts Example

2005-03-08 Thread Sebastian Hennebrueder
You may also try this one. Sorry, that it was unfindable. ;-) http://www.laliluna.de/struts-hibernate-integration-tutorial-en.html Regards Sebastian Hennebrueder http://www.laliluna.de Tutorials for JSP, JavaServer Faces, Struts, Hibernate and EJB Daniel Watrous wrote: I have written a very

Cannot find bean error in any scope

2005-03-08 Thread Sébastien GALLET
Hi. I try to developp tools which allows me to store messages and validation ressources to the server (jboss) and make them accessible via JNDI. The goal is to use them with differents back-ends (webapp with struts, webservices, beans, etc, ...). To do this, I developp a plug-in to retrieve

RE: parameter passing from one jsp-screen to another

2005-03-08 Thread [EMAIL PROTECTED]
Well, how about using a query string parameter in your links? http://foo.com/myapp/bar.jsp?itemId=1 http://foo.com/myapp/bar.jsp?itemId=2 And so on? The Struts html:link tag (or the JSTL c:url tag) can be used to dynamically create your links.

form-bean and persistent data in session scope

2005-03-08 Thread Raghuveer Vellanki
Dear Erik, In My struts application ,i used 50 form beans in session scope. My application will be accessed by 200 users daily. Does it leads to performance issue ,if using form beans in session. Can you clarify me when does the form bean object would be removed in session scope after it's use.

Initialize new Form from action

2005-03-08 Thread Hond4
Hallo list members, i'm looking for solution how to create new form in one action for another. Here is small example: action path=/Edit type=... name=inFormA validate=false scope=session forward name=view path=/View.do redirect=false

RE: parameter passing from one jsp-screen to another

2005-03-08 Thread Raghuveer Vellanki
hi jap in your screen-A , add code as below with 2 parameter values to be sent to screen B lia href=bean-parameter.jsp?param1=value1param2=value2click here to test bean:parameter/a/li in your screen-B bean:parameter id=param1 name=param1/ bean:parameter id=param2 name=param2/ table border=1

NotSerializableException with DeferredFileOutputStream

2005-03-08 Thread Bernd Schiffer
Hi. When I upload a file (an attachment) to my webapp, I use a ActionForm with a 'private FormFile attachFileField;' in it. Now, when I use my webapp and upload files, I get permanently Exceptions in my Tomcat console like the following one: INFO: Cannot serialize session attribute attachForm

Hidden parameter passing: RE: parameter passing from one jsp-screen to another

2005-03-08 Thread jj endenburg
Thank you Erik! Actually, the information in my question was not complete. I am sorry for this... The parameter to pass from jsp-screen A to jsp-screen B should stay hidden from the end-user. This is why displaying this parameter in the URL is not possible, unfortunately. Instead of this, how can

handling multiple forms with multiple formbeans in struts

2005-03-08 Thread Raghuveer Vellanki
can any one provide information for handling multiple forms with multiple formbeans in struts with struts 1.1 raghu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: DownloadAction Application

2005-03-08 Thread Rajaneesh
So the struts upload uses octet stream and the user does not need to worry if the file being uploaded is a binary or ascii! -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 11:44 AM To: Struts Users Mailing List Subject: Re: DownloadAction

RE: Hibernate Struts Example

2005-03-08 Thread Nils Liebelt
Hi, I just had a quick look at the example. Works fine for the book shop. But you should keep in mind that pushing businessobjects to view is not what MVC indented even if nested inside an ActionForm. Your ActionForms should only contain String types. Since this is the type method GET/POST is

RE: Hibernate Struts Example

2005-03-08 Thread Nils Liebelt
Hi, I just had a quick look at the example. Works fine for the book shop. But you should keep in mind that pushing businessobjects to view is not what MVC indented even if nested inside an ActionForm. Your ActionForms should only contain String types. Since this is the type method GET/POST is

Help Me!!!!

2005-03-08 Thread K Rajesh
I am new to struts.i bought struts complete reference book. i tried one MiniHR Application. but is not working. if i put any index.html or jsp into C:\Tomcat\Webapps\strt\ is working fine. if i change any thing inside web.xml or creating struts-config.xml file it is not working. kindly let me know

Re: Help Me!!!!

2005-03-08 Thread Caroline Jen
What are the changes that you made to the web.xml file? What kind of the struts-config.xml you created? Show us those files so that we are able to help. --- K Rajesh [EMAIL PROTECTED] wrote: I am new to struts.i bought struts complete reference book. i tried one MiniHR Application. but is not

Bean Taglib Help

2005-03-08 Thread Richard Reyes
Hello All, I have this code... % User user = ( User ) session.getAttribute( Konstants.SESSION_USER_KEY ) ; ArrayList x = user.getRusers() ; request.setAttribute( x,x ) ; % display:table name=x pagesize=5 class=simple display:column property=username

Re: focus on an image when the page loads in struts

2005-03-08 Thread jj endenburg
Hello Raghuveer, Thank you for your help on my problem. I will take a close look at it. I am not sure whether I understand your problem completely. The following code might help you: a href=javascript:popup('pathname1.jsp',600,378); img src='pathname2.gif' border='0' /a Jan-Jaap Raghuveer

Re: Bean Taglib Help

2005-03-08 Thread Nicolas De Loof
You can use the EL-enable version of display tag to do this (assuming Konstants.SESSION_USER_KEY = users) : display:table name=${user.rusers} pagesize=5 class=simple Now, if you don't want to break constants usage, you may try to use jakarta unstandard taglib to bind the static field from your

Re: tiles:insert and tiles:put an attribute and the import it to request scope

2005-03-08 Thread Tim Christopher
Not sure if this is what you're asking but here's a quick example that shows how to access the information stored in the tiles-defs.xml in a file other than your layout page # Extract from tiles-defs.xml # definition name=.public.welcome

Re: Cannot find bean error in any scope

2005-03-08 Thread Sébastien GALLET
I've found the solution. I forgot to use the bundle parameter in html:messages Now I've got another problem : If I put the message-resources in global key (key not defined) everything works fine : Validation failed. * The field name2 is required. But if I put it in a custom key (ie person)

Re: bean:write filter=false

2005-03-08 Thread Jeff Beal
Where do the contents of the bean you are writing come from? Is this something like a message board where users are posting content with HTML formatting, and you want to be sure they're not uploading scripts for security reasons? If that's the case, I'd be sure to filter out any script/ tags

Easy: Including a file with a parameter?

2005-03-08 Thread David Kennedy
I have several pages which include a header like this: [EMAIL PROTECTED] file=../includes/header.jspf% I would like to pass a resource bundle key into the header so that bean:message key=passed.in.key/ can be used to customise the header for this page. I can see how jsp:include or maybe

Re: why complicate? was: Eliminate Setup Actions

2005-03-08 Thread David Johnson
Frank can you send us a link when you have something? I for one am waiting with bated breath :) D On Tue, 8 Mar 2005 01:12:18 -0500, Frank W. Zammetti [EMAIL PROTECTED] wrote: In what way? -Original Message- From: Dakota Jack[EMAIL PROTECTED] Sent: 3/8/05 12:34:50 AM

Re: form-bean and persistent data in session scope

2005-03-08 Thread Jeff Beal
As far as I know, Struts never explicitly removes form beans from session scope. This does create the potential for performance issues, simply because those form beans take up memory. With a limited user base, you can probably throw enough RAM into your server to avoid serious problems, though.

Fwd: session.invaludate(); not working in LogoffAction

2005-03-08 Thread David Johnson
oops meant to send this to the list as well. -- Forwarded message -- From: David Johnson [EMAIL PROTECTED] Date: Tue, 8 Mar 2005 09:15:52 -0500 Subject: Re: session.invaludate(); not working in LogoffAction To: Max Cooper [EMAIL PROTECTED] Well, it's interesting actually. What

Initialize new Form from action

2005-03-08 Thread DGraham
Return Receipt Your Initialize new Form from action document:

RE: form-bean and persistent data in session scope

2005-03-08 Thread Raghuveer Vellanki
Jeff Beal, At some places we have removed the data from session by calling RESET() method of form bean in Action file. But at certain situations we could not use reset for persistence in more then 2 JSP pages. As, we are new for development of our web applications in struts, we could not resolve

Re: Eliminate Setup Actions

2005-03-08 Thread Joe Germuska
Sorry, I haven't been following this whole thread, but when I saw this config example from Frank: action path=myAction type=com.omnytex.actions.MyAction setupItem class=com.omnytex.setup.MyActionSetup method=setupMethod1 / forward name=defaultForward path=page1.jsp

Re: form-bean and persistent data in session scope

2005-03-08 Thread Antony Joseph
Hi Raghuveer, You will have to clean up the session yourself. Generally an application will have some type of menu (links). If you follow a naming convention for the mappings for the menu items (mapping seperate than that for the action), you can check for that and clean up the session. This

Re: why complicate? was: Eliminate Setup Actions

2005-03-08 Thread Frank W. Zammetti
Absolutely! I'm working on it right now... my son got sick last night, so I didn't get to it, but it looks like I have a light day at the office today, so I should get a few hours in. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue,

Re: Displaying a HashMap as a select

2005-03-08 Thread Jeff Beal
Even if the results coming out of the database are sorted, throwing them into a non-sorted Collection, like a basic HashMap, will un-sort them. If you use a List, you just preserve the database sort order. If you use a TreeMap, you can get the same sort order, but the TreeMap object will go

Re: Eliminate Setup Actions

2005-03-08 Thread Frank W. Zammetti
No Joe, you didn't miss anything :) I was already thinking about how easy this would be under 1.3 too. But, I'm hesitant to start playing with 1.3 until it's actually released (at least in beta). This is an easy add to 1.3, as you indicate, and I'm also looking forward to porting my StrutsWS

Re: Two css files

2005-03-08 Thread Karan
lols..okay Bernd. Thanks for the info. Regards, Karan Bernd Schiffer wrote: Hi Karan. Karan wrote: I don't have an answer to your problem, but I do have a question: The user of your webapp can customize extendedCssStyle for his/her own layout settings. But a different user can modify it again for

RE: MVC Frameworks

2005-03-08 Thread Justin Morgan
Thanks... I recently picked up Rod Johnson's J2EE Design and Development (ISBN: 0-7645-4385-7), and Chapter 12 is titled Web-Tier MVC Design... I'm going to assume this chapter is pretty similar to the one you mention. I agree with you that this author is incredibly clear-minded, and I'm

Re: Eliminate Setup Actions

2005-03-08 Thread Joe Germuska
At 9:37 AM -0500 3/8/05, Frank W. Zammetti wrote: No Joe, you didn't miss anything :) I was already thinking about how easy this would be under 1.3 too. But, I'm hesitant to start playing with 1.3 until it's actually released (at least in beta). This is an easy add to 1.3, as you indicate, and

Re: Eliminate Setup Actions

2005-03-08 Thread Frank W. Zammetti
On Tue, March 8, 2005 9:48 am, Joe Germuska said: I do think we're pretty close, although not much has happened since the last wave of what will 1.3.0 be discussions. I know I haven't had much time for development and documentation in the last few weeks. I know the feeling :) I'm actually

Re: DispatchAction - NullPointerException

2005-03-08 Thread Rick Reumann
Basile Passe wrote the following on 3/7/2005 12:49 PM: The value of the request parameter named method to pick the appropriate execute method is not valid. But why? struts-config.xml is correct and form (JSP) also. Well, not sure exactly what you mean above. I'm assuming since you said it works

Re: MVC Frameworks

2005-03-08 Thread Nicolas De Loof
Here is my response to such questions : 1. Why do you prefer Struts over any other web application framework? (Tapestry, JSF, Maverick, WebWork, etc) I don't use Struts because I think it is the best framework. I use it because my dev team has some experience using it. Having to change MVC

Re: Eliminate Setup Actions

2005-03-08 Thread Hubert Rabago
On Tue, 8 Mar 2005 10:14:36 -0500 (EST), Frank W. Zammetti [EMAIL PROTECTED] wrote: You mean as far as 1.x goes? I'm just looking now to see how the config file is read in (haven't played with Digester at all yet). But yes, just dropping the doctype was how I was going to, temporarily, get

RE: [ANN] Struts-JSF London Networking BOF VIII / Tuesday / 15th March 2005 @ 18:45 / Oracle City of London

2005-03-08 Thread Pilgrim, Peter
-Original Message- From: Pilgrim, Peter ==== WHAT: This is just a `reminder' that ``The Struts-JSF London Networking'' group is holding the eight meet-up event next Tuesday 15th March 2005 at Oracle office in the city of London at ``18:45'' The meeting will take place in a room

Re: Eliminate Setup Actions

2005-03-08 Thread Hubert Rabago
LOL, sorry Frank, I didn't mean to drown you in documentation. :) On Tue, 8 Mar 2005 09:31:04 -0600, Hubert Rabago [EMAIL PROTECTED] wrote: On Tue, 8 Mar 2005 10:14:36 -0500 (EST), Frank W. Zammetti [EMAIL PROTECTED] wrote: it might be helpful to review those messages as there were some

Re: MVC Frameworks

2005-03-08 Thread Dakota Jack
If you look at the one I mentioned, he discusses everything. On Tue, 8 Mar 2005 08:44:26 -0600, Justin Morgan [EMAIL PROTECTED] wrote: Thanks... I recently picked up Rod Johnson's J2EE Design and Development (ISBN: 0-7645-4385-7), and Chapter 12 is titled Web-Tier MVC Design... I'm going

Re: [OT] Poll: Does Dakota Jack have a job? :)

2005-03-08 Thread Brady Hegberg
My personal theory was that you three are new experimental AIs that have taken up residence on this mailing list...the one that answers the most Struts questions and has the best jokes wins the Turing award. There have been some interesting threads on here lately. I wish I (or someone) had time

Re: MVC Frameworks

2005-03-08 Thread Dakota Jack
For my part, I still prefer Struts because I think it has a great potential if it endorses some move to IoC and does not fall off the strict web MVC pattern. I have no time for the event-based frameworks like Echo, Tapestry, JSF, Shale, etc. Others need that sort of thing. What framework you

Re: [OT] Poll: Does Dakota Jack have a job? :)

2005-03-08 Thread PA
On Mar 08, 2005, at 17:22, Brady Hegberg wrote: [...] new experimental AIs [...] to create a weekly summary. http://en.wikipedia.org/wiki/Markov_chain Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe,

SwitchAction

2005-03-08 Thread Hauschel Fred
Hey all, i've a menu that routes to some different struts content modules. The menu items call a switch action. The switch action changes the Module in the request, but not my RequestProcessor. I think the calling order is like this: 1. ActionServlet.getRequestProcessor() // The active module

RE: Displaying a HashMap as a select

2005-03-08 Thread Nidel, Mike
Note that there's also the java.util.LinkedHashMap which will maintain whichever order you insert the values in. This gives you the consistency of TreeMap without the overhead of resorting, if your data is already sorted when you're populating the Map. It also has a funky LRU-style option that

Re: [OT] Poll: Does Dakota Jack have a job? :)

2005-03-08 Thread Frank W. Zammetti
Well, at least you associated the term INTELLIGENCE with me :) I can certainly live with tha..ldlklja;sdkljhk;jashjfhka;kd dlafkajflhaldjksfhkjasdlfkf ladhfkjadhfklhkldjashfjhads ladkjflkdajfkl;jdsklf;jlksd l123h98248cn8912vn948123vn9 049vnvn7249p78v9p874vn98v7v Sorry... cache cleanout cycle.

RE: [OT] Poll: Does Dakota Jack have a job? :)

2005-03-08 Thread Fergal O'Shea
Well, at least you associated the term INTELLIGENCE with me :) I can certainly live with tha..ldlklja;sdkljhk;jashjfhka;kd dlafkajflhaldjksfhkjasdlfkf ladhfkjadhfklhkldjashfjhads ladkjflkdajfkl;jdsklf;jlksd l123h98248cn8912vn948123vn9 049vnvn7249p78v9p874vn98v7v Sorry... cache cleanout cycle.

Re: DispatchAction - NullPointerException

2005-03-08 Thread Basile Passe
Hey Rick, Thanks for your reply. On Tue, 08 Mar 2005 10:18:30 -0500, Rick Reumann [EMAIL PROTECTED] wrote: Basile Passe wrote the following on 3/7/2005 12:49 PM: The value of the request parameter named method to pick the appropriate execute method is not valid. But why? struts-config.xml

RE: MVC Frameworks

2005-03-08 Thread Michael Oliver
I completely agree (did I say that to DJ?). While you can start a flame war reminiscent of the Wordstar vs. Word or Supercalc vs. Lotus in the old days, with the question Which Framework is best the fact is, as Jack says, it depends. I prefer struts for what we are doing, primarily because we

inputting floats with html:text

2005-03-08 Thread katre
Hello! I have an application where I am using html:text to allow the user to input floating point numbers. This works fine, except for when the numbers are fairly small, ie 0.001. In this case, I can use the org.apache.struts.taglib.bean.format.float property to set display, but when I

Re: DispatchAction - NullPointerException

2005-03-08 Thread Eric Lemle
The execute method can be used to put code that will apply to all the dispatched methods. *--- public class BasicInfoAction extends DispatchAction { private String thing1; private String thing2; public ActionForward

RE: inputting floats with html:text

2005-03-08 Thread Slattery, Tim - BLS
I have an application where I am using html:text to allow the user to input floating point numbers. This works fine, except for when the numbers are fairly small, ie 0.001. In this case, I can use the org.apache.struts.taglib.bean.format.float property to set display, but when I

RE: MVC Frameworks

2005-03-08 Thread Woodchuck
hihi all, i was also questioning frameworks and such. i mean, i was happily using Struts when all of a sudden so many 'off-spring' or 'hybrid' frameworks started popping up from nowhere (Spring, Hibernate, Cocoon, Tibco, JSF, Tapestry, paste acronym here). why?? human nature. it is human

Re: Using a CSS file

2005-03-08 Thread James Mitchell
I'm glad you asked. I keep a few links here on my home page: http://www.google.com/search?hl=enq=css+import -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: N G [EMAIL PROTECTED] To: Struts Users Mailing

Re: tiles:insert and tiles:put an attribute and the import it to request scope

2005-03-08 Thread wo_shi_ni_ba_ba
Tim, thanks for the example. What I really want is to modify the value of the attribute title from content.jsp and then acess this attribute from somepage.jsp. How can this be achieved? thank you! --- Tim Christopher [EMAIL PROTECTED] wrote: Not sure if this is what you're asking but here's a

Re: Displaying a HashMap as a select

2005-03-08 Thread Jeff Beal
Good point. I had forgotten about that class (added in JDK 1.4). On Tue, 08 Mar 2005 11:18:50 -0500, Nidel, Mike [EMAIL PROTECTED] wrote: Note that there's also the java.util.LinkedHashMap which will maintain whichever order you insert the values in. This gives -- Jeff Beal Webmedx, Inc.

attribute passing between jsps

2005-03-08 Thread wo_shi_ni_ba_ba
Hi folks, I have A.jsp page that uses some layout as the following: tiles:insert definition=common.default tiles:put name=body value=content.jsp/ tiles:put name=nav value=nav.jsp /tiles:put /tiles:insert Now I want to either 1)insert an

Disable Backspace Key using Firefox

2005-03-08 Thread Hyrum
I need to disable the backspace key. I am using a Firefox Browser, and can find very little information about how to do this. I've searched all over the web, but it's mostly info about IE or Netscape. I'm getting mixed signals. Some say it can't be done. Others say they've done it, but either

Disable Backspace Key using Firefox

2005-03-08 Thread Hyrum
I need to disable the backspace key. I am using a Firefox Browser, and can find very little information about how to do this. I've searched all over the web, but it's mostly info about IE or Netscape. I'm getting mixed signals. Some say it can't be done. Others say they've done it, but either

Re: [OT] Poll: Does Dakota Jack have a job? :)

2005-03-08 Thread Dakota Jack
Actually: Rick = Experimental You = Artificial Me = Intelligence lol On Tue, 8 Mar 2005 16:37:28 -, Fergal O'Shea [EMAIL PROTECTED] wrote: Well, at least you associated the term INTELLIGENCE with me :) I can certainly live with tha..ldlklja;sdkljhk;jashjfhka;kd

struts html tags and form-beans

2005-03-08 Thread wo_shi_ni_ba_ba
hi folks, if I just use plain html code(not struts html: tags) for constructing input types like radios, textfield,etc, would I still be able to use form-bean for automatic retrieving and populating as long as I wrap all the inputs in a form and set the form action to be an action associated with

Mavenized build now does consolidated docs

2005-03-08 Thread James Mitchell
I've finished pulling together a multiproject version of the Maven documentation. This does _NOT_ include the content from core/docs which is what you see at http://struts.apache.org/ This documentation is based generated automatically by Maven. There's still lots of work to do, but here is

Re: struts html tags and form-beans

2005-03-08 Thread Jeff Beal
Yes. The html:/ tags automate the work of pulling values from the form and displaying them to the user. For example, in the case of displaying invalid responses to the user for them to correct. On Tue, 8 Mar 2005 11:07:15 -0800 (PST), wo_shi_ni_ba_ba [EMAIL PROTECTED] wrote: hi folks, if I

RE: map-backed forms with multibox/multiselect lists?

2005-03-08 Thread Nidel, Mike
The good news is that this DOES work. I simply declared my methods to be public void setFoo(String key, String[] foos) { ... } public String[] getFoo(String key) { ... } and everything works fine. It took a detour through the Struts source (and ultimately from there through the beanutils

Re: Using a CSS file

2005-03-08 Thread N G
Very cute, James. Yes, I broke the convenant of first try searching on google. Thanks for pointing it out so eliquently. NG On Tue, 8 Mar 2005 13:06:42 -0500, James Mitchell [EMAIL PROTECTED] wrote: I'm glad you asked. I keep a few links here on my home page:

Re: struts html tags and form-beans

2005-03-08 Thread wo_shi_ni_ba_ba
hi, What I meant was even if I don't use strut's html tags I would still be able to take advantage of this automation, right?(or not?) I want to use plain html to render input types. --- Jeff Beal [EMAIL PROTECTED] wrote: Yes. The html:/ tags automate the work of pulling values from the

Re: Using a CSS file

2005-03-08 Thread N G
That's eloquently. I did a google search on it. On Tue, 8 Mar 2005 15:27:53 -0500, N G [EMAIL PROTECTED] wrote: Very cute, James. Yes, I broke the convenant of first try searching on google. Thanks for pointing it out so eliquently. NG On Tue, 8 Mar 2005 13:06:42 -0500, James Mitchell

Re: Hidden parameter passing: RE: parameter passing from one jsp-screen to another

2005-03-08 Thread Erik Weber
Well, this is not great nice solution in my opinion, but it does seem to be popular. This requires you to have a form on screen A and to use POST instead of GET to request screen B. Also, it requires JavaScript. You could make all your links have the same URL, but put an onclick JavaScript

RE: struts html tags and form-beans

2005-03-08 Thread Nidel, Mike
No. This won't work automatically. You can, however, use the bean:write... tags or use scriptlet code to access your form bean in the request/session and pull the properties out that you need. -Original Message- From: wo_shi_ni_ba_ba [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08,

[OT] For all european developers

2005-03-08 Thread Leon Rosenberg
you probably will be interested in this link: European Anti-Software Patent Bribe Pledge Drive http://mjr.iki.fi/texts/patentfund regards Leon

[OT] For all european developers

2005-03-08 Thread Leon Rosenberg
you probably will be interested in this link: European Anti-Software Patent Bribe Pledge Drive http://mjr.iki.fi/texts/patentfund regards Leon

Re: Hidden parameter passing: RE: parameter passing from one jsp-screen to another

2005-03-08 Thread Rick Reumann
jj endenburg wrote the following on 3/8/2005 5:43 AM: Actually, the information in my question was not complete. I am sorry for this... The parameter to pass from jsp-screen A to jsp-screen B should stay hidden from the end-user. This is why displaying this parameter in the URL is not possible,

Re: Hidden parameter passing: RE: parameter passing from one jsp-screen to another

2005-03-08 Thread [EMAIL PROTECTED]
jj endenburg wrote: Thank you Erik! Actually, the information in my question was not complete. I am sorry for this... The parameter to pass from jsp-screen A to jsp-screen B should stay hidden from the end-user. This is why displaying this parameter in the URL is not possible, unfortunately.

Re: Disable Backspace Key using Firefox

2005-03-08 Thread Mike Robinson
Hyrum, This is not really a struts issue and should be addressed to another, mor appropriate mailing list. But that being said, here's a potential solution that uses javascript. The code below is for trapping a carriage return but could be adapted for any keystroke. !-- Original: Volker

missing module configuration

2005-03-08 Thread Jennifer Ball
Hello, I'm using the struts-faces integration library so as to include struts clientside validation in my JSF app. I am following the examples included with the library as near as I can, but I keep getting this error when I try to run the application: java.lang.IllegalArgumentException:

Re: map-backed forms with multibox/multiselect lists?

2005-03-08 Thread Radu Badita
That's great! Thanks for sharing. Next time I'll know how to do it. Luckily you proved to be more determined and finally solved it. Congratulations! Nidel, Mike wrote: The good news is that this DOES work. I simply declared my methods to be public void setFoo(String key, String[] foos) { ... }

RE: MVC Frameworks

2005-03-08 Thread Fogleson, Allen
I think the biggest argument was stated by Nicolas. I use struts because I like it sure, but I really use it because it is the framework that the client will accept and pay for and my developers know best. We recently used (portions) of Spring on a project and had a heck of a time getting the

[Validator] maxlength JavaScript not generated

2005-03-08 Thread Matt Raible
I coulda sworn that JavaScript was generated for maxlength validation rules, but in my current App (Struts 1.2.4), they don't show up. In validation.xml, I have: field property=outage.log depends=maxlength arg0 key=outageForm.outage.log/ arg1

RE: providers which can host a struts web application

2005-03-08 Thread David G. Friedman
I use JavaPipe, formerly Display Hosting. You just need their dedicated 64MB JVM plan: http://www.javapipe.com/web/content/view/14/93/ Regards, David -Original Message- From: kjc [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 1:54 PM To: Struts Users Mailing List Subject:

problem with automation of struts html code

2005-03-08 Thread wo_shi_ni_ba_ba
Hi folks, In my webapplications there are many html page with the similar look and structure. I am trying to factor out them. So I created utility functions to print out html code to the jspWriter. But I am not able to incorporate struts tags into these functions because they will just be

RE: struts html tags and form-beans

2005-03-08 Thread wo_shi_ni_ba_ba
thank you for the answer --- Nidel, Mike [EMAIL PROTECTED] wrote: No. This won't work automatically. You can, however, use the bean:write... tags or use scriptlet code to access your form bean in the request/session and pull the properties out that you need. -Original

Re: problem with automation of struts html code

2005-03-08 Thread Max Cooper
Don't write your own page templating system. Use Tiles instead. -Max On Tue, 2005-03-08 at 16:32 -0800, wo_shi_ni_ba_ba wrote: Hi folks, In my webapplications there are many html page with the similar look and structure. I am trying to factor out them. So I created utility functions to

[ot] Need a webpage that for newsletter sign-ups without internet access?

2005-03-08 Thread Mick.Knutson
I have an issue I need help with. I currently have a Struts based newsletter application that runs just fine. But now, I have a requirement to create a simple webpage that takes a name and email address and writes that data to a file on a windows machine. The problem is the windows machine will

RE: problem with automation of struts html code

2005-03-08 Thread David G. Friedman
Wo_Shi(etc.), If all you want to do is apply a style (or two) of template(s) to your JSP's, take a look at SiteMesh instead of Tiles. I recommend SiteMesh over tiles if you only want to wrap your pages in one or two templates. For anything more complex, I would suggest Tiles with TilesActions

Re: [Validator] maxlength JavaScript not generated

2005-03-08 Thread Bill Siggelkow
It should be ... I just looked at the latest build and the JS function is defined in the validator-rules.xml and the function itself is located in my commons-1.1.4 jar in the maven repository. On 2005-03-08 18:26:23 -0500, Matt Raible [EMAIL PROTECTED] said: I coulda sworn that JavaScript was

Re: Bean Taglib Help

2005-03-08 Thread Richard Reyes
Thanks. On Tue, 08 Mar 2005 13:33:46 +0100, Nicolas De Loof [EMAIL PROTECTED] wrote: You can use the EL-enable version of display tag to do this (assuming Konstants.SESSION_USER_KEY = users) : display:table name=${user.rusers} pagesize=5 class=simple Now, if you don't want to break

Re: problem with automation of struts html code

2005-03-08 Thread wo_shi_ni_ba_ba
hi folks, thanks for the suggetion. I am not trying to write a templating system. I am trying to do something different, maybe an example will elaborate. I have a utility function printTable1 that I want to use it to print different tables because the tables in my jsps share a lot of common

RE: problem with automation of struts html code

2005-03-08 Thread wo_shi_ni_ba_ba
David, How do I use tilesActions and tilesControllers for my purpose? Is it appropriate? I explained my problem in detail in a previous post. thanks --- David G. Friedman [EMAIL PROTECTED] wrote: Wo_Shi(etc.), If all you want to do is apply a style (or two) of template(s) to your JSP's, take

Re: MVC Frameworks

2005-03-08 Thread Andrew Hill
Why would the users have trouble accepting Spring if you werent using the MVC part - how does that impact on the UI to an extent that a user could notice? Fogleson, Allen wrote: I think the biggest argument was stated by Nicolas. I use struts because I like it sure, but I really use it because

Re: tiles:insert and tiles:put an attribute and the import it to request scope

2005-03-08 Thread Tim Christopher
Try: http://www.arc-mind.com/papers/advanced-tiles.pdf On Tue, 8 Mar 2005 10:30:58 -0800 (PST), wo_shi_ni_ba_ba [EMAIL PROTECTED] wrote: Tim, thanks for the example. What I really want is to modify the value of the attribute title from content.jsp and then acess this attribute from

Re: Eliminate Setup Actions

2005-03-08 Thread Joe Germuska
And I've been silently wishing you'd add it, too. :) We've had discussions about this maybe twice before, and another time I lit the flame, you responded, but I wasn't able to follow through with the discussion. Well, then, now you've gone and done it, Hubert... I've just committed the basic

RE: [ot] Need a webpage that for newsletter sign-ups without internet access?

2005-03-08 Thread Marcos Oliva
Mick Have you checked this link http://www.vqsoft.com/ it has a very small java based webserver, perhaps this can be of help marcos oliva -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 5:36 PM To: user@struts.apache.org Subject:

RE: problem with automation of struts html code

2005-03-08 Thread David G. Friedman
Wo, If your data have a few standard table formats, as you seem to suggest below, you might be better served by using a different approach with tiles. If your tables were not in a Java method but designed within a JSP by pulling in request saved attributes, you could use the TilesAction.execute()