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
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 cus
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
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. Fire
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.
Just set the value name to cancel/back. e.g.
--> in struts.xml
cancel
cancel
back
Just give in and use (jquery syntax))
$("#back").click(function(event) {
window.location.href='forgot.action';
})
where
cree wrote:
>
> Hello All,
>
> I am attempting to resolv
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 . 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 have made i
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 st
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 tr
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 definition
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.p
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
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 com
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 j
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 sprink
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.
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 this
-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]&g
+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, wrote:
>>>
I've been working with Struts
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 n
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
22 matches
Mail list logo