Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Frank W. Zammetti
On Tue, November 8, 2005 1:37 am, Pham Anh Tuan said: > PS: if I want to change whether or not jsessionid is used, I must config > container ? Do you have any document which instruct me how to > reconfig > container :(, if you had, plz show me, uh :") ... thank you :") I'm assuming it's possi

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Pham Anh Tuan
jsession is appended all time, it's not only at the first request! :( Oh, maybe I should recommend my client that "Just let it me, jsession is not our problem, ... " :) ... thank you very much, Frank! PS: if I want to change whether or not jsessionid is used, I must config container ? D

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Frank W. Zammetti
Did it only show up on the first request? As Michael indicated in his post, that is a normal behavior. If it's there all the time, I would see what your container is configured to do. As I mentioned before, I believe you can control what most containers do. -- Frank W. Zammetti Founder and Chi

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Pham Anh Tuan
thanks Frank ... but :( ... I turned "cookie accept" on in my browser (Firefox, IE), but jsessionid still be appended URL :( ... what happened, hiz :( * Pham Anh Tuan Java Developer, HR Assistant ICHI Corporation Vietnam. Room #1001, 37 Ton Duc T

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Michael Jouravlev
On 11/7/05, Pham Anh Tuan <[EMAIL PROTECTED]> wrote: > thanks to MC, but ... it still doesn't work, jsessionid is still available > in URL after I add redirect to forward tag :( > > help me plz :( The first time you load page and perform a redirect, you will see session id in the URL, it was added

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Frank W. Zammetti
Yeah,I might have wrote that a bit confusing :) All I meant is that if cookies are enabled in the browser, then URL rewriting won't be used... well, PROBABLY... I suppose the container still could do URL rewriting, but I doubt any would... although, I wouldn't be surprised if you could tell y

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Pham Anh Tuan
thank you, Frank :) As u said, if I want to disable jsessionid in URL, I must turn on cookie on my browser ? uh? Is it rite? I'm not sure that I understood what you mean :( "Aside from enabling cookies ...", enable cookies on my browser :( ... or where ? plz help and show me more details :(

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Pham Anh Tuan
thank you, Wendy :) It's just because my client don't want to see jsessionid in the url :( ... * Pham Anh Tuan Java Developer, HR Assistant ICHI Corporation Vietnam. Room #1001, 37 Ton Duc Thang, Dist. 1 Ho Chi Minh City, Vietnam. Phone: (+84) (08

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Wendy Smoak
On 11/7/05, Pham Anh Tuan <[EMAIL PROTECTED]> wrote: > thanks to MC, but ... it still doesn't work, jsessionid is still available > in URL after I add redirect to forward tag :( Struts is not doing this, at least not directly-- your Servlet container is. See SRV.7.1 (of the Servlet 2.4 specifica

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Frank W. Zammetti
It should be noted that jsessionid is not a Struts creation, it is a servlet spec thing... it stands for "Java Session ID" (creative, huh??) and is actually dealt with by your app server. The jsessionid can be stored in a cookie on the client, or it can be appended to the request as part of th

Re: barfs if it's parameter is null

2005-11-07 Thread Rahul Akolkar
On 11/7/05, Mon Cab <[EMAIL PROTECTED]> wrote: > Hi all... > > I.e any way of using the tag less > strictly, so that value="bla"> will not cause an exception if var is > null. At the moment I am getting: Which is as advertised here [ http://struts.apache.org/struts-taglib/tagreference-struts-l

Re: barfs if it's parameter is null

2005-11-07 Thread Paul Benedict
Have you tried JSTL? --- Mon Cab <[EMAIL PROTECTED]> wrote: > Hi all... > > I.e any way of using the tag less > strictly, so that value="bla"> will not cause an exception if var is > null. At the moment I am getting: > > > javax.servlet.ServletException: Cannot compare null > variable to v

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Pham Anh Tuan
thanks to MC, but ... it still doesn't work, jsessionid is still available in URL after I add redirect to forward tag :( help me plz :( * Pham Anh Tuan Java Developer, HR Assistant ICHI Corporation Vietnam. Room #1001, 37 Ton Duc Thang, Dist. 1 H

barfs if it's parameter is null

2005-11-07 Thread Mon Cab
Hi all... I.e any way of using the tag less strictly, so that will not cause an exception if var is null. At the moment I am getting: javax.servlet.ServletException: Cannot compare null variable to value signup org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.

Re: Why Chain over Action?

2005-11-07 Thread Frank W. Zammetti
I'm currently in the middle of a project at work that makes heavy usage of CoR (it's only a very small webapp component, the vast majority of it is business process, and that's a rather large piece). I am using the CoR implementation in Java Web Parts rather than Commons Chain because it has s

RE: Client Side Validator Fails When Submit from Javascript

2005-11-07 Thread Vishal Dalal
hi, try to use onClick instead of onSubmit when you are using the javaScript submit Cheers, Vishal -Original Message- From: Jim Reynolds [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 7:12 PM To: user@struts.apache.org Subject: Client Side Validator Fails When Submit from Ja

Re: [Help] how to erase jsessionid in URL

2005-11-07 Thread Murray Collingwood
The jesssionid is normally used to uniquely identify the session. You either have this or cookies enabled. I think Struts uses cookies if they are available and defers to the jessionid if cookies can't be used. If you are not using any session stuff then you can add the redirect parameter o

Re: Why Chain over Action?

2005-11-07 Thread Ted Husted
On 11/7/05, netsql <[EMAIL PROTECTED]> wrote: > 1st, you can use Commons Chain in Struts 1.2.X. In 1.3 the request > processor is done in Chain... but a user can't tell. > You can use Commons Chain (a CoR pattern) outside of Struts. For more about Commons Chain generally, see also * http://struts

[Help] how to erase jsessionid in URL

2005-11-07 Thread Pham Anh Tuan
Hi all, I got a problem when I use Struts Framework, everytime I do a action, Struts automatically appends jsessionid parameter in URL something like below: http://localhost:8080/test/index.do;jsessionid=5DF06EA.. plz help me and show me how to erase jsessionid parameter and I don't know is

Re: [shale][clay] CSS style classes on substituted elements

2005-11-07 Thread Gary VanMatre
> On 11/7/05, Gary VanMatre wrote: > > > > > On 11/7/05, Gary VanMatre wrote: > > > > > > > > >So, are you thinking that "#{shale:managed-bean-name.save}" would be > > > > >something that would evalutated entirely within a custom shale jsf > > > > >VariableResolver or would the symbol replac

Re: [shale][clay] CSS style classes on substituted elements

2005-11-07 Thread Craig McClanahan
On 11/7/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > > On 11/7/05, Gary VanMatre wrote: > > > > > > >So, are you thinking that "#{shale:managed-bean-name.save}" would be > > > >something that would evalutated entirely within a custom shale jsf > > > >VariableResolver or would the symbol replace

Re: Why Chain over Action?

2005-11-07 Thread netsql
1st, you can use Commons Chain in Struts 1.2.X. In 1.3 the request processor is done in Chain... but a user can't tell. You can use Commons Chain (a CoR pattern) outside of Struts. It lets you xml configure a command to execute, or ... several commands (hence it's called Chain) Anyone can look

RE: Lists within lists issue

2005-11-07 Thread Paul Benedict
Prabdoh, You are much better off using JSTL so you can write something like: Once you go JSTL, you never go back :-) Which makes the object tags obsolete. Paul --- "Deshmukh, Prabodh (P.)" <[EMAIL PROTECTED]> wrote: > Looks like using nested tags helps only if I don't have lists/sub-lists >

Re: [shale][clay] CSS style classes on substituted elements

2005-11-07 Thread Gary VanMatre
> On 11/7/05, Gary VanMatre wrote: > > > > >So, are you thinking that "#{shale:managed-bean-name.save}" would be > > >something that would evalutated entirely within a custom shale jsf > > >VariableResolver or would the symbol replacement be done in the clay > > chain ( > > >i.e. replaceMnemo

RE: Lists within lists issue

2005-11-07 Thread Deshmukh, Prabodh \(P.\)
Looks like using nested tags helps only if I don't have lists/sub-lists i.e. the object heirarchy is object->sub-object->sub-sub-object->property Any thoughts? -Original Message- From: Deshmukh, Prabodh (P.) Sent: Monday, November 07, 200

Why Chain over Action?

2005-11-07 Thread Paul Benedict
Subject line says it all. I've been contemplating this topic. The best answer I can give here is that in Struts 1.3, you really don't have to ever deal with an Action class at all - use ChainAction as an entry point into your chains. But how would you model a real world application using the ch

Re: spawning a new window for print?

2005-11-07 Thread Chad Armstrong
Thanks guys, yeah I was hoping that a submit would be a submit, regardless of browser window, just redirecting the request/response stream, but maybe not. I'm familiar with the CSS options you offered, so I will fall back to those same-window options if no new-window solutions are found. Chad On

Re: [shale][clay] CSS style classes on substituted elements

2005-11-07 Thread Craig McClanahan
On 11/7/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > >So, are you thinking that "#{shale:managed-bean-name.save}" would be > >something that would evalutated entirely within a custom shale jsf > >VariableResolver or would the symbol replacement be done in the clay > chain ( > >i.e. replaceMnemo

Re: spawning a new window for print?

2005-11-07 Thread Murray Collingwood
Michael's idea prompted me. I use two style sheets, one for 'print' and one for 'screen'. Generally I find that the print and screen css are applied heirarchically, so I code most of the stuff I want in the 'screen' css and my print one looks like follows: BODY { margin: 10px;

user@struts.apache.org

2005-11-07 Thread hem hem
hi all, i am new to struts validation. i foung some nice tutorials which validates action forms using validator-rules.xml and validation.xml(which connects validator-rules.xml and formbean name in stuts-config.xml). but my form bean looks like this(i am using 2 more beans in my action form) w

Re: Recursively using bean:write

2005-11-07 Thread Michael Jouravlev
On 11/7/05, Benjamin Lerman <[EMAIL PROTECTED]> wrote: > Hi all, > > I need to do something like that: > > )" /> > > But I get an error about an equal begin not in the right place. > > Right now, the only solution I found is to use scriplet to generate the > "bar(whatever)" strings, to put th

Re: spawning a new window for print?

2005-11-07 Thread Michael Jouravlev
On 11/7/05, Chad Armstrong <[EMAIL PROTECTED]> wrote: > Hi all, > I'm pretty new to Struts (and using 1.0 at that, for business > requirements). I've built a pretty simple application, retrieving > records from a database, populating the Form object and using JSTL and > struts tags to display the

Re: How to create my own LOCALE Object in Session Listener

2005-11-07 Thread Yujun Liang
Do you know Servlet Filter? Regards On 11/7/05, Łukasz Piątkowski <[EMAIL PROTECTED]> wrote: > > Hello ! > > Hello I want to create my own LOCALE Object in my Session Listener > class. I need it to exist before Struts Request Processor is executed. > How to do it in Struts ? Does Struts have any

Re: Resource Bundle Problem...

2005-11-07 Thread Yujun Liang
Shailesh, I don't quite understand what you are trying to do, but do you know you can put values from 38 to 49 only in a separate resource file and construct another ResourceBundle? Does this work for you? On 7 Nov 2005 12:58:34 -, Shailesh Barde <[EMAIL PROTECTED]> wrote: > > Friends, > We k

spawning a new window for print?

2005-11-07 Thread Chad Armstrong
Hi all, I'm pretty new to Struts (and using 1.0 at that, for business requirements). I've built a pretty simple application, retrieving records from a database, populating the Form object and using JSTL and struts tags to display the results. What I want to now do however, is provide a Print link

how to use Struts validator to this action form-please help me

2005-11-07 Thread hem hem
hi all, i am new to struts validation. i foung some nice tutorials which validates action forms using validator-rules.xml and validation.xml(which connects validator-rules.xml and formbean name in stuts-config.xml). but my form bean looks like this(i am using 2 more beans in my action form) w

changin the locale

2005-11-07 Thread Miren Urkijo
hola quiero cambiar manualmente, por programacion el locale para cambiar de idioma en la aplicacion web. para ello tengo un action de struts conel sigueinte codigo pero nome cmambiael locale, o al menos no me coge el fichero correspondiete a ese idioma que queiro cambiar, de recursos, siempre si

Conditional validation

2005-11-07 Thread Jay Burgess
I have a form field on my JSP that's being conditionally displayed based on the status of servlet context attribute: I'm using the Struts validator to validate this field: ... Obviously, I only want the client-side Javascript validations to fire if the field is present. Is there a w

[OTAnn] Feedback

2005-11-07 Thread shenanigans
I was interested in getting feedback from current mail group users. We have mirrored your mail list in a new application that provides a more aggregated and safe environment which utilizes the power of broadband. Roomity.com v 1.5 is a web 2.01 community webapp. Our newest version adds broadcas

Recursively using bean:write

2005-11-07 Thread Benjamin Lerman
Hi all, I need to do something like that: )" /> But I get an error about an equal begin not in the right place. Right now, the only solution I found is to use scriplet to generate the "bar(whatever)" strings, to put that in a foobar variable and use : But I do not find that really ap

Re: Difference between and JS submit.

2005-11-07 Thread Rahul Akolkar
On 11/7/05, Scott Piker <[EMAIL PROTECTED]> wrote: > That's because, by design, a javascript submit() call does not invoke > whatever's established as the form's onSubmit action. It's not a struts > thing, it's a javascript/web browser thing. > > In these situations, just call the validation funct

displaytag headerClass

2005-11-07 Thread fea jabi
thank you all for helping me. I've got this working. This tag is great. I've one question though. I used a headerClass. in which I gave the color attribute to be white. I thought the text of header will be white. But it is not. It was displaying in white before I used the displaytag. Is there

Re: STRUTS AND JAVADOC.

2005-11-07 Thread Dave Newton
Ed Griebel wrote: This sounds like a really cool tool !! How much work would be needed to commoditize it for general release? Probably not too much, although the code is pretty ugly (a "let's learn Ruby" exercise). I'll take a look at it tomorow and put it up somewhere and follow up on th

application context access for Daemon Thread

2005-11-07 Thread sudip shrestha
I have a struts app that uses a Daemon thread (implements TimerTask) to run at a periodic interval to do some background work. I am wondering if it is possible to access application context from that daemon as I don't have access to request/session variable from that daemon. Also, is it possible to

Re: STRUTS AND JAVADOC.

2005-11-07 Thread Ed Griebel
Dave- This sounds like a really cool tool !! How much work would be needed to commoditize it for general release? -ed On 11/4/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Nick Heudecker wrote: > > >I didn't know people were still using Strutsdoc. I should probably start > >maintaining it again.

Re: Basic template

2005-11-07 Thread Marcio Ghiraldelli
I managed to solve it another way: ... ... This way I can easily integrate my actual PHP templates with Struts Controller. :) Thanks! - Original Message - From: "

RE: Difference between and JS submit.

2005-11-07 Thread Scott Piker
That's because, by design, a javascript submit() call does not invoke whatever's established as the form's onSubmit action. It's not a struts thing, it's a javascript/web browser thing. In these situations, just call the validation function directly in your javascript, e.g.: function doIt(form)

Difference between and JS submit.

2005-11-07 Thread Jim Reynolds
I posted this email a week ago, and received no response, so I am going to try again and change my verbage. Below is a JSP file which uses struts client-side validation. The validtion works great when you use either the or a normal. This is all good. Problem is, when you use legal javascript to

RE: sorting of table columns

2005-11-07 Thread Vu, Thai
Displaytag.sourceforge.net -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 8:11 AM To: user@struts.apache.org Subject: sorting of table columns can we sort table columns when clicked on the column header using struts? I mean does struts provid

Lists within lists issue

2005-11-07 Thread Deshmukh, Prabodh \(P.\)
Hi, I have an object that contains a list of sub-objects. These sub-objects hold another list (say sub-list) )of sub-sub-objects: object->list->sub-object->sub-list->sub-sub-object->property. I am displaying various properties of the sub-sub-object - which can be changed by the user - I want stru

user@struts.apache.org

2005-11-07 Thread arnaud gonzales
Hello, I'm searching the manner to do a reverse iteration, any idea ? Thanks in advance -- Cordialement, Arnaud Gonzales.

RE: struts - displaytag table

2005-11-07 Thread David G. Friedman
Fea, You should really look at the DisplayTag site's examples. They show how to do the looping on your collection and how to add the hrefs for linking to your application. After reading those, you'll be able to redo your JSP without assistance. See http://www.displaytag.org Regards, David

struts - displaytag table

2005-11-07 Thread fea jabi
In the JSP I have the below. which is working fine using struts tags. Now would like to use displaytags as it has auto sorting of columns. How can I convert the below to use displaytag? as the form that's used in the jsp is different from the one that's used to display the data in the table.

Re: [Possible OT ] Re: report creation architecture

2005-11-07 Thread Borut Hadžialić
I don't know what a '1.3 FOP formatted document' is. The PDF's produced by jasperreports-1.0.1.jar begin with %PDF 1.4 (or something similar that contains 'PDF' and '1.4'). It renders my country's (Croatia) specific characters (šđčćč) correctly, and the JFreeChart graph images look nice too. Pdf

Re: Basic template

2005-11-07 Thread Michael Jouravlev
On 11/7/05, Marcio Ghiraldelli <[EMAIL PROTECTED]> wrote: > Hello, > > What would be the best aproach without hurting MVC framework in having > one central "template.jsp" and inserting into it Struts actions, such as: > > > > > > > > > > The u

Re: Basic template

2005-11-07 Thread Greg Reddin
I would suggest using Tiles. Greg On Nov 7, 2005, at 12:55 PM, Marcio Ghiraldelli wrote: Hello, What would be the best aproach without hurting MVC framework in having one central "template.jsp" and inserting into it Struts actions, such as:

Basic template

2005-11-07 Thread Marcio Ghiraldelli
Hello, What would be the best aproach without hurting MVC framework in having one central "template.jsp" and inserting into it Struts actions, such as: The usual

Re: [shale][clay] CSS style classes on substituted elements

2005-11-07 Thread Gary VanMatre
>So, are you thinking that "#{shale:managed-bean-name.save}" would be >something that would evalutated entirely within a custom shale jsf >VariableResolver or would the symbol replacement be done in the clay chain ( >i.e. replaceMnemonic) and then passed to the standard VariableResolvers? A custom

RE: accessing from jsp to the size of a list property of my FormBean

2005-11-07 Thread Scott Piker
Look at the and tags... I think that's what you need. > -Original Message- > From: arnaud gonzales [mailto:[EMAIL PROTECTED] > Sent: Monday, November 07, 2005 12:42 PM > To: user@struts.apache.org > Subject: accessing from jsp to the size of a list property of > my FormBean > > Hello,

accessing from jsp to the size of a list property of my FormBean

2005-11-07 Thread arnaud gonzales
Hello, I would like to do something in my jsp if the size of the list property 'LAdressesLivraison' of my Form bean 'CreateAccesForm' is greater than 0: I can't have the size of my list like this do something thanks in advance -- Cordialement, Arnaud Gonzales.

Re: Link to action-forward without calling the action-class

2005-11-07 Thread Michael Jouravlev
On 11/7/05, Thomas Hamacher <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm runnig Struts 1.2.7 with tiles and I am wondering if it is possible to > call an action-link, that is defined in the struts-config.xml without calling > the defined action-class and the corresponding execute/perfom-method

Re: [shale][clay] CSS style classes on substituted elements

2005-11-07 Thread Ryan Wynn
So, are you thinking that "#{shale:managed-bean-name.save}" would be something that would evalutated entirely within a custom shale jsf VariableResolver or would the symbol replacement be done in the clay chain ( i.e. replaceMnemonic) and then passed to the standard VariableResolvers? On 11/7/05

About cookies

2005-11-07 Thread Dave
We're re-building a web site. No guarantees that the site will have the same name as the old. So from my understanding of the cookie process this means a new cookie. (Near as I can tell a cookie file is: @[#].txt) However, to make life easier for our customers I'm wondering if there's a way to

Re: installing Display tags

2005-11-07 Thread Michael Jouravlev
On 11/7/05, fea jabi <[EMAIL PROTECTED]> wrote: > thankyou for your response. > > there are 2 files I see in the zip. > displaytag-12.tld and other is the displaytag-el-12.tld. > > what is this el? which one should I extract? > > I am using jsp1.2, tomcat 5.5.7. Have to tried to read DisplayTag do

Re: Cross Tabs with Jasper

2005-11-07 Thread Rokibul Islam Khan
Couple of months back i faced this kind of requirements for some reports, unfortunately our choice was ireport. After few findings I came to know that neither ireport nor jasper report supports cross tab directly but there are few way to do that, if you are a pain lover like me then probably you wi

Re: Changing language (locale) with a button

2005-11-07 Thread Michael Jouravlev
On 11/7/05, Thomas Hamacher <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I have the following problem and cannot find a real solution to it. Usually > this should be a common and known problem, so I'm wondering if I anyone has > found a solution to this. > > I have internationalized my struts 1.2.

Re: [shale][clay] CSS style classes on substituted elements

2005-11-07 Thread Gary VanMatre
Ryan Wynn wrote: >I like the direction this is going. My thoughts on this... >I like the syntax familiar syntax value="#{shale:attribute.class}"/> > >However, how about instead of inventing a new syntax >"#{shale:attribute.class}" we use >the existing one. For example > > > >This approach assume

Re: Changing language (locale) with a button

2005-11-07 Thread Danny Lee
Pretty easy, I'm storing each actual action in "lastRedirect" - attribute and each actual parameter in "lastParameter". Affter some critical actions I do redirect to this saved stuff. It works well, but there are some non critical problems (esp. with user doing these actions after clicking on

Resource Bundle Problem...

2005-11-07 Thread Shailesh Barde
Friends, We know that ,its possible to access the key-value pairs for resorce Bundle.But,How to access inbetween values from resource Bundle in Struts?I mean if we have 50 values as a key value pair.But i have to access values from 38 to 49 only.How to access them?Any Thoughts... Regards, Sha

AW: installing Display tags

2005-11-07 Thread Martin Kindler
You just need the displaytag-12.tld (without el). The other version (I think) contains code to evaluate expression language expressions. In your case this should be automatic. Martin > -Ursprüngliche Nachricht- > Von: fea jabi [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 7. November 20

Re: Changing language (locale) with a button

2005-11-07 Thread Thomas Hamacher
Danny, thank you very much for this ideas. Unfortunately the "display"-stuff together with the request.getRequestURL() doesn't work for me either, because I am working with tiles and therefor the requestURL is not correct. So I am pretty interested in what you do with the "lastAction"-Attribute

Re:installing Display tags

2005-11-07 Thread fea jabi
thankyou for your response. there are 2 files I see in the zip. displaytag-12.tld and other is the displaytag-el-12.tld. what is this el? which one should I extract? I am using jsp1.2, tomcat 5.5.7. Thanks. From: "starki78" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "u

Re:installing Display tags

2005-11-07 Thread starki78
Use the zip or the tar.gz it's the same content you just need another programm to extract it regards Starki -- Initial Header --- >From : "fea jabi" [EMAIL PROTECTED] To : user@struts.apache.org Cc : Date : Mon, 07 Nov 2005 09:22:31 -0500 Subject :

Re: "Configuration is frozen" exception thrown for actionMapping.setScope

2005-11-07 Thread Hubert Rabago
On 11/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Hubert, > > Thanks for the suggestion. I tried the second option > > 2) Override the default ActionMapping class and set its default "scope" > value to request. > > Extended the ActionMapping class and in the CustomActionMapping > cons

RE: (Possible OT) Question using struts-layout TagLib

2005-11-07 Thread Chris McCormack
Use this http://displaytag.sourceforge.net/ Chris McCormack -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 03 November 2005 13:38 To: Struts Users Mailing List Subject: (Possible OT) Question using struts-layout TagLib Greetings I am seeking a Grid control with

installing Display tags

2005-11-07 Thread fea jabi
Which one should be installed? from http://sourceforge.net/project/showfiles.php?group_id=73068 I see so many files under 1.0 [show only this release] 2005-01-01 09:28 Download displaytag-1.0-src.tar.gz Download displaytag-1.0-src.zip Download displaytag-1.0.tar.gz Download displaytag-1.0.zip

How to clear DynaActionForm?

2005-11-07 Thread pc leung
struts-config.xml: DispatchAction class: DynaActionForm userProfileForm = (DynaActionForm)form; ... userProfileForm.reset(mapping, request); return mapping.findForward("success"); The reset function does not clear form. How it be cleared? Thanks ---

Re: [shale][clay] CSS style classes on substituted elements

2005-11-07 Thread Ryan Wynn
I like the direction this is going. My thoughts on this... I like the syntax familiar syntax However, how about instead of inventing a new syntax "#{shale: attribute.class}" we use the existing one. For example This approach assumes that clay has defined the existing clay context as a managed

Re: Changing language (locale) with a button

2005-11-07 Thread Danny Lee
Here my solution (some stuff I found on the net and adapted for my needs). I don't actually use the "display" stuff, couse I do it otherway... so you can ignore it. I hope it'll help Cheers Danny * 1) Action public class ChangeLocaleAction extends Action {

RE: "Configuration is frozen" exception thrown for actionMapping.setScope

2005-11-07 Thread khan.sajid
Hi Hubert, Thanks for the suggestion. I tried the second option 2) Override the default ActionMapping class and set its default "scope" value to request. Extended the ActionMapping class and in the CustomActionMapping constructor called super.scope="request". It works , however is there any kno

Changing language (locale) with a button

2005-11-07 Thread Thomas Hamacher
Hi everyone, I have the following problem and cannot find a real solution to it. Usually this should be a common and known problem, so I'm wondering if I anyone has found a solution to this. I have internationalized my struts 1.2.7 application through tiles and the use of ResourceBundle an jav

Re: Passing an array of fields to ActionForm

2005-11-07 Thread Ulrich Elsner
Hi, I found that the easiest way to do this is to use LazyLists. (cf. http://wiki.apache.org/struts/StrutsCatalogLazyList). You can then work just as you with fixed lists. An example: in my jsp I have something like ... (Note the indexed="true"). I have a javascript function that creates

Link to action-forward without calling the action-class

2005-11-07 Thread Thomas Hamacher
Hi everyone, I'm runnig Struts 1.2.7 with tiles and I am wondering if it is possible to call an action-link, that is defined in the struts-config.xml without calling the defined action-class and the corresponding execute/perfom-method. Right now I have the problem that I have html:links and refe

How to create my own LOCALE Object in Session Listener

2005-11-07 Thread Łukasz Piątkowski
Hello ! Hello I want to create my own LOCALE Object in my Session Listener class. I need it to exist before Struts Request Processor is executed. How to do it in Struts ? Does Struts have any mechanism to create such an object ? Kind Regards, Lukasz

Re: Upgrade problems from 1.2.4 to 1.2.7

2005-11-07 Thread Gareth Evans
Hi tim, At some point between 1.2.4 and 1.2.7 the validator was replaced for a newer version. Each of the validate methods defined in the 'validator-rules.xml' now have an extra parameter, 'Validator'. To fix this you can either: 1) Use the sample validator-rules.xml that comes with 1.2.7 2)