Both problems should now be fixed on IE 6.
regards
musachy
Musachy Barroso wrote:
I will fix it so it ignores that null value. UTF-8 works.
regards
musachy
Dariusz Wojtas wrote:
I am not really sure if it worked before, both autcompleter and my
code do evolve ;)
I was always using JSP
Wojtas
On 12/31/06, Musachy Barroso [EMAIL PROTECTED] wrote:
Both problems should now be fixed on IE 6.
regards
musachy
Musachy Barroso wrote:
I will fix it so it ignores that null value. UTF-8 works.
regards
musachy
Dariusz Wojtas wrote:
I am not really sure if it worked before, both
That was quick! The change is on head already.
musachy
Musachy Barroso wrote:
Sorry for the false news :). The issue was closed but it seems like it
hasn't been committed yet.
https://issues.apache.org/struts/browse/WW-1583
regards
musachy
Dariusz Wojtas wrote:
Hi Musachy,
I have just
Barroso [EMAIL PROTECTED] wrote:
Both problems should now be fixed on IE 6.
regards
musachy
Musachy Barroso wrote:
I will fix it so it ignores that null value. UTF-8 works.
regards
musachy
Dariusz Wojtas wrote:
I am not really sure if it worked before, both autcompleter and my
code do evolve
I had a similar problem before, are you using Spring 2 with S2? If you
are, remember to set scope=prototype in applicationContext.xml for
your action bean
musachy
Dariusz Wojtas wrote:
Now I am stuck with some other issue, something so strange that seems
to be irrational.
I have an URL
the scope somewhere?
I only set some props in my struts.properties:
struts.devMode=true
struts.enable.DynamicMethodInvocation=false
struts.action.extension=action
struts.objectFactory=spring
struts.objectFactory.spring.autoWire=name
Best regards
Dariusz Wojtas
On 1/1/07, Musachy Barroso [EMAIL
S2 needs to know the exact namespace of the action. If you do this:
s:form method=post validate=true action=quizClient
namespace=/validation
s:textfield label=Name name=name/
s:textfield label=Age name=age/
s:textfield label=Favorite color name=answer/
s:submit/
/s:form
then it
autocompleters on all browsers, dropdown problem on Opera),
but the things that you just fixed - do work as expected.
I just had to refresh/clear cache in IE and it started to work.
Best regards
Dariusz Wojtas
On 12/31/06, Musachy Barroso [EMAIL PROTECTED] wrote:
With the Object error and the encoding
You can start here:
http://cwiki.apache.org/confluence/display/WW/Home
musachy
oughlad wrote:
hi all;
i m new in developping with struts framfork,
and to understand i need some links,tuto and examples of application that
work with struts,
thks u in advance
What version are you using? using head svn , I modified showcase's
remote link first example to this:
s:a
theme=ajax
href=%{ajaxTest}
indicator=indicator
targets=t1,t2 notifyTopics=/after
preInvokeJS=alert('test')Update 'Div 1' and 'Div 2', publish topic
'/after',
Hi Celio
preInvokeJS will only work while using the ajax theme, if you are not
using it, then the regular onclick attribute will do.
regards
musachy
The
Célio Cidral Junior wrote:
Hi Musachy,
2007/1/2, Musachy Barroso [EMAIL PROTECTED]:
What version are you using? using head svn , I
If you set executeScripts to true, in the submit tag, you can put a
javascript section in the returned page, and it will be executed, like:
script
makeWidgets();
/script
There is an example if this in showcase, in the remote div section.
regards
musachy
André Faria wrote:
I have a problem
makeWidgets() again the input buttons out of the div
that uses ajax tags will be added to the dojo lisneters again, and
when you click in a button they will be execute the same number of
post that you executed makeWidgets...
Musachy Barroso escreveu:
If you set executeScripts to true
Hi Dariusz
The remote forms example(and probably the tag) are broken right now. The
easiest way to submit forms asynchronously, that I know is working like
s:form
s:submit theme=ajax/
s:/form
check the ajaxtags doc for examples:
http://struts.apache.org/2.x/docs/ajax-tags.html
params.
If this could help, I have a form with some custom tabular structure
inside.
Also some dojo scripts do not get loaded with current S2 - this could
also be the reason ...
Best regards
Dariusz Wojtas
On 1/7/07, Musachy Barroso [EMAIL PROTECTED] wrote:
Hi Dariusz
The remote forms
Dariusz Wojtas wrote:
Hi,
I am absolutely nod in mood to be the 1st class troublemaker for S2
ajax support - which is very nice - but real life usage brings some
questions.
Don't lose your faith, must of the fixes have been recommended by you :)
I have a form using theme ajax.
And I have
I logged this ticket with a simple patch:
https://issues.apache.org/struts/browse/WW-1602
(remember to remove theme=ajax for the ones that you want it to render
the label)
regards
musachy
Dariusz Wojtas wrote:
Hi,
I am absolutely nod in mood to be the 1st class troublemaker for S2
ajax
I swear I haven't been drinking today :). I will do a similar fix for
the dropdowndatetimepicker
musachy
Dariusz Wojtas wrote:
Maybe this fix helps, but for autocompleter.
I asked for dropdowndatetimepicker :)
Greetings
Dariusz Wojtas
On 1/7/07, Musachy Barroso [EMAIL PROTECTED] wrote:
I
-
works for months).
If this can help, IE shows an error message in the status bar:
Could not load 'dojo.widget.html.Tooltip'; last tried '__package__.js'
It is something general with the recent S2 from trunk.
Dariusz Wojtas
On 1/7/07, Musachy Barroso [EMAIL PROTECTED] wrote:
Just to make
is
ajaxified (rich text) instead of just being rendered in a table row
with two cols.
btw, I am just sitting with a 2nd glass of a good red wine (no joke).
If my future messages today are out of context - you know the reason :)
Thanks for your time :)
Dariusz Wojtas
On 1/7/07, Musachy Barroso
The autocmpleter needs to get the data in some format, that format is
JSON, the response needs to be something like:
[
[Text1, Key1],
[Text2, Key2],
]
Remember that what you return from execute is not the response, it is
the result, like success or input, so you can't return the json
Hi André,
Do you mean adding an attribute to specify the name of the key field?
That can be done. The label attribute is a different thing, it is the
text that is displayed in front of the autocompleter and it is not
submitted to the server.
regards
musachy
André Faria wrote:
Hi Musachy
,
Thank's,
André Faria
Musachy Barroso escreveu:
Hi André,
Do you mean adding an attribute to specify the name of the key
field? That can be done. The label attribute is a different thing,
it is the text that is displayed in front of the autocompleter and it
is not submitted to the server.
regards
Faria escreveu:
Hi Musachy,
Yes, you are right...
The necessity is an attribute to specify the name of the key
field.
Regards,
Thank's,
André Faria
Musachy Barroso escreveu:
Hi André,
Do you mean adding an attribute to specify the name of the key
field? That can be done. The label
Hi Dariusz
The tag name changed, but nothing else (that I know of). The UI Tags
example in showcase works. The date is in the action, not a nested
object, but that shouldn't be a problem.
musachy
Dariusz Wojtas wrote:
using nightly build from 09-Jan
We moved from xdoclet to annotation-based tld generation. In that
process a bug was introduced on the autocompleter, here is a ticket with
the patch
https://issues.apache.org/struts/browse/WW-1611
It hasn't been applied yet.
musachy
Dariusz Wojtas wrote:
Hi,
This is something recent as
the showcase and see how it behaves.
Dariusz Wojtas
On 1/10/07, Musachy Barroso [EMAIL PROTECTED] wrote:
Hi Dariusz
The tag name changed, but nothing else (that I know of). The UI Tags
example in showcase works. The date is in the action, not a nested
object, but that shouldn't be a problem
Content-Disposition: form-data; name=rightSideCartoonCharacters
Donald Duck
-146043902153
Content-Disposition: form-data; name=thoughts
-146043902153--
Dariusz Wojtas
On 1/10/07, Musachy Barroso [EMAIL PROTECTED] wrote:
Actually
That's true, I was thinking about it yesterday, I will roll it into a
plugin today.
musachy
Ted Husted wrote:
On 1/8/07, Musachy Barroso [EMAIL PROTECTED] wrote:
Soon we will have a json result type,
that will take care of serializing the action to a json string for you.
Why wait? Someone
The JSON plugin has been added to the registry. Hosted here:
http://code.google.com/p/jsonplugin/
regards
musachy
Ted Husted wrote:
On 1/8/07, Musachy Barroso [EMAIL PROTECTED] wrote:
Soon we will have a json result type,
that will take care of serializing the action to a json string for you
companion for your result type. I believe it allows
an action to be populated from a JSON request.
/Ian
Musachy Barroso wrote:
The JSON plugin has been added to the registry. Hosted here:
http://code.google.com/p/jsonplugin/
regards
musachy
Ted Husted wrote:
On 1/8/07, Musachy Barroso [EMAIL
This whole thing started with Frank's code, and I'm indeed going to
reuse it. As for access to the google project, I just need the gmail
user name. Frank if you are interested jump in and send me your gmail
user name.
regards
musachy
Ted Husted wrote:
:) I think this is the part where
Well my intention was to have it in S2, given some people need it and it
is a simple thing. The autocompleter tag also needs it, but that one
will fly to a plugin soon after 2.0.3. As a side not, for those
interested on ajax stuff, check the GWT S2 plugin also, free membership
available for
Added.
musachy
Frank W. Zammetti wrote:
I'm in the last month or so of work on my next book, so chances are you'll
finish it all off long before I have a chance to jump in, but just in
case, my username is fzammetti (I'm not terribly original!) In the mean
time, feel perfectly free to ping me
Hi Alexandre,
The datepicker tag has been on the move between 2.0.1 - 2.0.3. I would
suggest not to use 2.0.2, and wait until the next stable build is
released, must likely 2.0.3. If you can't wait, and decide to build
from source, and still have the same problem, let us know.
regards
I've never tried that myself, but if dojo.bind() supports submission of
forms with files, then it should be possible.
//did you ever figure out the problem with the date?
regards
musachy
Dariusz Wojtas wrote:
Hi,
I have a form declared this way:
s:form action=/my.action
theme=ajax
Decoupling. The listeners do not need to know who is the source of the
event, nor they have to attach themselves to any specific element. If in
the future the publisher (source of the event) changes, or there is
more than one publisher, you don't need to change any code.
regards
musachy
the datetimepicker in the ajax form - but I can
clearly see that it nicely generates a table row with 2 columns.
I am sorry for the wrong message before - it's blindness.
[time is still not recognized]
Best regards
Dariusz Wojtas
On 1/14/07, Musachy Barroso [EMAIL PROTECTED] wrote:
I've never tried that myself
before - it's blindness.
[time is still not recognized]
Best regards
Dariusz Wojtas
On 1/14/07, Musachy Barroso [EMAIL PROTECTED] wrote:
I've never tried that myself, but if dojo.bind() supports submission of
forms with files, then it should be possible.
//did you ever figure out the problem
Sorry for the name misspelling :)
musachy
Musachy Barroso wrote:
Dariouz
There are two problems with the time picker tag, one is that xwork
doesn't support dates in RFC3399 format (only the SHORT, MEDIUM and
LONG from DateFormat), for that I attached a patch here:
https
Thanks for letting us know. Here is the ticket:
https://issues.apache.org/struts/browse/WW-1646
regards
musachy
André Faria wrote:
Note the attribute ID is writed as Style in line 11.
The File:
1. script type=text/javascript
2. dojo.require(dojo.widget.TabContainer);
3.
I think the problem is only with files right? On showcase there are
several examples (not the remoting forms), like on the div, anchor, and
button page which work.
regards
musachy
Dariusz Wojtas wrote:
Hi,
Does the current form submission come from a problem in dojo?
Or is this something
How is it different? Feel free to log a ticket.
regards
musachy
André Faria wrote:
Is the a way to add tag dynamically in tabbedPane...
I am triyng this way:
script
var tabContainer = dojo.widget.byId(tabbedPane);
var url = 'person.action';
var cp = dojo.widget.createWidget(BindDiv,
On 1/17/07, Musachy Barroso [EMAIL PROTECTED] wrote:
I think the problem is only with files right? On showcase there are
several examples (not the remoting forms), like on the div, anchor, and
button page which work.
regards
musachy
Dariusz Wojtas wrote:
Hi,
Does the current form submission
If you are using S2, you can also use Dojo's Timer:
http://dojotoolkit.org/api/#dojo.lang.timing.Timer
regards
musachy
Peter Neu wrote:
Hello,
in one of my endless attempts to fight the evil browser backward button
mechanism I was thinging about this:
Can I make a periodic java
The anchor and the submit tags have a targets attribute that does
that. In targets you can specify a comma-delimited list of ids, whose
content will be updated with html returned from from your action:
s:div id=div1 ...
s:submit theme=ajax targets=div1 .../
/s:div
Showcase has several
It is targets instead of target(can be more than one)
musachy
walidito wrote:
thank you very much,
when I try the following code, or the equivalent without the s:url stuff, I
get this error :
Attribute target invalid for tag a according to TLD at
With the same error?
musachy
walidito wrote:
sorry i posted the wrong code,
but i tried both target and targets.
both doesnt work
Musachy Barroso-2 wrote:
The anchor and the submit tags have a targets attribute that does
that. In targets you can specify a comma-delimited list of ids
declaration...
any idea?
Musachy Barroso-2 wrote:
With the same error?
musachy
walidito wrote:
sorry i posted the wrong code,
but i tried both target and targets.
both doesnt work
Musachy Barroso-2 wrote:
The anchor and the submit tags have a targets attribute that does
2.0.3 is around the corner (a few days maybe)
musachy
walidito wrote:
when will it be available because a very important feature of struts 2 in
general, and of my application.
?
thanks
Musachy Barroso-2 wrote:
My bad, that's new on 2.0.2.
musachy
walidito wrote:
yes with the same
Dariusz Wojtas
On 1/17/07, Musachy Barroso [EMAIL PROTECTED] wrote:
Can you create a ticket with the scenarios that do not work? I'll
probably have time to go over it on the weekend.
thanks
musachy
Dariusz Wojtas wrote:
Hi Musachy,
This is probably lack of precision from my side.
Saying
With your latest jsp file I was able to reproduce the problem. Here is
were it gets Microsoft-black-magic-style. I did something, not sure
what, and it then started to work. I killed the explorer process, and
start it again, and was able to reproduce it again, looks like a though
one :)
reproduce it tomorrow?
What if IE dies in 'some other way'?
Thanks for the info, the hope is back :)
Best regards
Dariusz Wojtas
On 1/24/07, Musachy Barroso [EMAIL PROTECTED] wrote:
With your latest jsp file I was able to reproduce the problem. Here is
were it gets Microsoft-black-magic-style. I
Which build are you using?
regards
musachy
xiao jie wrote:
Hi :
I seem to have problem with the s:datetimepicker tag in my struts 2 application,
I used the quickstart project as a template and starting point for my project,
but when I include a s:datetimepicker in a jsp page,it says No tag
Is persistence.xml under WEB-INF? I was getting the same error when I
tried to avoid using the dummy persistence.xml (there is got to be a way
of configuring the persistent unit from Spring, but I didn't look into it).
musachy
shahab wrote:
Hi:
I am trying to use Struts 2, Spring and JPA.
A templateCssPath is required on the tabbedPanel, so you will be able
to specify the css used for the tabs.
https://issues.apache.org/struts/browse/WW-1688
regards
musachy
walidito wrote:
Hi all,
I could customize my s:tabbedPanel s:panel tabs with a css file, that
customizes my tabs
persistence.xml under META-INF
(both WEB-INF and META-INF are under tomcat_home/webapps/app level
In fact, w/o this file, i get the same error also.
Also, please note that, I couldnt find struts2-Spring-plugin.jar
anywhere.
thanx
Shahab
Musachy Barroso-2 wrote:
Is persistence.xml under
/static/dojo/src/widget/templates/TabContainer.css?view=markup
and the current images are under the images directory, their names
start wtih tab_.
musachy
Musachy Barroso wrote:
A templateCssPath is required on the tabbedPanel, so you will be
able to specify the css used for the tabs.
https
It was written using 2.0.3 :)
musachy
Don Brown wrote:
I believe the tutorial requires at least Struts 2.0.3.
Don
On 1/31/07, shahab [EMAIL PROTECTED] wrote:
Hi:
I am using Struts 2.0.1. I have added few jar files from spring 2.0
as well.
I am trying struts 2 + spring + JPA. Similar to
Try using targets instead of resultDivId, which is deprecated, but
should work anyway. Are there any javascript errors on the page when
this happens?
regards
musachy
Siva Gurusamy wrote:
HI,
I am having a problem in using ajax in Struts 2 Application.
Can someone explain me how to resolve
On showcase, tabbed panel, example 3, I tried this:
dojo.widget.createWidget(BindDiv, {label:'Details', executeScripts:true,
href:'/struts2-showcase/AjaxTest.action', parseContent:true,
refreshOnShow:false, id:'ryh1'});
And the first request that it makes it to load dojo.js (caching
problem
Hi Dariousz
I recently sent a patch for XWork to parse dates on RFC 3339 format
(which the datepicker uses):
https://issues.apache.org/struts/browse/WW-1643
Can you recompile xwork and try?
musachy
Dariusz Wojtas wrote:
Hi,
I have been reporting some problems with conversion at the
, Musachy Barroso [EMAIL PROTECTED] wrote:
Hi Dariousz
I recently sent a patch for XWork to parse dates on RFC 3339 format
(which the datepicker uses):
https://issues.apache.org/struts/browse/WW-1643
Can you recompile xwork and try?
musachy
Dariusz Wojtas wrote:
Hi,
I have been reporting
I doesn't look like a problem specific to the tree, are you able to use
any of the other ajax tags?
regards
musachy
Tim Azzopardi wrote:
(The 2.0.4 showcase tree is fine of course!)
i'm using a modified apppfuse 1.9.4 stack using struts 2.0.1 which I've just
upgraded to 2.0.4
it looks like
a copy of xwork or point to some nightly build?
Regards
Dariusz Wojtas
On 2/5/07, Musachy Barroso [EMAIL PROTECTED] wrote:
The patch was already committed to xwork by Phil. You just need to
update and recompile.
thanks
musachy
Dariusz Wojtas wrote:
ok, I surely will try this patch - somewhen later
Just as a follow up to anyone interested, I added the interceptor to the
JSON plugin. Dates in RFC 3339 format are also supported. Serialization
and deserialization can be customized using annotations. For more details:
http://cwiki.apache.org/S2PLUGINS/json-plugin.html
musachy
Musachy
from the array?
Dummy toString from array is almost useless.
Something like
Error setting expression 'myDateProperty' with value ['1st val',
]
Best regards
Dariusz Wojtas
On 2/6/07, Musachy Barroso [EMAIL PROTECTED] wrote:
I got the same error on 1.6, but it works on 1.5.
thanks
musachy
When you post the form, after the action, struts will send a response,
usually a page. Because you don't want to change the current page, you
could do this by making an asynchronous request. I'm probably wrong, but
I don't think you can make a post, and stay on the same page (unless you
are
for this property.
I get such pair for each Date prop.
myDateProperty=2007-02-07
dojo.myDateProperty=2007-02-07
s:datetimepicker name=myDateProperty displayFormat=-MM-dd
label=My Date Label/
Regards
Dariusz Wojtas
On 2/7/07, Musachy Barroso [EMAIL PROTECTED] wrote:
Can you find out what
I've been working on a JSON plugin to serialize/deserialize actions to/from
JSON, but it is for Struts 2. You could at least reuse the
serialization/deserialization code:
http://code.google.com/p/jsonplugin/
musachy
On 2/7/07, Alejandro Calbazana [EMAIL PROTECTED] wrote:
Hello,
I am
What do you mean how can I hold those values in the javascript.? Do you
mean, how to get the values in javascript?
regards
musachy
On 2/7/07, Jeevan Kumar Kade [EMAIL PROTECTED] wrote:
Hi All,
I have 2 Radio Button Group
How can i call the following html:radio code in javascript
reply.
Your are correct, how to get the values in the javascript.
Kindly please provide me code. Really it will be helpful me a lot. I
am trying a lot from 3 days.
Please help me
Thanks in Advance
Jeevan
Musachy Barroso [EMAIL PROTECTED] wrote:
What do you mean how can I hold those
Like I said before you can use Ajax to submit the form, and the page won't
refresh, how to do it depends on what JS framework you are using, if any.
regards
musachy
On 2/8/07, Christopher Loschen [EMAIL PROTECTED] wrote:
Yes, you're right that the form submit was causing the system to forward
is working, but
I'd be happy to learn how to do it without refreshing the page -- that
does seem like a more elegant solution to me. What do you suggest? We do
use JS for our app, but no JS framework as such as far as I can tell.
Chris
-Original Message-
From: Musachy Barroso [mailto:[EMAIL
The tree has been on my todo list for a while. Looking at the template
tree-node.ftl, it doesn't seem to have any way to hook events. Log
tickets for anything you think it should have.
regards
musachy
Jim Reynolds wrote:
I am browsing through the struts2 showcase and have the need to
https://issues.apache.org/struts/browse/WW
After you register and login, you will see a Create Issue on the top.
musachy
Jim Reynolds wrote:
Thanks for the response,
Where is the proper place to log tickets at in regards to S2 issues?
Regards
On 2/9/07, Musachy Barroso [EMAIL PROTECTED
, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
On Thu, February 8, 2007 9:49 am, Musachy Barroso wrote:
Check Prototype out, here is a good tutorial:
http://www.sergiopereira.com/articles/prototype.js.html
Dave is right. On top of that, S2 ships with Dojo, so you can just do:
dojo.io.bind({
url: add.action,
formNode: dojo.byId(form1),
load: function(type, data, evt){
//callback called after request is made
},
});
We will soon have a eventbind tag that will attach to any element,
] wrote:
Hey, that eventblind tag sounds pretty cool... familiar
(
http://javawebparts.sourceforge.net/javadocs/javawebparts/ajaxparts/taglib/package-summary.html
),
but cool ;) LOL
Frank
Musachy Barroso wrote:
Dave is right. On top of that, S2 ships with Dojo, so you can just do:
dojo.io.bind
No, and it is missing the templaceCSSPath for customizing the styles.
http://issues.apache.org/struts/browse/WW-1729
regards
musachy
On 2/10/07, Pedro Herrera [EMAIL PROTECTED] wrote:
Is there another css in the bundle for s:datetimepicker ?
--
View this message in context:
suppose I
should feel some sense of validation that the basic idea I presented 2+
years ago for S1 now makes it, roughly, into S2 :)
Frank
Musachy Barroso wrote:
Yes indeed! but with multiple targets, multiple sources, passing a form,
with a form filter, instantiating Dojo widgets
exncountered this issue ? or am I missing
something here?
any suggestions will be helpful!!
thanks a lot!
Pam
- Original Message
From: Musachy Barroso [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, February 7, 2007 7:06:39 PM
Subject: Re: [S2] datetimepicker
I think when you annotate a class with @Validations, input is the only
method that will be called without invoking the validation first.
musachy
Laurie Harper wrote:
I'm trying to get validation working (using annotations) in a Struts2
project and I can't seem to get it to quite cooperate :-)
use:
%@ taglib prefix=c uri=|http://java.sun.com/jsp/jstl/core| %
||musachy
puchacz wrote:
If anybody can explain me why I get this error and how to repaire it.
My view page :
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
html
head
link href=main.css rel=stylesheet
limitation apply when using XML-based validation?
L.
Musachy Barroso wrote:
I think when you annotate a class with @Validations, input is the only
method that will be called without invoking the validation first.
musachy
Laurie Harper wrote:
I'm trying to get validation working (using annotations
:802)
Musachy Barroso-2 wrote:
use:
%@ taglib prefix=c uri=|http://java.sun.com/jsp/jstl/core| %
||musachy
puchacz wrote:
If anybody can explain me why I get this error and how to repaire it.
My view page :
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
html
head
Where did those pipes come from? weird. Good catch.
musachy
Michael Jouravlev wrote:
It is http://java.sun.com/jsp/jstl/core;, not
|http://java.sun.com/jsp/jstl/core|. Verify the URI in the TLD file.
On 2/12/07, puchacz [EMAIL PROTECTED] wrote:
I am using Tomcat 5.0 and jstl-1.1.1.jar and
We dropped the tab tag because the div tag has the same attributes.
You are right, the refreshOnShow attribute is ignored right now. It
will be fixed for 2.0.6 or 2.0.7.
thanks
musachy
Shuai Zheng wrote:
Dear All,
I have submitted an issue ww-1730 to JIRA (
If you are making the call using the anchor or submit tag in the ajax
theme, the returned text is available as a parameter(first parameter,
when type is load) to the notifyTopics, see:
http://cwiki.apache.org/WW/ajax-tags.html
If you are going to use Dojo directly,:
dojo.io.bind({
The ajax request is handled just like any other request (its
asynchronous nature is only related to the client). So whatever the
action outputs, it will be sent to the client and inserted inside the
div. Use Firebug to see what is the return of the ajax call, plus make
sure the jsp fragment
%
Is there something else I need? Also, I get the messages correctly if I
call the url directly, (not using an async call).
I will try the Firebug suggestion.
Musachy Barroso-2 wrote:
The ajax request is handled just like any other request (its
asynchronous nature is only related to the client). So
;
},
mimetype: text/plain
});
}
-Mensagem original-
De: Musachy Barroso [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 13 de fevereiro de 2007 15:20
Para: Struts Users Mailing List
Assunto: Re: Ajax - obtaining a method result
If you are making the call using
Are you getting any kind of error? Enable the Dojo debug, setting
debug=true on the head tag.
regards
musachy
Dave Newton wrote:
I created a quick prototype using plain old JSP pages
with some nested tabbedPanels, a div of which was
loaded via Ajax. That div contained an s:a.../ tag
that
No idea. Are you using the latest from trunk? Yesterday I saw some URLTag
tests failing, not sure if it is somehow related.
musachy
On 2/16/07, Dave Newton [EMAIL PROTECTED] wrote:
Musachy say:
Are you getting any kind of error? Enable the Dojo debug, setting
debug=true on the head tag.
No
Subject: RE: [S2] Tiles vs. s:url.../ and Ajax?
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
No idea. Are you using the latest from trunk? Yesterday I saw some
URLTag tests failing, not sure if it is somehow related.
2.0.5 :/
I was going to wait for the 2.0.6 drop, but thought maybe since
See here:
http://struts.apache.org/2.x/docs/validation.html
you can add a file ActionName-MethodName-validation.xml with the validation
for that method.
regards
musachy
On 2/21/07, cilquirm [EMAIL PROTECTED] wrote:
I believe you can use validation annotation to specify validation routines
Can you log a Jira ticket with the request?
thanks
musachy
On 2/22/07, C. Adams [EMAIL PROTECTED] wrote:
I have found a solution to this. The good news is it is a simple
pass-through to the dojo contentpane.
changing this:
s:div theme=ajax href=PersonByAge_input.action executeScripts=true
/
You can use refresh instead. Or refreshListentTopics if you wan to use
topics. bind should have been there for backward compatibility (mea culpa)
regards
musachy
On 2/26/07, Adam Ruggles [EMAIL PROTECTED] wrote:
I'm currently in the process of migrating my webwork 2 application over
to struts
it with a
link?
Musachy Barroso wrote:
You can use refresh instead. Or refreshListentTopics if you wan to
use
topics. bind should have been there for backward compatibility (mea
culpa)
regards
musachy
On 2/26/07, Adam Ruggles [EMAIL PROTECTED] wrote:
I'm currently in the process of migrating my
issue I have left is this BindDiv refresh issue.
Musachy Barroso wrote:
href is a valid property on the BindDiv widget, what kind of error
are you
getting? (
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/BindDiv.js?view
1 - 100 of 1571 matches
Mail list logo