You are paying the dojo penalty.
Check out the net usage in firebug plugin for firefox. Your 30k request
just became a 500k request by turning this on.
I use ajax, but none of the built in functionality. jquery ftw
Matt
Neil Aggarwal wrote:
Hello all:
When I include this tag in the
You should probably be doing this from an interceptor.
Matt
Alexander Baetz wrote:
Hi,
currently i'm trying to use my own Class to store configuration data for
my application.
To access the options from within the jsp page i want to use the struts
2 value stack. I somehow like the
I would like a make a couple beans available to the view layer.
I want to do this without modifying actions or customizing what they inherit
from.
I would like to do this in a generic way, without making something that is
specific to one view technology. e.g. I know it could be done with a
aarthy wrote:
How Can I implement Captcha in Struts2?
see http://code.google.com/p/kaptcha/
I put the logic in a KaptchInterceptor so actions don't need to be aware of
this lib or validation.
Here is the crux of the logic for that interceptor.
interceptor name=captcha
Don't use it (or dojo). Some of the jquery date/time pickers are far better
anyway.
Matt
Abhinav Sharma wrote:
I am using inbuilt struts 2 ajax date time picker for my web application.
It works fine with FireFox 2 but I face issues with rendering of these
controls in FireFox 3. FireFox
Just set the value name to cancel/back. e.g.
input type=submit class=submit cancel
name=cancel
id=cancelButton value=Cancel/
-- in struts.xml
interceptor name=cancel
Use firebug to measure you http. Firebug will give you a detail view of what
resources (e.g. dojo) are being pulled down with the http traffic.
Matt
yorlick kilroy-2 wrote:
Hi,
I was wondering if there is a way to tweak struts2 performance.
I ported an old struts1 application to
georz1 wrote:
I'm using Struts 2.0.11 and it seem with Firefox 3 only there are
rendering issues on pages where I have s:head theme=ajax. I can see
the page load fully and there is a quick flash of the browser and then a
blank page with FF3 stuck in a loading state.
On certain pages I
You could try struts2 + jquery + jgrid
(http://trirand.com/jqgrid/jqgrid.html)
If you need ajax, you need something that returns an json or xml response
(insert you velocity, freemarker, json result, jsp result here).
Matt
Márcio Gurgel wrote:
Hi all!
Since this morning I'm having
I am using freemarker, but I do not think there would be an advantage to
using JSP in this case.
What I am looking for in and object graph of validation rules so I can
paint my jquery validation rules from the the backend validation.
Matt
Laurie Harper wrote:
matt.payne wrote:
I really
By chaining several actions together. All of the getters inside those
actions are availible to the resulting .jsp/vm/or ftl.
I have used chain in cases where I had a more generic action that supplied
values for picklists and I needed those values supplied to several pages.
The action
chaining is one way to accomplish this.
http://struts.apache.org/2.x/docs/action-chaining.html
ravi_eze wrote:
hi,
We have two pages a.jsp and b.jsp developed with the action class mehods
Ac.a() Ac.b() that render these pages. Now we need to develop a new page
c.jsp which is
Also, include don't use Dojo or the Ajax theme unless you want to increase
your request size by 400KB.
Unfortunately for ajax, in the current form you need to roll your own if you
want to avoid the Dojo penality.
newton.dave wrote:
--- Raghu varma bhupathiraju wrote:
give me the list of
No, don't bother. Its not a chapter of book.
Skip some of the stuff you don't need to know any longer and roll up your
sleeves with struts 2.
akoo wrote:
Hi, forgive me if this has been asked before. I am just starting on
struts and wondering if I should first learn Struts 1 or just
I really like the treatment the JQuery
http://jquery.bassistance.de/validate/demo/ validation plugin (not struts
plugin), gives for a user experience. I would really like the rules to come
from back end rules and decorate the form fields the same way if the back
end bounces a validation error.
The current usage of Annotating methods seems broken.
Its still applying all the validation rules to all methods despite methods
having different validation requirements.
The Struts Zero Config/Annotation/Auto Config needs help
Hopefully, a http://jira.opensymphony.com/browse/XW-603
Same goes for getter. Does an Annotation exist to say get this value from
session if not in the request?
If these exist, it might take some boilerplate code way that would otherwise
involve http request/session objects in an action
Does this exist or anything on the roadmap?
Matt
--
View
-plugin-overview/
You mentioned writing the bulk of our JavaScript by hand, so a lot of the
ajax/validation calls do not involve dojo?
I'd be interested in chipping in a little if you would like.
Matt
newton.dave wrote:
--- matt.payne [EMAIL PROTECTED] wrote:
+1 here.
Highly looking forward
+1 here.
Highly looking forward to using this over current Dojo plugin.
Any progress being made?
Matt
nuwan chandrasoma-2 wrote:
i would like to see one :)
emartin24 wrote:
Ted Husted wrote:
On Nov 20, 2007 1:53 PM, name withheld wrote:
I've been working with Struts 2
I looked through all the combinations of wild card configurations, zero
config, annotations and I can't find one that fits my work style and offers
any benefit. I have a pattern to my development, it just doesn't fit the
current proposed solutions.
I often have a namespace per pojo(sometimes
I tend to just make my bean a getter/setter on the action and let the
framework take care of it.
However, if you are looking for the equivalent to setProperties/copy etc
look at xwork's
com.opensymphony.xwork2.util.OgnlUtil
Matt
Whitmire, Tracy Carroll wrote:
I'd like to use some of the
21 matches
Mail list logo