Title: About ww:iterator tag
About the iterator tag.
1. Does there exist a function with the iterator tag, that check if the prev, value is the same as the next. Then if so skip printing that value.
2. Is there a odd/even handling when iterating through a list? So you can print out a table
Title: About ww:iterator tag
Actually, there is a way to know if you would like to check for odd/even
rows. Use the attribute "status" of the iterator-tag.
Example:
ww:iterator ... status="rowStat"
ww:if test="rowStat.odd == true"
podd row/p
/ww:if
/ww:iterator
-Original
Hello,
I'm creating+converting an app with ww2, but this applies to almost all
frameworks.
People don't seem to care about the difference between a http GET and
POST. Almost everybody just puts their code in performAction() or
execute(), without checking the request method. This is also done
I'd like to know how to redirect to a details page after a create /
update. In the xml file I can set redirect, but where how can I specify
parameters?
The reason I ask is because I don't want to resubmit the query when the
user presses refresh.
I did this in my framework by redirecting to a
Hi all!
I got two questions:
- is there a way to use german vowels like ' ü ' ( uuml; )
in xxx-validation.xml files for field validations
both spellings 'ü' and uuml; seem not to be valid
- i want to use modeldriven action implementation and field validation
- 1. i implement the
Jan-Peter Hagenmüller wrote:
Hi all!
I got two questions:
- is there a way to use german vowels like ' ü ' ( uuml; )
in xxx-validation.xml files for field validations
both spellings 'ü' and uuml; seem not to be valid
Did you try and specify the encoding for the xml file?
Joris Verschoor wrote:
[OS-webwork] How to redirect to a page with parameters?
I'd like to know how to redirect to a details page
after a create /
update. In the xml file I can set redirect, but where
how can I specify
parameters?
I've been wondering the same
hey hani!
thanks!!! that's it :-)
sorry for using wrong subject in mail - i forgot to change !
jp
05.01.2004 16:06:41, Hani Suleiman [EMAIL PROTECTED] wrote:
Jan-Peter Hagenmüller wrote:
Hi all!
I got two questions:
- is there a way to use german vowels like ' ü ' ( uuml; )
Title: Message
For 1:
No... use a Set instead of a List if you want only unique
values
-Original Message-From: Mathias Berg
[mailto:[EMAIL PROTECTED] Sent: Monday, January 05,
2004 3:55 AMTo: WebWork (E-mail)Subject: [OS-webwork]
About ww:iterator tag
About the
I see Hani's suggestion fixed question 1, are you still having problems with question
2?
Applying field validators for the fields of your Model (or your Action, as they are
both on the ValueStack) should work. Give me some more detail if it's not.
Jason
-Original Message-
From:
You can create your own Dispatcher if you want to distinguish, or
implement it as an Interceptor (it's really easy, and if you put it in
your default interceptor stack, you don't have to refer to it again).
-Original Message-
From: Joris Verschoor [mailto:[EMAIL PROTECTED]
Sent:
Which WebWork version are you using? If it's WW2, you can use a
RedirectResult, and the location can be dynamic using the ${varName}
notation. You can also set other parameters using the param elements
which can have dynamic values.
-Original Message-
From: Joris Verschoor
Title: Message
See my
last response... It can be dynamic and pulled from your Action
class...
The
ActionInvocation is responsible for executing your Interceptors, Action and
Result
-Original Message-From: Mark Woon
[mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004
Title: Message
If I have some value, say a confirmation
number or some other type of message, that is created in an action, how can I get
this value placed into the velocity context that will be used to render the
result in the VelocityResult? What is the suggested best practice for
OS-webwork] Calling mutators on Actions
Hi all,
Is there a way to call a mutator on an Action with
WW2 tags? More
specifically, I need to grab the Principal from the
session and provide
it to my Action. Is there a way to do this?
Thanks,
-Mark
Jason Carreira wrote:
Message
Sorry, the docs are a little sparse for the
taglib...
Take a look at the example JSPs in the example web app...
For getting texts from a resource bundle, you
can use
getText() like so:
ww:textfield
label="getText('some.text.key')"
Title: Message
Why do
you want to do this from the JSP page?
-Original Message-From: Mark Woon
[mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004
6:20 PMTo:
[EMAIL PROTECTED]Subject: [OS-webwork]
Calling mutators on Actions
Hi all,
Is there a way to call a
17 matches
Mail list logo