Hi,
The selected value of a drop-down can be set by filling the String[] in
the form with the required values. But the values eventually come from the
database. So inside the form you have to have access to one of the scopes
where you could store the retrieved values. Is this how this is done
Hi,
I did a lot about i18n but I still have problem. I do
every thing that was said in :
http://www.anassina.com/struts/i18n/i18n.html
Every thing works fine. Now in my action form I read
the form inputs and want to insert the data into
Oracle
tables. The data will be inserted in wrong encoding.
Hi,
I have a case in which an uploaded file is corrupted by struts.
The file is only 20KB. You can get it from here:
http://home.arcor.de/polzer/testXP.doc
Byte 4097 (originally 0x00) turned into a 0x0A.
I suspect a buffer size of 4 KB and/or a 0x0A 0x0D problem ???
Supposedly this bug is
Hello All,
I have searched the list for some time now and could not find a conclusive
answer for my problem. I am hoping someone else has come across this and can
help me.
When displaying information about a User, I need to display the Label for a
Country Code. This should be simple enough.
The reccomended solution is use struts-EL (You need to be using the
latest version for the EL).
Start by putting your form field in the proper scope (you might be able
to do this directly in the EL with something list
${session.FormBeanName.getFormCountryCode} buty I am not sure of that).
whitespace from strings
. converting dates from shorthand forms to longhand forms (today -
20021109)
S
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Last month a fellow by the name of Rick Ruemann [[EMAIL PROTECTED]]
posted a reply to an email inquiry of mine, turning me on to Ed Hill's
marvelous display tag library (Hi Rick!). It turns out that Ed's web
site URL is actually http://edhill.its.uiowa.edu/display-0.8/ (implying
that Ed might
Wouldn't this work. Still ugly but if you use XML syntax might be
passable.
%
FooBarBean fooBarBean =
(FooBarBean)request.getAttribute(FooBarBean.LOOKUP_KEY);
%
display:table name=FooBarBean property=fundList cellspacing=1
cellpadding=0 border=0 width=569 styleClass=DataTableBorder
scope=request
I don't understant why you can't use logic:iterate tag.
Anyway, why don't you use a for instead of all those if, something like
this ?
%!
// Convert a int to a 2 digit String
private String int2DString(int i) {
String number = new Integer(i).toString();
if ( i 10) {
number = 0 +
Hi all
I've the following problem:
if I try to use
fmt:formatDate value=${currentCalendar.validityEnd} type=date/
nothing is displayed.
validityEnd is of type java.sql.Date (and not null) what shoud I do to
format it ?
thx,
kiuma
--
To unsubscribe, e-mail:
I thank you for the correction. You're absolutely correct. No I can ask my
questions in a more clever way and perform searches as Eddie suggested.
I looked at the link provided, it wasn't very clear but I can see that it's
doable.
Some one ask why the need to go through the web-app and not
Hello,
Is there a simple sample?
Thanks in advance,
Juan José Velázquez Garcia
Information System Developer
www.htmlspider.com.br
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Didn't get this to work the way I want. The problem is that I don't know
how to set the page property of the DynaValidatorForm without using my own
Action.
The best thing I can think of so far is to use my own ActionMapping to set
the page. And in my Action class, I set the page property of my
Vikram == Vikram Goyal [EMAIL PROTECTED] writes:
Vikram When displaying information about a User, I need to display the Label for a
Vikram Country Code. This should be simple enough. However, the User bean contains
Vikram only the country code. To get the Country label, I need to
David == David M Karr [EMAIL PROTECTED] writes:
Vikram == Vikram Goyal [EMAIL PROTECTED] writes:
David Your alternatives are to use a scriptlet or to use the Struts-EL library in
the
David nightly build (as described in another response to this). With Struts-EL, a
David direct
There are many properties in an application that need to rendered
in a particular way. The database may store a telephone number as
a simple String of numerals, but your business requirements might
say that telephone numbers must formatted with spaces or hyphens
to make them easier to read.
hi,
we have a form that has more than one action. The
actions of the form
could are changed depending on previous action.
Actually there is a state diagram
between actions. For example if A,B,C are actions
then:
A-- B -- C
Now where we can change the action ( dispatch
parameter)?
There are
Thanks David/Edgar,
I have actually done it in a scriptlet, but it is departing from the idea of
keeping JSP's scriptlet free. I am surprised that there is no generic way of
handling this in Struts. I always assumed that it would be till I actually
had to do it !!
The EL approach seems better
18 matches
Mail list logo