>
> Another approach would be to populate your select with ajax or just
> use an ajax autocompleter. (just a thought)
>
> -Wes
>
OK - this is where I display the true depth of my ignorance - if I use an ajax
call, how do I do that to an "independent" action?
Regards
Roger
On Tue, Sep 29, 2009 at 4:27 PM, Roger wrote:
>> > What I would like to know is if I can also "attach" a custom action to my
>> > custom tag to populate the select options, without interfering with the
>> > rest of the flow? So I would have a self contained "component". My
>> > limited understand
> > What I would like to know is if I can also "attach" a custom action to my
> > custom tag to populate the select options, without interfering with the
> > rest of the flow? So I would have a self contained "component". My
> > limited understanding of the Struts cycle suggests that once I'm int
On Tue, Sep 29, 2009 at 4:03 PM, Roger wrote:
> Hi
>
> Apologies for the following, I hope it makes sense.
>
> I'm currently trying to develop a web-app that makes extensive use of
> elements in the UI. As I handed coded my n'th jsp implementation of
> the same today I thought I'd break out the
Hi
Apologies for the following, I hope it makes sense.
I'm currently trying to develop a web-app that makes extensive use of
elements in the UI. As I handed coded my n'th jsp implementation of
the same today I thought I'd break out the tutorials and learn how to
create a custom tag to do thi
I have searched and compared to no avail.
This one has been stumping me for some time now.
I'm trying to use the validation.xml. I have it working on one page and not
on the other.
Perhaps you can spot the error?
struts.xml
/WEB-INF/customer/update.jsp
cust
a formality :)
On Tue, Sep 29, 2009 at 9:33 AM, Greg Lindholm wrote:
> Nice announcement, so what is it?
>
> On Tue, Sep 29, 2009 at 9:57 AM, Wes Wannemacher wrote:
>
>> The Apache Struts team is pleased to announce that Struts Annotations
>> 1.0.5 is available as a General Availability release.
It's one of the artifacts that we release. We use it to build the TLD
that comes with the struts builds that contain TLDs. It's only
interesting to a small number of people, but it's one of our
artifacts, so I felt obligated to announce that it is released. :)
-Wes
On Tue, Sep 29, 2009 at 12:33 P
Nice announcement, so what is it?
On Tue, Sep 29, 2009 at 9:57 AM, Wes Wannemacher wrote:
> The Apache Struts team is pleased to announce that Struts Annotations
> 1.0.5 is available as a General Availability release. The General
> Availability designation is our highest quality grade.
>
> The r
are you putting that in the @Namespace annotation? It will not work on
the @Action annotation.
musachy
On Tue, Sep 29, 2009 at 8:49 AM, struts-restful wrote:
>
> Also I know that the default parameter is id but ideally i am trying to
> create a url as follows
>
> /person/name/{id}/{anotherId}/te
Also I know that the default parameter is id but ideally i am trying to
create a url as follows
/person/name/{id}/{anotherId}/test-example
struts-restful wrote:
>
> I amended my URL to be as follows then using the namespace pattern matcher
>
> /person/name/{id}/test-example
>
> but this no
I amended my URL to be as follows then using the namespace pattern matcher
/person/name/{id}/test-example
but this now maps the config as /person/name/{id}. How would I get rid of
the {id} bit but still pass the parameter through?
Thanks
Musachy Barroso wrote:
>
> the namespace matcher, ad
Hi,
Can we use annotation for exclude/include properties in Struts2 JSON Plug In
like FLEXJSON?
Anyone done some comparison btw Struts2 JSON Plug In and FLEXJSON (or Struts2
Another JSON Plug In
http://cwiki.apache.org/S2PLUGINS/2009/03/03/another-struts-2-json-plugin.html)
?
Regards
LV
the namespace matcher, ad the name implies matches parameters only in
the namespace (the part before the action). To map params after the
action name, you have to use wildcards. Because this is confusing, we
introduced the advanced regex patters which will sove all the cases,
see this:
http://cwik
Ok after some further investigating the problem appears to be when the server
is starting up and it is building the namespaceActionConfig map.
because my namespace on the action is set to /person/name/test-example/{id}
when the action config is created the key is set to
/person/name/test-example
does adding namespace="/" to the url tag make any difference?
There is a good chance that it is related to "" vs "/" namespace.
musachy
On Tue, Sep 29, 2009 at 12:18 AM, RogerV wrote:
>
> Hi
>
> I'm having problems getting my head around how the convention plugin derives
> it's URL's. In my jsp
Thanks for the help and your reply.
i implemented the named pattern matcher but cant get it to work. I have the
following config in my struts.xml
On my action I added the namespace annotation for example
@Namespace("/person/name/test-example/{id}")
this uses the restActionMapper b
Hi Sameer,
I have a sample code for file upload in Struts 2.1.6 here. This worked just
fine for me.
http://www.nabble.com/Unable-to-upload-files-in-Struts2-with-Spring-Security-filter-td25652380.html
I was getting the file as null in action because of issue mentioned here
http://www.nabble.com/W
The Apache Struts team is pleased to announce that Struts Annotations
1.0.5 is available as a General Availability release. The General
Availability designation is our highest quality grade.
The release is available from the central Maven repository under
Group ID "org.apache.struts" and artifactI
In order to combat JavaScript caching, I wish to have my JavaScript
files served up where there is a version number in the url.
I got the idea from: "Help with aggressive JavaScript caching"
http://stackoverflow.com/questions/54475/help-with-aggressive-javascript-caching
example:
How can I do
Hi All,
I am working on web application using struts 2.0.12 version. In my
application there is a need to replace the select tag with autocompleter tag. I
tried many ways using the list which i obtain from the action class and also
tested with static list values but not able to acheive
Hi All,
I am working on web application using struts 2.0.12 version. In my
application there is a need to replace the select tag with autocompleter tag. I
tried many ways using the list which i obtain from the action class and also
tested with static list values but not able to acheive
Hi
I'm having problems getting my head around how the convention plugin derives
it's URL's. In my jsp I have this snippet
which generates the HTML snippet
Delete
In my action I have the anotation
@Action("deletegroup")
public String delete() {
return
2009/9/29 Steven Yang :
> So is 2.1.8 out but just not yet officially announced?
> and does http://people.apache.org/builds/struts/2.1.8/ provide the final
> version of 2.1.8?
Yes, the voting is almost done, so it's just matter of few days (I hope ;-)
Regards
--
Lukasz
http://www.lenart.org.pl/
So is 2.1.8 out but just not yet officially announced?
and does http://people.apache.org/builds/struts/2.1.8/ provide the final
version of 2.1.8?
Thanks
On Mon, Sep 28, 2009 at 9:16 PM, Wes Wannemacher wrote:
> Keep an eye out ;)
>
> -Wes
>
> On Mon, Sep 28, 2009 at 9:08 AM, Greg Lindholm
> wr
25 matches
Mail list logo