?
//Linus Nikander - [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
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 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
-
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]
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
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
solution. Suggestions ?
//Linus Nikander - [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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
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
, 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
how to go
about it ?
//Linus Nikander - [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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
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
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
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
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]
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
. 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
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
?
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
error. Any clues ?
//Linus Nikander - [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
27 matches
Mail list logo