Thanks, everybody.
I tried ignoreHierarchy, but got a Java reflection exception. Even if it
worked, it would have include too many things I don't want. According to
the documentation, it "... serialize properties in all base classes (up to
Object) ".
I could try to use the excludeProperties para
Hey,
How do I include some of a parent action's properties in the JSON result of
an action? In the following example, I'd like MyAction2's JSON result
includes name1 and name2 from MyAction1 too.
public abstraction class MyAction1 extends ActionSupport {
protected String name1;
protected
Probably not ... but that's something I could fall back on. I prefer not to
deploy it as a separate webapp.
Thanks,
Daniel
On Thu, Sep 17, 2009 at 10:47 AM, Wes Wannemacher wrote:
> I'm looking at doing something similar, but my approach will be
> different... I am planning to use CAS to conf
Hi there,
Anyone has experience with using a blogging software module (like Apache
Roller) with a Struts 2 implementation? We want to add a new "blogs"
section to an existing web site built with Struts2. The blog module will
need to be seamlessly integreated as part of the site (not as a separat
c:url tag would if
I used plain JSP and JSTL. As a result, UrlRewritter cannot intercept it
and apply the outbound rules. I was wondering if there were ways to get
around that.
Cheers,
Daniel
On Thu, Mar 12, 2009 at 11:44 PM, Wes Wannemacher wrote:
> On Thursday 12 March 2009 23:34:22
Has anyone used the UrlRewriter outbound rules with Struts 2?
UrlRewriter requires that the urls go through response.encodeURL().
In JSP and JSTL examples:
">nyc
">nyc
What is the Struts2 equivalent way? (s:url encode="true" does not work).
Thanks,
Daniel
ou have in mind here, but this works very nicely:
>
>
> class="acme.action.BlahAction">
> ...
>
>
> request for www.//blah-fred fires the fred() method and
> request for www.//blah-barney fires the barney method
>
> Peace,
> Scott
>
>
Is it possible to write an Action Interceptor, which can set the method to
invoke on the fly, depending on certain runtime variables?
I can get the ActionProxy from ActionInvocation, but the proxy provides only
a getter getMethod() not a setter. Any ideas?
Thanks,
Daniel
the XWork world about adding a "vertical"
parameter to the radio tag. That'd be a great idea. Hope we will have that
in next version of Struts2 too.
On Sat, Jan 24, 2009 at 3:30 PM, Lukasz Lenart wrote:
> 2009/1/24 Daniel Ruan :
> > The simple theme does not work for m
The simple theme does not work for me... My entire app uses the simple theme
(). I also tried
theme="simple" at the s:radio level but to no avail.
Thanks,
Daniel
On Sat, Jan 24, 2009 at 3:00 PM, Lukasz Lenart wrote:
> 2009/1/24 Daniel Ruan :
> > I'd like to create
Hi There,
I'd like to create a group of radio buttons, one on each line, because the
label is lengthy. By default, s:radio puts all radios on one single line.
How do I change that?
Thanks,
Daniel
Nah, the web.xml has no jsp-config at all.
Daniel
On Sat, Aug 23, 2008 at 8:28 PM, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
> check your el-ignored parameter in web.xml
> does it look like
>
>
> *.jsp
> true
>
> ?
> Martin
> __
>
I found the same behavior with 2.1.2 Beta, although the bug WW-2015 claims
it is fixed in 2.0.10.
Thanks,
Daniel
On Tue, Jun 24, 2008 at 4:34 AM, Volker Krebs <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have the following in my JSP Page:
>
>
> It seems that the anchor attribute is not evaluating
Or maybe the @SkipValidation annotation?
On 5/3/07, Martin Gainty <[EMAIL PROTECTED]> wrote:
struts-default.xml has the ability to exclude methods as in this example
which excludes methods (method1, method2) from validation
method1,method2
Martin--
I come from the Struts 1 world, and am trying to find out how to do this
properly in Struts 2.
This is a common issues. Let's say we have a Web site that has both
protected (needs login) and public resources. If users click a link to a
protected resource, the site will direct users to log in; th
15 matches
Mail list logo