a will to fix that plugin?
Musachy Barroso wrote:
>
> That's what I said. I honestly don't see the point in reinventing the
> wheel :)
>
> On Tue, Dec 15, 2009 at 7:52 AM, Alex Siman
> wrote:
>>
>> Who would implement all of these features? So many work
Who would implement all of these features? So many work and potential bugs...
Maybe it's the way easier to update SWF plugin to version 2?
Gabriel Belingueres-2 wrote:
>
> I also agree that implementing something similar to SWF2 is not very
> compelling.
>
> However having implemented conversa
I have created such wizard:
- simple LRU cache based on HashMap with fixed capacity, say for 5 elems;
- each cache elem collects wizard data;
- this cache stored in user session;
- each request in wizard flow pass the ID - the key of element (wizard data)
in cache;
- when wizard get finished - the
What if application needs expirable and parallel (say 5 instances at a time)
wizard?
andreak wrote:
>
> On Thursday 10. December 2009 15.31.15 Alex Siman wrote:
>>
>> Wes Wannemacher wrote:
>> >
>> > "Everything is tied to either the request
>&g
Wes Wannemacher wrote:
>
> "Everything is tied to either the request
> or the session, I can't build wizard-style views"
>
Yeah, we need wizards sometimes.
--
View this message in context:
http://old.nabble.com/struts-2.2-and-guice-tp26594350p26728156.html
Sent from the Struts - Dev mailing l
Hi there!
Anyone interested? Any thoughts?
Alex Siman wrote:
>
> I have found some pretty RESTful approaches to map actions. I think Struts
> 2 must borrowed these ideas.
>
> From V|Raptor:
> http://vraptor.caelum.com.br/documentation/vraptor3-ten-minutes-guide/
I have found some pretty RESTful approaches to map actions. I think Struts 2
must borrowed these ideas.
>From V|Raptor:
http://vraptor.caelum.com.br/documentation/vraptor3-ten-minutes-guide/
public class ProductsController {
//...
@Get
@Path("/products")
public List list() {.
I use [2.1.8]. Just read the version of Struts in a Subject of this thread.
Additionally I listed versions of Struts related JARs in first message.
DNewfield wrote:
>
>>> Alex Siman wrote:
>>>> The issue has gone away, after I removed plugin
>>>> [struts2-
Wes Wannemacher, what is wrong w/ this file upload plugin and Struts 2.1.8?
Alex Siman wrote:
>
> The issue has gone away, after I removed plugin
> [struts2-fileupload-plugin-2.1.7-SNAPSHOT.jar]. But this plugin works
> correctly w/ Struts 2.1.6.
>
--
View this message in
The issue has gone away, after I removed plugin
[struts2-fileupload-plugin-2.1.7-SNAPSHOT.jar]. But this plugin works
correctly w/ Struts 2.1.6.
Alex Siman wrote:
>
> If form uses [enctype="multipart/form-data"] then Struts2 stores request
> params in session (I suppose, at l
needed.
Musachy Barroso wrote:
>
> are you sure that a new instance of your action is created everytime,
> like if using spring, scope="prototype"?
>
> musachy
>
> On Wed, Oct 14, 2009 at 2:20 AM, Alex Siman
> wrote:
>>
>> Yes, it is very strange behaviour.
What is the problem with that GPL? Maybe we can ask the j18n author to add
Apache kind license?
BTW I used to think that "open source is really open". I am bored w/ all
those licenses. IMHO it's like native2ascii to me.
Philip Luppens wrote:
>
> On Wed, Oct 14, 2009 at
ended with previously entered values. WTF.
Musachy Barroso wrote:
>
> why do you think it stores them in the session? that sounds weird.
>
> musachy
>
> On Tue, Oct 13, 2009 at 4:58 PM, Alex Siman
> wrote:
>>
>> If form uses [enctype="multipart/form-data&qu
I hacked class [com.opensymphony.xwork2.util.LocalizedTextUtil] and now it
uses [http://sourceforge.net/projects/j18n/] to load resource bundles. J18n
allows *.properties files to be in UTF-8 encoding and contain not escaped
UTF-8 characters. This is very usable in comparison with Java's
native2as
If form uses [enctype="multipart/form-data"] then Struts2 stores request
params in session (I suppose, at least not in request). And with every form
submit Struts2 prepend prev value of parameter to a new one separated by a
comma.
Example:
update.jsp
--
Maybe more AJAX?
IMHO showcase must be organized similar to GWT's showcase (note tabs for
"Example" and "Source Code" loaded w/ AJAX):
http://gwt.google.com/samples/Showcase/Showcase.html
And here is my proposals:
- AJAX file upload with progressbar;
- AJAX autosuggest backed by server response
I have posted issue here:
Allow "LoggerUtils.format" to support unlimited number of args
http://jira.opensymphony.com/browse/XW-726
Do I need to repost it to Struts2 JIRA?
Wes Wannemacher wrote:
>
> On Thursday 24 September 2009 06:02:22 pm Alex Siman wrote:
>> I a
Very useful feature! It's SEO friendly and reduces/eliminates using of
UrlRewriteFilter.
Is this code correct?:
@Results({
@Result(
name = Action.SUCCESS,
location = "{2}.jsp"
)
})
class TestAction {
String bio, name;
@Action("/{bi
I ask, because I have not found version 2.1.6 here:
http://jira.opensymphony.com/browse/XW
Alex Siman wrote:
>
> Where to post XWork 2.1.6 issue?
>
--
View this message in context:
http://www.nabble.com/Where-to-post-XWork-issue--tp25592812p25593344.html
Sent from the Struts - De
Where to post XWork 2.1.6 issue?
--
View this message in context:
http://www.nabble.com/Where-to-post-XWork-issue--tp25592812p25592812.html
Sent from the Struts - Dev mailing list archive at Nabble.com.
-
To unsubscribe, e-mai
gt; On Thu, Sep 17, 2009 at 7:15 PM, Alex Siman
> wrote:
>>
>> // From
>> protected ActionMapping getActionMapping(String url) {
>> MockHttpServletRequest req = new MockHttpServletRequest();
>> req.setRequestURI(url);
>> retu
// From
protected ActionMapping getActionMapping(String url) {
MockHttpServletRequest req = new MockHttpServletRequest();
req.setRequestURI(url);
return
Dispatcher.getInstance().getContainer().getInstance(ActionMapper.class).getMapping(req,
Dispatcher.ge
Sorry, I forgot about
"com.opensymphony.xwork2.interceptor.PrepareInterceptor".
Alex Siman wrote:
>
> In my project I use the following simple but logically useful interceptor.
> Maybe Struts community will found its useful too.
>
> BeforeV
implement {...@link BeforeValidationAware}. This
interceptor
* is very useful for any situation, where you need to clean up or modify
some
* parameters just after all parameters are set but before validation and
* action method invoked.
*
* @see BeforeValidationAware
*
* @author Alex Siman
24 matches
Mail list logo