Struts Dynamic Radio Button Query

2007-01-09 Thread Priya Khanna
Hi All, I am attempting to create a (fairly) simple web app using struts.I need to create a table of questions with each question having radio buttons (a range of numeric values) so the user can input and submit their answers: question1o o o o o o o o question2o o o o o o o o

Visual Struts tag

2007-01-09 Thread jionghui
Our team is looking for a Web design tool which can visually edit JSP with struts component. Want to know is any tool support visually edit struts bean tag such as . For example, If in source mode, I write , and there is a key-value pair "hello=hello world" in ApplicationResources.properties,

Synchrozertoken in Struts

2007-01-09 Thread Zhang, Larry \(L.\)
I have difficulty implementing synchronizer token design pattern in one of me page, on which I have two link (href=...). I understand that it would be easier if the link is a submit button. So my question is that does Struts support synchronizer token for links? Thanks.

Re: Web Design Tools

2007-01-09 Thread Craig McClanahan
On 1/9/07, CHARLIER Cyril <[EMAIL PROTECTED]> wrote: On 1/9/07, Robert Slama <[EMAIL PROTECTED]> wrote: > > Hi, > > Netbeans 5.5 is very well tool. > http://www.netbeans.org > Can you say more on hwo to interface netbeans with struts please :-) ? When you create a new Web Project, one of th

Re: Struts 1.1 security hole?

2007-01-09 Thread Niall Pemberton
On 1/9/07, Bruno Melloni <[EMAIL PROTECTED]> wrote: Yes, I know this is embarassing, but my company still uses Struts 1.1... because of a RAD6 dependency. Somebody just mentioned that there is a security hole in Struts 1.1. When I searched for it, I did find a reference to it in a pre-1.3 discus

Re: Action without interceptors

2007-01-09 Thread Tom Schneider
Don's solution is good if you don't want any of your actions to have interceptors. My solution was for the cases where most of the actions use the default stack and only a handful of actions shouldn't have any interceptors. Which brings up a more interesting question: Can you have an empty inter

Re: [S2] Struts 2 and portlets - I found some info

2007-01-09 Thread Dariusz Wojtas
ok, I have filled the CLA and sent it with fax. waiting for more :) Dariusz Wojtas On 1/9/07, Don Brown <[EMAIL PROTECTED]> wrote: Could you file a CLA [1] so that we could give you access to the wiki directly? As one of the few active portlet users on this list, it would be very helpful for y

Re: ActionForwards from the config file not to be tampered?

2007-01-09 Thread Ney André de Mello Zunino
Christopher Schultz escreveu: Struts comes with something like this already (org.apache.struts.action.ActionRedirect). Yeah, I did find some references to that class and was looking forward to using it. Unfortunately, the company I have just joined (and its home-built framework) relies on an

Re: [s2] Issue with custom ResourceBundle using Struts 2.0.2/XWork2 RC1

2007-01-09 Thread Nate Drake
Found out the problem. I had struts.devMode=true in my configuration. This causes resource bundles to be reloaded with each request. Turning devMode off makes thing work correctly. - To unsubscribe, e-mail: [EMAIL PROTECTED

Struts 1.1 security hole?

2007-01-09 Thread Bruno Melloni
Yes, I know this is embarassing, but my company still uses Struts 1.1... because of a RAD6 dependency. Somebody just mentioned that there is a security hole in Struts 1.1. When I searched for it, I did find a reference to it in a pre-1.3 discussion, but no details. It seemed to be a vulnerability

tiles propagating definition info

2007-01-09 Thread David Birch
Hi, i am trying to use tiles as my layout manager, but have struck a bit of an issue, in that tiles only seems to propagate definition information one level - i.e. to the base jsp as set by path attribute on the definition. The scenario is that we want to detail all layout information in one de

RE: Action without interceptors

2007-01-09 Thread Dave Newton
From: Don Brown [mailto:[EMAIL PROTECTED] > If you don't want any interceptors, don't have your package extend > "struts-default". There isn't some magical built-in interceptor used > for user packages. What he said. But still... > On 1/9/07, Juan Espinosa <[EMAIL PROTECTED]> wrote: >> 1) Becau

Re: Action without interceptors

2007-01-09 Thread Don Brown
If you don't want any interceptors, don't have your package extend "struts-default". There isn't some magical built-in interceptor used for user packages. Don On 1/9/07, Juan Espinosa <[EMAIL PROTECTED]> wrote: 1) Because the url has a parameter called validationCode and i dont have a proper

Re: [S2] Struts 2 and portlets - I found some info

2007-01-09 Thread Don Brown
Could you file a CLA [1] so that we could give you access to the wiki directly? As one of the few active portlet users on this list, it would be very helpful for you to be able to beef up our portlet docs directly. Don [1] http://www.apache.org/licenses/ On 1/9/07, Dariusz Wojtas <[EMAIL PROTE

RE: Action without interceptors

2007-01-09 Thread Juan Espinosa
1) Because the url has a parameter called validationCode and i dont have a property in my class with that name. 2) Because i want interceptors run when "I WANT" not when struts want... May be i must write an interceptor that do nothing and put that interceptor in the action -Mensaje or

Re: Action without interceptors

2007-01-09 Thread Tom Schneider
One option is the create a NullInterceptor that doesn't do anything. It would be trivial to create and would allow you to override a default interceptor stack with an interceptor that does nothing. Tom On 1/9/07, Dave Newton <[EMAIL PROTECTED]> wrote: From: Juan Espinosa [mailto:[EMAIL PROTECT

RE: Action without interceptors

2007-01-09 Thread Dave Newton
From: Juan Espinosa [mailto:[EMAIL PROTECTED] > The seconda action is an action that validate a code passed > http://www.mysite.com/test2?validationCode=3 > I need no intercepto neither parameters interceptor nor model driven > interceptor... Just because you don't *need* one doesn't mean it matte

Re: global auth. for application

2007-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aljosa, Aljosa Mohorovic wrote: > when creating struts app if entire app requires authorization how can > i check if user is logged in without having to check session vars in > every action? Is there a reason not to use the container-managed authoriz

Re: ActionForwards from the config file not to be tampered?

2007-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ney, Ney André de Mello Zunino wrote: > What I had to do was create a new ActionForward and set its attributes: > > ActionForward newAction = new ActionForward(); > newAction.setPath(fwdAction.getPath() + ...); > newAction.setRedirect(true); > return

Re: global auth. for application

2007-01-09 Thread walidito
What version of struts are you talking about? In struts 2, I think an interceptor could help (that's what Im using), but I 'm not sure that it is a good practice. Generally speaking, for struts 1.x or even struts2.x Spring could help : here is a useful link http://www.javaworld.com/javaworld/jw-01

RE: Action without interceptors

2007-01-09 Thread Juan Espinosa
If i dont put an interceptor struts uses the basic satack of interceptors... I need a way to do that, i want to call an action an avoid the execution of interceptor The action has two methods method1 and method2 index otherIndex The seconda action is an a

Re: Action without interceptors

2007-01-09 Thread walidito
why don't you simply DONT put an interceptor in your action mapping ? for example : index Good luck Juan Espinosa wrote: > >> Hi to all i need help >> i want to have an action without interceptors. I want to configure it in >>

Re: Web Design Tools

2007-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jionghui, jionghui wrote: > I am looking for web design tools that support struts bean tag library. > Dreamveaver is good but does not support bean tag and BEA Workshop for JSP is > > expensive. Is there any other tools that I can use? Emacs supp

Re: Browser Back Button

2007-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetan, Chetan Pandey wrote: > To avoid this problem I introduced the following > request.getSession().setAttribute("eventForm", new EventForm()). If you are using Struts form beans, it might be better to blank the existing bean instead of creating a

[S2] Struts 2 and portlets - I found some info

2007-01-09 Thread Dariusz Wojtas
Hi, Nobody answered my last questions about portlets - but I found some useful info and will try to share it. The webwork wiki stuff has been copied/migrated to struts 2, but some parts were not updated. For example: http://cwiki.apache.org/WW/portlet-tutorial.html This page is mostly valid

Quick Jdeveloper Question

2007-01-09 Thread Daniel Chacón Sánchez
Sorry for the question. 1- How can I see the Jdeveloper (10g) ram use window in the IDE?? 2- Some tips for reduce the ram use of JDeveloper?? Thanks, and again, sorry for this non struts question

Re: Autocompleter Specifying Label Name Property

2007-01-09 Thread Musachy Barroso
Here is a jira ticket so you can track it: https://issues.apache.org/struts/browse/WW-1633 musachy André Faria wrote: Hi Musachy, Yes, you are right... The necessity is an attribute to specify the name of the "key" field! Could you implement that? Regards, Thank's, André Faria André Far

Re: Autocompleter Specifying Label Name Property

2007-01-09 Thread André Faria
Thank you so much Musachy ... Where can I get the last builds (not official)... I am getting in http://people.apache.org/maven-snapshot-repository/org/apache/struts/ That's right? Musachy Barroso escreveu: I will add a "keyName" attribute, which if not specified will fallback the the current b

Re: Autocompleter Specifying Label Name Property

2007-01-09 Thread Musachy Barroso
I will add a "keyName" attribute, which if not specified will fallback the the current behavior of "${name}Key". That won't make it for 2.0.3. musachy André Faria wrote: Hi Musachy, Yes, you are right... The necessity is an attribute to specify the name of the "key" field? Regards, T

RE: global auth. for application

2007-01-09 Thread Bolutiwi, Olu
Extend request processor (struts 1.2.X), validate and forward to appropriate view if validation succeeds, this means that every action in your entire application is validated. I hope am clear -Original Message- From: Aljosa Mohorovic [mailto:[EMAIL PROTECTED] Sent: 09 January 2007 15:00

global auth. for application

2007-01-09 Thread Aljosa Mohorovic
when creating struts app if entire app requires authorization how can i check if user is logged in without having to check session vars in every action? -- Aljosa Mohorovic http://www.revolucija.hr Ivana Lucica 5 1 Zagreb, Croatia +385 (0)1 616 8414

Re: Autocompleter Specifying Label Name Property

2007-01-09 Thread André Faria
Hi Musachy, Yes, you are right... The necessity is an attribute to specify the name of the "key" field! Could you implement that? Regards, Thank's, André Faria André Faria escreveu: Hi Musachy, Yes, you are right... The necessity is an attribute to specify the name of the "key" fi

Re: Autocompleter Specifying Label Name Property

2007-01-09 Thread André Faria
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" attribute

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 Musach

RE: error

2007-01-09 Thread Dave Newton
Okay, now try putting all that information together in one place (including the actual definition of the form, although I don't think it would be necessary to include all the fields etc.) so we don't have to dig through three separate emails and see what happens. If you're getting a class cast exc

jsp Exception handling with errorPage directive and Struts 1.1 + tiles

2007-01-09 Thread Heidy Gutiérrez Guzmán
Hi every one. I'm working with struts 1.1 and I'm facing a problem with my Jsp exception handling, The error page specified in every page using "errorPage" directive, is not shown, instead the tile that has caused the error is shown empty (not rendered), but neither my error page does. I've read

Re: error

2007-01-09 Thread Tom Jerry
the SubmitRequestForm is of Validator type. And the "form" variable is of ActionForm type. when ActionForm is being casted to ValidatorForm type, it reports a ClassCastException. I am asking what is the solution to it ? On 1/8/07, Dave Newton <[EMAIL PROTECTED]> wrote: From: Tom Jerry [mailto:[

Action without interceptors

2007-01-09 Thread Juan Espinosa
> Hi to all i need help > i want to have an action without interceptors. I want to configure it in > my action mapping, something like this. > > > > index > > Also i want to know if ther is a standard way to have something

ActionForwards from the config file not to be tampered?

2007-01-09 Thread Ney André de Mello Zunino
Hello. While trying to find a way to pass parameters from an action to another (which I actually ended up doing by appending the query string to the ActionForward's path), I noticed that I could not work directly on the action from the config file (the one returned from mapping.findForward())

Autocompleter Specifying Label Name Property

2007-01-09 Thread André Faria
Hi Musachy Barroso, /* "Required properties: Two properties must be defined on the target action for each autocompleter, one for the displayed text (its name is the value of the "name" attribute), and one for the key or value (its name is the value of the "name" attribute plus "Key")." */ Co

Re: Web Design Tools

2007-01-09 Thread chhum
If you want to carry on using Dreamweaver you can import a JSP tag library into Dreamweaver from a variety of file types. To import a JSP tag library into Dreamweaver: Open a JSP page in Dreamweaver. Open the Tag Library Editor (Edit > Tag Libraries). Click the plus (+) button and choose JSP > Imp

Re: Web Design Tools

2007-01-09 Thread jionghui
jionghui motorola.com> writes: > > I am looking for web design tools that support struts bean tag library. > Dreamveaver is good but does not support bean tag and BEA Workshop for JSP is > expensive. Is there any other tools that I can use? > Thanks..But Eclipse seems cannot visual edit st

Re: Web Design Tools

2007-01-09 Thread Robert Slama
Sorry, i mistook maillist. r^ CHARLIER Cyril wrote: On 1/9/07, Robert Slama <[EMAIL PROTECTED]> wrote: Hi, Netbeans 5.5 is very well tool. http://www.netbeans.org Can you say more on hwo to interface netbeans with struts please :-) ? -- Cyril -- S pozdravom Robert Slama SpiritLine

Re: Web Design Tools

2007-01-09 Thread CHARLIER Cyril
On 1/9/07, Robert Slama <[EMAIL PROTECTED]> wrote: Hi, Netbeans 5.5 is very well tool. http://www.netbeans.org Can you say more on hwo to interface netbeans with struts please :-) ? -- Cyril

Re: Web Design Tools

2007-01-09 Thread CHARLIER Cyril
You can have Easy Struts with Eclipse but only with Eclipse 2.x :-( (Current version is 3.2 !!) On 1/9/07, Gareth Evans <[EMAIL PROTECTED]> wrote: Eclipse with the web tools project. Gareth jionghui wrote: > I am looking for web design tools that support struts bean tag library. > Dreamv

Re: Web Design Tools

2007-01-09 Thread Robert Slama
Hi, Netbeans 5.5 is very well tool. http://www.netbeans.org -- S pozdravom Robert Slama SpiritLine s.r.o. Bernolakova ul. 1A 901 01 Malacky [EMAIL PROTECTED] gsm: +421 905 122 841 tel: +421 34 778 20 88 +421 34 778 20 89 fax: +421 34 778 20 90 http://www.spiritline.org Mobile TV progra

Re: Web Design Tools

2007-01-09 Thread Gareth Evans
Eclipse with the web tools project. Gareth jionghui wrote: I am looking for web design tools that support struts bean tag library. Dreamveaver is good but does not support bean tag and BEA Workshop for JSP is expensive. Is there any other tools that I can use?

Web Design Tools

2007-01-09 Thread jionghui
I am looking for web design tools that support struts bean tag library. Dreamveaver is good but does not support bean tag and BEA Workshop for JSP is expensive. Is there any other tools that I can use? - To unsubscribe, e-mai