On 1/3/11 10:01 AM, RogerV wrote:
component will "Will auto-select all its elements upon its containing form
submision." but it's not doing that - I have to manually select the items in
the right hand list to get the values returned when the containing form is
submitted.
The magic is all in:
Pardon me if I'm probably wrong, but why can't you use JSON action?
I mean, something like this:
[...] jQuery("#list2").jqGrid({ url:'YOUR_JSON_ACTION_URL', [...]
2011/1/3 Jim Talbut :
> Yes, I thought about that, but it's even more work than creating a custom
> "get" method and equally unreusab
well for me I do have an custom tag
the tag converts any entity into JSON, so for example i have
List myEntities;
in my JSP i can do or output as Javascript array without action knowing what the output will be
formated.
and in the tag i have my own formatting rule for JSON. of course i am sure
Hello, thanks for all your answers, finally I can find a solution.
- there is nothing rare or special in the generated HTML, it is identical to
jsp
- when I change the method to get I can see that not all parameters are sent
- finally the problem es solved when include an dijit.form.Form elem
Thanks, Maurizio.
Brian
On Mon, Jan 3, 2011 at 12:14 PM, Maurizio Cucchiara <
maurizio.cucchi...@gmail.com> wrote:
> Individual Contributor License Agreement [1]
> [1] http://www.apache.org/licenses/icla.txt
>
> 2011/1/3 Brian Thompson :
> > Pardon my ignorance, but what is a CLA? I haven't h
Individual Contributor License Agreement [1]
[1] http://www.apache.org/licenses/icla.txt
2011/1/3 Brian Thompson :
> Pardon my ignorance, but what is a CLA? I haven't heard of it before this.
>
> Brian
>
> Sent via my Droid, Eka.
> On Jan 3, 2011 10:42 AM, "Dave Newton" wrote:
>> I kind of thoug
Pardon my ignorance, but what is a CLA? I haven't heard of it before this.
Brian
Sent via my Droid, Eka.
On Jan 3, 2011 10:42 AM, "Dave Newton" wrote:
> I kind of thought the ability to submit to specific action methods was
> well-known, but perhaps you're correct, as this thread indicates (to
Well, I have no CLA but I will contribute what I may.
Beez
r 5347
-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com]
Sent: Monday, January 03, 2011 11:42 AM
To: Struts Users Mailing List
Subject: Re: Multiple Submit Buttons problem in Struts2
I kind of thought the ab
I kind of thought the ability to submit to specific action methods was
well-known, but perhaps you're correct, as this thread indicates (to my
chagrin).
There are a number of things in the wiki that need updating; I'll probably
start compiling a list from previous threads and open JIRA issues. The
Should this be included in documentation as a more complex example of
Struts2? Maybe an example action as well? Just a thought.
-Beez
-Original Message-
From: stanl...@gmail.com [mailto:stanl...@gmail.com]
Sent: Sunday, January 02, 2011 5:20 PM
To: Struts Users Mailing List
Subject: R
Scott,
that was a good way to go..
On Mon, Jan 3, 2011 at 3:59 AM, Dave Newton wrote:
> Hmm, that looks like it might work ;)
>
> Your technique also avoids having to code the behavior into the action
> itself, decoupling things even more cleanly.
>
> (Another foot down the rabbit hole: "custom
Yes, I thought about that, but it's even more work than creating a custom "get"
method and equally unreusable.
I've done this often enough that I think a custom tag is justified.
The reason I keep wanting to do it is to set up jqGrid data so that I can have
a parent record with children (the chi
Have you considered using an include? You can call a json-result-type action
with it or switch to some other fragment result if needed. Perhaps it's
quick and dirty compared with creating a custom tag but it seems to me it
would be a lot easier to implement.
- Aaron
On Jan 3, 2011 6:50 AM, "Jim T
Hi,
I keep needing to put the JSON equivalent of an expression into a JSP page to
be used by client side javascript.
This is done during the evaluation of the JSP, it's not AJAX.
At the moment I'm doing it by creating a special "get" method on the action,
but that's not nice - the action should
14 matches
Mail list logo