Robert Graf-Waczenski wrote:
Musachy Barroso wrote:
so setting s:textfield value=%{missingProperty}/
doesnt fail?
No, it doesn't fail, the text input field is rendered with empty
contents.
That is the appropriate way for it to render if the property is indeed
missing. Is a warning
Dale Newfield schrieb:
so setting s:textfield value=%{missingProperty}/
doesnt fail?
No, it doesn't fail, the text input field is rendered with empty
contents.
That is the appropriate way for it to render if the property is indeed
missing. Is a warning generated in your logs?
I would
Robert Graf-Waczenski wrote:
s:property value=%{missingProperty}/ which correctly yields a
runtime error
Unless you're in devMode, I don't want anything yielding a runtime
error, I want it to proceed as best it can, and let me know so I can
address any potential issue (the logging is a step
Dale Newfield schrieb:
Robert Graf-Waczenski wrote:
s:property value=%{missingProperty}/ which correctly yields a
runtime error
Unless you're in devMode, I don't want anything yielding a runtime
error, I want it to proceed as best it can, and let me know so I can
address any potential issue
If I have global results correctly configured - should they appear when I
examine my app, which uses the convention plugin, with
config-browser/index.action?
--
View this message in context:
http://old.nabble.com/Convention-Plugin---Global-Results-tp26606826p26606826.html
Sent from the Struts -
Hi All,
I'd like to report a possible bug in struts2 annotation based action
mapping:
I wanted to have slashes in my action names and use them as parameters
(REST style service)
For example:
The action name is /opds/0028-0838/2009 and is mapped to EPubOPDSAction
The problem is
Do you know how to setup initial project files you want,
This may be helpful to you if you very basic
=
mvn archetype:create -DgroupId=org.apache.struts
-DartifactId=struts2-archetype-starter -DarchetypeGroupId=org.apache.struts
Hi!
after a type conversion error, Struts goes on in the interceptor stack and
validates the empty action property with useless results. How can I avoid
this? (I'm using the default interceptor stack.) And how can I avoid the
NoSuchMethodException thrown every time a user enters invalid
a href=s:property value=%{#some_var_s:url}Link/a
-Brian
On Wed, Dec 2, 2009 at 1:40 AM, Henry Jen henry...@ztune.net wrote:
2009/12/1 Saeed Iqbal saee...@gmail.com:
It totally depends on your needs.
The only reason we would like to use s:a is that we want to use OGNL
in href. For
Oops, that should have been this:
a href=s:property value=%{#some_var_s:url}/Link/a
Closing the tag is always a good idea.
-Brian
On Wed, Dec 2, 2009 at 9:11 AM, Brian Thompson elephant...@gmail.comwrote:
a href=s:property value=%{#some_var_s:url}Link/a
-Brian
On Wed, Dec 2, 2009 at
Yes thats right
On Wednesday, December 2, 2009, Brian Thompson elephant...@gmail.com wrote:
a href=s:property value=%{#some_var_s:url}Link/a
-Brian
On Wed, Dec 2, 2009 at 1:40 AM, Henry Jen henry...@ztune.net wrote:
2009/12/1 Saeed Iqbal saee...@gmail.com:
It totally depends on your
Robert Graf-Waczenski wrote:
This is not a bug, it's a feature in Struts2 2.1.8.1 that you explicitly
have to enable via a configuration option (which is what we did).
Oh! My bad. You're right, that could be a useful feature given certain
policies, I'm glad it's now there for those that
Hi,
I'm trying to modify xhtml theme to suite our need, but I'm not familiar with
freemarker. Could someone explain these few tags mean?
#rt/
#lt/
#t/
Regards
LV
Hi,
I've just migrated my app. from Struts 2.1.6 to 2.1.8.1. The application
worked fine but now throws the following exception upon launching the
server:
Unable to load configuration. - bean -
This looks like a classpath issue
On Wednesday, December 2, 2009, Gustavo Andrés Guevara Saavedra
g.guev...@i-deal.hu wrote:
Hi,
I've just migrated my app. from Struts 2.1.6 to 2.1.8.1. The application
worked fine but now throws the following exception upon launching the server:
Unable to
make sure you dont have 2 versions of xwork.
musachy
On Wed, Dec 2, 2009 at 8:50 AM, Saeed Iqbal saee...@gmail.com wrote:
This looks like a classpath issue
On Wednesday, December 2, 2009, Gustavo Andrés Guevara Saavedra
g.guev...@i-deal.hu wrote:
Hi,
I've just migrated my app. from Struts
If you are using maven do a dependency:tree and exclude redundant packages
On Wednesday, December 2, 2009, Musachy Barroso musa...@gmail.com wrote:
make sure you dont have 2 versions of xwork.
musachy
On Wed, Dec 2, 2009 at 8:50 AM, Saeed Iqbal saee...@gmail.com wrote:
This looks like a
Hi,
I've this text field in my jsp
s:textfield key=label.name name=user.name maxlength=35 required=true/
and this property in the resource bundle
error.required = ${getText(fieldName)} is required.
label.name = Name
When there is validation error, it looking for user.name property, it is
Hi,
I am trying to get blank app to work under jetty7. At startup I get this
error:
http://pastie.org/723875
Anyone seen this before? What am I missing?
Regards
--
Milos Negovanovic
milos.negovano...@googlemail.com
-
To
Try this,
s:text name=label.name /
s:textfield name=user.name maxlength=35 required=true/
-siddiq.
Louis Voo wrote:
Hi,
I've this text field in my jsp
s:textfield key=label.name name=user.name maxlength=35
required=true/
and this property in the resource bundle
error.required
I tried an app in jetty 7 yesterday and had the same problem, using my
amazing laziness skills I switched to jetty 6 and it worked, so I just
blamed it on jetty and moved on :)
musachy
On Wed, Dec 2, 2009 at 10:19 AM, Milos Negovanovic
milos.negovano...@googlemail.com wrote:
Hi,
I am trying
Milos Negovanovic wrote:
http://pastie.org/723875
Says:
Caused by: java.lang.ClassNotFoundException:
javax.servlet.jsp.JspWriter
So, is there a .jar in your application's classpath that contains this?
-Dale
-
To
On Wed, Dec 02, 2009 at 01:38:34PM -0500, Dale Newfield wrote:
Milos Negovanovic wrote:
http://pastie.org/723875
Says:
Caused by: java.lang.ClassNotFoundException:
javax.servlet.jsp.JspWriter
So, is there a .jar in your application's classpath that contains this?
Which jar would that
Milos Negovanovic wrote:
javax.servlet.jsp.JspWriter
Which jar would that be? I have all jars distributed with jetty7 and
struts2 by default.
I don't know which servlet api you're using.
2.3: jsp-api.jar
2.5: jsp-api-2.0.jar
2.4: I don't know, but I would guess that jsp and api are in the
On Wed, Dec 02, 2009 at 02:04:01PM -0500, Dale Newfield wrote:
Milos Negovanovic wrote:
javax.servlet.jsp.JspWriter
Which jar would that be? I have all jars distributed with jetty7 and
struts2 by default.
I don't know which servlet api you're using.
2.3: jsp-api.jar
2.5: jsp-api-2.0.jar
If you look at the Validation Guide [1] you will find a link at the
bottom for WebWork Validation [2] which shows this example for
comparing passwords.
field name=user.password
field-validator type=requiredstring
message key=user.password.empty/
/field-validator
/field
field
Easy to find in the Freemarker docs.
http://freemarker.org/docs/ref_directive_t.html
On Wed, Dec 2, 2009 at 10:47 AM, mailtolouis2020-str...@yahoo.com wrote:
Hi,
I'm trying to modify xhtml theme to suite our need, but I'm not familiar with
freemarker. Could someone explain these few tags
You use the key attribute instead of label
On Wednesday, December 2, 2009, Siddiq Syed siddiq...@yahoo.com wrote:
Try this,
s:text name=label.name /
s:textfield name=user.name maxlength=35 required=true/
-siddiq.
Louis Voo wrote:
Hi,
I've this text field in my jsp
s:textfield
Congrats :)
On Thursday, December 3, 2009, Milos Negovanovic
milos.negovano...@googlemail.com wrote:
On Wed, Dec 02, 2009 at 02:04:01PM -0500, Dale Newfield wrote:
Milos Negovanovic wrote:
javax.servlet.jsp.JspWriter
Which jar would that be? I have all jars distributed with jetty7 and
29 matches
Mail list logo