Is this a Bug?I can't response s:tree's treeSelected event with version 2.0.5

2007-02-10 Thread 宋昱
I downloader the archive with version 2.0.5 today,but I can't handle the s:tree's treeSelected event using my code. I found this error even in the example showcase.Is this a bug?

Re: [S2] forwarding values from Interceptor to Action

2007-02-10 Thread Sébastien LABEY
Hi Dave I finally found quite the same solution (but without the interface control) , and it works great. Thank you for your answer. Sebastien On 2/9/07, Dave Newton [EMAIL PROTECTED] wrote: --- Sébastien LABEY [EMAIL PROTECTED] wrote: I would like to forward some values from the interceptor

Re: problem working with the Spring plugin with Struts 2.0.3+

2007-02-10 Thread Takekazu Omi
Now I had same problem :D struts-2.0.5-all.zip dose not include struts2-spring-plugin.jar. But you can get form struts2-showcase-2.0.5.war. try this! On 2/7/07, Dave Newton [EMAIL PROTECTED] wrote: --- Daniel Amadei wrote: It worked! My struts-plugin JAR had 0 bytes :( It's this new JAR

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

2007-02-10 Thread Dave Newton
--- red phoenix [EMAIL PROTECTED] wrote: [... taking the long road to Ajax, hey? ...] function test(){ var t1=document.forms[0].abc.value; alert(t1); var url = add.action; http.open(POST,url,false); http.onreadystatechange = handleHttpResponse; http.send(null); } I'll admit I've

Spring question

2007-02-10 Thread Martin Gainty
Morning All Given the ability for other code-generators to initialise a subset of their attributes (im thinking of hibernate with lazy=true) at runtime Does Spring IOC have this capability to determine when to initialise any known subset of attributes(I am thinking of BeanFactory) ..such as

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 Frank W. Zammetti
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: why Struts2 can't receive Jsp variable value by using Ajax1.2?

2007-02-10 Thread Dave Newton
--- Frank W. Zammetti wrote: familiar [...] but cool ...except for that whole doesn't-need-another-XML-config-file bit ;) Heck, I get irritated with DWR's config file, and most everything is one element w/ no attributes. But I'm generally crabby. Dave

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

2007-02-10 Thread Musachy Barroso
Yes indeed! but with multiple targets, multiple sources, passing a form, with a form filter, instantiating Dojo widgets on the returned text and topics. The code for the bind tag is already in S2, it just doesn't have a tag yet. regards musachy On 2/10/07, Frank W. Zammetti [EMAIL PROTECTED]

datetimepicker - 2.0.5

2007-02-10 Thread Pedro Herrera
Is there another css in the bundle for s:datetimepicker ? -- View this message in context: http://www.nabble.com/datetimepicker2.0.5-tf3206276.html#a8903592 Sent from the Struts - User mailing list archive at Nabble.com.

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: getting Session from SessionId

2007-02-10 Thread Mon Cab
I think its going to have to be solution 1. All Im really interested in is user data associated with a session, so I'll probably map userId to sessionID in the DB and then pull user info when the service sends me a session id. I like the idea of the session map though. Maybe use a

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

2007-02-10 Thread Frank W. Zammetti
Sounds cool. You can do most of that with APT today by the way (the dojo widget part would have to be a custom handler though) without having to use S2 (not that using S2 is a bad thing!). I suppose I should feel some sense of validation that the basic idea I presented 2+ years ago for S1

Re: getting Session from SessionId

2007-02-10 Thread Frank W. Zammetti
Mon Cab wrote: I like the idea of the session map though. Maybe use a singleton to store the map and then access the sessions from there. Why do you say this might not be a good idea? For the same general reason getting access to a session that isn't associated with the request is probably

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

2007-02-10 Thread Musachy Barroso
jump in when you finish your book :) musachy On 2/10/07, Frank W. Zammetti [EMAIL PROTECTED] wrote: Sounds cool. You can do most of that with APT today by the way (the dojo widget part would have to be a custom handler though) without having to use S2 (not that using S2 is a bad thing!). I

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

2007-02-10 Thread Frank W. Zammetti
I fully intend to jump in... but jump in to JWP, not S2. Lots of items on the to-do list there that need to get done. I also need to *finally* get the next version of DataVision out the door, that's been far too long in coming. I'd like to contribute to S2, but I'm not at all sure what I

Re: Authentication / RolesInterceptor

2007-02-10 Thread Ian Roughley
Piero Sartini wrote: Am Donnerstag, 8. Februar 2007 schrieb Ian Roughley: You probably don't need to send it to an action, you just need to render the HTML form for authentication. So, login.jsp would suffice. As far as s2 is concerned, authentication is completely external. The role

Re: getting Session from SessionId

2007-02-10 Thread Leon Rosenberg
On 2/10/07, Mon Cab [EMAIL PROTECTED] wrote: I think its going to have to be solution 1. All Im really interested in is user data associated with a session, so I'll probably map userId to sessionID in the DB and then pull user info when the service sends me a session id. I like the idea of

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

2007-02-10 Thread Christopher Loschen
I may be getting way off-topic at this point -- sorry about that. I'm not sure where to ask these sorts of questions. I now seem to be crashing Firebug and Firefox underneath it every time I run it. I walk through the method line by line: function addCheckBoxValuesToForm(locationStr) { var

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

2007-02-10 Thread Frank W. Zammetti
Is there a reason you have to use the collection? Could you rewrite this to go after specific ID's? If so, I'd suggest trying that. Just a hunch... Christopher Loschen wrote: I may be getting way off-topic at this point -- sorry about that. I'm not sure where to ask these sorts of

no hour valye for the s:datetimepicker of type time

2007-02-10 Thread xiao jie
Hi : I am experienving a small issue with the s:datetimepicker, I set the type of the tag to time to use it as timepicker, however I can't see the hour value in the box, whenever I pick a time, it just shows am/pm mm:ss but not the hour value. I've tried to change the displayformat attribute

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

2007-02-10 Thread Musachy Barroso
This is a known issue and a Dojo limitation. I'll try to fix it for 2.0.6 if possible. https://issues.apache.org/struts/browse/WW-1644 regards musachy On 2/11/07, xiao jie [EMAIL PROTECTED] wrote: Hi : I am experienving a small issue with the s:datetimepicker, I set the type of the tag to