RE: Problems with multibox and checkbox

2003-03-11 Thread Jörg Maurer
t to create / edit / view, one DistpachAction class, one Form class, and one jsp." - but i don't like that taglib approach very much, because it is becoming too cohesive to the dependent frameworks. Thank you so much for your inputJörg Maurer -Original Message- From: Jason Long [mai

RE: how to catch exception using tiles thrown by e.g. org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude

2003-03-08 Thread Jörg Maurer
ion and show it. > >Normally, the jsp exception handling should work, but it appear that it >is not always the case. > > A workaround is to put a big try/catch in the jsp throwing the >exception ;-(. This will be improved in future versions. > > Cedric > >Jörg Ma

RE: nested:checkbox fail to set the property to false

2003-03-08 Thread Jörg Maurer
despite the fact doing some research in that issue anywhere(gives 100+ q&a) which might give you better explanation than mine, flaw is in http protocol, not sending name-value pairs of unchecked checkboxes back. -Original Message- From: Joao Araujo [mailto:[EMAIL PROTECTED] Sent: Samstag,

RE: Database datasource runtime configuration

2003-03-08 Thread Jörg Maurer
use database pooling dbcp from jakarta commons instead - has connection pooling and works like a charm + super setup description(despite some flaws, but no problem for us being experienced ones ;-) ). -Original Message- From: Joao Araujo [mailto:[EMAIL PROTECTED] Sent: Samstag, 08. März 20

RE: xslt in jsp

2003-03-08 Thread Jörg Maurer
definitly give JSTL a try! Myself not applied it, but read book by Bayer Shawn - devoted taglibs to xml and xml transformation for usage in jsp. -Original Message- From: bobd [mailto:[EMAIL PROTECTED] Sent: Samstag, 08. März 2003 20:02 To: [EMAIL PROTECTED] Subject: xslt in jsp I have a

RE: How do you keep your session junk free?

2003-03-07 Thread Jörg Maurer
AFAIK, why not put form bean in hashtable under well known name in application scope - last resort, cause as you mentioned request not applicable, session not available you are in full charge of form bean. populate that bean in application scope as you like from newly created form bean or repla

RE: List-backed properties

2003-03-06 Thread Jörg Maurer
Hi hans ! As my best practice, the thing missing is following : in any action form is a reset method per subclassing action from. 1st-class use of reset for me is to set every action form instance variable to some initialising state. so what is the initialising state of an array list? exactly, f

RE: how to catch exception using tiles thrown by e.g. org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude

2003-03-04 Thread Jörg Maurer
, then the catch the exception and show it. Normally, the jsp exception handling should work, but it appear that it is not always the case. A workaround is to put a big try/catch in the jsp throwing the exception ;-(. This will be improved in future versions. Cedric Jörg Maurer wrote: &g

how to catch exception using tiles thrown by e.g. org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude

2003-03-04 Thread Jörg Maurer
Hi struts people! I have really defined everywhere i think i can put an exception handler for servlet exception : 1.) in my base layout.jsp an <%@ errorPage='/pages/common/error/errorsGeneralHandler.jsp'%> 2.) in struts config a global exception handler 3.) in we

Question using transactional tokens

2003-03-01 Thread Jörg Maurer
Dear struts people ! What am i doing wrong - must be some sort of double submit, but why ? Let me sketch my problem to you - using for the first time transactional tokens, i have the following setup : 1. in my jsp : . ... 2. where submitSelect is a javascript function: funct

RE: [OT] (Slightly OT) Accessing individual array elements (was Re: "multiple" problems)

2003-02-24 Thread Jörg Maurer
DO NOT NEVER EVER OVERLOAD METHOD NAMES of JAVA BEANS. NEVER. I swear to you, i was going mad about this 2 weeks ago. Sorry I didn´t catch your problem earlier. My experience - INTROSPECTION DONE BY STRUTS CANT DISTINCT on METHOD parameters - JUST BY METHOD NAME! First come, first serve - o

RE: "multiple" problems

2003-02-23 Thread Jörg Maurer
I will choose your left leg cause i am a kind man and hint you to the your_jakarta-struts-1.1-b3-src_dir\web\exercise-taglib\html-select.jsp. -Original Message- From: Ian Hunter [mailto:[EMAIL PROTECTED] Sent: Montag, 24. Februar 2003 03:20 To: Struts Users Mailing List Subject: "multiple

RE: seeking shortcut name of current FormBean inside every html:from

2003-02-23 Thread Jörg Maurer
tually, scratch what i just said about not needing the bean:define tag, you would need it because the html:form tag will not make the form available as a scripting variable. That's why I'd use the EL, since it will not need to create a scripting variable. > -Original Message-

RE: seeking shortcut name of current FormBean inside every html:from

2003-02-23 Thread Jörg Maurer
far as the constants, i'm not sure I follow. Hope this helps though... > -----Original Message- > From: Jörg Maurer [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 23, 2003 8:40 AM > To: Struts Users Mailing List (E-mail) > Subject: seeking shortcut name of current FormB

seeking shortcut name of current FormBean inside every html:from

2003-02-23 Thread Jörg Maurer
Hi strut-users! Since this post i have been using massively e.g. in my jsp´s to grab the reference to the current FormBean like e.g. ... <% if (parameterForm.getStructure_changeable().intValue() == 1) { %> Please mail the applicable "shortcut" name (as i have forgotten the fu

RE: Nested iterate tags

2003-02-19 Thread Jörg Maurer
ROTECTED]] Sent: Donnerstag, 20. Februar 2003 02:25 To: 'Struts Users Mailing List' Subject: RE: Nested iterate tags Yes, it's a copy of another jsp, which works, but without the nesting. results is a request attribute which contains the vector. Ilya -Original Message- From:

RE: Nested iterate tags

2003-02-19 Thread Jörg Maurer
Are you sure that "results" is a properly exposed bean? I guess that "name" argument should be that of your ActionForm bean and "results" should be the "property" argument to this logic:iterate. -Original Message- From: Sterin, Ilya [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 20. Februar

WOW for struts reflection using multibox + pls assist with usage of nested taglib

2003-02-19 Thread Jörg Maurer
I can't believe it - it works! Look at this : I am currently (?overengineering) organising my view data in the following way : TicketTypeForm | _ property type Vector of "tickettypeChooseViews" |...|_ each has 1. property type vector of "multiBox_ids"

RE: [OT] Struts and Design Patterns

2003-02-17 Thread Jörg Maurer
And for the unpatient ones, you can pay + download it as pdf directly from manning online. -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED]] Sent: Montag, 17. Februar 2003 21:45 To: 'Struts Users Mailing List' Subject: RE: [OT] Struts and Design Patterns Well, it isn't lik

RE: help on org.apache.commons.scaffold.sql.executeQuery needed - closesstament before evaluating result set ?????

2003-02-16 Thread Jörg Maurer
losing the other components. I'm actually getting ready to merge some of this with Commons SQL, so that there aren't two overlapping packages. Jörg Maurer wrote: >2. How do i configure sth. a disconnected rowset that is used in org.apache.commons.scaffold.sql? I did start to add a Ro

RE: help on org.apache.commons.scaffold.sql.executeQuery needed - closes stament before evaluating result set ?????

2003-02-15 Thread Jörg Maurer
nal Message- > From: Jörg Maurer [mailto:[EMAIL PROTECTED]] > Sent: Saturday, February 15, 2003 3:05 PM > To: Struts Users Mailing List (E-mail) > Subject: help on org.apache.commons.scaffold.sql.executeQuery needed - > closes stament before evaluating result set

help on org.apache.commons.scaffold.sql.executeQuery needed - closes stament before evaluating result set ?????

2003-02-15 Thread Jörg Maurer
Using org.apache.commons.scaffold i discovered from source code that org.apache.commons.scaffold.sql.executeQuery(SC Line 321) closes prepared statement before iterating over result set. Closing prepared statement closes result set -> no results are longer available. Am i nut? 1. Has that ev

RE: File Upload with Invalid or Missing File Name

2003-02-10 Thread Jörg Maurer
Have you downloaded source or binary? Try like myself source und recompile YS?!?! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Montag, 10. Februar 2003 20:00 To: [EMAIL PROTECTED] Subject: File Upload with Invalid or Missing File Name Here is what I did: 1

RE: Problem with empty file upload field

2003-02-09 Thread Jörg Maurer
you submit the form? Do you get an error? How do you handle this? Jörg Maurer wrote: >Just for info - I use struts 1.3b nb and built upload func into my >current app - no problem. Remark what i corrected from wrong in first >step : > >1. <- !! > >2. use as pro

RE: Problem with empty file upload field

2003-02-09 Thread Jörg Maurer
Just for info - I use struts 1.3b nb and built upload func into my current app - no problem. Remark what i corrected from wrong in first step : 1. <- !! 2. use as property a property of type FileForm from org.apache.struts - it was a crazy idea to me to put a Form into a Form first ;-) 3. e

RE: Extending the RequestProcessor class

2003-02-08 Thread Jörg Maurer
Don't want to be that a wacky answer, but I read the source - only free hotspot for myself newby-level seemed to be (quoting org.apache.struts.action.RequestProcessor): /** * General-purpose preprocessing hook that can be overridden as required * by subclasses. Return true if you wa

org.apache.commons.scaffold.text.ConvertUtil.addParam now and then

2003-02-06 Thread Jörg Maurer
ause of html:base used in jsp ?). I resolved it via writing my query-Path literally (?name=1&method=2&...). My question : What is correct usage of ConvertUtils.addParam ? Not delivered with struts dist, what is the correct equivalent for adding params to request transparently? > jörg m

RE: html:multibox and arrays in the ActionForm

2003-02-04 Thread Jörg Maurer
What i figured out is that multibox works only against an array, not a collection - call it useful or not, i wished it works against a collection. -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 04. Februar 2003 15:56 To: Struts Users Mailing List Subject:

RE: nesting tiles with definitions in xml

2003-01-31 Thread Jörg Maurer
ndva.com/Last update 01/03/03 -----Original Message- From: Jörg Maurer [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 13:35 To: Struts Users Mailing List Subject: RE: nesting tiles with definitions in xml Okay, i looked for them. But as i saw it, they take out/give in some attrib

RE: nesting tiles with definitions in xml

2003-01-31 Thread Jörg Maurer
Last update 01/03/03 -Original Message- From: Jörg Maurer [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 04:03 To: Struts Users Mailing List (E-mail) Subject: nesting tiles with definitions in xml Hi! Please can any of you provide me with an example to nest tiles properly. I

RE: tiles not transferring attributes

2003-01-31 Thread Jörg Maurer
the tiles documentation there is a portal example using this technique. Cal http://www.calandva.com/Last update 01/03/03 -Original Message----- From: Jörg Maurer [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 04:57 To: Struts Users Mailing List (E-mail) Subject: tiles not tr

tiles not transferring attributes

2003-01-31 Thread Jörg Maurer
Hi! Has any of you experienced that by nesting jsp with tiles, the ComponentContext with it´s attributes gets lost if jsp nested in 3 level via tiles:get ? > jörg maurer - mailto:[EMAIL PROTECTED] > development > > ucp morgen | tomorrow is today > > fax: +43 1 532 64 64-300

nesting tiles with definitions in xml

2003-01-31 Thread Jörg Maurer
Hi! Please can any of you provide me with an example to nest tiles properly. I need to include several *.jsp in several *.jsp, which are included based upon info on my tiles-def.xml. Using at the 1st level of jsp page is okay, but using at the 2nd level of a now nested jsp gives only back the i

? tiles nesting

2003-01-30 Thread Jörg Maurer
y i have to define all tiles in base.layout abstract(via " " ), just to override them in inheriting tiles with concret *.jsp. So it is not an extending relationsship, only overriding possible? > jörg maurer - mailto:[EMAIL PROTECTED] > development > > ucp morgen | tomorrow

RE: / /OREF:CPT53E85 Re: Session Time-out: Form population fails

2003-01-30 Thread Jörg Maurer
Last resort from me - Do/can you use/refactor to indexed property like, where upper bound = index is tested in setter and indexedProp is set higher/lower ?!?!?! 1. indexed property /** Holds value of property indexedProp. */ private int[] indexedProp = int[2000]; /** Indexed getter fo

RE: / /OREF:CPT36578 Re: Session Time-out: Form population fails

2003-01-30 Thread Jörg Maurer
I cite now a passage of book from Mr. Husted et al., "Struts in action", Manning, copyrighted .. I hope i not get into trouble, but help is more valuable for me than strict law(despite i bought the book and not going to sell following information).Am i disclaiming in correct way?!?!?! I will s

?OffTopic:copyright:copying text from books for struts-user mail arch

2003-01-30 Thread Jörg Maurer
Yo! How is policy/law in that and other use groups - I want to copy a passage from e.g. Husted´s "Struts in action" to reply/or ask to a struts user. Am i breaking some laws/interests with that? Is there a formal note i have to include when posting. Is it relative to amount of posting - number o

RE: / /OREF:CPTF9D2A Session Time-out: Form population fails

2003-01-30 Thread Jörg Maurer
Not sure/not tested -> hint level : if you can use the TRANSACTION token that is activated in form + having a hidden field in form that sets/get corresponding token, you might be able to test for that -> if new instance of the form is created, token does not match -> route to other command ?!?!?

RE: ? on logic:empty - any hints

2003-01-30 Thread Jörg Maurer
- From: Míguel Ángel Mulero Martínez [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 30. Jänner 2003 09:44 To: Struts Users Mailing List Subject: RE: ? on logic:empty - any hints Use the Regards, Miguel -Mensaje original- De: Jörg Maurer [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 30 de

? on logic:empty - any hints

2003-01-30 Thread Jörg Maurer
Hi! I want to test in jsp if user does need to log in, e.g. if user has already logged in and by back button is calling login.jsp for second time. My login.jsp has code : You are already logged in! So i test for that bean named UserContainer in se

RE: what does RT Expr mean

2003-01-29 Thread Jörg Maurer
RT EXPR aka "Run time expression" means denoted value is/may evaluated at run-time, not at compilation time. -Original Message- From: Sundar Narasimhan [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 29. Jänner 2003 15:27 To: [EMAIL PROTECTED] Subject: what does RT Expr mean In the bottom of

RE: / /OREF:CPTDA10A RE: [OT] VOTE to help Naveen.Dhotre Unsubscr ibe permanently

2003-01-29 Thread Jörg Maurer
Does anyone get any 'OUT OF OFFICES' messages from Naveen.Dhotre - me no -> problem solved ? -Original Message- From: alexj [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 29. Jänner 2003 15:13 To: Struts Users Mailing List Subject: Re: / /OREF:CPTDA10A RE: [OT] VOTE to help Naveen.Dhotre Unsub

RE: Obtaining valid ModuleConfig.

2003-01-29 Thread Jörg Maurer
Is it really in request context? sounds more for application context! -Original Message- From: James Nord [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 29. Jänner 2003 15:13 To: [EMAIL PROTECTED] Subject: Obtaining valid ModuleConfig. Hi, I'm using the following snippet in taglib code but

? Interference PLUG-IN(Tiles) versus CONTROLLER(Costum type)

2003-01-29 Thread Jörg Maurer
I just added my own Request Processor element to my app in struts-config, which extended the ...struts...RequestProcessor and defined a Plugin element for org.apache.struts.tiles.TilesPlugin. On startup of app, the log gave me hint that TilesRequestProcessor does not work with my costum RequestProc

RE: Urgent

2003-01-29 Thread Jörg Maurer
There must be some taglib subclassing html:link on struts apache site, http://jakarta.apache.org/struts/resources/taglibs.html, especially http://husted.com/struts/resources/linkParam.htm. Read it through. Tell us if that what you can use and how(I will have to cope with same next day)? So long -

RE: [OT] S.O.S Can Some One Help me in this

2003-01-29 Thread Jörg Maurer
Then might have to do with Tomcat self - Have you changed YOURTOMCATINSTALLROOTDIR/config/server.xml, especially elements? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 29. Jänner 2003 11:02 To: Struts Users Mailing List Subject: [OT] S.O.S Can Some

RE: application resource/ prop messages of org.apache.struts.util.PropertyMessageResource NEVER GET FILLED WITH DATA ?!?!?!

2003-01-28 Thread Jörg Maurer
resource textes - do they work with UNICODE? -Original Message- From: Jörg Maurer Sent: Dienstag, 28. Jänner 2003 19:30 To: [EMAIL PROTECTED] Subject: application resource/ prop messages of org.apache.struts.util.PropertyMessageResource NEVER GET FILLED WITH DATA ?!?!?! Hi ! I am

application resource/ prop messages of org.apache.struts.util.PropertyMessageResource NEVER GET FILLED WITH DATA ?!?!?!

2003-01-28 Thread Jörg Maurer
Hi ! I am currently working on struts project with source code of struts 1.1 beta 3. As i was wondering why my texts aka message resource never get loaded, i followed the problem form Action Servlet PropetyMessageResource, where the property "messages", being a HashMap IS NEVER FILLED with d