RE: Is Struts (or browser based applications in general) useable to build maintenance-applications?

2002-11-26 Thread Andrew Hill
Well I dont know what the issues with maintenance apps in particular are, but for any web app (which is an application rather than just some trivial website or portal with dynamic bits) you will have a lot of issues with users doing things like using back buttons, bookmarks, etc... which can

RE: Workflow Extention

2002-11-26 Thread Jordan Thomas
Thanks Matthias, I'll try it out and let you know how it goes. Regards Jordan -Original Message- From: Matthias Bauer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 26 November 2002 8:36 AM To: Struts Users Mailing List Subject: Re: Workflow Extention Hi Jordan, sorry for the late

RE: set a html:checkbox checked

2002-11-26 Thread Mouratidis, Georg
Sorry, if i use this i get an NoSuchMethod Error. But, even it schould work, how could i set the value other than on true or false _AND_ the checkbox checked? in html like this input type=checkbox value=99 checked thx in advance -Original Message- From: Patrice [mailto:[EMAIL

[OT] SGML to HTML conversion!?

2002-11-26 Thread Michael Delamere
Hi, I know that this is incredibly OT, but I am hoping that someone might be able to shed some light on this. I need to convert SGML, which is product information that comes directly from the DB, into HTML. Has anyone heard of a good tool or even resources where I can find more information on

Re: How can I use logic:... for properties such as isKnown() ?

2002-11-26 Thread Patrice
x.isKnown() seems to return a boolean, so, I think you can do this: logic:equal name=x property=known value=true ... /logic:equal Hope it helps Patrice - Original Message - From: Zsolt Koppany [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 25, 2002 9:46 PM Subject: How

forwarding to Actions expecting ActionForm

2002-11-26 Thread Affan Qureshi
I want to forward the request from my Action to another action which expects an ActionForm instance for processing. But my current Action does not have access to that Form. Can I instantiate an ActionForm and store it in the request/session scope on the fly? I have a search page which

Re: forwarding to Actions expecting ActionForm

2002-11-26 Thread Gemes Tibor
2002. november 26. 10:28 dátummal Affan Qureshi ezt írtad: I have a search page which displays results from where I can view details of the results. On the details page if I click Cancel I want the user to come back on the Search Results page but with the same results opened. Also if the

RE: forwarding to Actions expecting ActionForm

2002-11-26 Thread Beeson, Ashley
Well if memory usage isn't an issue then you can store your search criteria on a form-bean with session scope, then the users last search (and potentially results too - depending on how you have implemented it) will be available wherever they access it from. You can always use

RE: forwarding to Actions expecting ActionForm

2002-11-26 Thread Andrew Hill
Yep. You can create the form yourself and store it in the request before forwarding to the next action (be sure redirecting=false for the mapping of course). I forget which key you need to store it under. Check the struts javadocs. As for your search results, sounds like these need to be stored

Struts-el strange behav.

2002-11-26 Thread kiuma
hello, I'm having the following problem (Furtunately I've found the solution). if i use html-el:hidden property='selectedCode'/ The container reply with an error WARNING: Exception for /webappointments/secure/specialitylistview.jsp javax.servlet.jsp.JspException: No getter method for property

dynamic logic:equal compare possible ?

2002-11-26 Thread Marcus Biel
Hi, I got a table that displays a list of data records. When editing a data record, I don't want to display the data record to edit on another page, but on the same page. Therefore I think I have to use the logic:equal tag to compare the id value of the current record with the id that got entered

Re: dynamic logic:equal compare possible ?

2002-11-26 Thread Gemes Tibor
2002. november 26. 11:04 dátummal Marcus Biel ezt írtad: I checked the Docu: http://localhost:8080/struts-documentation/struts-logic.html#equal And it says: value: The constant value to which the variable, specified by other attribute(s) of this tag, will be compared So according to the

Re: dynamic logic:equal compare possible ?

2002-11-26 Thread Gemes Tibor
2002. november 26. 11:20 dátummal Gemes Tibor ezt írtad: bean:define id=value1 name=oneForm property=oneProperty / Of course this should be: bean:define id=oneValue name=oneForm property=oneProperty / logic:equal name=otherForm property=otherProperty value=%= oneValue

Re: set a html:checkbox checked

2002-11-26 Thread Patrice
Hi Georg, If you wish to utilize String value other than true, yes, or on..., you can use the html:multibox tag. Best regards Patrice - Original Message - From: Mouratidis, Georg [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 9:25 AM

RE: set a html:checkbox checked

2002-11-26 Thread Mouratidis, Georg
Thank all the people for response. i have done it this way: logic:notEqual name=CatalogProfileDataForm property=catalogBuyerIDType value= var catalogBuyerIDType = bean:write name=CatalogProfileDataForm property=catalogBuyerIDType/ ; for(var loop=0;loop self.document.forms[

Re: set a html:checkbox checked

2002-11-26 Thread Patrice
As I said, I think the html:multibox tag should be an alternative to your javascript initialization: If I anderstand, you have some checkboxes catalogBuyerIDType whith different values, and you want check one on your JSP (corresponding to the property catalogBuyerIDType of the

Struts Book : Already on Safari!!

2002-11-26 Thread Julio Cesar C Neto
Hi everyone! Make your wish come true! Chuck´s book is already on oreilly Safari!! Julio Cesar -Mensagem original- De: Francesco Russo [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 26 de novembro de 2002 04:44 Para: Struts Users Mailing List Assunto: Re: Migrating from 1.0.2

RE: Struts without taglib ?

2002-11-26 Thread Andrew Hill
Well if your using JSP for the view you will still need to use some kind of tags to render the dynamic content (or scriptlets but these arent recomended), but theres nothing to stop you using CSS in a JSP page. Certainly the struts tags allow for this, and if your using JSP you really should use

RE: set a html:checkbox checked

2002-11-26 Thread Mouratidis, Georg
Hallo Patrice, thank you,thank you,thank you,thank you,thank you,thank you,thank you for the solution. this works excellent. But, is there somethink like html:multibox for the html:radio tag. Because html:multibox seems to create only checkbox-inputs. again thx alot -Original Message-

Nested Iterate Tag and indexId problem

2002-11-26 Thread david . fields
I figured out the problem. This will not work even though the rtexprvalue is set to true in the tld. nested:text onchange=function('1','2','%=variable%') / However, this will work... % String onchangeCall = function('1','2',' + variable + '); % nested:text onchange=%=onchangeCall% / I can't

RE: Is Struts (or browser based applications in general) useable to build maintenance-applications?

2002-11-26 Thread Edgar Dollin
I have resolved all my Web Application issues (it did take a while). The back button can be solved by subclassing the ActionForm and having a standard sequence field. In all your JSP make sure there is a hidden field for the sequencer. Then before any action occurs (write to the db) check the

Re: Tiles and parameters...

2002-11-26 Thread Craig Tataryn
Anyone have any suggestions? From: Craig Tataryn [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tiles and parameters... Date: Sun, 24 Nov 2002 00:39:23 -0600 I am using a tiles for a project where I have the following scenario: a

Re: set a html:checkbox checked

2002-11-26 Thread Patrice
If only one catalogBuyerIDType can be selected, the easiest way is to use radio buttons instead of check boxes. In your form, the attribute corresponding to the radio buttons can be a simple String (and not an array of Strings) because only one value can be selected at once. So, in your

RE: OT :Please help java script menus interfering with form elements

2002-11-26 Thread Hari
Check out the link http://www.dhtmlcentral.com/ Coolmenus available in this link takes care of your problem. It hides the combo boxes when menu rolls down. -Original Message- From: Slava_L [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 23, 2002 4:38 PM To: Struts Users Mailing

On the Microsoft side...

2002-11-26 Thread Cristian Cardenas
Hi all, Somebody knows if there is a kind framework in the Microsoft side (to be used with ASP or ASP.NET), with the functionality (at least primitive) supported by Struts?. Excuse me for using bad words like Microsoft and ASP, but... Regards, Cristian.

RE: set a html:checkbox checked

2002-11-26 Thread Mouratidis, Georg
thx a lot Georg -Original Message- From: Patrice [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 26. November 2002 14:07 To: Struts Users Mailing List Subject: Re: set a html:checkbox checked If only one catalogBuyerIDType can be selected, the easiest way is to use radio buttons instead of

Re: On the Microsoft side...

2002-11-26 Thread Emmanuel Boudrant
You've got http://mavnet.sourceforge.net Sorry to respond ;) -emmanuel --- Cristian Cardenas [EMAIL PROTECTED] a écrit : Hi all, Somebody knows if there is a kind framework in the Microsoft side (to be used with ASP or ASP.NET), with the functionality (at least primitive)

contrib:Service Manager question

2002-11-26 Thread Markfeld Zvi
Hi, I am trying to understand the principles behind the integration of the Service-Manager contrib package with Struts. While going through the code, the following questions arose: 1. What is the exact way that Service manager should be integrated into the Struts Action mechanism? Should there be

RE: On the Microsoft side...

2002-11-26 Thread Michael C. Clark
One could make the argument that the .NET framework IS your Struts equivalent (though we know there is no real 'equivalent'). The Framework offers some server-side controls that are accessed via tags in your scripts, and the opportunity to extend this library as you see fit). I've not heard of

Re: dynamic logic:equal compare possible ?

2002-11-26 Thread Marcus Biel
Thanks. Going to try this asap. marcus [EMAIL PROTECTED] schrieb: 2002. november 26. 11:20 dátummal Gemes Tibor ezt írtad: bean:define id=value1 name=oneForm property=oneProperty / Of course this should be: bean:define id=oneValue name=oneForm property=oneProperty / logic:equal

dynamic local message / dynamic error codes

2002-11-26 Thread Marcus Biel
Somewhere along the way I've read that you can display dynamic localized messages, by using adding brakets {} to your message and to add a parameter to this message in your action. Unfortunately I forgot where I found this. Can anyone explain to me how to create dynamic localized messages - for

RE: dynamic local message / dynamic error codes

2002-11-26 Thread Quentin.Cope
Marcus Localisation is done as per the rest of the app. So for me I have: ExceedsAvailable=Exceeds available quantity ({0}) in ApplicationResources.properties and ExceedsAvailable=Quantita` disponibile superata ({0}) in ApplicationResources_it.properties The dynamic message would be

Can I use Javascript

2002-11-26 Thread Dinesh
Hi, Can anybody tell me whether client side validations using JavaScript can be done in Struts and if so how? Thanks Regards Dinesh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Can I use Javascript

2002-11-26 Thread Chappell, Simon P
Yes. The wonders of MVC mean that you can have anything for the view. So you can use JSPs and you can have them generate JavaScript and you have that JavaScript do whatever you want. On our last project we did not perform client-side validation, but we did use JavaScript for dynamic

Re: On the Microsoft side...

2002-11-26 Thread Cristian Cardenas
Which Struts framework features .NET supports? I know Internationalization, which else? - Original Message - From: Michael C. Clark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 10:43 AM Subject: RE: On the Microsoft side... One could make the argument that

Fwd: RE: Struts without taglib ?

2002-11-26 Thread David Graham
Over to the user list... From: Rajendra Yadav [EMAIL PROTECTED] Reply-To: Struts Developers List [EMAIL PROTECTED] To: Struts Developers List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: Struts without taglib ? Date: Tue, 26 Nov 2002 03:24:58 -0800 (PST) Thanks Andrew, So, if we

[OT] Re: On the Microsoft side...

2002-11-26 Thread David Graham
You should probably ask a .NET list instead of Struts. David From: Cristian Cardenas [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: On the Microsoft side... Date: Tue, 26 Nov 2002 11:16:41 -0300 Which

Iterate, classes etc

2002-11-26 Thread Mark
Hello At the risk of exposing my stupidity I've run into a few problems while going about the business of developing a project with struts.. Iterate I've a bunch of classes that retrun lists via jdbc, but i can't get the iterate tags to play the game. I like the scriptlet example of how to

Re: Can I use Javascript

2002-11-26 Thread David Graham
You can automate js form validation with the Validator. See the users guide for details. David From: Dinesh [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Can I use Javascript Date: Tue, 26 Nov 2002 19:32:29 +0530 Hi, Can anybody

Re: Nested Iterate Tag and indexId problem

2002-11-26 Thread Jeff_Mychasiw
On an interesting note, we had to do alot of this as well where the variable came from another tag(s). I stumbled across this: I found it a bit cleaner bean:define id=onchangeCall function('1','2','nested:write property =someProp/')/bean:define nested:text onchange=%=onchangeCall% / *** Though

Include an Action in a page

2002-11-26 Thread Míguel Ángel Mulero Martínez
Hi all, I've got a little problem. I'm using Struts 1.0.2, and I'm using Templates (not Tiles). I use template:insert to include a little page inside my page. This work great with HTML and JSP, but not with actions. How can I do it for: template:insert template=action.do / Is there other way to

Re: dynamic logic:equal compare possible ?

2002-11-26 Thread Marcus Biel
Works perfect, even though it makes my jsp even harder to handle! :-) marcus [EMAIL PROTECTED] schrieb: 2002. november 26. 11:20 dátummal Gemes Tibor ezt írtad: bean:define id=value1 name=oneForm property=oneProperty / Of course this should be: bean:define id=oneValue name=oneForm

Does an html:link could use a title parameter from a resource file??? (struts1.0.2)

2002-11-26 Thread christophe . godel
I'm using struts for i18n and I try to get the title parameter from a resource file. Is it allowed to use a taglib into a taglib like in the following example (which doesn't works of course)? html:link href=# title=bean:message key=prompt.toto// If not, is there another solution?? Thanks

RE: Include an Action in a page

2002-11-26 Thread shirishchandra . sakhare
Can u specify u r requirement please? Because if U need to show the output of 2 actions on the screen , still they can use the forwards and use request as a shared container to pass along any data beans. but hwy a template needs to include action? -Original Message- From:

Re: struts 1.1-b2 connection Pool

2002-11-26 Thread Bradley G Smith
For what it is worth, I use several web applications with Oracle as the backend database. The ping query that I have used for a long time (since JDBC 1.0 days) with Oracle is select 1 from dual. Brad

RE: Include an Action in a page

2002-11-26 Thread Miguel Angel Mulero Martinez
Hi, I've got a page wich must execute 3 actions and print the page result of it: ACTION1 AC2 | AC3 I wan't to make the three action independent, so I want to include them in the principal with some include (template:insert or jsp:include ...) Some idea??

Re: Does an html:link could use a title parameter from a resource file???(struts 1.0.2)

2002-11-26 Thread David Graham
You can't use a tag as another tag's attribute value. You can use the struts-el taglib or jstl to solve this easily. David From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Does an html:link could use a title parameter from a

RE: [ANNOUNCE] O'Reilly Struts Book Now Available

2002-11-26 Thread Andy Kriger
According to a response from O'Reilly customer service 'in the next few days' -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Sunday, November 24, 2002 22:20 To: 'Struts Users Mailing List' Subject: RE: [ANNOUNCE] O'Reilly Struts Book Now Available Chuck wrote: I

Réf. : Re: Does an html:link could use a titleparameter from a resource file??? (struts 1.0.2)

2002-11-26 Thread christophe . godel
I though struts-el was in the 1.1 version (I'm on 1.0.2) ? Extranet [EMAIL PROTECTED] - 26/11/2002 16:47 Veuillez répondre à [EMAIL PROTECTED] Pour : struts-user cc : Objet : Re: Does an html:link could use a title parameter from a resource file??? (struts 1.0.2) You can't

Re: RE: [ANNOUNCE] O'Reilly Struts Book Now Available

2002-11-26 Thread Chuck Cavaness
The book is now available on Safari. I worked with them to get it up yesterday. Here's a link to Safari - http://safari.oreilly.com Chuck From: Andy Kriger [EMAIL PROTECTED] Date: 2002/11/26 Tue AM 10:48:34 EST To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: [ANNOUNCE]

Re: Réf. : Re: Does an html:link could use a title parameter from a resource file??? (struts 1.0.2)

2002-11-26 Thread David Graham
Then use JSTL or a jsp expression. David From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Réf. : Re: Does an html:link could use a title parameter from a resource file??? (struts 1.0.2) Date: Tue, 26 Nov 2002 16:53:25 +0100 I

Re: Fwd: RE: Struts without taglib ?

2002-11-26 Thread Joe Germuska
Thanks Andrew, So, if we can use them without the taglib, then I assume we can use CSS in the jsp page. Is that correct ? You can use CSS in any HTML page, regardless of how it's created. Furthermore, you can use CSS if you *do* use the Struts tag libraries. The style, styleClass, and styleId

RE: Does an html:link could use a title parameter from a resource file??? (struts 1.0.2)

2002-11-26 Thread Karr, David
Much as I'd like to see Struts-EL solve every problem in the world :) , you can just use the titleKey attribute of html:link, like this: html:link href=# titleKey=prompt.toto/ However, I don't know whether this was available in Struts 1.0.2. From: [EMAIL PROTECTED] Reply-To: Struts Users

new Struts list in spanish // nueva lista de Struts en castellano

2002-11-26 Thread Carlos Grima
New list about Struts in spanish language: [EMAIL PROTECTED] Nueva lista sobre Struts en castellano: [EMAIL PROTECTED] CARLOS GRIMA · www.carlosgrima.com · [EMAIL PROTECTED] · MSN: carlos_grima (hotmail) to:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Réf. : RE: Does an html:link could use a titleparameter from a resource file??? (struts 1.0.2)

2002-11-26 Thread christophe . godel
it seems it's not available on 1.0.2 :) I will face every problem in the world as the courageous Struts newbies we are in the team lol Thanks for all your answers... Extranet [EMAIL PROTECTED] - 26/11/2002 17:00 Veuillez répondre à [EMAIL PROTECTED] Pour : struts-user cc : Objet :

Re: Problem with struts-workflow distribution (0.9.2)

2002-11-26 Thread Matthias Bauer
Olivier, I guess you mean you are trying to build a war of the struts-workflow test application. Please refer to http://www.livinglogic.de/Struts/struts1_1.html for instruction how to modify the test application in order to get it working with struts 1.1. According to the stack trace, it

RE: Problem with struts-workflow distribution (0.9.2)

2002-11-26 Thread ROSSEL Olivier
It works fine. You should probably append those Struts1.1 instructions at the end of the INSTALL.TXT. I have no easy web access, only the archive. It was quite annoying. I was almost ready to think Workflow was a vaporware :-)) -Message d'origine- De: Matthias Bauer [mailto:[EMAIL

RE: Include an Action in a page

2002-11-26 Thread shirishchandra . sakhare
I have not tried this but think this should work.. 1: In Action 1, after getting the data,U say return maping.findForward(success); 2: success forward does a forward to u jsp1... In jsp1,U first display data given by action1. 3: thenm after that u do a jsp:inlude which calls action 2. 4:action

make a call to external applications

2002-11-26 Thread meissa . Sakho
hi all, I have several struts applications that I would like to call mainly from a portal that users can access after a successful login. I do do it like the fragment code below. lia href=http://localhost:8080/intranetMailAdmin/listMailsToSend.do; bean:message key=libelle.application.mail//a

Error - tag useAttribute : no tiles context found.

2002-11-26 Thread Tumi Mathibedi
Hi Cedric, Please help with this error in the jsp file... Error - tag useAttribute : no tiles context found. thank in advanced -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: make a call to external applications

2002-11-26 Thread Patrice
You can use the html:link tag: html:link page=/listMailsToSend.do bean:message key=libelle.application.mail/ /html:link html:link page=/listParamVL.do bean:message key=libelle.application.vl/ /html:link Best Regards Patrice - Original Message - From: [EMAIL PROTECTED] To: [EMAIL

RE: Struts-el strange behav.

2002-11-26 Thread Wendy Smoak
if i use html-el:hidden property='selectedCode'/ The container reply with an error If I use this form html-el:hidden property='selectedCode' value=''/ No error is shown and I can access the page. I *think* that if you provide the value then the getter method is not called. So I don't think

RE: Struts-el strange behav.

2002-11-26 Thread Karr, David
You need to provide the name of your form bean in the name attribute. -Original Message- From: kiuma [mailto:[EMAIL PROTECTED]] hello, I'm having the following problem (Furtunately I've found the solution). if i use html-el:hidden property='selectedCode'/ The container reply

RE: Struts-el strange behav.

2002-11-26 Thread Beeson, Ashley
No you don't because they are form elements then the form to which they are associated is inferred by the action path. An element will attempt to populate itself with the get method of the form. Make sure that you either declare the variable and give it a starting value (even if it just blank -

Controller class in tiles

2002-11-26 Thread Alvarado, Juan (c)
My definition looks as follows: definition name=add.application.page extends=layout.page controllerClass=com.nielsenmedia.nam.ui.action.GetApplications put name=body value=/jsps/addApplication.jsp/put put name=page.title value=add.application.title/put /definition my controller class

RE: RE: [ANNOUNCE] O'Reilly Struts Book Now Available

2002-11-26 Thread Andy Kriger
right on - just added it to my books i hope you get a decent cut of Safari subscriptions :) -Original Message- From: Chuck Cavaness [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 10:59 To: Struts Users Mailing List Subject: Re: RE: [ANNOUNCE] O'Reilly Struts Book Now

Re: J2EE-compliant class loading

2002-11-26 Thread Craig R. McClanahan
On Tue, 26 Nov 2002, Johan Eltes wrote: Date: Tue, 26 Nov 2002 07:15:14 +0100 From: Johan Eltes [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: J2EE-compliant class loading Den 02-11-26 00.47, skrev

perform() or execute()?

2002-11-26 Thread Jim Bruno Goldberg
Hi, people! I am trying to develop a little system in struts for 3 weeks now and I can't solve some (very basic) problems. I try read the documentations, but some I can resolve anyway. Please, I need some help! My questions: 1. When I try to use the execute() in a

Managing a workflow with Struts-workflow.

2002-11-26 Thread ROSSEL Olivier
I want to have a workflow which is MainPage.do - FirstStep.do - SecondStep.do - ThirdStep.do - Result.do - MainPage.do (1.jsp) (2.jsp) (3.jsp) where each step is supposed to fill one part of a big ActionForm. I think each Step will test if the part of

Re: perform() or execute()?

2002-11-26 Thread David Graham
The execute method was introduced in 1.1. Look at the struts-example webapp that comes with 1.1b2 for a clear example of how to do the things you described. David From: Jim Bruno Goldberg [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: Tiles and parameters...

2002-11-26 Thread Van Riper, Mike
Unless I'm missing something here, you simply use: request.getParameter(fieldid); in scriptlet code in any of your leaf JSPs to access this request parameter. You can also use bean:define in conjunction with this to define a bean at the top of your page for use as a bean reference in other

Re: perform() or execute()?

2002-11-26 Thread Patrice
- Original Message - From: Jim Bruno Goldberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 6:27 PM Subject: perform() or execute()? Hi, people! I am trying to develop a little system in struts for 3 weeks now and I can't solve some (very basic) problems.

Re: J2EE-compliant class loading

2002-11-26 Thread Johan Eltes
My understanding of the J2EE spec is that it may add restrictions / requirements on top of the bundled specification. An application server (including its containers) must implement restrictions imposed by the J2EE spec to be compliant. It is not necessarily enough to fully implement all

Re: Struts-el strange behav.

2002-11-26 Thread kiuma
Thank you guys, As usual we problems are so strange, one has to see in the xml file. Now I think xml is a very good innovation, but sometimes it is the hell ;-P thx, kiuma Beeson, Ashley wrote: No you don't because they are form elements then the form to which they are associated is inferred

Tomcat Freezes when an Action or ActionForm is updated

2002-11-26 Thread Jorge Ruben Macias Lopez
Hello, I hope some of you guys has seen something like this and knows how to prevent it, I'm running struts 1.02 with tomcat 4.0.1 on Win2K Server. I'm using Eclipse for IDE and everytime I save one of my Action or ActionForm classes on Eclipse, I see in the tomcat console the message:

[tiles] More tiles questions

2002-11-26 Thread Wendy Smoak
Finally! I have a tabbed tiles page working. Sort of... I go to http://host/dev/testAction.do and I see that URL with my brand new tabbed page with the first tab selected. Then I click the second tab, and it tries to go to this URL:

Re: J2EE-compliant class loading

2002-11-26 Thread Craig R. McClanahan
On Tue, 26 Nov 2002, Johan Eltes wrote: Date: Tue, 26 Nov 2002 18:48:33 +0100 (CET) From: Johan Eltes [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], Johan Eltes [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: J2EE-compliant

HELP with controller class please!!!!

2002-11-26 Thread Alvarado, Juan (c)
I've looked all over the archives and cannot find any help with the following and the tiles documentation...well there is really no documentation. I have a controller url class that does the following: public void perform(ComponentContext context,

Order of error messages

2002-11-26 Thread Jordan Thomas
Hi, How do I change the order of the error and javascript messages that are generated by the validation framework? Thanks Jordan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Tomcat Freezes when an Action or ActionForm is updated

2002-11-26 Thread edgar
Normal behavior, worst part of this development cycle. Make as many changes as possible at once to minimize restarting time. I use Resin which will do an automatic restart when one of the loaded java classes is changed. Edgar -Original Message- From: Jorge Ruben Macias Lopez

Action mappings

2002-11-26 Thread Mark Minnie
Maybe I am missing something, but. I have a customer form (CustomerView.do) that takes a HTTP GET parameter to show a customer. (ie. CustomerView.do?customerid=4). On this customer form, there are links to JSP pages to modify the data of the customer. If I wanted to add a phone number,

RE: [tiles] More tiles questions

2002-11-26 Thread James Mitchell
You probably already know this, but: 1. You cannot redirect if the jsp are under /WEB-INF, you ONLY forward 2. You must always go through an action (do not link from one jsp to another) 3. Make sure when you link or post to an action, that you do so with '/' as the first character for your

RE: [tiles] More tiles questions

2002-11-26 Thread Wendy Smoak
James wrote: Since you are using jsp under /WEB-INF, I would not use html:base/ unless you are sure that all client side references (images, css, js, etc) are using to the correct url. I'm not using html:base/. The tabbed tiles code generated the URLs from this in tiles-defs.xml:

Re: Action mappings

2002-11-26 Thread Gemes Tibor
2002-11-26, k keltezssel Mark Minnie ezt rta: This saves the customer phone number, but I get an error that the customer bean is not found in the scope null. This is because the success forward is forwarding to /CustomerView.do with NO GET PARAMETER. Since this get parameter is dynamic

[OT] Updating CachedRowSet

2002-11-26 Thread Jerry Jalenak
I'm stumped. In my DAO I return a disconnected CachedRowSet object back to my business logic level, do some processing, then update the CachedRowSet so I can send it back to my DAO and update my database. The code basically looks like this: snip CachedRowSet crs = new

RE: Tomcat Freezes when an Action or ActionForm is updated

2002-11-26 Thread edgar
Craig happened to point this out that Tomcat will reload automatically now: At the same time as 1.1 was being developed, work progressed on things like Tomcat's reload command via the Manager webapp (so you can have reload-on-demand, scriptable with an Ant task in 4.1, running pretty quickly,

Re: forwarding to Actions expecting ActionForm

2002-11-26 Thread Troy Hart
On Tue, 2002-11-26 at 02:28, Affan Qureshi wrote: I want to forward the request from my Action to another action which expects an ActionForm instance for processing. But my current Action does not have access to that Form. Can I instantiate an ActionForm and store it in the request/session

Re: [OT] Updating CachedRowSet

2002-11-26 Thread David Graham
Sorry I don't know how to fix your problem but I do have some comments. It looks like your DAO class has a bunch of static methods. It's better to have your DAOs be singletons and be created with a DaoFactory. This allows various DAO implementations to be plugged in later. You lose this

Re: [OT] Updating CachedRowSet

2002-11-26 Thread John Bigboote
--- Jerry Jalenak [EMAIL PROTECTED] wrote: [...snip...] crs.updateString(userInfo, userInfo); crs.updateRow(); crs.setWriter(null); // kill default writer crs.acceptChanges(); Why are you setting the writer to null? It's the RowSetWriter that propagates

RE: [OT] Updating CachedRowSet

2002-11-26 Thread Jerry Jalenak
My initial SQL SELECT statement that creates my ResultSet pulls data from several tables. I wasn't sure if the RowSetWriter implementation would be able to accommodate this scenario, so I've started using the CachedRowSet object as a means of passing data from DAO to business logic and back. I

RE: Tomcat Freezes when an Action or ActionForm is updated

2002-11-26 Thread Craig R. McClanahan
On Tue, 26 Nov 2002, edgar wrote: Date: Tue, 26 Nov 2002 14:47:00 -0500 From: edgar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Tomcat Freezes when an Action or ActionForm is

Re: perform() or execute()?

2002-11-26 Thread Jim Bruno Goldberg
I try it again, from the beginning and now this works. I don know what I do before but I am happy now. Thanks for David and Patrice to help me. Now I have a new (and diferent) problem. I construct the follow validate() in a ActionForm class:  CODE

Using Struts Tags To Retrieve Map Entry

2002-11-26 Thread Vinh Tran
All: Is there a way, using the Struts tags, to retrieve a particular Entry from a Map by specifying a Key? I want to retrieve an entry of the Map based a key specified by the user. Is this possible? Vinh

Re: [OT] Updating CachedRowSet

2002-11-26 Thread V. Cekvenich
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/src/basicWebLib/org/commons/DAO/BasicDAOImpl.java Above has a working DAO implementation that uses RowSet. The idea is that you can have many implementations using DAO. (So, next to it is same DAO that uses SQL-Commons. I

RE: [OT] Safari

2002-11-26 Thread Paananen, Tero
Just seen this, interested by the safari site, whats the feedback on it's usefulness? Sounds too good to be true! (if my company'd pay for it too! ) My company did the 30-day (or whatever) trial subscription thingie and I was one of the people selected to evaluate the service. The selection

persistence errors in 1.1-b2

2002-11-26 Thread Jay Wright
I'm getting a persistent storage error that I've never seen before and it seems to be tied to the struts validator: 2002-11-25 15:13:10 StandardManager[/waf] Exception loading sessions from persistent storage Is there a way to turn this off? Or a reason it's happening? I don't want to persist

RE: [ANNOUNCE] O'Reilly Struts Book Now Available

2002-11-26 Thread Paananen, Tero
I just wanted to let everyone know that my Struts book published by O'Reilly is now available and shipping. You can get it from Amazon, Bookpool, etc. http://www.bookpool.com/.x/3ezbbr1tf4/sm/0596003285 Not-Yet-Published :( -TPP - patience is a virtue, I know, but I've had the

RE: [ANNOUNCE] O'Reilly Struts Book Now Available

2002-11-26 Thread jbaker
Amazon is shipping. I received my pre-ordered copy yesterday. Joe Baker Director of Internet Communications Amnesty International USA 600 Pennsylvania Ave SE 5th Floor Washington, DC 20003 202-544-0200 x285 http://www.amnestyusa.org [EMAIL PROTECTED]

Re: Learning Struts

2002-11-26 Thread Johan
Eric, I'm facing the same problem. I just started a week ago and found a few pages on O'Reilly very usefull. As we speak I am one part 3 and building my first Strtuts application Check out the following urls http://www.oreillynet.com/pub/a/onjava/2001/09/11/jsp_servlets.html It's part one of a 3

ApplicationResources.properties not reloading added keys

2002-11-26 Thread Alvarado, Juan (c)
Hi: I am using jboss-3.03 with tomcat 4.05 and I cannot get my ApplicationResources.properties to display newly added keys. I have restarted jboss and still no luck. All I get is a message like this: ???en_US.prompt.application.url??? I know that the file ApplicationResources.properties is under

  1   2   >