Musachi,
I like that src link you included. I looked at it then found the
Dispatcher.java class to look at the getInstance() method. It's
getting a threadlocal of struts2 instance. So I realized sitemesh
must be calling that header.jsp page before struts2 get's a chance to
put it's instance in
Musachy --
Not exactly sure what an "OP" is, but I am trying to save my brother from
banging his head on the keyboard. I have found S2's Ajax support to be
harder to actually write than the docs would otherwise suggest. Understand
this comment does not apply generally to S2, but rather a slice
--- [EMAIL PROTECTED] wrote:
> I honestly think you are barking up the wrong tree
> using S2 for Ajaxy UI.
Just to provide a counter-example, I am using many of
the S2 tags in multiple applications to provide a fair
amount of Ajaxification very successfully.
There are definitely many use-cases t
How exactly does your comment help the OP?
musachy
On 3/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Musachy --
I have given up on the AJAX theme and moved exclusively to Prototype.jsfor
asynch behaviors. There is no mystery prototype.js and it is very clear
to
code/read. I had been
Musachy --
I have given up on the AJAX theme and moved exclusively to Prototype.js for
asynch behaviors. There is no mystery prototype.js and it is very clear to
code/read. I had been using XHR directly and thought S2's tags would make
my life simpler. However, even coding with XmlHttpRequest
Looking at that line here:
http://svn.apache.org/viewvc/struts/struts2/tags/STRUTS_2_0_6/core/src/main/java/org/apache/struts2/views/jsp/ComponentTagSupport.java?annotate=509057
Container container = Dispatcher.getInstance().getContainer();
it seems like Dispatcher.getInstance() is returning
This application uses
sitemesh 2.2.1
spring 2.0.3
struts 2.0.6
struts 1.2.9
struts-menu 2.4.2.1
If I put " in my header.jsp file I get a
Nullpointer exception. I found this link
http://forum.springframework.org/showthread.php?t=33874 talking about
the same error message which says the fix is in
7 matches
Mail list logo