How to use MessageResources effectively?

2004-03-18 Thread Timo Tjäder
. Any good ideas or solutions are wery welcome. However, it seems that only this way the user language was really changed. Thanks, Timo short pseudo code of the bean public Collection getBeanDiscTypeCollection() { String myL = getMyLocale().getLanguage(); String myC = getMyLocale

Using optionsCollection - LabelValueBean

2004-03-14 Thread Timo Tjäder
contains LabelValueBean-objects (14 peaces). LabelValueBean[1, 1], LabelValueBean[2, 2], LabelValueBean[3, 3], ... So, does anyone know how to reference to this object correctly. Current solution does not diaplay anything to the screen. Thanks, Timo So what I'd like to do is display a selection

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread Timo Tjäder
-SERVICE-BEAN Service sets the values and they are read from the page using struts tags (equal/iterate/present). The totalNumOfPagesCollection comes actually from BEAN. Thanks, Timo The html:select needs to be provided with the property it's associated to, the one on your form bean

Multiple Action invokations in a single JSP / request via *include*?

2004-01-31 Thread Timo --Blazko-- Boewing
-Campaign Timo | X Against HTML Mail | / \ -- PUBLIC KEY: 52F3311A Timo Boewing [EMAIL PROTECTED] 2003/10/30 Fingerprint = F743 E0AA A2F0 1B33 F6FA 417B 72BE 740D 52F3

Re: Very Troubled in Finding Ways to Pass a Variable to a Class

2003-12-06 Thread Timo
Caroline, The best way I use it to pass parameters to the action class is via a hidden attribute in the form, in your case the articleForm you can define the hidden attribute using input type=hidden name=hiddenField value=%=request.getRemoteUser();%/ Good luck. - Original Message -

Tiles Help! Help with Tiles...

2003-11-28 Thread Timo
Hi all, I tried to use tiles-defs.xml to define a tile, but got the following error: 500 Internal Server Error javax.servlet.jsp.JspException: Error - Tag Insert : No value defined for bean 'stdLayoutDef' with property 'null' in scope 'null'. here is my tiles-defs.xml?xml version=1.0

Re: Tiles Help! Help with Tiles...

2003-11-28 Thread Timo
/resStatusReportBody.jsp / tiles:put name=footer value=/Layout/stdFooter.jsp / /tiles:insert to a simple code just like this: tiles:insert definition=stdLayoutDef / within the page you will be display the tiles.(not the layout page) - Original Message - From: Timo [EMAIL PROTECTED

Re: Tiles Help! Help with Tiles...

2003-11-28 Thread Timo
/ tiles:put name=footer value=/Layout/stdFooter.jsp / /tiles:insert to a simple code just like this: tiles:insert definition=stdLayoutDef / within the page you will be display the tiles.(not the layout page) - Original Message - From: Timo [EMAIL PROTECTED] To: Struts Users

Question about Tiles Defs...

2003-11-28 Thread Timo
Because Internatilization is a big concern, I am using the struts localization technique to resolve labels, texts etc. But now, I am using the tiles-defs.xml to display the pages. one problem is to replace the title property, I know if I am using a regular jsp I can use the

Using Tiles!! Loading Tile definition and use it as a bean!!!

2003-11-26 Thread Timo
Hi all, I am trying to standardize the look and feel to my web app, first idea was to use filters that modifies the contents of all web pages and format it to the desired layout. of course, there were Tiles to do that, so why re-invent the wheel? I went through a little problem, when tried to

Re: Validate values in collection?

2003-09-26 Thread Timo Neumann
[0]/var-name var-valuefunds.valueNeeded/var-value /var var var-namefieldTest[0]/var-name var-valueEQUAL/var-value /var var var-namefieldValue[0]/var-name var-valuetrue/var-value /var /field /form Timo It depends on if it is indexed or not. Here is an example that I have

Re: [Poll] action mappings

2003-09-25 Thread Timo Neumann
of the respondents went with #1 so I wonder why they prefer it? cheers, Timo What are folks currently doing for action mappings in relation to CRUD operations? Are you: #1 creating a unique Action mapping for each atomic operation (potentially mapped to the same action class) /createUser.do

How to remove DynaForm from session the struts way?

2003-09-25 Thread Timo Neumann
Hi guys! How would I remove a DynaValidatorForm from the session after I do not need it anymore? Is there a struts specific way or should I simply use session.removeAttribute(...)? Or would you recommend simply calling form.initialize()? Any help would be apreciated. Timo -- FF Computer

Validate values in collection?

2003-09-25 Thread Timo Neumann
Hi all, is it possible to use the validator framework to check values of beans that are stored in a collection in a DynaValidatorForm? TIA, Timo -- FF Computer AnwendungenTel: +49 89 51727-352 und Unternehmensberatung GmbH Fax: +49 89 51727-111 Westendstr. 195 Mail

Re: Validate values in collection?

2003-09-25 Thread Timo Neumann
Natalie D Rassmann wrote: yes how? Timo Neumann wrote: Hi all, is it possible to use the validator framework to check values of beans that are stored in a collection in a DynaValidatorForm? TIA, Timo -- FF Computer AnwendungenTel: +49 89 51727-352 und Unternehmensberatung GmbH Fax

Re: Validate values in collection?

2003-09-25 Thread Timo Neumann
the validator framework? If not try this link below: http://jakarta.apache.org/struts/userGuide/dev_validator.html Timo Neumann wrote: Natalie D Rassmann wrote: yes how? Timo Neumann wrote: Hi all, is it possible to use the validator framework to check values of beans that are stored

Re: Validate values in collection?

2003-09-25 Thread Timo Neumann
Natalie D Rassmann wrote: Hi Natalie, now I got it. Thanks a lot. Timo It depends on if it is indexed or not. Here is an example that I have... field property=prepTime indexedListProperty=prepTime depends=float,isFloatNegative page=3 arg0 key=label.revRec.mtgMetricPrepTime

Re: How to remove DynaForm from session the struts way?

2003-09-25 Thread Timo Neumann
Chen, Gin wrote: I use session.removeAttribute That's what I do now. To be exact I user session.removeAttribute(dvForm.getDynaClass().getName()); That makes it more robust than hard coding the DynaForm's name. Timo -Tim -Original Message- From: Timo Neumann [mailto:[EMAIL

Re: html:messages

2003-09-12 Thread Timo Neumann
Stan Reinis wrote: Simply use html:messages messages=true id=message /html:messages This should do the trick. Timo My Action includes the following code: ActionMessages messages = new ActionMessages(); ... messages.add( ActionMessages.GLOBAL_MESSAGE

Re: struts: JSP expression not evaluated

2003-03-26 Thread Timo Nentwig
Jacob Hookom wrote: No, you will need to use single quotes for it to work properly. You Already tried this, same issue. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts: JSP expression not evaluated

2003-03-26 Thread Timo Nentwig
Craig R. McClanahan wrote: Using a JSP expression to set an attribute value requires you to create the *entire* value, not just part of it, with the expression. html:link href='%= blah.do?arg= + var %' Why?! - To

struts: JSP expression not evaluated

2003-03-25 Thread Timo Nentwig
see the woods for the trees or is this a bug? Timo -- http://nitwit.de/ http://www.jeigh.com/werk/admin/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

struts: JSP expression not evaluated

2003-03-25 Thread Timo Nentwig
see the woods for the trees or is this a bug? Timo -- http://nitwit.de/ http://www.jeigh.com/werk/admin/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

OT: How to organize your software in proper version control structure

2003-01-15 Thread Timo Riikonen
with the structure above. Thank you in advance for any comments or votes. -- Timo Riikonen [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Problem using Servlet 2.3 DTD with Struts

2002-12-05 Thread Weber Timo
Hi, there seems to be a problem with Xerces. Have a look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 hth, Timo -Original Message- From: Mark Woon [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 3:15 PM To: [EMAIL PROTECTED] Subject: Problem