RE: Problems with multibox and checkbox

2003-03-11 Thread Jörg Maurer
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 [mailto:[EMAIL PROTECTED] Sent: Dienstag, 11. März

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

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

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+ qa) 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: how to catch exception using tiles thrown by e.g. org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude

2003-03-08 Thread Jörg Maurer
. Greets Jörg -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 06. März 2003 11:57 To: Struts Users Mailing List Subject: Re: how to catch exception using tiles thrown by e.g. org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude Jörg Maurer wrote

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

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,

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 insert 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

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 : html:form action=/parameter . html:link page=''

RE: [OT] (Slightly OT) Accessing individual array elements (was Re: html:select 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 -

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. bean:define id=parameterForm name=ParameterForm type=ParameterForm/ in my jsp´s to grab the reference to the current FormBean like e.g. html:form action=/parameter ... bean:define id=parameterForm name=ParameterForm

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

2003-02-23 Thread Jörg Maurer
-el:equals) you wouldn't need to do any scriptlet or casting. c:if test=${parameterForm.structure_changeable eq 1} /c:if as 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

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

2003-02-23 Thread Jörg Maurer
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- From: Jörg Maurer [mailto

RE: html:select 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:

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: 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 2003

RE: Nested iterate tags

2003-02-19 Thread Jörg Maurer
: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: Jörg Maurer [mailto:[EMAIL PROTECTED]] Sent: Wednesday

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

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

2003-02-16 Thread Jörg Maurer
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 RowSetUtils once, but at the time there were issues with using

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

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

2003-02-15 Thread Jörg Maurer
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 ? Using org.apache.commons.scaffold i

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:

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. html:form action=...enctype=multipart/form-data - !! 2. use as property a property of type FileForm from org.apache.struts - it was a crazy idea

RE: Problem with empty file upload field

2003-02-09 Thread Jörg Maurer
and 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. html:form action=...enctype=multipart/form-data - !! 2

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 codetrue/code

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

2003-02-06 Thread Jörg Maurer
resolved it via writing my query-Path literally (?name=1method=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 maurer - mailto:[EMAIL PROTECTED] development ucp

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:

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 tiles:get at the 1st level of jsp page is okay, but using tiles:get at the 2nd level of a now nested jsp

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 fon/sms: +43 676 6688

RE: tiles not transferring attributes

2003-01-31 Thread Jörg Maurer
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 transferring

RE: nesting tiles with definitions in xml

2003-01-31 Thread Jörg Maurer
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 need to include several *.jsp in several

RE: nesting tiles with definitions in xml

2003-01-31 Thread Jörg Maurer
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 attributes from tiles context. Not so super, is it? I

? 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 : logic:empty name=%= IAppConstants.USER_CONTAINER_KEY% scope=session html:form action=/login /html:form

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 logic:present Regards, Miguel -Mensaje original- De: Jörg Maurer [mailto:[EMAIL PROTECTED]] Enviado el

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 ?!?!?

?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 of

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

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

? tiles nesting

2003-01-30 Thread Jörg Maurer
value=/form_step3.jsp /put /definition I wondered why i have to define all tiles in base.layout abstract(via nbsp; ), just to override them in inheriting tiles with concret *.jsp. So it is not an extending relationsship, only overriding possible? jörg

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 CONTEXT 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

RE: Urgent html:link

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

? 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

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

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

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

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

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

2003-01-28 Thread Jörg Maurer
ANSI message 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