Thanks for your reply Martin, I think I now have it working using the attribute
on the model.
--john
- Original Message -
From: Martin Gainty
Date: Saturday, November 14, 2009 2:03 pm
Subject: RE: S2: basic question on rest plugin
>
> //First we need to define the attributes and metho
Hello All,
I'm experimenting with the rest plugin (2.1.8) using the example
struts2-rest-showcase as a
starting point. I wanted to implement a simple search such that a URL like
http://localhost:8080/struts2-rest-showcase-2.1.8/orders?amount=66
returned a list of order with the amount of 66.
Hello All,
I'm having trouble getting the FileUpload interceptor (v2.0.14) to work
w/ multiple files. My form looks like this:
and then my Action contains:
File[] shapefile;
String[] shapefileContentType;
String[] shapefileFileName;
w/ corresponding setters:
public void setShapefile(File[
Hello All,
I'm having trouble getting the SkipValidation annotation to work. I
have a single action w/ multiple methods. Some of the methods don't
require any input and I'd like to skip validation, e.g.
@SkipValidation
public String list() {
return("list");
}
However the annotation does not
Hello All,
I'm trying to use jsonplugin 0.32 w/ struts 2.0.14 and it seems that the
includeProperties parameter is being ignored. My configuration looks like:
true
items.*\.name
Can someone please help me w/ what might be wro
Hello All,
I'm trying to understand why the following does not produce a URL w/ the
requested parameter appended. Can someone please help me?
var url = "";
//produces '/scufn/secure/json/ListFeatures.action'
Thanks!
--john
Hello All,
I'm having trouble getting the json-plugin 0.32 to behave as I'd
expected. The action is exposing a List of objects annotated as
"@JSON(name="items")" in the action.
I have my result configured as:
true
items.*\.name
Howeve
Just what I needed - thanks!
--john
- Original Message -
From: Dave Newton <[EMAIL PROTECTED]>
Date: Thursday, July 24, 2008 5:31 pm
Subject: Re: [S2] url tag to construct href in different namespace
> Namespaces typically begin with a "/"; try that.
>
> Dave
>
> --- On Thu, 7/24/08,
Thanks for your offer to help Martin!
Listed below is the struts.xml, web.xml, and source for the Action class
(taken straight from the docs).
I'm testing it by simply typing the URL into the browser:
http://localhost:8000/viewer-commons-2.0/chart/ViewModeration.action
I notice that if I embe
Hi Ian,
thanks for your reply. For testing purposes, I'm simply calling it via URL:
http://localhost:8080/viewer-commons-2.0/chart/serverIronLoadChart.action
Strangely, I was able to get the chart example from the docs to run in
new context, I just can't seem to be able to integrate it into a m
Hello All,
in configuring the httpheader result type in the struts.xml file, is
there a way to access objects on the value stack?
Thanks!
--john
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
Sorry! I now see what looks like the answer in the FAQ:
http://struts.apache.org/2.0.6/docs/how-can-we-access-the-httpservletrequest.html
--john
- Original Message -
From: John Cartwright <[EMAIL PROTECTED]>
Date: Friday, March 30, 2007 5:00 pm
Subject: S2: access to the POST body
> Hel
Thanks for your reply, David. I'm not sure that I understand though. I
am using tomcat 5.0.x and JSP2.0. However, when I change the taglib
directive to:
<%@ taglib prefix="html" uri="http://jakarta.apache.org/struts/tags-html"%>
and try something like:
(where images is a HashMap in request sc
Hello All,
I tried deploying the example webapp that comes with the
contrib/struts-el taglibs and am getting the following exception
accessing the index.jsp:
java.lang.NullPointerException
org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1114)
org.apache.struts.taglib.TagU
14 matches
Mail list logo