Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

user Digest 28 Jan 2008 20:12:56 -0000 Issue 7829

user-digest-help

2008-01-28


Author LoginPost Reply

user Digest 28 Jan 2008 20:12:56 -0000 Issue 7829

Topics (messages 181852 through 181881):

Re: tag writers resources?
 181852 by: Joachim Ansorg
 181878 by: Darren James

Re: [S2] dojo plugin - I don't find the resources
 181853 by: Dave Newton
 181854 by: Alexandru BARBAT
 181855 by: paulbrickell
 181856 by: Dave Newton
 181858 by: paulbrickell
 181859 by: paulbrickell
 181862 by: Musachy Barroso
 181864 by: paulbrickell
 181865 by: Musachy Barroso
 181866 by: Dave Newton
 181871 by: paulbrickell

The first DWR book has arrived!
 181857 by: Frank W. Zammetti

Struts 2.0.11 Validation and Conversion
 181860 by: Filipe David Manana

Struts Portlet
 181861 by: Frans Thamura
 181868 by: Nils-Helge Garli Hegvik
 181869 by: Frans Thamura
 181870 by: Nils-Helge Garli Hegvik

Struts2 Portlet Bridge
 181863 by: Frans Thamura

Conversion error gets printed twice
 181867 by: TuomoS
 181873 by: Dave Newton

Re: how to make ajax validation works with s:tabbedPanel in struts 2.0.11
 181872 by: Wei, Mei

Re: Type converters: convertToString not called
 181874 by: jimski

[S2] How to allow escaping or HTML characters in <s:select>?
 181875 by: Gabriel Belingueres

Re: [struts] tag writers resources?
 181876 by: Dale Newfield
 181877 by: Darren James
 181879 by: Dale Newfield

Re: Changing the location of the ajax validation error
 181880 by: j alex

Flash/wizard- scope
 181881 by: Rikard

Administrivia:

---------------------------------------------------------------------
To post to the list, e-mail: user@(protected)
To unsubscribe, e-mail: user-digest-unsubscribe@(protected)
For additional commands, e-mail: user-digest-help@(protected)

----------------------------------------------------------------------

Attachment: user_181852.ezm (zipped)
Hi Darren,
writing a simple Struts2 tag is not that difficult. But getting started is.
The documentation of the tag api is not very good, imho. The best start
is in my opinion to get the Struts2 sources and read the source code of
the existing struts2 tags.

I'm posting a simple example with this mail so it's in the archives for
anybody. A tag writers guide would be a very useful resource for S2 users.

For a S2 body you basically need:

-A JSP tag implementation. e.g.:

public class NameValueTag extends AbstractUITag{
  private String editMode;

  public Component getBean(ValueStack valueStack, HttpServletRequest
httpServletRequest, HttpServletResponse httpServletResponse) {
    return new NameValue(valueStack, httpServletRequest,
httpServletResponse);
  }

  protected void populateParams() {
    super.populateParams();
    ((NameValue) component).setEditMode(editMode);
  }

  public String isEditMode() {
    return editMode;
  }

  public void setEditMode(String editMode) {
    this.editMode = editMode;
  }
}

-A Struts2 component which is used by Struts. The JSP tags sets the
attributed on the component. The annotations are later used for
automatic .tld generation. I'm using Maven for that.

@StrutsTag(name = "nameValue", description = "Inserts a formatted
name-value html code construct.", tldTagClass =
"gr.ksi.tags.ksiplugin.views.jsp.NameValueTag")
public class NameValue extends ClosingUIBean {
  private String editMode;

  public NameValue(ValueStack valueStack, HttpServletRequest
httpServletRequest, HttpServletResponse httpServletResponse) {
    super(valueStack, httpServletRequest, httpServletResponse);
  }

  public String getDefaultOpenTemplate() {
    return "ksinamevalue";
  }

  protected String getDefaultTemplate() {
    return "ksinamevalue-end";
  }

  @StrutsTagAttribute(description = "Set to true to display edit boxes
instead of text labels.", required = false, type = "Boolean")
  public void setEditMode(String editMode) {
    this.editMode = editMode;
  }

  public String isEditMode() {
    return editMode;
  }

  protected void evaluateExtraParams() {
    if (editMode != null) {
       addParameter("editMode", findValue(editMode, Boolean.class));
    }
  }
}

And you need Freemarker templates which render the html. Have a look at
the getDefaultTemplate() and getDefaultOpenTemplate() methods above.
These point to the corresponding freemarker templates.
The open template in this example is:

[#ftl]
[#if parameters.editMode?exists && parameters.editMode == true]
<div class="name_value_edit">
  <span class="name">
    [#if parameters.label?exists] [@(protected)
value="parameters.label" /] [/#if]
  </span>
  <span class="value">
[#else]
<div class="name_value">
  <span class="name">
    [#if parameters.label?exists] [@(protected)
value="parameters.label" /] [/#if]
  </span>
  <span class="value">
[/#if]

The closing template is just:
[#ftl]
</ul>

The rendered body is put in between.

These examples are a full implementation of a S2 tag.
If you want to place custom actions before and after the body rendering
I think overriding ClosingUIBean.start and ClosingUIBean.end (don't
remember the right name atm).

Hope that helps,
Joachim
> Hi All,
>
> Does anyone (know of/have any) resources that cover writing a tag?
> I want to write a struts2 body tag that sets some applications specific
> state before it emits it's body, and clears the state once the body has
> been emitted. Any tag-writers guides out there???

Attachment: user_181878.ezm (zipped)
Hi Joachim,

This gives me something to start with.  Time to dig into the struts2
source code to help me grok the sample you've provided.

thanks,

- Darren.

Joachim Ansorg wrote:
>
> Hi Darren,
> writing a simple Struts2 tag is not that difficult. But getting
> started is.
> The documentation of the tag api is not very good, imho. The best start
> is in my opinion to get the Struts2 sources and read the source code of
> the existing struts2 tags.
>
> I'm posting a simple example with this mail so it's in the archives for
> anybody. A tag writers guide would be a very useful resource for S2 users.
>
> For a S2 body you basically need:
>
> -A JSP tag implementation. e.g.:
>
> public class NameValueTag extends AbstractUITag{
>   private String editMode;
>
>   public Component getBean(ValueStack valueStack, HttpServletRequest
> httpServletRequest, HttpServletResponse httpServletResponse) {
>      return new NameValue(valueStack, httpServletRequest,
> httpServletResponse);
>   }
>
>   protected void populateParams() {
>      super.populateParams();
>      ((NameValue) component).setEditMode(editMode);
>   }
>
>   public String isEditMode() {
>      return editMode;
>   }
>
>   public void setEditMode(String editMode) {
>      this.editMode = editMode;
>   }
> }
>
> -A Struts2 component which is used by Struts. The JSP tags sets the
> attributed on the component. The annotations are later used for
> automatic .tld generation. I'm using Maven for that.
>
> @StrutsTag(name = "nameValue", description = "Inserts a formatted
> name-value html code construct.", tldTagClass =
> "gr.ksi.tags.ksiplugin.views.jsp.NameValueTag")
> public class NameValue extends ClosingUIBean {
>   private String editMode;
>
>   public NameValue(ValueStack valueStack, HttpServletRequest
> httpServletRequest, HttpServletResponse httpServletResponse) {
>      super(valueStack, httpServletRequest, httpServletResponse);
>   }
>
>   public String getDefaultOpenTemplate() {
>      return "ksinamevalue";
>   }
>
>   protected String getDefaultTemplate() {
>      return "ksinamevalue-end";
>   }
>
>   @StrutsTagAttribute(description = "Set to true to display edit boxes
> instead of text labels.", required = false, type = "Boolean")
>   public void setEditMode(String editMode) {
>      this.editMode = editMode;
>   }
>
>   public String isEditMode() {
>      return editMode;
>   }
>
>   protected void evaluateExtraParams() {
>      if (editMode != null) {
>         addParameter("editMode", findValue(editMode, Boolean.class));
>      }
>   }
> }
>
> And you need Freemarker templates which render the html. Have a look at
> the getDefaultTemplate() and getDefaultOpenTemplate() methods above.
> These point to the corresponding freemarker templates.
> The open template in this example is:
>
> [#ftl]
> [#if parameters.editMode?exists && parameters.editMode == true]
> <div class="name_value_edit">
>   <span class="name">
>      [#if parameters.label?exists] [@(protected)
> value="parameters.label" /] [/#if]
>   </span>
>   <span class="value">
> [#else]
> <div class="name_value">
>   <span class="name">
>      [#if parameters.label?exists] [@(protected)
> value="parameters.label" /] [/#if]
>   </span>
>   <span class="value">
> [/#if]
>
> The closing template is just:
> [#ftl]
> </ul>
>
> The rendered body is put in between.
>
> These examples are a full implementation of a S2 tag.
> If you want to place custom actions before and after the body rendering
> I think overriding ClosingUIBean.start and ClosingUIBean.end (don't
> remember the right name atm).
>
> Hope that helps,
> Joachim
> > Hi All,
> >
> > Does anyone (know of/have any) resources that cover writing a tag?
> > I want to write a struts2 body tag that sets some applications specific
> > state before it emits it's body, and clears the state once the body has
> > been emitted. Any tag-writers guides out there???
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>


Attachment: user_181853.ezm (zipped)
--- paulbrickell <paul.brickell@(protected):
> it appears that sx:head creates links for various resources...
>
> <script language="JavaScript" type="text/javascript"
> src="/application/struts/ajax/dojoRequire.js"></script>
> <link rel="stylesheet" href="/application/struts/xhtml/styles.css"
> type="text/css"/>
> <script language="JavaScript" src="/application/struts/utils.js"
> type="text/javascript"></script>
> <script language="JavaScript" src="/application/struts/xhtml/validation.js"
> type="text/javascript"></script>
> <script language="JavaScript"
> src="/application/struts/css_xhtml/validation.js"
> type="text/javascript"></script>
>
> None of which exists in my application. So I am guessing (never a good
> idea) that I need to compose these bits from the distro.

These are all in the struts-core JAR file, served statically via S2.

> You are right these components do exists in the libraries. Am I right in
> thinking I need to copy these into my web application in the structure
> required by the links in the head template?

Nope; they should be included automagically. See below.

> Also I get various javascript errors...
> 1. Could not load 'dojo.io.BrowserIO'; last tried './io/BrowserIO.js'
> 2. dojo.hostenv has no properties
> 3. djConfig.searchIds has no properties
>
> These I suspect are related to the version of dojo I am using (1.0.2 which
> is the latest release). The path io.BrowserIO.js for example just doesn't
> exists.

That's probably going to be an issue; the S2 Dojo plugin is using 0.4.mumble,
which is included in the plugin JAR itself. Using a different Dojo version is
probably a Bad Idea, although I haven't actually tried to know what any
potential issues would be.

If you're set on using S2.1 and its Dojo plugin I'd really recommend just
getting the complete source via Subversion and build via Maven rather than
trying to put all the pieces together manually.

All the JavaScript is included in either the S2 core JAR or the Dojo plugin
JAR; mixing Dojo versions is probably bad.

d.


Attachment: user_181854.ezm (zipped)
those resources are in 'struts2-core.jar' file.


----- Original Message -----
From: "paulbrickell" <paul.brickell@(protected)>
To: <user@(protected)>
Sent: Monday, January 28, 2008 4:21 PM
Subject: Re: [S2] dojo plugin - I don't find the resources


>
> Dave,
>
> I hope you don't think you've taken on a lifetime commitment here;-)
>
> I may be misunderstanding whats happening here, but here goes..
>
> I have a really simple page that include the sx:head tag and an sx:div.
> Now
> I do not not see any call to the target action for the div tag. So I
> started
> looking at the page source and the template sources to see what the
> templates for sx:head and sx:div were up to.
>
> it appears that sx:head creates links for various resources...
>
> <script language="JavaScript" type="text/javascript"
> src="/application/struts/ajax/dojoRequire.js"></script>
> <link rel="stylesheet" href="/application/struts/xhtml/styles.css"
> type="text/css"/>
> <script language="JavaScript" src="/application/struts/utils.js"
> type="text/javascript"></script>
> <script language="JavaScript"
> src="/application/struts/xhtml/validation.js"
> type="text/javascript"></script>
> <script language="JavaScript"
> src="/application/struts/css_xhtml/validation.js"
> type="text/javascript"></script>
>
> None of which exists in my application. So I am guessing (never a good
> idea)
> that I need to compose these bits from the distro.
> You are right these components do exists in the libraries. Am I right in
> thinking I need to copy these into my web application in the structure
> required by the links in the head template?
>
> Also I get various javascript errors...
> 1. Could not load 'dojo.io.BrowserIO'; last tried './io/BrowserIO.js'
> 2. dojo.hostenv has no properties
> 3. djConfig.searchIds has no properties
>
> These I suspect are related to the version of dojo I am using (1.0.2 which
> is the latest release). The path io.BrowserIO.js for example just doesn't
> exists.
>
> Man I would love to get this working. It is just what my app need.
> Paul B.
>
>
>
>
> newton.dave wrote:
>>
>> --- paulbrickell <paul.brickell@(protected):
>>> what the head template outputs are some links (see my earlier post for
>>> the
>>> details) to application/struts/* js and css files.
>>>
>>> So what I am trying to do is assemble the components that the head
>>> template
>>> requires and put them in the right place. It seems they are many and
>>> distributed across multiple jars.
>>
>> Mmm, all of the deps should be in the dojo-plugin and struts core, IIRC.
>>
>> Are there specific issues you're running in to?
>>
>> d.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15136127.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>



Attachment: user_181855.ezm (zipped)

Quick update,

0.43 removes any javascript errors. I think that's a bit of show-stopper for
me.
I still do not get a call to any action for the div. I do want to know why
that is so I am going to try to track down the problem before I abandon all
hope.

Cheers,
Paul B.


paulbrickell wrote:
>
> Dave,
>
> I hope you don't think you've taken on a lifetime commitment here;-)
>
> I may be misunderstanding whats happening here, but here goes..
>
> I have a really simple page that include the sx:head tag and an sx:div.
> Now I do not not see any call to the target action for the div tag. So I
> started looking at the page source and the template sources to see what
> the templates for sx:head and sx:div were up to.
>
> it appears that sx:head creates links for various resources...
>
> <script language="JavaScript" type="text/javascript"
> src="/application/struts/ajax/dojoRequire.js"></script>
> <link rel="stylesheet" href="/application/struts/xhtml/styles.css"
> type="text/css"/>
> <script language="JavaScript" src="/application/struts/utils.js"
> type="text/javascript"></script>
> <script language="JavaScript"
> src="/application/struts/xhtml/validation.js"
> type="text/javascript"></script>
> <script language="JavaScript"
> src="/application/struts/css_xhtml/validation.js"
> type="text/javascript"></script>
>
> None of which exists in my application. So I am guessing (never a good
> idea) that I need to compose these bits from the distro.
> You are right these components do exists in the libraries. Am I right in
> thinking I need to copy these into my web application in the structure
> required by the links in the head template?
>
> Also I get various javascript errors...
> 1. Could not load 'dojo.io.BrowserIO'; last tried './io/BrowserIO.js'
> 2. dojo.hostenv has no properties
> 3. djConfig.searchIds has no properties
>
> These I suspect are related to the version of dojo I am using (1.0.2 which
> is the latest release). The path io.BrowserIO.js for example just doesn't
> exists.
>
> Man I would love to get this working. It is just what my app need.
> Paul B.
>
>
>
>
> newton.dave wrote:
>>
>> --- paulbrickell <paul.brickell@(protected):
>>> what the head template outputs are some links (see my earlier post for
>>> the
>>> details) to application/struts/* js and css files.
>>>
>>> So what I am trying to do is assemble the components that the head
>>> template
>>> requires and put them in the right place. It seems they are many and
>>> distributed across multiple jars.
>>
>> Mmm, all of the deps should be in the dojo-plugin and struts core, IIRC.
>>
>> Are there specific issues you're running in to?
>>
>> d.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_181856.ezm (zipped)
--- paulbrickell <paul.brickell@(protected):
> 0.43 removes any javascript errors.
> I think that's a bit of show-stopper for me.

Wait, you have an actual requirement for JavaScript errors!?

;)

> I still do not get a call to any action for the div.

You should probably post at least the JSP source for the <sx:div...> tag; I
don't remember it anymore if I ever saw it.

d.


Attachment: user_181858.ezm (zipped)

Yep, that works exactly like it says on wiki. out of curiosity just how does
that automagic work? How on earth does the path
"/whatever/struts/css_xhtml/validation.js" get resolved to a jar? Also I
guess that the baseRelativePath attribute is a bit of red-herring.

The restructuring between version 0.4.x and 1.0.x of dojo is pretty radical.
No way they are compatible.

I did just check out the source and start a build. But frankly the newer
features of Dojo I am losing is a bit of a showstopper. I may well have to
drop a back a version of Struts and roll my own solution. It's such a shame
I would love to get all that great stuff for free.

There is simply no way I can convince my employer I can contribute a
solution on their time but I have to think my best solution would be to do
it anyway.

Thanks for all your help here,
Paul B.


newton.dave wrote:
>
> --- paulbrickell <paul.brickell@(protected):
>> it appears that sx:head creates links for various resources...
>>
>> <script language="JavaScript" type="text/javascript"
>> src="/application/struts/ajax/dojoRequire.js"></script>
>> <link rel="stylesheet" href="/application/struts/xhtml/styles.css"
>> type="text/css"/>
>> <script language="JavaScript" src="/application/struts/utils.js"
>> type="text/javascript"></script>
>> <script language="JavaScript"
>> src="/application/struts/xhtml/validation.js"
>> type="text/javascript"></script>
>> <script language="JavaScript"
>> src="/application/struts/css_xhtml/validation.js"
>> type="text/javascript"></script>
>>
>> None of which exists in my application. So I am guessing (never a good
>> idea) that I need to compose these bits from the distro.
>
> These are all in the struts-core JAR file, served statically via S2.
>
>> You are right these components do exists in the libraries. Am I right in
>> thinking I need to copy these into my web application in the structure
>> required by the links in the head template?
>
> Nope; they should be included automagically. See below.
>
>> Also I get various javascript errors...
>> 1. Could not load 'dojo.io.BrowserIO'; last tried './io/BrowserIO.js'
>> 2. dojo.hostenv has no properties
>> 3. djConfig.searchIds has no properties
>>
>> These I suspect are related to the version of dojo I am using (1.0.2
>> which
>> is the latest release). The path io.BrowserIO.js for example just doesn't
>> exists.
>
> That's probably going to be an issue; the S2 Dojo plugin is using
> 0.4.mumble,
> which is included in the plugin JAR itself. Using a different Dojo version
> is
> probably a Bad Idea, although I haven't actually tried to know what any
> potential issues would be.
>
> If you're set on using S2.1 and its Dojo plugin I'd really recommend just
> getting the complete source via Subversion and build via Maven rather than
> trying to put all the pieces together manually.
>
> All the JavaScript is included in either the S2 core JAR or the Dojo
> plugin
> JAR; mixing Dojo versions is probably bad.
>
> d.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_181859.ezm (zipped)

LOL. For an Englishman sometimes my English sucks. No I probably dont want
errors. What I meant was that this demonstrated to me the dependency on
version 0.4.x of Dojo and thats a showstopper. I really want to use 1.0.x so
I am going to have to choose between Struts 2.1 and its lovely stuff for
Dojo and 1.0.x and rolling my own solution with an older version of Struts.

Damn, thats a shame.

Cheers,
Paul B.


newton.dave wrote:
>
> --- paulbrickell <paul.brickell@(protected):
>> 0.43 removes any javascript errors.
>> I think that's a bit of show-stopper for me.
>
> Wait, you have an actual requirement for JavaScript errors!?
>
> ;)
>
>> I still do not get a call to any action for the div.
>
> You should probably post at least the JSP source for the <sx:div...> tag;
> I
> don't remember it anymore if I ever saw it.
>
> d.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_181862.ezm (zipped)
in 2.1 you can use your own dojo distribution by setting the
"baseRelativePath" attr in the head tag.

see http://cwiki.apache.org/WW/dojo-head.html for details.

musachy

On Jan 28, 2008 10:28 AM, paulbrickell
<paul.brickell@(protected):
>
> LOL. For an Englishman sometimes my English sucks. No I probably dont want
> errors. What I meant was that this demonstrated to me the dependency on
> version 0.4.x of Dojo and thats a showstopper. I really want to use 1.0.x so
> I am going to have to choose between Struts 2.1 and its lovely stuff for
> Dojo and 1.0.x and rolling my own solution with an older version of Struts.
>
> Damn, thats a shame.
>
> Cheers,
> Paul B.
>
>
> newton.dave wrote:
> >
>
> > --- paulbrickell <paul.brickell@(protected):
> >> 0.43 removes any javascript errors.
> >> I think that's a bit of show-stopper for me.
> >
> > Wait, you have an actual requirement for JavaScript errors!?
> >
> > ;)
> >
> >> I still do not get a call to any action for the div.
> >
> > You should probably post at least the JSP source for the <sx:div...> tag;
> > I
> > don't remember it anymore if I ever saw it.
> >
> > d.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@(protected)
> > For additional commands, e-mail: user-help@(protected)
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15137583.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>



--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Attachment: user_181864.ezm (zipped)

Yes, but the freemarker templates for head and div (and I guess the others
too) are highly dependent on version 0.4.x of Dojo. So to make this work I
would have to rewrite said templates.

uhm, I may just do that.

Cheers,
Paul B.


Musachy Barroso wrote:
>
> in 2.1 you can use your own dojo distribution by setting the
> "baseRelativePath" attr in the head tag.
>
> see http://cwiki.apache.org/WW/dojo-head.html for details.
>
> musachy
>
> On Jan 28, 2008 10:28 AM, paulbrickell
> <paul.brickell@(protected):
>>
>> LOL. For an Englishman sometimes my English sucks. No I probably dont
>> want
>> errors. What I meant was that this demonstrated to me the dependency on
>> version 0.4.x of Dojo and thats a showstopper. I really want to use 1.0.x
>> so
>> I am going to have to choose between Struts 2.1 and its lovely stuff for
>> Dojo and 1.0.x and rolling my own solution with an older version of
>> Struts.
>>
>> Damn, thats a shame.
>>
>> Cheers,
>> Paul B.
>>
>>
>> newton.dave wrote:
>> >
>>
>> > --- paulbrickell <paul.brickell@(protected):
>> >> 0.43 removes any javascript errors.
>> >> I think that's a bit of show-stopper for me.
>> >
>> > Wait, you have an actual requirement for JavaScript errors!?
>> >
>> > ;)
>> >
>> >> I still do not get a call to any action for the div.
>> >
>> > You should probably post at least the JSP source for the <sx:div...>
>> tag;
>> > I
>> > don't remember it anymore if I ever saw it.
>> >
>> > d.
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@(protected)
>> > For additional commands, e-mail: user-help@(protected)
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15137583.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>>
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_181865.ezm (zipped)
yup, they are based on 0.4. If you are going to use dojo 1.0 you will
end up putting the dojo stuff in your jsps, you might just do it in
the templates and they will be reusable (for you :))

musachy

On Jan 28, 2008 11:03 AM, paulbrickell
<paul.brickell@(protected):
>
> Yes, but the freemarker templates for head and div (and I guess the others
> too) are highly dependent on version 0.4.x of Dojo. So to make this work I
> would have to rewrite said templates.
>
> uhm, I may just do that.
>
> Cheers,
> Paul B.
>
>
>
> Musachy Barroso wrote:
> >
> > in 2.1 you can use your own dojo distribution by setting the
> > "baseRelativePath" attr in the head tag.
> >
> > see http://cwiki.apache.org/WW/dojo-head.html for details.
> >
> > musachy
> >
> > On Jan 28, 2008 10:28 AM, paulbrickell
> > <paul.brickell@(protected):
> >>
> >> LOL. For an Englishman sometimes my English sucks. No I probably dont
> >> want
> >> errors. What I meant was that this demonstrated to me the dependency on
> >> version 0.4.x of Dojo and thats a showstopper. I really want to use 1.0.x
> >> so
> >> I am going to have to choose between Struts 2.1 and its lovely stuff for
> >> Dojo and 1.0.x and rolling my own solution with an older version of
> >> Struts.
> >>
> >> Damn, thats a shame.
> >>
> >> Cheers,
> >> Paul B.
> >>
> >>
> >> newton.dave wrote:
> >> >
> >>
> >> > --- paulbrickell <paul.brickell@(protected):
> >> >> 0.43 removes any javascript errors.
> >> >> I think that's a bit of show-stopper for me.
> >> >
> >> > Wait, you have an actual requirement for JavaScript errors!?
> >> >
> >> > ;)
> >> >
> >> >> I still do not get a call to any action for the div.
> >> >
> >> > You should probably post at least the JSP source for the <sx:div...>
> >> tag;
> >> > I
> >> > don't remember it anymore if I ever saw it.
> >> >
> >> > d.
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: user-unsubscribe@(protected)
> >> > For additional commands, e-mail: user-help@(protected)
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15137583.html
> >> Sent from the Struts - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >>
> >> To unsubscribe, e-mail: user-unsubscribe@(protected)
> >> For additional commands, e-mail: user-help@(protected)
> >>
> >>
> >
> >
> >
> > --
> > "Hey you! Would you help me to carry the stone?" Pink Floyd
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@(protected)
> > For additional commands, e-mail: user-help@(protected)
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15138516.html
>
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>



--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Attachment: user_181866.ezm (zipped)
--- paulbrickell <paul.brickell@(protected):
> Yes, but the freemarker templates for head and div (and I guess the others
> too) are highly dependent on version 0.4.x of Dojo. So to make this work I
> would have to rewrite said templates.
>
> uhm, I may just do that.

If you do, keep people posted.

You can always use Dojo independent of the S2 tags, too.

d.


Attachment: user_181871.ezm (zipped)

Dave,

I guess if use Dojo independantly of the S2 tags the Musachy point about
ending up writing the same things all over my JSP's applies.

I think if I want to do this in a grown up way the right thing to do would
be to bite down hard and write some freemarker.

I do REALLY want to do the right way.

Thanks again for your (and Musachy's), remarkably prompt, feedback. Truly
appreciated.

Paul B.


newton.dave wrote:
>
> --- paulbrickell <paul.brickell@(protected):
>> Yes, but the freemarker templates for head and div (and I guess the
>> others
>> too) are highly dependent on version 0.4.x of Dojo. So to make this work
>> I
>> would have to rewrite said templates.
>>
>> uhm, I may just do that.
>
> If you do, keep people posted.
>
> You can always use Dojo independent of the S2 tags, too.
>
> d.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_181857.ezm (zipped)
I know that lots of people use DWR with Struts, both S1 and S2, myself
included, so I thought this might be of interest to folks here...

Because ignoring my wife and kids for a few months is something I enjoy
doing (whew, good thing she's not subscribed to this list!), I finally got
around to writing a book on DWR:

http://apress.com/book/search?searchterm=zammetti&act=search

Amazon...
http://www.amazon.com/gp/product/1590599411/ref=s9_asin_image_1?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=center-2&pf_rd_r=1TE04V9ZFVGP15QCG8BF&pf_rd_t=101&pf_rd_p=320448701&pf_rd_i=507846

...shows it as in stock as of today, so if your supply of firewood is
running low, be aware that this is 500 pages or so, which should keep you
warm for a few hours ;)

Joking of course. Don't burn my book. In fact, I now turn this message
over to the Hypnotoad to shill for me:

BUY IT. BUY IT. BUY IT. BUY IT. BUY IT.

Joe Walker, creator of DWR, actually wrote the forward for me, which you
can now see on his blog: http://getahead.org/blog/joe. I think it's a
real nice bit of verbiage talking about open-source projects in general
and has complete relevance for Struts.

Thanks,
Frank

--
Frank W. Zammetti
Author of "Practical DWR 2 Projects"
(2008, Apress, ISBN 1-59059-941-1)
and "JavaScript, DOM Scripting and Ajax Projects"
(2007, Apress, ISBN 1-59059-816-4)
and "Practical Ajax Projects With Java Technology"
(2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!




Attachment: user_181860.ezm (zipped)
Hi,

I am getting errors from Parameters Interceptor while it tries to set
a value for a property.

My JSP is:

<s:form theme="ajax" method="post" action="add_account"
namespace="/lsf/accounts" validate="true">
  <s:textfield required="true" label="Name" name="account.name" />
  <s:textfield label="UNIX GroupID" name="account.unixGroupId" />
  <s:submit value="Add" onclick="this.form.submit();" />
</s:form>

The action is mapped to the method "String add()" of the following class:


@Validation
@Conversion
public class AccountAction extends BaseAction
{
 private Account account;
 private Long accountId;


 public void prepare() throws Exception
 {
   if ( accountId == null )
     account = new Account();
   else
     account = AccountManager.findById(accountId);
 }


 public String add() throws Exception
 {
   return SUCCESS;
 }


 public String update() throws Exception
 {
   return SUCCESS;
 }


 @VisitorFieldValidator(message = "")
 public Account getAccount()
 {
   return account;
 }


 public void setAccount(Account account)
 {
   this.account = account;
 }


 public Long getAccountId()
 {
   return accountId;
 }

 public void setAccountId(Long accountId)
 {
   this.accountId = accountId;
 }


The definition of the Account class:


@Validation
@Conversion
public class Account
{
 private Long id;
 private String name;
 private Long unixGroupId;

 public Long getId()
 {
   return id;
 }

 public void setId(Long id)
 {
   this.id = id;
 }

 public String getName()
 {
   return name;
 }

 @RequiredStringValidator(message = "Account name is required", trim = true)
 public void setName(String name)
 {
   this.name = name;
 }

 public long getUnixGroupId()
 {
   return unixGroupId;
 }

 @TypeConversion(converter = "actions.NullLongConverter")
 @ConversionErrorFieldValidator(message = "UNIX GroupID must be in
the range 0..65535")
 @RegexFieldValidator( message = "UNIX GroupID must be in the range
0..65535", expression = "^\\s*(?:[0-9]{1,6})?\\s*$")
 public void setUnixGroupId(Long unixGroupId)
 {
   this.unixGroupId = unixGroupId;
 }
}

My validator:
public class NullLongConverter extends StrutsTypeConverter
{
 public Object convertFromString(Map context, String[] values, Class toClass)
 {
   Long val = null;

   if ( values != null && values[0] != null && !values[0].equals("") )
   {
     try
     {
       values[0].trim();
       val = Long.parseLong(values[0]);
       long v = val.longValue();
       if ( v < 0 || v > 65535 ) val = null;
     }
     catch( Exception ex ) { }
   }
   return val;
 }

 public String convertToString(Map context, Object o)
 {
   if ( o == null ) return null;
   else return o.toString();
 }
}


My action is using the paramsPrepareParamsStack.
I get this exceptions from

[ERROR com.opensymphony.xwork2.interceptor.ParametersInterceptor 28
Jan 2008 16:37:50] ParametersInterceptor - [setParameters]: Unexpected
Exception caught setting 'account.unixGroupId' on 'class
actions.lsf.accounts.AccountAction: Error setting expression
'account.unixGroupId' with value '12'

[ERROR com.opensymphony.xwork2.interceptor.ParametersInterceptor 28
Jan 2008 16:37:51] ParametersInterceptor - [setParameters
]: Unexpected Exception caught setting 'account.unixGroupId' on 'class
actions.lsf.accounts.AccountAction: Error setting expression
'account.unixGroupId' with value'[Ljava.lang.String;@(protected)'



Any ideia why this is not working?

By the way, I also tried not using custom conversions / validations,
that is, using the built in conversion mechanisms. I get similar
errors.

Thanks


--
Filipe David Manana,
fdmanana@(protected)

Obvious facts are like secrets to those not trained to see them.

Attachment: user_181861.ezm (zipped)
hi there

anyone have success fully implements Struts2 with Spring and Hibernate

can i have the example

i try it here, and make my liferay crash

is S2 work with Liferay?


--
Frans Thamura
Meruvian
redefining civilization
http://www.meruvian.com

Attachment: user_181868.ezm (zipped)
A little bit more information would be nice.....

S2 Portlets should work in any JSR168 compliant portlet container.

Nils-H

On Jan 28, 2008 4:48 PM, Frans Thamura <flatburger@(protected):
> hi there
>
> anyone have success fully implements Struts2 with Spring and Hibernate
>
> can i have the example
>
> i try it here, and make my liferay crash
>
> is S2 work with Liferay?
>
>
> --
> Frans Thamura
> Meruvian
> redefining civilization
> http://www.meruvian.com
>

Attachment: user_181869.ezm (zipped)
On Jan 28, 2008 11:11 PM, Nils-Helge Garli Hegvik <nilsga@(protected):
> A little bit more information would be nice.....
>
> S2 Portlets should work in any JSR168 compliant portlet container.

i try to make hibernate injected using spring, and the struts2 as the MVC

any idea?

F

Attachment: user_181870.ezm (zipped)
No..... not unless you have some specific code/configuration/errors to
show. Have you tried? What doesn't work? Do you get any error
messages?

Nils-H

On Jan 28, 2008 5:15 PM, Frans Thamura <frans@(protected):
> On Jan 28, 2008 11:11 PM, Nils-Helge Garli Hegvik <nilsga@(protected):
> > A little bit more information would be nice.....
> >
> > S2 Portlets should work in any JSR168 compliant portlet container.
>
> i try to make hibernate injected using spring, and the struts2 as the MVC
>
> any idea?
>
> F
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment: user_181863.ezm (zipped)
hi all

any info for JSR 301 like for Struts2

thx

--
Frans Thamura
Meruvian
redefining civilization
http://www.meruvian.com

Attachment: user_181867.ezm (zipped)

Date conversion prints out twice the error message when using s:fielderror.

<s:fielderror>
  <s:param value="%{'endDate'}" />
</s:fielderror>


Any ideas why this is happening ?
--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_181873.ezm (zipped)
--- TuomoS <tuomo@(protected):
> Date conversion prints out twice the error message when using s:fielderror.
>
> <s:fielderror>
>    <s:param value="%{'endDate'}" />
> </s:fielderror>
>
>
> Any ideas why this is happening ?

Often it's because a conversion error will also create a validation error and
the "conversionError" interceptor[1] will put conversion errors into the
field errors.

d.

[1] http://struts.apache.org/2.x/docs/conversion-error-interceptor.html


Attachment: user_181872.ezm (zipped)
Is there anyway to work around this bug for now?

Thanks,
Mei

-----Original Message-----
From: Martin Gainty [mailto:mgainty@(protected)]
Sent: Sunday, January 27, 2008 8:25 AM
To: Struts Users Mailing List
Subject: Re: how to make ajax validation works with s:tabbedPanel in
struts 2.0.11

appears to be a bug in s:component not loading the
/template/${theme}/tabbedpanel:ftl

Anyone else?
M-
----- Original Message -----
From: "Wei, Mei" <Mei-Chuan.Wei@(protected)>
To: "Struts Users Mailing List" <user@(protected)>
Sent: Sunday, January 27, 2008 1:10 AM
Subject: RE: how to make ajax validation works with s:tabbedPanel in
struts
2.0.11


Yes, I have theme='ajax' set for each href.
Below is my sample code, the problem is when the save button is clicked,
it does not go to the "success" page. If I take out <s:head
theme="ajax"/>, then it will go, but does not display as tabbedPanel any
more.
What can I do to make these two works together?

<%@(protected)"%>

<s:head theme="ajax"/>

<s:tabbedPanel id="test2" theme="ajax">
<s:div id="left" label="%{getText('persondata.title')}"
theme="ajax">

<p><s:text name="persondata.title" /></p>
<s:form action="save" validate="true" theme="ajax">
<s:textfield id="id" name="person.id"
cssStyle="display:none" />

<s:textfield id="firstName"
label="%{getText('person.firstName')}"
name="person.firstName" />

<s:textfield id="lastName"
label="%{getText('person.lastName')}"
name="person.lastName" />
<s:textfield id="address"
label="%{getText('address')}"
name="address" />
<s:submit value="%{getText('save')}" />
</s:form>
</s:div>

<s:div id="middle" label="test2" theme="ajax">
                 I'm the other Tab!!!
  </s:div>

</s:tabbedPanel>

Thanks,
Mei
-----Original Message-----
From: Martin Gainty [mailto:mgainty@(protected)]
Sent: Saturday, January 26, 2008 8:26 AM
To: Struts Users Mailing List
Subject: Re: how to make ajax validation works with s:tabbedPanel in
struts 2.0.11

http://struts.apache.org/2.x/docs/tabbedpanel.html
assuming your theme='ajax' be sure to set the href attribute for the
individual div tags for content from a valid URL

Martin
----- Original Message -----
From: "Wei, Mei" <Mei-Chuan.Wei@(protected)>
To: <user@(protected)>
Sent: Saturday, January 26, 2008 2:02 AM
Subject: how to make ajax validation works with s:tabbedPanel in struts
2.0.11


Hi,

I would like to make a page has ajax validation and also display as
tabbedPanel.



I am using struts 2.0.11, and learned from

http://java-x.blogspot.com/2006/11/struts-2-validation.html

that to use ajax validation, in the jsp file, I can not have <s:head
theme="ajax"/>.



But to display tabbedPanel, I need to have <s:head theme="ajax"/> in the
jsp.



So I can not make tabbedPanel and ajax validation work on one page.



Does anyone have any experience about this?



Any help are appreciated.



Thanks,

Mei



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

Attachment: user_181874.ezm (zipped)

Hi Ravi-

I think the problem here is how the struts2 tags were implemented. As far
as I can see from the code base the type converter definition you're
referring to is used by the XWork API and not OGNL. The XWork api is used
by the Struts Tags which have the option to call the converter or not. In
the case of rendering content, the option chosen by the designers is not to
call the converter and call toString() instead. Check out this bug report
https://issues.apache.org/struts/browse/WW-2047 for more details.

I asked a question about this:
(http://www.nabble.com/Struts-framework-design-question%3A-Type-Converters-and-Tags-to15019888.html)

...and it seems like a community generated patch is probably the only way
forward at this point. I started looking into it, but my day job has been
way too busy to give me any time to actually code a patch. There's also a
question on my part as to whether or not the patch would even be accepted
given that 2.0.6 supported type conversion at render time and the core
struts2 dev team has explicitly chosen to remove this feature (as mentioned
by Don Brown in the referenced bug report).


ravi_eze wrote:
>
> hi,
>
> We have Action class with Employee Object with setters and getters. The
> Typeconverter was configured to be called when <EmployeeObject.empId> is
> called by the jsp page. We found that convertFromString of type converter
> is being called but convertToString is never called. Any idea why this is
> happening? The details are as follows:
>
> Type converter:
> public class LongConverter extends StrutsTypeConverter {
>  public Object convertFromString(Map context, String[] values, Class
> toClass) {
>       ... ....
>  }
>  public String convertToString(Map context, Object o) {
>      ... ....
>  }
> }
>
> in actionClass-conversion.properties located along with the class file in
> the same package:
> employee.empId=com.comp.util.converter.LongConverter
>
> After some debugging we found that we need to add a new file:
> Employee-conversion.properties in the same package of Employee class with
> entries:
> empId=com.comp.util.converter.LongConverter
>
> and only then the convertToString would be called. I think we should have
> only one conversion.prop file instead of 2. Any ideas why this is
> happening this way? or am i missing any thing? please help.
>
> cheers,
> ravi
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_181875.ezm (zipped)
Hi,

I need a <s:select> in my page for selecting an option, showing a
tree-like structure, so I need to indent some way the option elements
into the HTML <select>, however, the <s:select> tag doesn't allow me
to use the HTML space (&nbsp;) for indentation, since it does escape
it by default producing output like:

  <option value="1">&amp;nbsp;My description</option>

instead of:

  <option value="1">&nbsp;My description</option>

It seems that the <s:select> tag doesn't have an escape="true|false"
attribute to control how the listValue is displayed.

How could I overcome this problem?

Regards,
Gabriel

Attachment: user_181876.ezm (zipped)
Joachim Ansorg wrote:
> writing a simple Struts2 tag is not that difficult.

A Tag is simply a java interface:
http://java.sun.com/javaee/5/docs/api/javax/servlet/jsp/tagext/Tag.html

The life cycle of a tag is discussed in that javadoc.

There are a number of classes that make implementing your own pretty
straight forward. You'll probably be interested in "BodyTagSupport".

-Dale

Attachment: user_181877.ezm (zipped)
Hi Dale,

Yes, i'm familiar with writing JSP tags, although it's been quite
some time since i've done so. It took me about 1/2 an hour to
dust off the cobwebs and write a JSP tag extending BodyTagSupport
that did what I wanted it to do.

What I was more interested in is some guidelines similar to what Joachim
posted in writing a "struts2" tag. And by that I mean one of those generic,
technology independent beasts that can be used in Freemarker and Velocity
as well as JSP.

thanks,

- Darren.

Dale Newfield wrote:
>
> Joachim Ansorg wrote:
> > writing a simple Struts2 tag is not that difficult.
>
> A Tag is simply a java interface:
> http://java.sun.com/javaee/5/docs/api/javax/servlet/jsp/tagext/Tag.html
>
> The life cycle of a tag is discussed in that javadoc.
>
> There are a number of classes that make implementing your own pretty
> straight forward. You'll probably be interested in "BodyTagSupport".
>
> -Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>


Attachment: user_181879.ezm (zipped)
Darren James wrote:
> What I was more interested in is some guidelines similar to what
> Joachim posted in writing a "struts2" tag. And by that I mean one of
> those generic, technology independent beasts that can be used in
> Freemarker and Velocity as well as JSP.

I don't know how one writes freemarker tags or velocity tags. I haven't
studied Joachim's example in detail, but it didn't appear to be
answering your question. It appeared to me that it was an example of
"how to write a tag that is implemented by freemarker" rather than "how
to write a tag that is callable from freemarker".

If you're going to have a theme system, and want to be able to swap out
templates at will, this is a reasonable solution. If you just want a
standard tag, I see no reason to call on a templating system inside the tag.

You should also be aware that the simplest way to implement a
templatable tag (using jsp) is using a .tag file and a tagdir. No java
code required.

-Dale

P.S.: Potentially useful pages if you need to call this tag from
freemarker or velocity:

http://freemarker.org/docs/dgui_misc_userdefdir.html
http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html#velocimacros

P.P.S: If your question is really "how do i evaluate tag arguments that
are really ognl expressions, then TagUtils.getStack() is probably what
you're looking for:
http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/views/jsp/TagUtils.html

Attachment: user_181880.ezm (zipped)
I'd implemented this by overriding the strutsValidator.onErrors function ;
basically getting the list of errors and calling custom function to show the
errorbox to the right of the field. Also, i needed to show only 1 error at a
time - not all the errored fields ; and this was done using the DWR
validator ; not the Dojo one since i was using 2.0.9 at that time.

Thanks,
Joseph



On Jan 24, 2008 4:14 AM, Mark Levitsky <mark.levitsky@(protected):

> Hi,
>
>
>
> I am stating the use of struts 2 and I would to know how can I customize
> the ajax validation errors.
>
> I know how to customize the style but I would like to customize the
> location of the error that will appear
>
> At the moment it appears only at the op of the textfield, I would like
> to change the location (lets say to the right of the textfield)
>
> Do you know how it can be done?
>
>
>
> Regards,
>
>
>
> Mark Levitsky
>
> Amdocs Self Service
>
> +972-9-7960880(desk)
>
>
>
>
> This message and the information contained herein is proprietary and
> confidential and subject to the Amdocs policy statement,
> you may review at http://www.amdocs.com/email_disclaimer.asp
>

Attachment: user_181881.ezm (zipped)

Hi all! i was wondering if there would be any plans on building an
interceptor that manages flash scope or wizard scope? i was surfing around
and saw this post
http://blogs.opensymphony.com/plightbo/2006/03/webwork_flash_scope_support.html

I have made an interceptor that with the help of annotations put objects in
the session under a client specified key and after this i was wondering if i
should extend my interceptor with even more annotations like
ex. @ScopeIT(key="blabla" scope="flash|wizard|etc").
   private Person person;

ex2. @ScopeXX(key="blabla" scope="wizard")
    public class MyAction ...

Having the interceptor remove the scoped object depending on any annotations
are set or not.

Any suggestion?, ideas? or are there any plans for this already?

--
Sent from the Struts - User mailing list archive at Nabble.com.

©2008 gg3721.com - Jax Systems, LLC, U.S.A.