RE: using ajaxanywhere and struts

2009-07-07 Thread Odelya YomTov
How can I use it? I need to add items available to the shopping cart.. I am using struts1 -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Tuesday, July 07, 2009 4:55 AM To: Struts Users Mailing List Subject: RE: using ajaxanywhere and struts Dojo has a suite

Re: Struts project deployment

2009-07-07 Thread Iratxe Lejarreta
On Monday 06 July 2009 02:43:20 pm Greg Lindholm wrote: When I deploy a struts project with Weblogic the result is a welcome page but with strange symbols. Does anyone know why? I attach the result page. Thanks in advance. Regards, -- Iratxe Lejarreta

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:

[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: field-validator type=usernameavailable param

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

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 uddintajuddi...@yahoo.com wrote: Hi all,  when I

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

[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 means,

[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 {

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

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

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 karna...@yahoo.com 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

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  

[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

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 karnatikarna...@yahoo.com wrote: HI Bharath,    I know Struts2 is a framework but I'm

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 s:a targets=%{targets} .. then you need a getTargets() method in your action. Is that what you need? or you need to modify the targets on the client side, meaning in javascript? musachy 2009/7/7 Jan Fröhlich

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 Kulkarniashish.kulkarn...@gmail.com 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

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: Commercial framework based on struts2.

2009-07-07 Thread Martin Gainty
majority of struts tags support ajax out of the box s:heaf theme=ajax/ 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

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

Re: Commercial framework based on struts2.

2009-07-07 Thread Musachy Barroso
On Tue, Jul 7, 2009 at 11:22 AM, Peter Bliznakbliz...@rogers.com 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,

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 Gaintymgai...@hotmail.com wrote: majority of struts tags support ajax out of the box s:heaf theme=ajax/ would definitely help us out if you could be specific about

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 musa...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, July 7, 2009 2:33:12 PM Subject: Re: Commercial framework based on struts2. On Tue, Jul 7, 2009 at 11:22

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 s:select tag set up, and when its value changes, I publish a dojo event (/changeFamily). A div is set up with

disable struts button when javascript function is doing soemthing

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

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

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 img id=loadingImage src=images/loadingAnimation.gif style=display:none/ s:div id=parentDiv s:form action=actionName sx:a targets=parentDiv showLoadingText=false indicator=loadingImage/ dialogContainer is too

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: 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 AJAX

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. script type=text/javascript src=c:url value=/scripts/jquery/jquery-1.2.6.js//script script type=text/javascript src=c:url

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

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. deligeli

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,

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 as