Re: Action.execute() only being invoked the first time a url is requested ??!!!

2005-11-25 Thread Mon Cab
It's understandable that my browser would retireve from cache when I hit the back button. BUT: Should my browser also be retrieving from cache when I click on the same url twice, even if the url/uri is a get request. I am implementing a logout link as follows: login.do?use_case=logout When I cl

Re: [struts-faces] iterating managed bean properties

2005-11-25 Thread Craig McClanahan
On 11/25/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > > Craig McClanahan wrote: > > There are some significant interoperability issues between JSF 1.0/1.1 > and > > JSTL -- some of which have been addressed in JSF 1.2. But there is a > more > > fundamental design issue here ... you're trying too

Re: [struts-faces] iterating managed bean properties

2005-11-25 Thread Laurie Harper
Craig McClanahan wrote: There are some significant interoperability issues between JSF 1.0/1.1 and JSTL -- some of which have been addressed in JSF 1.2. But there is a more fundamental design issue here ... you're trying too hard :-). Consider this instead: where the get

Re: [shale] mailreader question

2005-11-25 Thread Craig McClanahan
On 11/25/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > On 11/25/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > > How do *you* know that it's a session scoped bean (versus perhaps being > in > > some other scope)? > > Because I put it there. The question first came up when I put my > usual au

Re: [ANNOUNCEMENT][shale] Struts Shale 1.0.0 Release Candidate 1 Available

2005-11-25 Thread Craig McClanahan
On 11/25/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > On 11/26/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > In preparation for the initial milestone release of Struts Shale 1.0.0, > a > > release candidate has been made available at: > > > >http://people.apache.org/~craigmcc/struts

Re: [shale] mailreader question

2005-11-25 Thread Wendy Smoak
On 11/25/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > How do *you* know that it's a session scoped bean (versus perhaps being in > some other scope)? Because I put it there. The question first came up when I put my usual authentication Filter (which puts a 'user' bean in session scope) in f

Re: [struts-faces] iterating managed bean properties

2005-11-25 Thread Craig McClanahan
On 11/25/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > > I've hit another snag trying to test out JSF with the struts-faces > integration library. This is the fragment I'm trying to convert: > > > > > > > > > > And this

Re: [shale] mailreader question

2005-11-25 Thread Craig McClanahan
On 11/25/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > This is probably a JSF question, but I'm already here. :) > > MailReader's BaseViewController has: > > protected Object getBean(String name) { > FacesContext context = getFacesContext(); > return context.getApplication().ge

[struts-faces] iterating managed bean properties

2005-11-25 Thread Laurie Harper
I've hit another snag trying to test out JSF with the struts-faces integration library. This is the fragment I'm trying to convert: And this is what I'm trying to convert it into: W

Re: IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Frank W. Zammetti
Tamas Szabo wrote: That's interesting, I didn't know that PDF works just like HTML in this matter. A coworker wrote the PDF generator so I'm not sure about this, but I tend to think that the problem is not caused by this, because then I would get the confirmation box when I make a GET request to

[ANNOUNCE] Struts 1.2.8 (General Availability)

2005-11-25 Thread Niall Pemberton
The Struts team is pleased to announce the release of Struts 1.2.8 for General Availability. This release is primarily to fix a Cross Site Scripting (XSS) vulnerability identified in Struts by www.hacktics.com and supersedes the earlier 1.2.7 version as the latest official release of Struts from Th

Re: [shale] mailreader question

2005-11-25 Thread Laurie Harper
Wendy Smoak wrote: This is probably a JSF question, but I'm already here. :) MailReader's BaseViewController has: protected Object getBean(String name) { FacesContext context = getFacesContext(); return context.getApplication().getVariableResolver(). resolveVariabl

Re: [ANNOUNCEMENT][shale] Struts Shale 1.0.0 Release Candidate 1 Available

2005-11-25 Thread Niall Pemberton
On 11/26/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > In preparation for the initial milestone release of Struts Shale 1.0.0, a > release candidate has been made available at: > >http://people.apache.org/~craigmcc/struts-shale-1.0.0-rc1/ > (TIME LIMITED URL) > > including both tar.gz and z

[shale] mailreader question

2005-11-25 Thread Wendy Smoak
This is probably a JSF question, but I'm already here. :) MailReader's BaseViewController has: protected Object getBean(String name) { FacesContext context = getFacesContext(); return context.getApplication().getVariableResolver(). resolveVariable(context, name);

[ANNOUNCEMENT][shale] Struts Shale 1.0.0 Release Candidate 1 Available

2005-11-25 Thread Craig McClanahan
In preparation for the initial milestone release of Struts Shale 1.0.0, a release candidate has been made available at: http://people.apache.org/~craigmcc/struts-shale-1.0.0-rc1/ (TIME LIMITED URL) including both tar.gz and zip artif

Re: page context

2005-11-25 Thread Michael Jouravlev
On 11/25/05, Bahadır Yağan <[EMAIL PROTECTED]> wrote: > Sorry, my forward was defined as redirect="true". Now it works, thanks. > > So one other question. Is is normal to write an Action for every page, > to register these variables.(no forms in page so far.) Or there is a > simpler solution? Simp

Re: help req in tag !!!

2005-11-25 Thread Michael Jouravlev
On 11/25/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Malhotra, Amitkumar (Exchange) wrote: > > Hello Folks, > > > > Am using tag to invoke an action when a > > hyperlink is clicked, > > > > Do want to pass parameters to the action class when this is done and > > do not want these to be visible

Re: Strategy for javascript validation with i18n

2005-11-25 Thread Laurie Harper
Kalra, Ashwani wrote: Hi all, In my multilingual project, I want to use my own custom Javascript validation instead of one provided by strusts 1.1 I have to do this because its not working in many cases with weblogic workshop, specially the indexed fields. My main concern is How can I provide a

Re: Help me

2005-11-25 Thread Laurie Harper
You haven't given enough information to be sure (we'd need to see your form bean definition, validation rules and form bean code) but my guess is you have validation rules for a property that doesn't exist in your form bean. L. senthil Kumar wrote: Hello All., I have a action form called "D

Re: escape paramProperty in html:link in jsp ?

2005-11-25 Thread Laurie Harper
Gregory VIALE wrote: Hello, Can we escape paramProperty in jps in tag html:link my parameter have '&' You mean the value of the property named by paramProperty contains '&'? If so, this should be properly URL encoded automatically. If it's not, that's either a bug or a missing feature IMHO.

Re: IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Tamas Szabo
On 11/26/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Tamas, do you by chance have custom fonts or images in the PDF that > might be getting retrieved over a non-secure connection? A PDF works > just like HTML in that the document is returned, and then the browser > makes requests for embe

Re: help req in tag !!!

2005-11-25 Thread Laurie Harper
Malhotra, Amitkumar (Exchange) wrote: Hello Folks, Am using tag to invoke an action when a hyperlink is clicked, Do want to pass parameters to the action class when this is done and do not want these to be visible in the address bar, how can I do this ?? By definition a link with parameters

Re: IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Wendy Smoak
On 11/25/05, Tamas Szabo <[EMAIL PROTECTED]> wrote: > I just wanna convince you that your wiki page should say that IE > will show this confirmation dialog if you try to send the PDF file in > response to a POST request. > > To solve the problem you could either > use GET or if you have to use POS

Re: problem with form bean properties

2005-11-25 Thread Laurie Harper
patwary rao wrote: Hi all, I want to know is it possible to send form bean property to the custom tag.basically i want to display static text instead of text box if the user has read only ability to the page else show him text box.user role is checked in the custom tag surrounding the text

Re: conditional validation

2005-11-25 Thread Laurie Harper
Raghu Kanchustambham wrote: Second, shouldn't you allow an empty value for marks if degree.id isn't set, rather than forcing the user to enter numeric data that's going to be ignored? I really dont care about what the user enters for marks if he chooses "none" for the degree. I dont care even

Re: IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Frank W. Zammetti
Tamas, do you by chance have custom fonts or images in the PDF that might be getting retrieved over a non-secure connection? A PDF works just like HTML in that the document is returned, and then the browser makes requests for embedded resources, including images and non-standard fonts. I too

Re: conditional validation

2005-11-25 Thread Laurie Harper
newton rutgers wrote: Hello All, Can i do the conditional validation. For example if i have a drop down and the default value is "Please select one". if user dosen't select anything. validation won't show that it is required field to select. can anyone please help. Also how do i validation for

Re: IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Tamas Szabo
> > > I still don't understand what do you mean by sending IE some text? > > Your whole webapp consisted just from a pdf generator? > > No, but this particular page was intended to be: >1. POST form over SSL >2. Display the PDF > > > And if not then why do you say that you sent some text >

Re: page context

2005-11-25 Thread Laurie Harper
Bahadır Yağan wrote: So one other question. Is is normal to write an Action for every page, to register these variables.(no forms in page so far.) Or there is a simpler solution? The normal pattern in Struts is to have a 'setup action' which loads any data the page needs to display and then f

Re: IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Wendy Smoak
On 11/25/05, Tamas Szabo <[EMAIL PROTECTED]> wrote: > Well, that's why I said that it's a strange behaviour. > Because I'm pretty sure that everything goes over ssl in our app too. > And I tried executing the exact same code using a GET request and then I > don't get the confirmation box. Okay, t

Re: Struts Error

2005-11-25 Thread Asad Habib
Hello. I just wanted to let all of you that I figured this out. I had to flush the compiled files in the Eclipse work directory and then everything worked. Thanks. - Asad On Fri, 25 Nov 2005, Asad Habib wrote: Hello. I have a web application in which I am only using the Tiles component of S

Re: IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Tamas Szabo
On 11/26/05, Paul Benedict <[EMAIL PROTECTED]> wrote: > > That message means you have page in HTTPS but links on that page reffering > to (at least one) HTTP. > This is a problem if you have hardcoded the scheme into any of your links. I understand perfectly what the message means, but there are

Re: IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Tamas Szabo
On 11/26/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > On 11/25/05, Tamas Szabo <[EMAIL PROTECTED]> wrote: > > > What do you mean by " In short, you have to send IE some HTML before you > > send it the bytes of the PDF, or it will complain."? > > I'm not entirely sure you're seeing the same proble

Re: IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Paul Benedict
That message means you have page in HTTPS but links on that page reffering to (at least one) HTTP. This is a problem if you have hardcoded the scheme into any of your links. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.

Re: IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Wendy Smoak
On 11/25/05, Tamas Szabo <[EMAIL PROTECTED]> wrote: > What do you mean by " In short, you have to send IE some HTML before you > send it the bytes of the PDF, or it will complain."? I'm not entirely sure you're seeing the same problem-- I never get 'page contains both secure and nonsecure element

Re: IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Tamas Szabo
On 11/26/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > On 11/25/05, Tamas Szabo <[EMAIL PROTECTED]> wrote: > > > We have a webapp that generates PDF files on the fly and sends them back > to > > the browser. > > When one accesses the app with https in IE and only in IE they get a > message > > box

Re: IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Wendy Smoak
On 11/25/05, Tamas Szabo <[EMAIL PROTECTED]> wrote: > We have a webapp that generates PDF files on the fly and sends them back to > the browser. > When one accesses the app with https in IE and only in IE they get a message > box Been there, done that. :) http://wiki.wsmoak.net/cgi-bin/wiki.pl?N

IE "the page contains both secure and nonsecure items?"

2005-11-25 Thread Tamas Szabo
Hi All, I experience a strange problem, maybe somebody had the same issue before. We have a webapp that generates PDF files on the fly and sends them back to the browser. When one accesses the app with https in IE and only in IE they get a message box Something like "The page contains both secure

Re: saving a value in jsp?

2005-11-25 Thread Tamas Szabo
Hi, I think somebody already explained you that you don't need the name. In the Action to which you forward you can loop up the name based on the code. But if you stick to this then you can create a hidden field called name and on the onChange of the dropdown list set the value of the hidden fiel

Re: struts version query

2005-11-25 Thread Stephen Hartley
Craig Thanks very much for posting back so quickly! Stephen --- Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 11/25/05, Stephen Hartley > <[EMAIL PROTECTED]> wrote: > > > > I'm using struts and am trying to confirm the > exact > > version I've got installed. > > > > Helpfully, the jar is na

Re: struts version query

2005-11-25 Thread Craig McClanahan
On 11/25/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > > I *thought* the 2nd line of struts-config.xml (DTD) specified the version > usually in the form > > "-//Apache Software Foundation//DTD Struts Configuration 1.0 > //EN" >"http://jakarta.apache.org/struts/dtds/struts-c

Re: struts version query

2005-11-25 Thread Craig McClanahan
On 11/25/05, Stephen Hartley <[EMAIL PROTECTED]> wrote: > > I'm using struts and am trying to confirm the exact > version I've got installed. > > Helpfully, the jar is named just struts.jar on my > local installation..! > > However, within the jar is a manifest.mf file and its > contents are attach

Re: problem with form bean properties

2005-11-25 Thread patwary rao
Can some help me out!!! --- patwary rao <[EMAIL PROTECTED]> wrote: > Hi all, > I want to know is it possible to send form bean > property to the custom tag.basically i want to > display > static text instead of text box if the user has read > only ability to the page else show him text box.u

Re: JFreeChart and Struts

2005-11-25 Thread Wendy Smoak
On 11/25/05, Daniel Łaś <[EMAIL PROTECTED]> wrote: > I have the problem using JFreeChart with struts. JFreeChart requires > jcommon.jar to be in the classpath. When I copy jcommon.jar to my WebApp > lib directory, application doesn't start. There is such error message in > the logfile: > > Unable t

JFreeChart and Struts

2005-11-25 Thread Daniel Łaś
Hi I have the problem using JFreeChart with struts. JFreeChart requires jcommon.jar to be in the classpath. When I copy jcommon.jar to my WebApp lib directory, application doesn't start. There is such error message in the logfile: Unable to initialize Struts ActionServlet due to an unexpecte

RE: struts version query

2005-11-25 Thread Martin Gainty
I *thought* the 2nd line of struts-config.xml (DTD) specified the version usually in the form "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";> But your IDE du jour should also generate the vers

Re: Bug in Struts Validator?how to move to 1.4

2005-11-25 Thread Niall Pemberton
The 1.1.3 DTD is fine to use (there isn't a 1.1.4 DTD). What version of Struts are you using? (you need Struts 1.2.7 or later) Can you show you message resources definitions from your struts-config.xml please? Niall - Original Message - From: "starki78" <[EMAIL PROTECTED]> Sent: Friday

struts version query

2005-11-25 Thread Stephen Hartley
I'm using struts and am trying to confirm the exact version I've got installed. Helpfully, the jar is named just struts.jar on my local installation..! However, within the jar is a manifest.mf file and its contents are attached at the foot of this posting. Can I safely assume from the line Imp

Struts Error

2005-11-25 Thread Asad Habib
Hello. I have a web application in which I am only using the Tiles component of Struts. Up until recently this application was running without any errors. However, after incorporation of JNDI into this project I get the following error: org.apache.jasper.JasperException: Unresolved compilation

Re: [again] SSL switching: why isn't it part of struts?

2005-11-25 Thread Paul Benedict
>>But isn't it a bad idea to hard-code your path(s) that require SSL. What >>happens if a decision is made to change the action servlet's mapping from, say *.do to /servlet/*. You would have to remember to change the path(s) in the filter... Furthermore, what if you change the name of the acti

RE: [Maybe Spam] Re: populating form difficulty??

2005-11-25 Thread Kanuri, Chand
hi , yes you are right. i want to pupulate "name" after the form is submitted. in my jsp looks like this:

Re: [again] SSL switching: why isn't it part of struts?

2005-11-25 Thread Aladin Alaily
Hi Paul, That's a very interesting point. I didn't think about that. But isn't it a bad idea to hard-code your path(s) that require SSL. What happens if a decision is made to change the action servlet's mapping from, say *.do to /servlet/*. You would have to remember to change the path(s) in t

Re: [again] SSL switching: why isn't it part of struts?

2005-11-25 Thread Paul Benedict
IMHO, I do not think SSL switching belongs in the Struts framework. I think most of the time the correct place to put switching into SSL is in a servlet filter according to some predefined path. So if you forward from Struts to a particular location, a filter can then redirect it to HTTPS. Pau

Re: Bug in Struts Validator?how to move to 1.4

2005-11-25 Thread starki78
Thanks for the answer! I still tried this but how to exchange the library to fix this bug: I replaced the jar-file but still this same problem. I dindn't find a dtd file to 1.4. Is this also necessary? Nice greetings Starki > Theres no way to access the bundle attribute in Validator 1.1.3

RE: struts bean population problem?how to save a form value in js p?

2005-11-25 Thread Kanuri, Chand
hi , thanks for your info. but in my case i am instantiating a bean in my form. i can submit the form with one property "code" populated and i want the logic in my action to populate "name". how can i achieve that in my action as i am not using maps. cheers. -Original Message- From: new

Re: [again] SSL switching: why isn't it part of struts?

2005-11-25 Thread Ted Husted
The best place to discuss features that are not already part of Struts is the dev list. * http://struts.apache.org/mail.html I don't remember anyone ever deciding *not* to add SSL swtiching. It's just a matter of whether a committer who is using SSL switching wants to volunteer to go ahead and do

Re: Using message resources to specify value in an button

2005-11-25 Thread Frank W. Zammetti
Wendy Smoak wrote: (Does no one trim their posts anymore?! That thread is nearly impossible to follow with all the quoted-and-re-quoted text.) I admit I rarely trim a thread when I reply... I personally prefer being able to look back immediately and see what someone said a few posts back wit

Re: struts bean population problem?how to save a form value in jsp?

2005-11-25 Thread Danny Lee
Here is all you need: http://www.developer.com/java/ent/article.php/2233591 Cheers, Danny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[again] SSL switching: why isn't it part of struts?

2005-11-25 Thread Aladin Alaily
Hello, It seems as though my last post got mixed up in another thread. Thanks for pointing this out Danny. As a result, here is a repost... Does anyone know why SSL & non-SSL switching is not included in struts? After having configured the main web server to support SSL, isn't switching as sim

Re: Bug in Struts Validator?

2005-11-25 Thread Niall Pemberton
Theres no way to access the bundle attribute in Validator 1.1.3 and was the main motivation for Validator 1.1.4: http://jakarta.apache.org/commons/validator/changes-report.html#1_1_4 Also struts didn't start to support these until Struts 1.2.7 - when the dependency change to Validator 1.1.4

Re: SSL switching: why isn't it part of struts?

2005-11-25 Thread Danny Lee
Please start new thread (as new message), without making replay on some other thread not relative to your topic. Then I'll answer. Cheers, Danny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

struts bean population problem?how to save a form value in jsp?

2005-11-25 Thread Kanuri, Chand
hi wendy, can you please guide me with the way to save the value of name in my app when the code is selected? i am trying with request.setAttribute but i dont know how to link with the selected option? here is my code:

Re: SSL switching: why isn't it part of struts?

2005-11-25 Thread Wendy Smoak
On 11/25/05, Aladin Alaily <[EMAIL PROTECTED]> wrote: > After having configured the main web server to support SSL, isn't > switching as simple as adding an "s" to http? > > Are there any considerations (for exclusion) that I am missing here? This isn't something I use, but we have a FAQ page on

Re: [shale] Design questions

2005-11-25 Thread Dakota Jack
Okay. I guess this is not the "OO world". That was my point. This is not OO. If you are happy with that, good. We agree! On 11/24/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > I don't agree. In the OO world it is true but here using inheritance > allow you to specify some default val

Bug in Struts Validator?

2005-11-25 Thread starki78
Hi! I've specified an validation xml that works but I want to read the property-messages from a properties file that I'would access from a bundle. I use validator_1_1_3.dtd. Isn't the bundle attribute recognized? Is this a common bug?

AW: Strategy for javascript validation with i18n

2005-11-25 Thread Bernhard Slominski
If you want to try something new you can use AJAX in that way that your validation is done on the server but you still can have (more or less) instant javascript feedback without resubmitting the form. So you only have a thin javascript interface but your validation code is in Java on the server.

RE: Strategy for javascript validation with i18n

2005-11-25 Thread abdurrahman sahin
hi; we developed our web gui interface on JSF all input components reads logged user info, render themselves with that user's culture info and attaching required javascript code. for client-side validations u should develop ur own js components. u should render user culture info for each page requ

SSL switching: why isn't it part of struts?

2005-11-25 Thread Aladin Alaily
Hello, Does anyone have any idea as to why SSL protocol switching isn't part of struts? After having configured the main web server to support SSL, isn't switching as simple as adding an "s" to http? Are there any considerations (for exclusion) that I am missing here? Thanks Aladin -

RE: Strategy for javascript validation with i18n

2005-11-25 Thread Kalra, Ashwani
That's being taken care. I am looking for javascript validations. -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent: Friday, November 25, 2005 5:33 PM To: user@struts.apache.org Subject: Strategy for javascript validation with i18n Hi all, In my multilingual projec

RE: Strategy for javascript validation with i18n

2005-11-25 Thread abdurrahman sahin
hi; in our project. I defined a User class that holds cultural information, date format, number patterns, etc, application starts up with a given default user. When a user logons to the system, the user interface guis is repainted regarding that logged user's cultural info. -Original Messa

Strategy for javascript validation with i18n

2005-11-25 Thread Kalra, Ashwani
Hi all, In my multilingual project, I want to use my own custom Javascript validation instead of one provided by strusts 1.1 I have to do this because its not working in many cases with weblogic workshop, specially the indexed fields. My main concern is How can I provide a simple java script API

Help me

2005-11-25 Thread senthil Kumar
Hello All.,   I have a action form called "DefineProjectForm". In the form I  have the validate method.   In the validate method I have Following lines of code.    public ActionErrors validate(ActionMapping mapping,  HttpServletRequest request) {   1)   boolean foundErrors

saving a value in jsp?

2005-11-25 Thread Kanuri, Chand
hi all, i have a dropdown list in my struts web app, i am having a form in which a bean is instatiated(bean has 2 properties "name" and "code"). i am using like this in the jsp:

RE: help req in tag !!!

2005-11-25 Thread Malhotra, Amitkumar \(Exchange\)
These are plain hyperlinks on the drop down menu.   -Original Message- From: Aldo Vadillo Batista [mailto:[EMAIL PROTECTED] Sent: Friday, November 25, 2005 3:35 PM To: Struts Users Mailing List Subject: Re: help req in tag !!!   Why don't you use _javascript_ and a form tag.

Re: help req in tag !!!

2005-11-25 Thread Aldo Vadillo Batista
Why don't you use javascript and a form tag. 2005/11/25, Malhotra, Amitkumar (Exchange) <[EMAIL PROTECTED]>: > > > > Hello Folks, > > Am using tag to invoke an action when a > hyperlink is clicked, > > Do want to pass parameters to the action class when this is done and > do not want these to be

escape paramProperty in html:link in jsp ?

2005-11-25 Thread Gregory VIALE
Hello, Can we escape paramProperty in jps in tag html:link my parameter have '&' thx.

how to save a value in form jsp?

2005-11-25 Thread Kanuri, Chand
hi all, i have a dropdown list in my struts web app, i am having a form in which a bean is instatiated(bean has 2 properties "name" and "code"). i am using like this in the jsp:

Re: page context

2005-11-25 Thread Gareth Evans
Are you doing any kind of redirect? Try printing the value of ${clist}, does this collection/list definatly contain data? because if logic:iterate can't find the bean then it throws a JspException Bahadır Yağan wrote: I tried it but couldn't get it working. Here is my code: Action: request.

help req in tag !!!

2005-11-25 Thread Malhotra, Amitkumar \(Exchange\)
Hello Folks, Am using Do want to pass parameters to the action class when this is done and do not want these to be visible in the address bar, how can I do this ??   Thanks and Regards, Amit Malhotra. *** Bear

Re: page context

2005-11-25 Thread Bahadır Yağan
Sorry, my forward was defined as redirect="true". Now it works, thanks. So one other question. Is is normal to write an Action for every page, to register these variables.(no forms in page so far.) Or there is a simpler solution? Bahadır Yağan wrote: I tried it but couldn't get it working.

Re: page context

2005-11-25 Thread Bahadır Yağan
I tried it but couldn't get it working. Here is my code: Action: request.setAttribute("clist", clist); JSP: href="sunum.jsp?cid=${category.cid}">${category.name} ps: no it is not a form bean. Gareth Evans wrote: request.setAttribute() ? Bahadır Yağan wrote: Hi! Is

RE: page context

2005-11-25 Thread VAN BROECK Jimmy
If its a formbean you are referring to, set the scope parameter inside the action def. to request. -Original Message- From: Bahadir Yagan [mailto:[EMAIL PROTECTED] Sent: vrijdag 25 november 2005 10:22 To: user@struts.apache.org Subject: page context Hi! Is there a way to register a b

Re: page context

2005-11-25 Thread Gareth Evans
request.setAttribute() ? Bahadır Yağan wrote: Hi! Is there a way to register a bean from inside an Action, only for the next response. I have data to display on a JSP page. But it will only be needed for that page, so registering it to session seems an overhead to me. -- Gareth Evans M

page context

2005-11-25 Thread Bahadır Yağan
Hi! Is there a way to register a bean from inside an Action, only for the next response. I have data to display on a JSP page. But it will only be needed for that page, so registering it to session seems an overhead to me. -- Bahadir Yagan ---

Re: iterating over collection

2005-11-25 Thread Per Jørgen Walstrøm
this should do the trick: this, of course, assumes that your "secondaryBean" has methods like getName(), getPrice() etc. cheers, pj Malhotra, Amitkumar \(Exchange\) Thu, 24 Nov 2005 21:23:34 -0800 Hello All, Am stuck up with a simple problem and could not find solution to the same