.
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
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
-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
-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
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 -
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
/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
/
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
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
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
[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
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
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
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
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
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
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
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
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
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]
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
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]
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]
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]
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
25 matches
Mail list logo