set-property sets the attributes on the FormBeanConfig object itself
that is created for that particular form-bean tag. Since foo is not a
property on FormBeanConfig you see this error. You can extend
FormBeanConfig and include the attribute foo in there but I am not sure
what you will gain
Hi all,
I am wondering if there is an easy way to format the ssnn. What I have
is a String '123456789' but the users would like to see '123-45-6789'.
Is there an easy way of doing this using bean:write or bean:message or
any other tag?
Thanks!!
/] bean:write
name=test7.value
formatKey=format.pattern//td
- /tr
/snip
The preceeding code came from
http://www.mail-archive.com/[EMAIL PROTECTED]/msg20743.html
Andreas
-Ursprungliche Nachricht-
Von: Kumar M [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. Marz 2004 16:45
An: Struts
a look at java.text.DecimalFormat for an explanation of formatting patterns
for
decimal numbers.
/snip
The above code came from http://www.junlu.com/msg/45833.html. I didn't even
know that this was possible. Lets see if I need it some day!
Andreas
-Ursprungliche Nachricht-
Von: Kumar M [mailto
Tim,
That is what I have right now...and is ofcourse very simple to do it in
FormBeans :). But I have to do this at a number of places/form beans, so
I was wondering if it could be done using bean:message as I mentioned in
the subject of this e-mail (not necessarily bean:write).
Thanks!
Hi all,
I am uploading files using FormFile in my ActionForm. When the uploaded
is completed I would like to show them the complete path of the files
that they have uploaded. For example, C:\mydocs\doc1.txt instead of
just doc1.txt. The FormFile.getFileName() retrieves the file name but
I
Hi all,
I have an ArraList of strings that I want to show in a drop-down box. The
same thing is both the label as well as the value. Can anybody tell me how I
can do this using html:options? The collection in html:options is expected
to hold JSP beans, which is not the case in my situation.
Out of curioistywhat abstraction does Struts provide to avoid the
mapping that you are talking about. I thought it is pretty standard to use
the *.do kinda mappings.
From: Kris Schneider [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List
Hi all,
I have a question re the action attribute of a html:form. The html:form is
spread over a few tiles. Currently, its value is populated using a run time
expression
html:form action='%= (String)request.getAttribute(FORM_ACTION) %'
method=POST
But some times, the page that I need to
If you need this search functionality to see where a particular tile
definition is being used (or if it is being used or not), then here is a
thought. How about directly using the name of the file definition in your
struts config file instead of the JSP file name?
For example, in your
10 matches
Mail list logo