The problem is the URI parameter in your display tag table. This is how
DT invokes the action/HTTP request that originally got the request for
the table in the table. It should be something like:
requestURI=search.action where the value is the action of the page.
MG
-Original Message-
that without copying the XML file?
MG
-Original Message-
From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Sent: Friday, April 16, 2010 12:13 AM
To: Struts Users Mailing List
Subject: Re: How to reuse field validators?
2010/4/16 Griffith, Michael * michael.griff...@fda.hhs.gov
Currently the xml file is in the package with the struts action. I this this
is where my problem lies, should it be in the model package?
MG
-Original Message-
From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Sent: Friday, April 16, 2010 9:26 AM
To: Griffith, Michael
you must expose you model directly.
I'm not sure what you mean by that... Can you restate?
MG
-Original Message-
From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Sent: Friday, April 16, 2010 9:53 AM
To: Griffith, Michael *
Cc: Struts Users Mailing List
Subject: Re: How
Hello all,
I am not clear on how to reuse a field validator that doesn't share a
common package or action/alias. I have package
...struts.admin/
...struts/application/
with namespaces /admin and /application respectively. I have a model
object with a validator modelClass-validator.xml in
Hello everyone,
I'm wondering is there a way I can insert a displayTag table into my
struts form? I want the table to appear under form edit controls, but
before the buttons, like a master detail type of view. I'd like to know
if there is a way to do this without making changes to the default
Hello everyone,
I'm wondering is there a way I can insert a displayTag table into my
struts form? I want the table to appear under form edit controls, but
before the buttons, like a master detail type of view. I'd like to know
if there is a way to do this without making changes to the default
? (assuming Struts 2 since you mention
templates, but want to be sure)
-Wes
On Tue, Jun 9, 2009 at 3:17 PM, Griffith, Michael
*michael.griff...@fda.hhs.gov wrote:
Hello everyone,
I'm wondering is there a way I can insert a displayTag table into my
struts form? I want the table to appear under form
. If you are planning on making something like
this for each form in your app, then build a tag out of it.
-Wes
On Tue, Jun 9, 2009 at 3:23 PM, Griffith, Michael
*michael.griff...@fda.hhs.gov wrote:
Sorry, yes -- Struts 2 (2.1.6).
-Original Message-
From: Wes Wannemacher [mailto:w
into a struts form?
Griffith, Michael * wrote:
I'm wondering is there a way I can insert a displayTag table into my
struts form? I want the table to appear under form edit controls, but
before the buttons, like a master detail type of view. I'd like to
know if there is a way to do this without
?
Griffith, Michael * wrote:
Create a trtd colspan=2...
Do this in my form, or change the template?
On your page.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
insert a table into a struts form?
On Tue, Jun 9, 2009 at 4:51 PM, Griffith, Michael
*michael.griff...@fda.hhs.gov wrote:
Thanks Dave! That was too easy. Here I thought I would have to edit
the template. I'm always over thinking S2.
How can I make my submit buttons show up next to each other
:
s:property value=%{#session.mySessionAttribute} /
May be this will help.
Thank you.
Regards,
Kishan.G
Senior Software Engineer.
www.spansystems.com
-Original Message-
From: Griffith, Michael * [mailto:michael.griff...@fda.hhs.gov]
Sent: Thursday, April 30, 2009 1:04 AM
To: Struts Users
Ding! Sorry I didn't see this reply earlier when I repeated how do I get
the map value. Again, thanks Dave! Is there such a thing as an OGNL
expression validator? It would be nice to be able to fool around with
the expression interactively until I am able to get to the correct
expression.
Hello all,
It seems as if I am always at odds with trying to figure out the correct
OGNL syntax. I have a MapString,String in the HttpSession, and I'm
trying to use one of the values in the map as an anchor tag in a link.
The map is stored in the session as an attribute named
with text fields?
Griffith, Michael * wrote:
The following validation annotation seems to work:
@ManyToOne(cascade = {CascadeType.PERSIST, CascadeType.MERGE},
fetch=FetchType.EAGER)
@JoinColumn(name = STATUS)
@ExpressionValidator(message = Default message,
key=validate.status, expression
Spring has excellent remoting abilities. If you are already using
Spring, I'd check out Spring Remoting as my first option.
-Original Message-
From: Rafael Taboada [mailto:kaliman.fore...@gmail.com]
Sent: Tuesday, March 17, 2009 7:39 AM
To: user@struts.apache.org
Subject: Web Services
reply would be appreciated.
Best Regards,
MG
-Original Message-
From: Griffith, Michael * [mailto:michael.griff...@fda.hhs.gov]
Sent: Monday, March 16, 2009 1:18 PM
To: Struts Users Mailing List
Subject: RE: Required field only works with text fields?
Ok, So I am being a bone-head
only paints the asterisk -- it has nothing to do
with actually requiring input. Nice huh?
Peace,
Scott
On Fri, Mar 13, 2009 at 4:14 PM, Griffith, Michael *
michael.griff...@fda.hhs.gov wrote:
Hi all,
I just noticed that the only required field validations that seem to
be working in my form
Hello all,
Is it possible to check a field value against a list using the
@ConditionalVisitorFieldValidator annotation?
I'm thinking of something like this:
@Column(name=VENDOR_TYPE, nullable=false)
@ConditionalVisitorFieldValidator (expression=vendorType == 'COTS'
vendorType == 'GOTS'
Hi all,
I just noticed that the only required field validations that seem to be
working in my form are text field validations.
Any HTML tag that renders a list, check box or radio button doesn't
validate, even though the template shows the field as required.
In other words, this tag:
Hi Everyone,
What's wrong with this expression?
s:property value=#context['struts.actionMapping.namespace']/
Namespace is a private field, but has a public accessor...?
Thanks in advance,
MG
-
To unsubscribe, e-mail:
for:
s:property value=#context['struts.actionMapping'].namespace/
musachy
On Wed, Feb 25, 2009 at 3:34 PM, Griffith, Michael *
michael.griff...@fda.hhs.gov wrote:
s:property value=#context['struts.actionMapping.namespace']/
--
Hey you! Would you help me to carry the stone? Pink Floyd
It is possible that the following page is out of date:
http://struts.apache.org/2.1.6/docs/parameter-filter-interceptor.html
It should reference the params interceptor, right?
of
doing it, it ain't Struts 2 :)
musachy
On Tue, Feb 10, 2009 at 11:25 AM, Griffith, Michael *
michael.griff...@fda.hhs.gov wrote:
It is possible that the following page is out of date:
http://struts.apache.org/2.1.6/docs/parameter-filter-interceptor.html
It should reference the params
expressions, for both accepted and
excluded params.
musachy
On Tue, Feb 10, 2009 at 11:56 AM, Griffith, Michael *
michael.griff...@fda.hhs.gov wrote:
Is there any way to exclude a parameter using a wildcard expression?
I want to block certain parameters generated by displayTag.
DisplayTag
musachy
On Tue, Feb 10, 2009 at 12:03 PM, Griffith, Michael *
michael.griff...@fda.hhs.gov wrote:
Can you help me out with the expression? I am terrible with RE.
-Original Message-
From: Musachy Barroso [mailto:musa...@gmail.com]
Sent: Tuesday, February 10, 2009 10:59 AM
To: Struts
point out what's wrong with this picture?
Thanks in advance,
MG
-Original Message-
From: Griffith, Michael * [mailto:michael.griff...@fda.hhs.gov]
Sent: Tuesday, February 10, 2009 11:11 AM
To: Struts Users Mailing List
Subject: RE: Out of date documentation?
Thanks, I'll give it a try
Jaarthy,
It looks like your s:url tag is trying to point to a tile, vs. an
action that returns the tile result.
Here's an example:
!- Struts tag --
s:url id=projectList action=list namespace=/project /
s:a href=%{projectList}s:text name=project.list//s:a
!-- Action --
package name=project
-
From: Griffith, Michael * [mailto:michael.griff...@fda.hhs.gov]
Sent: Tuesday, February 10, 2009 5:32 PM
To: Struts Users Mailing List
Subject: RE: Out of date documentation?
Ok, here's what is happening...
If I don't try to ignore the DisplayTag parameters, I get:
17:23:58,833 INFO
Gotcha, sorry I couldn't be more help.
MG
-Original Message-
From: Jaarthy [mailto:aarthyj...@yahoo.com]
Sent: Tuesday, February 10, 2009 6:14 PM
To: user@struts.apache.org
Subject: RE: Struts2.1.6 Tiles 2.1.
the same was working fine with Struts2.0.6 and Tiles 2.0.
Griffith
, the way you have it configured, none of the other
interceptors are going to run, only your special params interceptor.
(*Chris*)
On Tue, Feb 10, 2009 at 3:32 PM, Griffith, Michael *
michael.griff...@fda.hhs.gov wrote:
Ok, here's what is happening...
If I don't try to ignore the DisplayTag
something more like:
interceptor-ref name=defaultStack
param
name=params.excludeParamsdojo\..*,^struts\..*,d-\d*-s/param
/interceptor-ref
(*Chris*)
On Tue, Feb 10, 2009 at 4:21 PM, Griffith, Michael *
michael.griff...@fda.hhs.gov wrote:
Really, is that true? I thought there was a way
Dave,
Thanks for the reply, and the suggestion~
Cheers!
MG
-Original Message-
From: Dale Newfield [mailto:d...@newfield.org]
Sent: Friday, February 06, 2009 5:23 PM
To: Struts Users Mailing List
Subject: Re: Can I use a Parameter in result definition?
Griffith, Michael * wrote
: Friday, February 06, 2009 8:54 AM
To: Struts Users Mailing List
Subject: Re: TypeConverter needs Spring Bean
Are the converters created by the object factory? if not, then it will
not work.
musachy
On Fri, Feb 6, 2009 at 9:46 AM, Griffith, Michael *
michael.griff...@fda.hhs.gov wrote:
I also
}
that factory will be the Spring object factory, which you can use to
lookup the beans that you need. Not much of inversion of control but
it should work.
musachy
On Fri, Feb 6, 2009 at 9:59 AM, Griffith, Michael *
michael.griff...@fda.hhs.gov wrote:
How can you tell? This is handed by the plug
I also tried adding the @Autowired annotation to the dependency, but it
did not work. Can anyone clarify how this is supposed to work?
MG
-Original Message-
From: Steven Yang [mailto:kenshin...@gmail.com]
Sent: Thursday, February 05, 2009 8:15 PM
To: Struts Users Mailing List
Subject:
Hi,
I don't think I fully understand OGNL and I need some help with an
expression...
I have a param that I am passing to an action. the parameter is called
selectedType, and it has a getter and setter on the action. It is
getting set correctly. When I try to evaluate the expression using the
: What's the correct expression syntax?
Griffith, Michael * wrote:
s:if test=%{selectedType == 'C'}
... Do work
/s:if
Is the correct one, except for the one-character-string gotcha:
http://struts.apache.org/2.1.6/docs/why-wont-the-if-tag-evaluate-a-one-c
har-string.html
-Dale
Hello all...
Does anyone know if it is possible to use a parameter in my
action/result definition:
I want to use the package name in the result definition
package name=component extends=base-package namespace=/component
action...
result name=success
-Original Message-
From: Dale Newfield [mailto:d...@newfield.org]
Sent: Friday, February 06, 2009 2:25 PM
To: Struts Users Mailing List
Subject: Re: Can I use a Parameter in result definition?
Griffith, Michael * wrote:
Does anyone know if it is possible to use a parameter in my
action
Hello everyone,
I have a type converter that needs to get access to my Spring managed
service so it can do a DB lookup. I was under the impression that the
struts-spring plug-in handled DI for the converter. However, when the
convertFromString method tries to access the service called
Hello all,
I must be missing something subtle about my configuration. I'm using
Struts 2.0.11 and want to use annotation based validation, but can't
seem to get it working.
My action class has an update method as such:
@Validation
public class ArtifactAction extends BaseAction implements
I hate it when I do this kind of thing. My input result was pointing to
the wrong result. Me -- My own worst enemy.
-Original Message-
From: Griffith, Michael * [mailto:michael.griff...@fda.hhs.gov]
Sent: Wednesday, February 04, 2009 11:13 AM
To: Struts Users Mailing List
Subject: Why
Struts 2.0.11
Tiles 2.0.6
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2008 1:37 AM
To: Struts Users Mailing List
Subject: Re: s:action/ redirect does not work with Tiles.
2008/8/7 Griffith, Michael * [EMAIL PROTECTED]:
I cannot make
, 2008 6:40 AM
To: Struts Users Mailing List
Subject: Re: s:action/ redirect does not work with Tiles.
Griffith, Michael * wrote:
Hello All,
I cannot make s:action/ result go to a new page. Chaining the
result
does work, but the response shows my entire tile set showing up in the
inside
Hello All,
I cannot make s:action/ result go to a new page. Chaining the result
does work, but the response shows my entire tile set showing up in the
inside tile, which is not what I want either.
Here is my scenario:
I have a JSP that includes a struts action as such...
]---
Hello All,
I have a JSP that includes a struts action as such:
]--- begin edit.jsp ---[
%@ include file=../fragments/taglibs.jsp%
link rel=stylesheet href=../css/datacall.css type=text/css
s:action name=form executeResult=true flush=false
ignoreContextParams=false/
]--- end
Hi,
From the docs, I found this link/note: To use session-scoped components
with Spring and Struts, see the Spring Session Components Workarounds
analysis. That led to confluence page that doesn't yet exist. I am
using a session scoped spring bean in a struts 2 action, and it seems to
be
Hello All,
I am having a problem with Struts 2 form submission, because I believe a
related s:select field is not being converted correctly. I have read
the documentation at: http://struts.apache.org/2.x/docs/select.html and
http://struts.apache.org/2.0.11.1/docs/type-conversion.html It is
the form to.
On Fri, Apr 18, 2008 at 5:33 PM, Griffith, Michael *
[EMAIL PROTECTED] wrote:
Hello All,
I am having a problem with Struts 2 form submission, because I believe a
related s:select field is not being converted correctly. I have read
the documentation at: http://struts.apache.org/2.x
;
}
public ListStatus getStatusList(){
return statusService.findAll();
}
}
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Friday, April 18, 2008 12:22 PM
To: Griffith, Michael *
Cc: Struts Users Mailing List
Subject: Re
Hello all,
I think I know the answer to this, but I am wondering how the dependency
and dependency convergence lists are built on the Struts Website?
http://struts.apache.org/2.x/struts2-core/dependencies.html
http://struts.apache.org/2.x/struts2-core/dependency-convergence.html
Is
Ignore my question... I found it... Maven 2 Report, thanks.
MG
-Original Message-
From: Griffith, Michael * [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2008 12:50 PM
To: Struts Users Mailing List
Subject: How is the dependency and dependency conversion list built on
struts
Forgive me if I am on the wrong track here, I think I picked up this
thread in the middle... but I think I would answer:
How are we suppose to supply the fileName?
By setting a response header:
response.setHeader(Content-Disposition, inline;filename=foo.xyz);
MG
-Original Message-
Agreed. Look for a provider that offers the correct JDK and API specs.
MG
-Original Message-
From: Alex Choi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2008 12:55 PM
To: Struts Users Mailing List
Subject: Re: Newbie question
I think you need to rephrase your question. Apache
-the-framework-from-source.htm
l
On 18/03/2008, maitre [EMAIL PROTECTED] wrote:
Thanks, y'all.
Where can I find the correct JDK and API specs so I can ask my hosting
company?
Ed
Griffith, Michael * wrote:
Agreed. Look for a provider that offers the correct JDK and API
specs.
MG
-the-framework-from-source.htm
l
On 18/03/2008, maitre [EMAIL PROTECTED] wrote:
Thanks, y'all.
Where can I find the correct JDK and API specs so I can ask my
hosting
company?
Ed
Griffith, Michael * wrote:
Agreed. Look for a provider that offers the correct JDK and API
specs.
MG
Frank,
Check two things:
1) You have included the struts2-spring-pliugin.jar in your classpath
2) Your applicationContext.xml file is getting loaded on startup. If
you haven't already done so, check your web.xml for a context parameter
like this:
context-param
Frank,
I would check your struts.properties file:
Make sure it has these entries and that it is on your classpath (i.e. in
WEB-INF/classes)
struts.objectFactory = spring
struts.objectFactory.spring.autoWire = name
MG
-Original Message-
From: Frank Fischer [mailto:[EMAIL PROTECTED]
]
Sent: Tuesday, March 11, 2008 8:31 AM
To: Struts Users Mailing List
Subject: Re: How can I combine a result (tiles + xslt)?
2008/3/11, Griffith, Michael * [EMAIL PROTECTED]:
Would you then agree this is a bug or enhancement that could be made
to
the XSLTResult? Maybe a flush parameter could
To: Struts Users Mailing List
Subject: Re: How can I combine a result (tiles + xslt)?
2008/3/10, Griffith, Michael * [EMAIL PROTECTED]:
I believe (maybe incorrectly so) that the problem is caused by the
XSLTResult calling close/flush when processing the result.
Mmm... It reminds me a thing.
When
Message-
From: Griffith, Michael * [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2008 4:44 PM
To: Struts Users Mailing List
Subject: RE: How can I combine a result (tiles + xslt)?
Dave,
I did. I will try both, easy path first. I'll let you know what I find
so that you can close the JIRA
is related.
I believe (maybe incorrectly so) that the problem is caused by the
XSLTResult calling close/flush when processing the result.
https://issues.apache.org/struts/browse/WW-2538
MG
-Original Message-
From: Griffith, Michael * [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2008 4:44
Struts 2.0.11.1
Tiles 2.0.5
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2008 2:20 AM
To: Struts Users Mailing List
Subject: Re: How can I combine a result (tiles + xslt)?
2008/3/6, Griffith, Michael * [EMAIL PROTECTED]:
Same result. Does
I'd be happy to do more than that; I'll fix the bug if someone can give
me some design direction.
MG
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2008 7:36 AM
To: Griffith, Michael *
Cc: Struts Users Mailing List
Subject: Re: How can I combine
Dave,
I did. I will try both, easy path first. I'll let you know what I find
so that you can close the JIRA incident I opened. I did look at the JIRA
ticket Antonio posted, and it seems likely that is the problem.
Thanks to all that replied, especially all the extra effort that Martin
went to.
-0500, Griffith, Michael * wrote:
[snip]
Is this a good application for writing my own interceptor for?
You would want to write your own Result Type for this. Writing your
own results is not as well documented as writing your own interceptors,
but since you are combining the functionality
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2008 9:51 AM
To: Griffith, Michael *
Cc: Struts Users Mailing List
Subject: Re: How can I combine a result (tiles + xslt)?
Michael-
remembering our academic coursework teaches Not(Not condition) evaluates
positive
be sure to set
Could this be a defect?
https://issues.apache.org/struts/browse/WW-1385
-Original Message-
From: Griffith, Michael * [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2008 1:25 PM
To: Martin Gainty
Cc: Struts Users Mailing List
Subject: RE: How can I combine a result (tiles + xslt
to
prevent this? Any tile that is supposed to be rendered after the body
(ie the footer) is not rendered because the stream is closed.
Any help would be much appreciated...
MG
-Original Message-
From: Griffith, Michael * [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2008 1:52 PM
Hi Edward,
Create a method for handling all the rest or unspecified actions, and
delegate to your view:
protected ActionForward unspecified(ActionMapping mapping, ActionForm
form,
HttpServletRequest request,
HttpServletResponse response)
Hi,
Can anyone advise me on the best way to approach this problem? I have a
Struts2 application using Tiles 2 for UI. I have a page where the body
of my tiles composition needs to be generated dynamically from XSLT. I
want to transform XML into HTML tags including a form and inputs, which
want to confuse the plug in -- if
that makes any sense.
MG
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Monday, February 04, 2008 6:30 PM
To: Struts Users Mailing List
Subject: Re: AjaxTag 1.3 support?
Right on.
On Feb 4, 2008 6:45 PM, Griffith, Michael *
[EMAIL
-Original Message-
From: Griffith, Michael * [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 05, 2008 8:32 AM
To: Struts Users Mailing List
Subject: RE: AjaxTag 1.3 support?
Musachy,
I can't seem to create the right blend of Entity objects/list/maps to
allow the JSON plug in to serialize
To: Struts Users Mailing List
Subject: Re: AjaxTag 1.3 support?
Don't give up so easily :). That is just a setting on the json plugin
to prevent cross site scripting, and can be disabled.
musachy
On Feb 5, 2008 11:27 AM, Griffith, Michael *
[EMAIL PROTECTED] wrote:
Well, to answer my own question
as I remember the plugin doesnt escape
the quoutes. If you put the url in your browser you should see the
generated json as it actually is.
musachy
On Feb 5, 2008 2:12 PM, Griffith, Michael *
[EMAIL PROTECTED] wrote:
Musachy,
Huh? That can't be right...
First of all, the document says
://cwiki.apache.org/S2PLUGINS/json-plugin.html
musachy
On Feb 5, 2008 12:58 PM, Griffith, Michael *
[EMAIL PROTECTED] wrote:
Musachy,
I've looked over the documentation, and looked in the JSONWriter class
-- and it is not obvious to me how to configure this plugin setting.
How is it done?
MG
From: Griffith, Michael * [mailto:[EMAIL PROTECTED]
Sent: Fri 2/1/2008 3:48 PM
To: Struts Users Mailing List
Subject: RE: AjaxTag 1.3 support?
Dave,
Thanks for the reply. I guess I should have said freemarker instead of
sitemesh...? At any rate, when the docs don't match
].toLowerCase somewhere?
musachy
On Feb 4, 2008 11:57 AM, Griffith, Michael *
[EMAIL PROTECTED] wrote:
Jeromy,
Again, thanks for the reply. I appreciate your help!
Following your example below, I can see the JSON result in the app
server console when the action called, but I get the following error
Subject: Re: AjaxTag 1.3 support?
I think that error is coming from your jsp, not the JSON generation.
Do you have this.data[x][0].toLowerCase somewhere?
musachy
On Feb 4, 2008 11:57 AM, Griffith, Michael *
[EMAIL PROTECTED] wrote:
Jeromy,
Again, thanks for the reply. I appreciate your help
response, except you'd use an XML result
type like I previously described in this thread.
I hope that helps. Struts2 is really well suited at providing non-html
responses if you take the time to understand the ResultType
architecture.
cheers,
Jeromy Evans
Dave Newton wrote:
--- Griffith
: Re: AjaxTag 1.3 support?
funny thing is that now I remember the code(duh!), it is in the struts
widget. It seems like the json is empty. Paste the section of your jsp
with the autocompleter and the json that your action is returning.
regards
musachy
On Feb 4, 2008 2:16 PM, Griffith, Michael
To: Struts Users Mailing List
Subject: Re: AjaxTag 1.3 support?
yes, but the output will depend on what you feed the JSON result.
musachy
On Feb 4, 2008 3:20 PM, Griffith, Michael *
[EMAIL PROTECTED] wrote:
Musachy,
I must have missed your point. Isn't the idea of using the JSON
plug-in
so
1.3 support?
Take a look here:
http://cwiki.apache.org/S2PLUGINS/json-plugin.html
musachy
On Feb 4, 2008 3:43 PM, Griffith, Michael *
[EMAIL PROTECTED] wrote:
So, if you have an array of Entity objects, in my case question:
How can I produce?
{
question : [
[1,question 1
this link:
http://cwiki.apache.org/WW/ajax-and-javascript-recipes.html#AjaxandJavaS
criptRecipes-Autocompleter
otherwise just an array of arrays should do:
[
[Alabama, AL],
[Alaska, AK]
]
musachy
On Feb 4, 2008 2:46 PM, Griffith, Michael *
[EMAIL PROTECTED] wrote:
Musachy
Here
JSON?
Dave
--- Griffith, Michael * [EMAIL PROTECTED] wrote:
Musachy,
Thanks for your many replies... Does this JSON look like the right
format? As far as I can tell, it matches your snippet below -- but I
get
the same dojo parting error.
[{questions:{420:Is your Java Application a ME, SE
:
{
questions: {
Key1 : Question 1,
Key2 : Question 2,
}
}
//that's the idea, but I typed out of what I remember which is often not
good :)
musachy
On Feb 4, 2008 4:34 PM, Griffith, Michael *
[EMAIL PROTECTED] wrote:
Musachy,
I'm still not getting it...
I am now serializing a list
://cwiki.apache.org/S2PLUGINS/json-plugin.html
musachy
On Feb 4, 2008 3:43 PM, Griffith, Michael *
[EMAIL PROTECTED] wrote:
So, if you have an array of Entity objects, in my case question:
How can I produce?
{
question : [
[1,question 1 text...],
[2,question 2 text
, Michael * [EMAIL PROTECTED] wrote:
Yea, I think so -- I copied and pasted this from the log
file/console...
From: Dave Newton [mailto:[EMAIL PROTECTED]
Is it generating those brackets around your JSON?
--- Griffith, Michael * [EMAIL PROTECTED] wrote:
Musachy,
Thanks for your many
: AjaxTag 1.3 support?
...
That's probably an issue.
--- Griffith, Michael * [EMAIL PROTECTED] wrote:
Yea, I think so -- I copied and pasted this from the log
file/console...
From: Dave Newton [mailto:[EMAIL PROTECTED]
Is it generating those brackets around your JSON?
--- Griffith, Michael
.
Grant
From: Griffith, Michael * [mailto:[EMAIL PROTECTED]
Sent: Fri 2/1/2008 3:48 PM
To: Struts Users Mailing List
Subject: RE: AjaxTag 1.3 support?
Dave,
Thanks for the reply. I guess I should have said freemarker instead of
sitemesh...? At any
either must render the form
after the data is available, or perform additional processing to 'push'
the data into the form.
L.
Griffith, Michael * wrote:
In fact, looking at the page source, it appears the expression is
never
cooked...
Here's the input from the rendered page:
input type
Hi all,
I can't seem to get a simple Ajax based look ahead search to work. I am
trying to use AjaxTags 1.3 (http://ajaxtags.sourceforge.net/) in my
Struts2 application. What is the correct response to return? I am also
using Tiles2.
If I write the response directly to the output stream, that's
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Friday, February 01, 2008 5:42 PM
To: Struts Users Mailing List
Subject: Re: AjaxTag 1.3 support?
--- Griffith, Michael * [EMAIL PROTECTED] wrote:
public class QuestionAction extends BaseAction implements
ModelDrivenQuestion
Hello all,
I am trying to understand how to present an interface where I allow a
user to edit a master/detail relationship using an Ajax technique. I am
quite new to Struts2, so please forgive the dalliance.
I have a form that presents the user the ability to edit the master of
the
'] is not returning anything?
musachy
On Jan 31, 2008 5:16 PM, Griffith, Michael *
[EMAIL PROTECTED] wrote:
Hello all,
I am trying to understand how to present an interface where I allow a
user to edit a master/detail relationship using an Ajax technique. I
am
quite new to Struts2, so please
-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 31, 2008 4:25 PM
To: Struts Users Mailing List
Subject: Re: Help with (1...N) Editing using Ajax?
so #session['guide'] is not returning anything?
musachy
On Jan 31, 2008 5:16 PM, Griffith, Michael *
[EMAIL PROTECTED] wrote
98 matches
Mail list logo