Robert Graf-Waczenski wrote:
Musachy Barroso wrote:
so setting
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?
-Dale
---
Dale Newfield schrieb:
so setting
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 not call this appropriate. It should b
Robert Graf-Waczenski wrote:
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 forward from earlier
versions where
Dale Newfield schrieb:
Robert Graf-Waczenski wrote:
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 forward from
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
-DarchetypeArtifactId=struts2-archety
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 alphanume
Link
-Brian
On Wed, Dec 2, 2009 at 1:40 AM, Henry Jen wrote:
> 2009/12/1 Saeed Iqbal :
> > It totally depends on your needs.
> >
>
> The only reason we would like to use is that we want to use OGNL
> in href. For example,
>
> Link
>
> If we can use would be cleaner. Any suggestion?
>
> Cheers
Oops, that should have been this:
">Link
Closing the tag is always a good idea.
-Brian
On Wed, Dec 2, 2009 at 9:11 AM, Brian Thompson wrote:
> Link
>
> -Brian
>
>
> On Wed, Dec 2, 2009 at 1:40 AM, Henry Jen wrote:
>
>> 2009/12/1 Saeed Iqbal :
>> > It totally depends on your needs.
>> >
>>
>
Yes thats right
On Wednesday, December 2, 2009, Brian Thompson wrote:
> Link
>
> -Brian
>
> On Wed, Dec 2, 2009 at 1:40 AM, Henry Jen wrote:
>
>> 2009/12/1 Saeed Iqbal :
>> > It totally depends on your needs.
>> >
>>
>> The only reason we would like to use is that we want to use OGNL
>> in href
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 want
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 -
jar:file:/C:/Yazix/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/front_
This looks like a classpath issue
On Wednesday, December 2, 2009, Gustavo Andrés Guevara Saavedra
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 load configura
make sure you dont have 2 versions of xwork.
musachy
On Wed, Dec 2, 2009 at 8:50 AM, Saeed Iqbal wrote:
> This looks like a classpath issue
>
> On Wednesday, December 2, 2009, Gustavo Andrés Guevara Saavedra
> wrote:
>> Hi,
>>
>> I've just migrated my app. from Struts 2.1.6 to 2.1.8.1. The appl
If you are using maven do a dependency:tree and exclude redundant packages
On Wednesday, December 2, 2009, Musachy Barroso wrote:
> make sure you dont have 2 versions of xwork.
>
> musachy
>
> On Wed, Dec 2, 2009 at 8:50 AM, Saeed Iqbal wrote:
>> This looks like a classpath issue
>>
>> On Wednes
Hi,
I've this text field in my jsp
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 fine
because I'm using fieldName, so my question is there anyway I can g
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 unsub
Try this,
-siddiq.
Louis Voo wrote:
>
> Hi,
>
> I've this text field in my jsp
>
> 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
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
wrote:
> Hi,
>
> I am trying to get blank app to work under
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 unsubscr
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 w
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: j
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.
user.password.equals(user.confirmPassword)
[1] http://struts.apache.org/2.x/d
Easy to find in the Freemarker docs.
http://freemarker.org/docs/ref_directive_t.html
On Wed, Dec 2, 2009 at 10:47 AM, 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 mean?
>
> <#rt/>
> <#lt/>
> <#
You use the key attribute instead of label
On Wednesday, December 2, 2009, Siddiq Syed wrote:
>
> Try this,
>
>
>
>
> -siddiq.
>
>
> Louis Voo wrote:
>>
>> Hi,
>>
>> I've this text field in my jsp
>>
>> > required="true"/>
>>
>> and this property in the resource bundle
>>
>> error.required = ${
Congrats :)
On Thursday, December 3, 2009, Milos Negovanovic
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
>> >struts2 by default.
29 matches
Mail list logo