Re: help please

2009-07-07 Thread taj uddin
we are using struts2.0 and xworks2.0.6 so your solutrion does not apply for us. --- On Tue, 7/7/09, Wes Wannemacher wrote: From: Wes Wannemacher Subject: Re: help please To: "Struts Users Mailing List" Date: Tuesday, July 7, 2009, 9:29 AM Which version of Struts/XWork are you using? Are yo

RE: using ajaxanywhere and struts

2009-07-07 Thread dusty
The nice thing about AjaxFrameworks is that they are really Struts agnostic. I would go with JQuery. I think the learning curve is low and it has a lot of momentum. It may not integrate with Struts 1 directly but what you learn will be applicable with other frameworks as well. The toughest par

Confusing with convention plugin

2009-07-07 Thread Leegorous
Hi, I'm new here. I follow the http://struts.apache.org/2.x/docs/convention-plugin.html Some examples are not working in my case. like the simplest one, no action exist, always throws java.lang.IllegalArgumentException: The index() is not defined in action class com.opensymphony.xwork2.ActionSupp

Re: [OT] Return Hashmap java object from servlet

2009-07-07 Thread Nils-Helge Garli Hegvik
What exactly are you trying to do? Do you want to serialize the hashmap to the client as a Java object, or do you want it converted to xml? What does the consuming end expect? If you really want to produce xml, take a look at one of the many java <-> xml libraries that exists (although, something a

RE: using ajaxanywhere and struts

2009-07-07 Thread Odelya YomTov
What would you recomnned for struts1? -Original Message- From: dusty [mailto:dustin_pea...@yahoo.com] Sent: Wednesday, July 08, 2009 7:24 AM To: user@struts.apache.org Subject: RE: using ajaxanywhere and struts Is there a compelling reason why you are using AjaxAnywhere? One may be, "I

RE: using ajaxanywhere and struts

2009-07-07 Thread dusty
Is there a compelling reason why you are using AjaxAnywhere? One may be, "It's one I know really well" I am all for alternative lifestyles, but perhaps you should look into JQuery or Prototype. Lots and lots of examples and help out there on the world wide web for those AJAX tools. deligel

Re: link to stylesheet in jsp doesn't work

2009-07-07 Thread dusty
I think you were using this JSP template as a view for a Struts2 action, hence the mailing list choice. If that is the case, just remember that the URL is relative to the action and not the path of the dispatched JSP template. Larry Reed-2 wrote: > > Thank you Christian. This has solved the p

Re: Ajax Basics

2009-07-07 Thread dusty
So I think straight JQuery is pretty easy, although I have not tried the new JQuery plugin(s). Just download JQuery and JQuery UI and include them on your page. "> "> Then pick a JQuery UI Theme, download it and include it as well: " rel="stylesheet" /> You are almost all set:

Re: Commercial framework based on struts2.

2009-07-07 Thread dusty
I know a guy who knows a guy that ported Icefaces to Struts2 + stuff you probably need and don't know it. He even has a ponytail. He wants eleventy thousand dollars. sharath wrote: > > Dear All, >   >    I'm looking for chimerical framework which is built on top of struts2, > with having A

Struts 2 Validation

2009-07-07 Thread Robson Rodrigues
Hello People, i´m using the struts 2 in a project and i´m with a problem on the validation. When i try validate a form, the struts say the validation failed, even when the field is with correct value, in addition, it is not going back to the field with the old value here is my struts.xml.

RE: [S2.1.2] sx:div targets AKA sx:a targets

2009-07-07 Thread Martin Gainty
jan the target refers to the component whose content will be updated dialogContainer is too general and not a component per se best to identify a div tag such as parentDiv http://struts.apache.org/2.1.6/docs/dojo-anchor.html Mit Freundlichen Grueben/ Martin

Re: dojo ajax tags -- post vs. get

2009-07-07 Thread Jim Kiley
It turns out that the problem was solved by removing nesting form tags. I hadn't noticed, originally, that the "familySelection" form described below was wrapped by another form tag. When I unwrapped it, everything worked correctly. Let this be a lesson to you. Somebody. jk On Tue, Jul 7, 2009

disable struts button when javascript function is doing soemthing

2009-07-07 Thread A. Lotfi
Hi,   I have a jsp page :       . function validateForm(validationCSDVal,validationURDVal){    dataChanged();                if(document.budgetSummary.budgetStatusCode.selectedIndex == 1){     if(document.budgetSummary.finalVersio

dojo ajax tags -- post vs. get

2009-07-07 Thread Jim Kiley
Hi gang, We are taking our first steps into using the dojo tags, in a Struts 2.1.7 project (yes, we jumped too soon, I don't think it's entirely relevant). Specifically I've got an tag set up, and when its value changes, I publish a dojo event ("/changeFamily"). A div is set up with as follows:

Re: Commercial framework based on struts2.

2009-07-07 Thread Peter Bliznak
Aahhh...in that case be my guest and go for it From: Musachy Barroso To: Struts Users Mailing List Sent: Tuesday, July 7, 2009 2:33:12 PM Subject: Re: Commercial framework based on struts2. On Tue, Jul 7, 2009 at 11:22 AM, Peter Bliznak wrote: > Greek legend

Re: Commercial framework based on struts2.

2009-07-07 Thread Musachy Barroso
struts 1 + struts 2 + off topic makes for a very confusing response me thinks. musachy On Tue, Jul 7, 2009 at 11:26 AM, Martin Gainty wrote: > > majority of struts tags support ajax out of the box > would definitely help us out if you could be specific about which tag you > want 'ajaxified' > >

Re: Commercial framework based on struts2.

2009-07-07 Thread Musachy Barroso
On Tue, Jul 7, 2009 at 11:22 AM, Peter Bliznak wrote: > Greek legend of Sisyphus but I love pushing this stone around :) musachy -- "Hey you! Would you help me to carry the stone?" Pink Floyd - To unsubscribe, e-mail: user-uns

RE: Ajax Basics

2009-07-07 Thread Richard Gundersen
Thanks Martin, I'll give it a go! Richard -Original Message- From: Martin Uhlir [mailto:stoupa91de...@seznam.cz] Sent: Tue 07/07/2009 17:11 To: Struts Users Mailing List Subject: Re: Ajax Basics Hi, have a look at this plugin for Struts2 http://code.google.com/p/struts2-jquery/wiki/D

RE: Commercial framework based on struts2.

2009-07-07 Thread Martin Gainty
majority of struts tags support ajax out of the box would definitely help us out if you could be specific about which tag you want 'ajaxified' things like page-level security,prerender actions,intelligent navigation and RESTful URLS cannot be accomplished with JSF keep in mind JSF does not hav

Re: Commercial framework based on struts2.

2009-07-07 Thread Peter Bliznak
Excuse me but I've been following this list for number of years and this is FIRST time anybody is asking for anything like this - I would not call this an overwhelming demand. Besides these kind of widgets can't ever be done to everyone's liking - they must tweaked amd changed for a specific app -

Re: [OT] Return Hashmap java object from servlet

2009-07-07 Thread Musachy Barroso
was this a question? musachy On Tue, Jul 7, 2009 at 9:06 AM, Ashish Kulkarni wrote: > HiIs it possible to return Hashmap object from java Servlet,  What kind of > ContentType can i set to the response? > > The other option is to set data from HashMap into XML and return it as XML > file. > > for

Re: [S2.1.2] sx:div targets AKA sx:a targets

2009-07-07 Thread Musachy Barroso
targets can be set like anything else, with an ognl expression, like : > Wrong subject! ;) > > > > Von: Jan Fröhlich [mailto:jan.froehl...@infomotion.de] > Gesendet: Di 07.07.2009 16:55 > An: Struts Users Mailing List > Betreff: [S2.1.2] sx:div targets > > > > Hi a

Re: Commercial framework based on struts2.

2009-07-07 Thread Musachy Barroso
hum, and I never thought there was a demand for something like this...maybe we should do something about it :) @OP: I haven't seen any product like this. musachy On Tue, Jul 7, 2009 at 10:06 AM, sharath karnati wrote: > HI Bharath, > >    I know Struts2 is a framework but I'm looking like custom

[S2.1.2] sx:div targets AKA sx:a targets

2009-07-07 Thread Jan Fröhlich
Wrong subject! ;) Von: Jan Fröhlich [mailto:jan.froehl...@infomotion.de] Gesendet: Di 07.07.2009 16:55 An: Struts Users Mailing List Betreff: [S2.1.2] sx:div targets Hi all, I've seen this topic beeing discussed several times already, but I didn't find a solu

Re: Commercial framework based on struts2.

2009-07-07 Thread sharath karnati
HI Bharath,      I know Struts2 is a framework but I'm looking like customized tags like dataTable,panelGrids and so on      All tags should support AJAX functionality without doing any coding... Please check Icefaces for example which is built on top of JSF and giving more UI tags   Tha

Re: Commercial framework based on struts2.

2009-07-07 Thread Bhaarat Sharma
Struts 2 IS a framework On Tue, Jul 7, 2009 at 12:20 PM, sharath karnati wrote: > Dear All, > >I'm looking for chimerical framework which is built on top of struts2, > with having AJAX support tags. I know struts2 comes with DOJO but we need to > write lot of coding which we'd like to av

Commercial framework based on struts2.

2009-07-07 Thread sharath karnati
Dear All,      I'm looking for chimerical framework which is built on top of struts2, with having AJAX support tags. I know struts2 comes with DOJO but we need to write lot of coding which we'd like to avoid and we are planning to purchase chimerical product with support.      Similar to Iceface

Re: Ajax Basics

2009-07-07 Thread Martin Uhlir
Hi, have a look at this plugin for Struts2 http://code.google.com/p/struts2-jquery/wiki/DatePickerTag Just drop the the jar into WEB-INF/lib and you are ready to go. Martin Richard Gundersen wrote: Hi I'm trying to get the datetimepicker working in my app. It's Struts 2 but it's total

[OT] Return Hashmap java object from servlet

2009-07-07 Thread Ashish Kulkarni
HiIs it possible to return Hashmap object from java Servlet, What kind of ContentType can i set to the response? The other option is to set data from HashMap into XML and return it as XML file. for example. I have servlet like below public class ReturnObjectServlet extends HttpServlet { public

[S2.1.2] sx:div targets

2009-07-07 Thread Jan Fröhlich
Hi all, I've seen this topic beeing discussed several times already, but I didn't find a solution that works for me. What I already got: I invoke an action with a sx:a (targets="dialogContainer"). The action opens a document and has two possible return values: "prompt" and "download". "prompt"

Ajax Basics

2009-07-07 Thread Richard Gundersen
Hi I'm trying to get the datetimepicker working in my app. It's Struts 2 but it's totally non-AJAX at the moment. I also don't know anything about AJAX to make matters worse. Please could someone tell me a) what extra jars (dojo/json etc) do I need to pop into WEB-INF? I don't m

Re: help please

2009-07-07 Thread Wes Wannemacher
Which version of Struts/XWork are you using? Are you extending the ActionSupport class? Also, if you are using a fairly recent version of Struts, you should use var rather than id on the s:iterator tag. -Wes On Tue, Jul 7, 2009 at 8:25 AM, taj uddin wrote: > Hi all, >  when I am trying to render

help please

2009-07-07 Thread taj uddin
Hi all,  when I am trying to render my jsp I am getting the following error on my server console. Please help me in resolving this. The error is coming at xworks action class. I am unable to understand why this error is coming. Thanking you .   I hope the following code of jsp is giving this erro

[s2] Custom field validator with params containing OGNL expression

2009-07-07 Thread Cristian Peraferrer
Hi! I have implemented a field validator that validates the username is not already in the database (to avoid overwriting). But in the validator call (or configuration), I need to pass a parameter that is another field in the form. Here my code: ${enterprise.enterpriseId} This userna

Fwd: Re: Struts project deployment

2009-07-07 Thread Iratxe Lejarreta
Hi, I tried to send the image attached but it doesn't appear in the list. I error page is here: http://img31.imageshack.us/img31/980/welcomea.jpg The version of Struts is 1.2.9 and Weblogic 10.3. Thanks, -- Iratxe Lejarreta www.axios.es -- Forwarded Message -- Subject: Re: St