> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Interceptors-with-Ajax-Actions-tp15706322p15729034.ht
Pablo Vázquez Blázquez wrote:
Well... I think it's using s:url "value" attribute instead of "action"
one. Isn't it?
Ah, I see what you mean. Yes, via s:url, or s:form action="a url", or
sx:submit href="a url" (for ajax tags).
The tags include code to generate the URL to an action based on th
Well... I think it's using s:url "value" attribute instead of "action"
one. Isn't it?
Pablo Vázquez Blázquez escribió:
Yes, yes, I know, but my doubt is:
When calling "DoItNow.do" or "DoItNow.xhtml"? Where in my config do I
say that "DoItNow" is having .xhtml extension or .do one? Because, in
Yes, yes, I know, but my doubt is:
When calling "DoItNow.do" or "DoItNow.xhtml"? Where in my config do I
say that "DoItNow" is having .xhtml extension or .do one? Because, in
you do not specify the extension.
Thanks.
Jeromy Evans escribió:
Pablo Vázquez Blázquez wrote:
May I have 2 differe
Pablo Vázquez Blázquez wrote:
May I have 2 different action extensions in the same webapp? Where do
I indicate the extension for each action? Now, I have set name="struts.action.extension" value="do"/> in my struts.xml file, so
.do is the extension for all actions.
Hi Pablo,
That's simply a c
May I have 2 different action extensions in the same webapp? Where do I
indicate the extension for each action? Now, I have set name="struts.action.extension" value="do"/> in my struts.xml file, so
.do is the extension for all actions.
Thanks.
Jeromy Evans escribió:
Pablo Vázquez Blázquez wro
Just a quick thought. Try this but include an empty div in the body.
The "undefined" in IE may be because Dojo is inserting an empty string
into the DOM using innerHTML.
(Dojo extracts the scripts and executes them separate
It'll definitely be possible using pure Dojo but you'll have to explore
their mailing list and wiki for 0.4 notes.
I'd start by trying to include an alert("message") in the inline script,
or window.status="messages" lines, to isolate what does and doesn't work.
Also turn on debugging using the
Pablo Vázquez Blázquez wrote:
- the interceptor can detect that the request is ajax either by the
partitioning of your packages/URLs or by inspecting the http header;
How can you know it is an ajax request by inspecting the http header?
I looked in my request headers and I can´t know whether it
.
>>
>> Jeromy Evans
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> ---------
> To unsubscribe, e-mail:
Dojo in all the relevant browsers.
>>
>> Hope that helps!
>>
>> [1] http://struts.apache.org/2.0.11/docs/ajax-tags.html
>> [2]http://struts.apache.org/2.0.11/docs/ajax-and-javascript-recipes.html
>>
>>
>> --
- the interceptor can detect that the request is ajax either by the
partitioning of your packages/URLs or by inspecting the http header;
How can you know it is an ajax request by inspecting the http header?
I looked in my request headers and I can´t know whether it is ajax or not.
Thanks.
Jero
es.html
>
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Interceptors-with-Ajax-Actions-t
Grish wrote:
I'm using the ajax theme with my struts tags, based on the struts 2
tutorial, to implement ajax functionality. Where can I define my code to
catch the result and perform a redirect? I apologize for my inexperience.
I'm a little unclear on how to
hmm...ok, this is using Dojo 0.
e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Interceptors-with-Ajax-Actions-tp15706322p15706535.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
Grish wrote:
Is there a way to intercept these ajax actions and properly direct my users
to the login page? Or is my approach fundamentally wrong? Any suggestions?
You can only force the redirect to a login page from the client-side.
There's a couple of ways you can do this:
- the intercep
uggestions?
--
View this message in context:
http://www.nabble.com/Interceptors-with-Ajax-Actions-tp15706322p15706322.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
17 matches
Mail list logo