Hi list,
I'm trying to display the results of a Form in a s:div through Ajax.
The submit is done fine, I can get the parameters through scriptlets
(request.getParameter...) but i can't use s2 tags (i.e. s:property
value=%{property}/): it seems they are not being rendered.
Could someone tell me
Ops, I missed some information.
In addition, when setting the s:head debug=true I'm getting the message:
DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not
locate widget implementation for div in s.widget registered to namespace
s. Developers must specify correct namespaces
Follow up, just in case...
The two problems where related one each other. In fact:
Taglib
%@ taglib prefix=s uri=/struts-tags %
was defined in the main page.
Inside the jsp called via Ajax by action result (inside s:div) I used tags
like s:property.
I discovered that when doing
s:div id=div1
Hi,
is there a way to specify different images for each node? Or are property
such expandIconSrcPlus immutable for the entire tree?
Thanks,
P.
...ping? (Btw, I think it's not possibile because it's a tree attribute.
Shouldn't properties like this belong to treenode?)
Hi,
is there a way to specify different images for each node? Or are property
such expandIconSrcPlus immutable for the entire tree?
Thanks,
P.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I got the same problem a few days ago, solved using the Conversion
Validator:
http://www.mail-archive.com/user@struts.apache.org/msg60494.html
HTH
P.
- Original Message -
From: Jon Wilmoth [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, June 14,
- Original Message -
From: sudeepj2ee [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Friday, June 15, 2007 6:51 AM
Subject: In struts 2 can we stop form submiting twice when submit button is
pressd more than once
Hi
Is there a way out in struts 2 as in struts1.2 for not
- Original Message -
From: goodprogram [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Wednesday, June 13, 2007 9:37 PM
Subject: avoiding resetting of values
Hi
I have 7 textbox fields, when i enter the values for all those and submit
the form, the clientside and server side
Laurie Harper wrote:
L.
ObWhine: please don't post unrelated questions to an existing thread. Be
sure to start a new thread (with an appropriate subject) by sending a
fresh message to the list, rather than using Reply To.
Thanks for the reply.
I'm sorry for the wrong posting, it was not
Hi all,
I have some objects in my app whose properties needs a decode in the view.
I don't want to return property values already decoded to the view, I wish
to decode them in the view.
For the same reason, I also have to build some picklists with shown text
different from value.
Since we
--- Dave Newton wrote:
Why?
I'll try to explain. The main problem is, that i would not to expose a
single getter-method in the action for each property I want to decode. I'm
searching for a more generic method.
I thought on some possibile solution, one was to return, in each action, the
Me too.
P.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Original Message -
From: Dave Newton [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, June 06, 2007 1:14 PM
Subject: Re: [S2] decoding values of objects properties
I'm still not entirely what you're decoding from and
to; it sounds like
Hi there,
here:
http://struts.apache.org/2.x/docs/ognl.html
I found that:
To select a subset of a collection (called projection), use a wildcard
within the collection.
? - All elements matching the selection logic
^ - Only the first element matching the selection logic
$ - Only the last
Paolo Beccari [EMAIL PROTECTED] wrote:
I suppose this message is always returned when a
conversion error occurs.
Next step is finding a way to hide it. I'll post the
solution, if ever find one.
Dave Newton [EMAIL PROTECTED] wrote:
$ find . -name *.properties | xargs grep -i invalid
./src/java
Paolo Beccari [EMAIL PROTECTED] wrote:
I suppose this message is always returned when a
conversion error occurs.
Next step is finding a way to hide it. I'll post the
solution, if ever find one.
Dave Newton [EMAIL PROTECTED] wrote:
$ find . -name *.properties | xargs grep -i invalid
./src
--- Paolo Beccari [EMAIL PROTECTED] wrote:
field-validator type=regex
param name=expression[0-9]/param
message key=requirednumber/
/field-validator
/field
/validators
--- Dave Newton [EMAIL PROTECTED] wrote:
If it's defined as a Long in your action then you
might
param name=expression[0-9]*(\.[0-9]+)?/param
Hi Lance, as already established (see previous posts), it is not a matter of
regular expressions.
The matter is: the variable in the Action is a Long (and MUST be a Long).
The regex validation does not work, if the variable is not a String.
I'm
--- Paolo Beccari [EMAIL PROTECTED] wrote:
So how to validate a Long value?
You might just be able to use the conversion
validator.
http://struts.apache.org/2.x/docs/conversion-validator.html
I have not tried this, so I'd be interested in the
results if you do!
Thanks,
Dave
I'm going
Paolo Beccari [EMAIL PROTECTED] wrote:
So how to validate a Long value?
Dave Newton [EMAIL PROTECTED] wrote:
You might just be able to use the conversion
validator.
http://struts.apache.org/2.x/docs/conversion-validator.html
I have not tried this, so I'd be interested in the
results if you
Hi all,
I'm a S2 newbie.
Trying to validate input in a *-validation.xml, and found a strange
behaviour:
validators
field name=id
field-validator type=required
message key=required/
/field-validator
field-validator type=regex
!--param
21 matches
Mail list logo