Re: nested:select to logic:iterate or nested:iterate

2007-01-19 Thread Nuwan Chandrasoma
id="product"> Thanks, Nuwan - Original Message - From: "Bhanu Valasa" <[EMAIL PROTECTED]> To: Sent: Friday, January 19, 2007 7:20 PM Subject: nested:select to logic:iterate or nested:iterate Hello gurus I have struts tag in my jsp, which displays HTML select option b

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

2007-01-19 Thread Dariusz Wojtas
Hi Musachy, Your question to prepare some test form/page gave some results. My problem was that I had problems submitting remote forms. Submitting with a button had problems, then I tried to submit it with the element. And it worked in FF but not in IE. But I found something interesting after lo

[S2] question about controlling display with css_xhtml theme and errors

2007-01-19 Thread Joe Germuska
So, I'm working on my first S2 application and enjoying a lot of the things which always looked pretty cool about WebWork. However, I'm doing client side validation with s:form and the "css_xhtml" theme, and there's something I want to change. Given my design, the insertion of error messages at

Re: [s2]Targeting a link to open in a

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]Targeting a link to open in a

2007-01-19 Thread walidito
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 error, >> and let me rewrite what i wrote on my post : >> moreover,

Re: [s2]Targeting a link to open in a

2007-01-19 Thread Musachy Barroso
My bad, that's new on 2.0.2. musachy walidito wrote: yes with the same error, and let me rewrite what i wrote on my post : moreover, the thing i'm worried about is that I looked into struts-tag.tld in struts2-core-2.0.1.jar in the META-INF package, and I did not find any "targets" attribute dec

Re: [s2]Targeting a link to open in a

2007-01-19 Thread walidito
yes with the same error, and let me rewrite what i wrote on my post : moreover, the thing i'm worried about is that I looked into struts-tag.tld in struts2-core-2.0.1.jar in the META-INF package, and I did not find any "targets" attribute declaration... any idea? Musachy Barroso-2 wrote: > > W

Re: [s2]Targeting a link to open in a

2007-01-19 Thread walidito
As I said, I tried both targets and target. both does not work. moreover, the thing i'm worried about is that I looked into struts-tag.tld in struts2-core-2.0.1.jar in the META-INF package, and I did not find any "targets" attribute declaration... How come ? Musachy Barroso-2 wrote: > > It is "

Re: [s2]Targeting a link to open in a

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

2007-01-19 Thread walidito
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, whose > content will be updated with html r

Re: [s2]Targeting a link to open in a

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 org.apache.jasper.servlet.JspServletWrapper

Re: [s2]Targeting a link to open in a

2007-01-19 Thread walidito
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 org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512) at org.apache.jasper.servlet.JspServl

nested:select to logic:iterate or nested:iterate

2007-01-19 Thread Bhanu Valasa
Hello gurus I have struts tag in my jsp, which displays HTML select option box with selected (a String array in the bean) Instead HTML Select box I want to print the String array elements in text format. Could some one please help me how to use logic:iterate or nested:itera

RE: OWASP standards

2007-01-19 Thread Shabada, Gnaneshwer
never mind, I found it http://www.us.apachecon.com/presentations/TH19/TH19-OWASP-updated.ppt Thanks anyways -Original Message- From: Shabada, Gnaneshwer [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 1:51 PM To: 'Struts Users Mailing List' Subject: RE: OWASP standards Thank

RE: OWASP standards

2007-01-19 Thread Gary VanMatre
>From: "Shabada, Gnaneshwer" <[EMAIL PROTECTED]> > > > Thanks Gary, but I couldnt access any archived webcast for this > presentation? Do you happen to have that link? > Unfortunately I don't. You might shoot David an email and ask about it ([EMAIL PROTECTED]). It was good presentation.

RE: OWASP standards

2007-01-19 Thread Shabada, Gnaneshwer
Thanks Gary, but I couldnt access any archived webcast for this presentation? Do you happen to have that link? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 10:53 AM To: Struts Users Mailing List Subject: Re: OWASP standards >From:

Re: [s2]Targeting a link to open in a

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: Showcase has several examples of this. More info here: http://cwiki.apache.org/c

Format a number in a input

2007-01-19 Thread André Faria
How can format a number in a input text?

[s2]Targeting a link to open in a

2007-01-19 Thread walidito
Hi everybody, My new dilema is : I have created my "own" ajax widgets by putting http://www.nabble.com/-s2-Targeting-a-link-to-open-in-a-%3Cs%3Adiv-theme%3D%22ajax%22-box---tf3040935.html#a8452631 Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: Timed Java Script Request & Struts?

2007-01-19 Thread Frank W. Zammetti
I'm not sure what your suggesting is architecturally a good idea, but that's for you to decide :) I'm all about helping you make it happen regardless, so... In addition to the options others have mentioned, another to consider is the AjaxParts Taglib (APT), a part of Java Web Parts (JWP): http:/

Re: struts2

2007-01-19 Thread walidito
My advice is also that you use Struts 2 for your project. I have only six month experience on struts 1.x, and I can tell you that I prefer struts 2 that is much more simple to use. The only pb id see for struts 2 is its pretty poor documentation. Do not hesitate to search your responses in webwork

Re: combining chain of commands with struts action

2007-01-19 Thread Joe Germuska
On 1/19/07, manunixx <[EMAIL PROTECTED]> wrote: i find this pattern very useful for dividing problems in little pieces to be combined. I'm quite surprise that no many people release on that. what do you think about it?! I'm glad you like it! I think the issue is just that adoption of Struts

Re: combining chain of commands with struts action

2007-01-19 Thread Gary VanMatre
>From: manunixx <[EMAIL PROTECTED]> > > > > Joe Germuska wrote: > > > > > > Please note that I don't think a whole lot of people have been using this > > feature, so you may well find bugs or even simply find that it could use > > some refinements. But this is the basic overview of how it's

Re: combining chain of commands with struts action

2007-01-19 Thread manunixx
Joe Germuska wrote: > > > Please note that I don't think a whole lot of people have been using this > feature, so you may well find bugs or even simply find that it could use > some refinements. But this is the basic overview of how it's supposed to > work. > > I hope this helps. > > Joe >

Re: OWASP standards

2007-01-19 Thread Gary VanMatre
>From: "Shabada, Gnaneshwer" <[EMAIL PROTECTED]> > > > Hello, > Are there any Java frameworks or Java Utility projects which comply to OWASP > standards in terms of data validation etc., Please share if you know of any > such frameworks > David Chandler had a presentation on OWASP at the Apa

OWASP standards

2007-01-19 Thread Shabada, Gnaneshwer
Hello, Are there any Java frameworks or Java Utility projects which comply to OWASP standards in terms of data validation etc., Please share if you know of any such frameworks Thank you Gnan This email message is for the s

RE: Timed Java Script Request & Struts?

2007-01-19 Thread Dave Newton
From: Peter Neu [mailto:[EMAIL PROTECTED] > So if there is no guaranteed reload of the page there is no > way to implement a timer? Meaning: I would have to test validity > prior to each submitted request. :o( AFAIK, although if someone has a cross-browser solution I'd certainly like to hear about

RE: Timed Java Script Request & Struts?

2007-01-19 Thread Dave Newton
From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] > Wow.., I need to start a S2 project ASAP. This is really cool. You can use that or the stuff from Prototype w/o S2, yanno :) Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Timed Java Script Request & Struts?

2007-01-19 Thread Nuwan Chandrasoma
Wow.., I need to start a S2 project ASAP. This is really cool. Thanks, Nuwan. - Original Message - From: "Musachy Barroso" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, January 19, 2007 2:42 PM Subject: Re: Timed Java Script Request & Struts? If you are using S2

Re: combining chain of commands with struts action

2007-01-19 Thread Mark Shifman
This seemed to do the trick along with creating my own "custon_chain-config.xml" chainConfig org/apache/struts/chain/chain-config.xml, /WEB-INF/custom-chain-config.xml .. This works for defining an action

AW: Timed Java Script Request & Struts?

2007-01-19 Thread Peter Neu
I'm Using Struts 1.x. So if there is no guaranteed reload of the page there is no way to implement a timer? Meaning: I would have to test validity prior to each submitted request. :o( -Pete > -Ursprüngliche Nachricht- > Von: Musachy Barroso [mailto:[EMAIL PROTECTED] > Gesendet: Freita

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 scrip

RE: Timed Java Script Request & Struts?

2007-01-19 Thread Dave Newton
> I make a hidden ajax request and determine he is in the wrong pace. How would you determine he's in the "wrong" place? Back button doesn't necessarily reload the page you've moved back to. Dave - To unsubscribe, e-mail: [EMAIL

Re: Timed Java Script Request & Struts?

2007-01-19 Thread Nuwan Chandrasoma
Hi, I will give a answer for your periodic request call. you have to use the java script setTimeout() function and do the call periodically. eg:- <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> "http://www.w3.org/TR/html4/loose.dtd";>

Re: Form population and locale

2007-01-19 Thread André Faria
There is some ways to resolve this, You can look to Appfuse 1.2.9 www.appfuse.org to view an example... Regards, André Faria Zero escreveu: Hi, Thanks for your answer. I'm very surprised that this feature was not implemented in Struts 1. Regards, Zero -- Initial Header ---

Re: Form population and locale

2007-01-19 Thread Zero
Hi, Thanks ! It is exactly what I need. I'm going to test it... Must I always populate manually all the forms (with FormUtils) ? Regard, Zero -- Initial Header --- From : "Hubert Rabago" <[EMAIL PROTECTED]> To : "Struts Users Mailing List" Cc : Date

Re: [SS] Stuck with Security related issues

2007-01-19 Thread Nuwan Chandrasoma
Hi, Problem 1: When a user login to the application, keep track of want kind of a user has loged in, for example have a User object created and put the session, and in every request you can check what kind of a user has loged in restrict other actions that is not allowed for that user for thi

Re: Form population and locale

2007-01-19 Thread Zero
Hi, Thanks for your answer. I'm very surprised that this feature was not implemented in Struts 1. Regards, Zero -- Initial Header --- From : [EMAIL PROTECTED] To : Struts Users Mailing List Cc : Date : Wed, 17 Jan 2007 16:26:15 +0100 Subject : Re: F

Timed Java Script Request & Struts?

2007-01-19 Thread Peter Neu
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 script (ajax) request to determine when a user hit the evil button and tries to work a page that is not current anymore? Say the user hit the bac

[SS] Stuck with Security related issues

2007-01-19 Thread prerna.sawhney
Hi All, I am stuck with 2 problems Problem 1 In my web-application (developed on struts and hibernate)I have 2 modules User Module http://localhost:8080/SaS/Login.do Admin Module http://localhost:8080/SaS/Login.do Depending on the login credentials the respect

Re: struts2

2007-01-19 Thread Aljosa Mohorovic
thanks for quick reply, it helps to hear positive reactions on struts2. On 1/19/07, André Faria <[EMAIL PROTECTED]> wrote: I am starting a new project now, and I really trust in Struts 2, the G.A. version is near us now and all the innovation of webwork is inserted in Struts 2 plus the knowhow o

Re: Passing parameters to a struts action in URL

2007-01-19 Thread Nick Tucker
Hi I ve had similar problems (with struts 2 , but working in IE and not in Firefox). The problem was with the browser using a cached copy from a version of the page that did not work properly, but had now been corrected. Clearing the browser cache got rid of the problem for me. Nick nuwan

Re: combining chain of commands with struts action

2007-01-19 Thread Joe Germuska
It is unlikely that you need to use the ChainListener in a Struts 1.3.xapplication. First, you can have the ActionServlet instantiate all of your command catalogs by specifying the servlet init parameter "chainConfig" with a comma-separated list of classpath or servlet resources. Remember that i

Re: Newbie Lost in the Apache Jungle

2007-01-19 Thread Ted Husted
Just to follow up on the Grails suggestion. * http://www.infoq.com/minibooks/grails -T. On 1/10/07, Jason King <[EMAIL PROTECTED]> wrote: grails, http://grails.codehaus.org might be a better choice as it links into several standard java projects (specifically spring and hibernate) w/o you havi

combining chain of commands with struts action

2007-01-19 Thread manunixx
hallo guys! I spent a lot of time trying to retrive a catalog from a struts action but i didn't get results! :( Following the guidelines found in the jakarta commonsChain, I did this: defining a catalog.xml ... adding a ChainListener to web.xml defining a parameter org.apache.commons.chain.

[OT][ANN] JAVAWUG BOF 23 Video Available

2007-01-19 Thread Peter . Pilgrim
Hi Just a quick announcement that JAVAWUG BOF 23 video is available from Google Video. This was an Open Space Technology discussion of Java Web and Enterprise Futures. http://video.google.com/videoplay?docid=-354206984911965249&hl=en -- Peter Pilgrim, JUG Leader, JAVAWUG (The Java Web Users Gro

Re: struts2

2007-01-19 Thread André Faria
I am starting a new project now, and I really trust in Struts 2, the G.A. version is near us now and all the innovation of webwork is inserted in Struts 2 plus the knowhow of Struts 1 and it community and developers. Good luck! Regards, André Faria Laurie Harper escreveu: Aljosa Mohorovic wr