Struts and I8N looking for a good combination

2004-02-20 Thread Linus Nikander
? //Linus Nikander - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

preslect option from nested list

2004-02-13 Thread Linus Nikander
--- html:select name=UnknownSportForm property=%=\problematicOddsList[\ + i + \].sportTypeId\% size=3 html:options collection=currentSportsList property=sportTypeId labelProperty=sportType/ /html:select JSP - code --- //Linus Nikander - [EMAIL PROTECTED

[SOLVED] Re: preslect option from nested list

2004-02-13 Thread Linus Nikander
Solved it myself after a bit of experimenting. Presetting =%=\problematicOddsList[\ + i + \].sportTypeId\% to a valid sportTypeId did the trick. //Linus Linus Nikander [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm having trouble pre-selecting one of the html:options/ entries

Problems (re)populating nested bean

2004-02-09 Thread Linus Nikander
- java.lang.IndexOutOfBoundsException: Index: 4, Size: 0 Actual errormsg form the log --- //Linus Nikander - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How extensively can/is Struts used ?

2003-12-03 Thread Linus Nikander
information too ? Could this eventually become a performace bottleneck (maybe due the large amount of Beans being created) ? Is there perhaps a better variation of the above that I've missed ? All points of view welcome. //Linus Nikander - [EMAIL PROTECTED

Re: Large scale Internationalization using struts

2003-11-20 Thread Linus Nikander
the information without restarting ? Maybe someone knows of a free, DB-bound, content manager that could accomplish the above whilst still providing a working integration with struts ? //Linus Nikander. - To unsubscribe, e-mail

Large scale Internationalization using struts

2003-11-19 Thread Linus Nikander
solution. Suggestions ? //Linus Nikander - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Ensuring a clean Form

2003-09-24 Thread Linus Nikander
in a later invocation. Is this true or have i misunderstood something ? I also remember reading something about a reset() method for the ActionForm. Is this the method one should use to reset all values ? When exactly is the reset() method called in that case ? //Linus Nikander linus

Re: Ensuring a clean Form

2003-09-24 Thread Linus Nikander
is reused but before initialisation, reset() is called at which point you can clean down the member variables. Adam On 09/24/2003 10:41 AM Linus Nikander wrote: How do I ensure that each invocation of a particular action receives a clean form. I.e a form where no values from any previous invocation

Passing errors that occur in an Action to the presentation tier

2003-09-22 Thread Linus Nikander
to the presentation tier extremely usefull, i was wondering if there is anything similar for errors that occur within an action ? //Linus Nikander - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Passing errors that occur in an Action to the presentation tier

2003-09-22 Thread Linus Nikander
Solved it myself. myErrors.add(createUser, new ActionError(error.createUser.2)); this.saveErrors(request, myErrors); return (mapping.findForward(failure)); where myErrors is an ActionErrors() object. Works like a charm //Linus Linus Nikander

How to pass errors occurred in an EJB call to the presentation tier

2003-09-20 Thread Linus Nikander
tier extremely usefull, i was wondering if there is anything similar for errors that occur wihtin an action ? //Linus Nikander - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Linus Nikander
, possible. //Linus Nikander Jing Zhou [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] It looks to me the answer is NO, although we could use Java script location.replace('url'). But the statement sends out an http request. I would like to know if there is a different answer to it. Jing

ActionError in Action ?

2003-09-01 Thread Linus Nikander
how to go about it ? //Linus Nikander - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Simple (?) display problem

2003-08-12 Thread Linus Nikander
in the wizard). How do I achieve this ? The name of the Form is CreditcardDepositForm if that is needed in some way. //Linus Nikander - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Simple (?) display problem

2003-08-08 Thread Linus Nikander
like the jstl fmt tag. Does struts have something similar? --- Linus Nikander [EMAIL PROTECTED] wrote: I've build a wizard-style application which gathers the information I want from the client. The wizard goes through two information-collecting steps and validates the input. So far

[OFF TOPIC] Book recommendations (J2EE, Struts, JUnit, EJB, Weblogic)

2003-08-04 Thread Linus Nikander
etc, not EJB as a technology) Weblogic 7.x or 8.x (Administration, tuning, best practices for EJBs and enterprise solutions) All recommendations appreciated. //Linus Nikander - [EMAIL PROTECTED] - To unsubscribe, e-mail

Re: [OFF TOPIC] Book recommendations (J2EE, Struts, JUnit, EJB, Weblogic)

2003-08-04 Thread Linus Nikander
instead. //Linus Nikander message message [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] J2EE PATTERNS - www.JAVA.SUN.COM Struts - struts in action. JUNIT - Eclipse - free IDE comes with documenttion on JUNIT /www.junit.org EJB - www.JAVA.SUN.COM Weblogic - Weblogic saleman

Mixing text and Form fields

2003-07-16 Thread Linus Nikander
How do I, at the Jsp level, successfully mix text and form fields where the data for them stems from the same bean. For example I have a Form bean, registeredUsersForm which contains a List of UserInfo beans. I've got a JSP that displays all the information from each bean in the list in a pretty

Is this really the best way to handle this problem

2003-07-15 Thread Linus Nikander
a List() of those beans. One for every row (in the DB-example). That far I can follow, and see how / why. But is there no better way to update the values in the ActionForm (beans) when the data is submitted than in the URL above ? //Linus Nikander - [EMAIL PROTECTED

Re: Is this really the best way to handle this problem

2003-07-15 Thread Linus Nikander
First off, thank you for the reply. As you point out both solutions that you suggest have a certain hackishness over them it would be nice to avoid. As displaying data from a DB-table, allowing that data to be edited (en masse, not one record at a time), must be a pretty common task, doesn't

How to implement as a form ?

2003-07-14 Thread Linus Nikander
for arrays instead of a single get / set which delivers a List of objects ? Any insights ? //Linus Nikander - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

form Date exampel ?

2003-07-10 Thread Linus Nikander
works fine and presents the date in 2003-xx-xx format. But when i resubmit the data i get an error. It struck me that I can't be the only one who has been faced with the problem, has anyone got a better (workin) solution ? //Linus Nikander - [EMAIL PROTECTED

Outputting form:text value as normal text in the .jsp

2003-07-10 Thread Linus Nikander
. The form on the other hand knows the name of the bean because of the struts-config.xml. Is there another way to output the text without explicitly naming the bean in the .jsp ? //Linus Nikander - [EMAIL PROTECTED] - To unsubscribe

Re: bean:write problem with struts 1.1

2003-07-09 Thread Linus Nikander
the issue. //Linus Nikander - [EMAIL PROTECTED] Nicolas Seinlet [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have the same problem. I solve it by deleting the data-sources section and some Action in the struts config file. It's the only way I can solve the problem, but it's

Internationalization on a larger scale.

2003-07-02 Thread Linus Nikander
? Is the textfile cached for performance, or will concurrent calls compete for the same file-resource ? As I'm probably not the first person who is trying to use Struts on a larger scale for internationalization issues I thought someone might have a better solution. Suggestions ? //Linus Nikander - [EMAIL

bean:write problem

2003-07-02 Thread Linus Nikander
error. Any clues ? //Linus Nikander - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]