Re: [S2] autocompleter, predefining initial value

2006-12-31 Thread Musachy Barroso
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

Re: [S2] autocompleter, predefining initial value

2006-12-31 Thread Musachy Barroso
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

Re: [S2] autocompleter, predefining initial value

2006-12-31 Thread Musachy Barroso
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

Re: [S2] autocompleter, predefining initial value

2006-12-31 Thread Musachy Barroso
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

Re: [S2] Strange problem with Date handling

2007-01-01 Thread Musachy Barroso
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

Re: [S2] Strange problem with Date handling

2007-01-01 Thread Musachy Barroso
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

Re: [S2] client validation problem

2007-01-01 Thread Musachy Barroso
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

Re: [S2] autocompleter, predefining initial value

2007-01-01 Thread Musachy Barroso
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

Re: links and samples of struts

2007-01-02 Thread Musachy Barroso
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

Re: preInvokeJS does not work for a tag

2007-01-02 Thread Musachy Barroso
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',

Re: preInvokeJS does not work for a tag

2007-01-03 Thread Musachy Barroso
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

Re: Problem with Dojo in Struts 2

2007-01-04 Thread Musachy Barroso
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

Re: Problem with Dojo in Struts 2

2007-01-04 Thread Musachy Barroso
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

Re: [S2] Possible issue with remote form submission

2007-01-06 Thread Musachy Barroso
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

Re: [S2] Possible issue with remote form submission

2007-01-07 Thread Musachy Barroso
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

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Musachy Barroso
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

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Musachy Barroso
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

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Musachy Barroso
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

Re: [S2] Possible issue with remote form submission

2007-01-07 Thread Musachy Barroso
- 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

Re: [S2] dropdowndatetimepicker questions

2007-01-07 Thread Musachy Barroso
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

Re: Struts 2 JSON

2007-01-08 Thread 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

Re: Autocompleter Specifying Label Name Property

2007-01-09 Thread Musachy Barroso
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

Re: Autocompleter Specifying Label Name Property

2007-01-09 Thread Musachy Barroso
, 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

Re: Autocompleter Specifying Label Name Property

2007-01-09 Thread Musachy Barroso
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

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Musachy Barroso
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

Re: [S2] - autocompleter requires 'list' even if href is defined

2007-01-10 Thread Musachy Barroso
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

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Musachy Barroso
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

Re: [S2] - datetimepicker not setting value

2007-01-10 Thread Musachy Barroso
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

Re: Struts 2 JSON

2007-01-11 Thread Musachy Barroso
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

Re: Struts 2 JSON

2007-01-11 Thread Musachy Barroso
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

Re: Struts 2 JSON

2007-01-11 Thread Musachy Barroso
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

Re: Struts 2 JSON

2007-01-12 Thread Musachy Barroso
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

Re: Struts 2 JSON

2007-01-12 Thread Musachy Barroso
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

Re: Struts 2 JSON

2007-01-12 Thread Musachy Barroso
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

Re: [S2] dropdowndatetimepicker not working

2007-01-12 Thread Musachy Barroso
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

Re: [S2] Ajax form and file submission with s:a

2007-01-14 Thread Musachy Barroso
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

Re: NotifyTopics

2007-01-14 Thread Musachy Barroso
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

Re: [S2] Ajax form and file submission with s:a

2007-01-14 Thread Musachy Barroso
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

Re: [S2] Ajax form and file submission with s:a

2007-01-15 Thread Musachy Barroso
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

Re: [S2] Ajax form and file submission with s:a

2007-01-15 Thread Musachy Barroso
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

Re: [IMPORTANT] Error in tabbedpanel.ftl

2007-01-16 Thread Musachy Barroso
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.

Re: [S2] Any hope to have ajax form submission working?

2007-01-17 Thread Musachy Barroso
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

Re: [S2] Adding a Tab Dynamically

2007-01-17 Thread Musachy Barroso
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,

Re: [S2] Any hope to have ajax form submission working?

2007-01-17 Thread Musachy Barroso
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

Re: Timed Java Script Request Struts?

2007-01-19 Thread Musachy Barroso
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

Re: [s2]Targeting a link to open in a s:div theme=ajax box ?

2007-01-19 Thread Musachy Barroso
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

Re: [s2]Targeting a link to open in a s:div theme=ajax box ?

2007-01-19 Thread Musachy Barroso
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

Re: [s2]Targeting a link to open in a s:div theme=ajax box ?

2007-01-19 Thread Musachy Barroso
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

Re: [s2]Targeting a link to open in a s:div theme=ajax box ?

2007-01-19 Thread Musachy Barroso
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

Re: [s2]Targeting a link to open in a s:div theme=ajax box ?

2007-01-19 Thread Musachy Barroso
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

Re: [S2] Any hope to have ajax form submission working?

2007-01-20 Thread Musachy Barroso
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

Re: [S2] Any hope to have ajax form submission working?

2007-01-24 Thread Musachy Barroso
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 :)

Re: [S2] Any hope to have ajax form submission working?

2007-01-24 Thread Musachy Barroso
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

Re: s:datetimepicker not working

2007-01-29 Thread Musachy Barroso
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

Re: how to use struts2 + spring + JPA

2007-01-29 Thread Musachy Barroso
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.

Re: [s2] how to fully customize tabs ?

2007-01-29 Thread Musachy Barroso
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

Re: how to use struts2 + spring + JPA

2007-01-29 Thread Musachy Barroso
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

Re: [s2] how to fully customize tabs ?

2007-01-29 Thread Musachy Barroso
/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

Re: struts.xml error - Element type constant must be declared

2007-01-31 Thread Musachy Barroso
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

Re: Ajax Form Submit

2007-02-01 Thread Musachy Barroso
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

Re: [S2] s:div (BindDiv) ajaxTheme

2007-02-01 Thread Musachy Barroso
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

Re: [S2] datetimepicker and dates

2007-02-05 Thread Musachy Barroso
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

Re: [S2] datetimepicker and dates

2007-02-05 Thread Musachy Barroso
, 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

Re: [s2] struts2/dojo tree broken after upgrade struts 2.0.1 to 2.0.4?

2007-02-06 Thread Musachy Barroso
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

Re: [S2] datetimepicker and dates

2007-02-06 Thread Musachy Barroso
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

Re: Struts 2 JSON

2007-02-07 Thread Musachy Barroso
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

Re: [S2] datetimepicker and dates

2007-02-07 Thread Musachy Barroso
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

Re: Struts action call in a JS method returns blank page

2007-02-07 Thread Musachy Barroso
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

Re: [S2] datetimepicker and dates

2007-02-07 Thread Musachy Barroso
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

Re: Struts 1.3, JSON, and Action Forms

2007-02-07 Thread Musachy Barroso
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

Re: How to hold values in html:radio Button Group using Java Script

2007-02-07 Thread Musachy Barroso
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

Re: How to hold values in html:radio Button Group using Java Script

2007-02-08 Thread Musachy Barroso
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

Re: Struts action call in a JS method returns blank page

2007-02-08 Thread Musachy Barroso
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

Re: Struts action call in a JS method returns blank page

2007-02-08 Thread Musachy Barroso
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

Re: S2 Tags Question

2007-02-09 Thread Musachy Barroso
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

Re: S2 Tags Question

2007-02-09 Thread Musachy Barroso
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

Re: Struts action call in a JS method returns blank page

2007-02-09 Thread Musachy Barroso
, 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

Re: why Struts2 can't receive Jsp variable value by using Ajax1.2?

2007-02-10 Thread Musachy Barroso
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,

Re: why Struts2 can't receive Jsp variable value by using Ajax1.2?

2007-02-10 Thread Musachy Barroso
] 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

Re: datetimepicker - 2.0.5

2007-02-10 Thread Musachy Barroso
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:

Re: why Struts2 can't receive Jsp variable value by using Ajax1.2?

2007-02-10 Thread Musachy Barroso
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

Re: no hour valye for the s:datetimepicker of type time

2007-02-10 Thread Musachy Barroso
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

Re: [s2] Validation 'magic' on 'input'

2007-02-12 Thread Musachy Barroso
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 :-)

Re: Error with c:out /

2007-02-12 Thread Musachy Barroso
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

Re: [s2] Validation 'magic' on 'input'

2007-02-12 Thread Musachy Barroso
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

Re: [S2] Error with c:out /

2007-02-12 Thread Musachy Barroso
: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

Re: [S2] Error with c:out /

2007-02-12 Thread Musachy Barroso
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

Re: How to refreshOnShow in struts 2

2007-02-13 Thread Musachy Barroso
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 (

Re: Ajax - obtaining a method result

2007-02-13 Thread Musachy Barroso
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({

Re: Mixing Struts2 ajax functions with actionErrors and actionMessages

2007-02-13 Thread Musachy Barroso
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

Re: [S2] Mixing Struts2 ajax functions with actionErrors and actionMessages

2007-02-13 Thread Musachy Barroso
% 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

Re: RES: Ajax - obtaining a method result

2007-02-13 Thread Musachy Barroso
; }, 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

Re: [S2] Tiles vs. s:url.../ and Ajax?

2007-02-16 Thread Musachy Barroso
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

Re: [S2] Tiles vs. s:url.../ and Ajax?

2007-02-16 Thread Musachy Barroso
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

Re: [S2] Tiles vs. s:url.../ and Ajax?

2007-02-16 Thread Musachy Barroso
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

Re: [S2] struts2 validation for only one method in action

2007-02-21 Thread Musachy Barroso
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

Re: client side validation on included form

2007-02-22 Thread Musachy Barroso
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 /

Re: [S2] Ajax Div bind function not working.

2007-02-26 Thread Musachy Barroso
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

Re: [S2] Ajax Div bind function not working.

2007-02-26 Thread Musachy Barroso
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

Re: [S2] Ajax Div bind function not working.

2007-02-26 Thread Musachy Barroso
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   2   3   4   5   6   7   8   9   10   >