Accidentally found out how to do this:
invalid.fieldvalue.deliveryLocations[*].port=Delivery Location Port is invalid
Posting it for others who may have the same question.
On Mon, Jan 26, 2009 at 1:37 PM, Owen Berry wrote:
> I have an action that has a collection of objects. Conversion
I have an action that has a collection of objects. Conversion to and
from the objects in this collection works fine. However, I can't
figure out how to give sensible errors for type conversions that fail.
It's not cool for the user to get:
Invalid field value for field "deliveryLocations[1].por
Thanks!
On Thu, Jan 15, 2009 at 4:33 PM, Musachy Barroso wrote:
> It should be up now.
>
> musachy
>
> On Thu, Jan 15, 2009 at 4:24 PM, Owen Berry wrote:
>> I'm trying out 2.1.6 because a bug that's affecting my code has been
>> fixed. However, now the JS
I'm trying out 2.1.6 because a bug that's affecting my code has been
fixed. However, now the JSON plugin is no longer working. I see that a
new version of the plugin was released recently, but has not made it
into the Maven repository. If someone who is able to get it into the
Maven repository sees
Thanks for all the great work, Struts developers! I'm assuming great
work based on past performance, but I'm keen to try out the new
release in the next few days ... moving from the 2.1.2 beta.
On Wed, Jan 14, 2009 at 9:19 AM, Musachy Barroso wrote:
> The Apache Struts group is pleased to announc
You need to use the Struts JSON plugin to format your list as a JSON
response. Your Javascript code can then call eval on the JSON string
to create a Javascript object. Either that, or look into the YUI JSON
module. Another alternative might be to look at the YUI datasource
module, although I haven
Here's a small sample out of my struts.xml file; let me know if you
need a little more.
home
home
I can access the above with any of the following URLs:
/
/home
/home.action
/.action (yip!)
If I access it with a .action extension, then all links i
In light of this issue, it would be nice if a newer version of ognl
could be used within struts. I'm using the 2.1.2 beta and it also
depends on ognl-2.6.11. Not sure how simple it would be to update to a
newer ognl though as struts-2.1.2 also depends on xwork-2.1.1, which
depends on ognl-2.6.11, s
As far as I can see, the default is:
struts.action.extension=action,,
and with that setting, accessing /login will work. I'm using it that
way without any problems.
On Wed, Oct 1, 2008 at 9:30 AM, duschhaube <[EMAIL PROTECTED]> wrote:
> Hi,
>
> the extension can be configured in the struts.prope
Is avoiding OGNL a possibility rather than avoiding Struts 2 altogether?
On Wed, Sep 24, 2008 at 6:47 AM, yorlick kilroy <[EMAIL PROTECTED]> wrote:
> a few weeks ago I posted the same problem with struts2 concerning poor
> OGNL performance. Absolutely none of the advice given has helped. The
> App
Javascript within a remote div is not evaluated by default. Not sure
about s:div, but sx:div has executeScripts which must be set to true.
Owen
On Fri, Sep 5, 2008 at 6:01 AM, Pablo Vázquez Blázquez
<[EMAIL PROTECTED]> wrote:
> Hi!!
>
> If I have the following code in a jspx loaded via , when I g
ramework
> better than I do. Unfortunately I do have a negative
> effect since the Tabs are not responding to any clicks.
> Thought it had something to do with the id collision.
>
>
>
> Owen Berry wrote:
>>
>> There's nothing much you can do about this collis
There's nothing much you can do about this collision message, unless
you want to "fix" the Struts code, but the good news is that it
doesn't seem to have any negative effects. The reason for the message
is that the tabs are parsed twice by Dojo.
Owen
On Tue, Aug 12, 2008 at 5:43 AM, André Cedik |
In your jsp code set a variable to be the value you want, as shown
earlier in this thread by Balwinder, and then read that variable in
your Javascript code. If you're using OO javascript, you can make it
nice and tidy by passing the parameter in your "constructor", or set
it in a method. Example:
"Optimistic locking" will give you some information. One way to do
this is to have a column in your database table that denotes a version
number, which is incremented every time the row changes. Include that
value in your form, and then you will be able compare the form version
to the database vers
Another option is to store it as a temporary record in the database
(assuming you're using one). It could either be in a temporary table,
or marked as an incomplete record in some way. An advantage of this
approach is that the record is not lost if the server is restarted
while the user is busy (un
Note that Acegi has become Spring Security:
http://static.springframework.org/spring-security/site/index.html
On Thu, Jul 10, 2008 at 3:43 PM, nani2ratna <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> can anybody tell me how to configure struts 2.0 and acegi,
> I searched, but i got something in the java
b.
>
> Best greetings,
> Paweł Wielgus.
>
> On 10/07/2008, Dave Newton <[EMAIL PROTECTED]> wrote:
>> --- On Wed, 7/9/08, Owen Berry <[EMAIL PROTECTED]> wrote:
>> > You need to have a hidden field value that will take the
>> > place of the disa
You need to have a hidden field value that will take the place of the
disabled checkbox as some browsers do not send disabled field values.
Basically, it's just for display.
On Wed, Jul 9, 2008 at 2:29 PM, Lukasz Lenart
<[EMAIL PROTECTED]> wrote:
> Did you try with some others browsers, like IE, F
In terms of licensing, from the bottom of http://springframework.org/about
"All Spring projects are licensed under the terms of the Apache
License, Version 2.0."
On Sun, Jul 6, 2008 at 6:00 AM, Antonio Petrelli
<[EMAIL PROTECTED]> wrote:
> Hi all,
> I would like to know if in S1 or in S2 there is
And another, +1
On Mon, Jul 7, 2008 at 8:28 AM, ManiKanta G <[EMAIL PROTECTED]> wrote:
> +1 me too
>
> Alessio Mereu wrote:
>>
>> +1 for me too
>>
>> 2008/7/7 Marc Logemann <[EMAIL PROTECTED]>:
>>
>>
>>>
>>> +1 for the suggestion
>>>
>>> Marc
>>>
>>> On Mon, 7 Jul 2008 12:53:14 +0200 (MEST), "[EMA
Dojo 0.4 back button support:
http://dojotoolkit.org/book/dojo-book-0-4/part-7-utilities/back-button-and-bookmarking
What version of Dojo is included with Struts 2.0.11? Is it 0.4?
On Mon, Jun 30, 2008 at 2:15 PM, cree <[EMAIL PROTECTED]> wrote:
>
> Thank you all for your replies.
>
> I guess at
You probably need to look at storing them in the session. Look at the
MessageStoreInterceptor.
Owen
On Wed, Jun 18, 2008 at 1:38 PM, Giovanni Azua <[EMAIL PROTECTED]> wrote:
> hi,
>
> I basically would like to pass an action message or error from one action to
> another using the redirectAction r
If you have trouble with the dojo documentation, you can use
"dojo.debug(arguments.length)" to tell how many arguments you get
passed, and then use alert/dojo.debug to display obj.toString() or
obj.toSource() ... this will give you an idea of what you're getting
passed.
Owen
On Wed, Jun 18, 2008
Just so you know that there is some kind of response to this; although
I can't show you what I'm working on because it's an intranet type
application for work, I am using version 2.1.2 and will file any bugs
I come across. Actually, I've already filed one and it's already
marked as fixed in 2.1.3.
How about having a DOJO remote div that refreshes, thereby keeping the
session active. Could even show progress on the pdf generation.
On Thu, May 22, 2008 at 8:23 AM, Simon Sew <[EMAIL PROTECTED]> wrote:
> Because we are required to generate the pdf in real time. The data will
> always be chang
Just wondering what others do with regard to refreshing of remote
div's and session expirations (requiring the user to re-authenticate).
As an example, a page contains a tabbed panel, which contains remote
div's that refresh on show. If a user chooses one of these tabs, but
in the mean time their s
. Apologies for all the list traffic - thanks for all those
that helped out.
Owen
On Tue, 2004-11-16 at 12:31, Owen Berry wrote:
> David,
>
> Thanks for the suggestion. Unfortunately I do not have any Javascript on
> these links - they are plain vanilla href's:
>
> Home
>
>
view) mean anything. It could just mean the second (i.e. double)
> submit was handled by the same HTTP related thread, such as on HTTP1.1
> compliant concurrent connections.
>
> Regards,
> David
>
> -Original Message-
> From: Owen Berry [mailto:[EMAIL PROTECTE
the web.xml
> mapping, and the action code would help.
>
>
> On Mon, 15 Nov 2004 15:35:10 -0500, Owen Berry <[EMAIL PROTECTED]> wrote:
> > Hi there,
> >
> > I'm having a problem where certain actions are being executed twice when
> > a user follow
On Mon, 2004-11-15 at 15:46, Matt Bathje wrote:
> Owen Berry wrote:
> > Hi there,
> >
> > I'm having a problem where certain actions are being executed twice when
> > a user follows a link. I'm hoping somebody has some input on this, or
> >
en able to replicate the problem using a standard
servlet.
Any suggestions on where I can start looking? BTW, I'm not in a position
to upgrade to Struts 1.2.x at this stage.
Thanks,
Owen Berry
-
To unsubscribe, e-mail: [EMA
32 matches
Mail list logo