Questions, and answers to/from DTO

2003-04-04 Thread Mick . Knutson
I am using XDoclet to generate DTO's from my EJB's and I am trying to solve a problem while leveraging these DTO's. I have a Health Form, or may just break it into multiple Form's for ease of use. I am also using DynaForm's to declare my forms. With the nature of my form data, it will change

Re: Please help a Tiles problem

2003-04-04 Thread Cedric Dumoulin
The error message says that the definition factory is not found. Have you initialized the tile plugin ? Cedric Vernon wrote: 1. The error message: root cause javax.servlet.ServletException: Can't get definitions factory from context. at

Re: Build the Tiles

2003-04-04 Thread Cedric Dumoulin
Yes you can build the tiles from the sources. You need to compile classes under o.a.s.tiles and o.a.s.taglib.tiles. Another simplest solution is to get the struts.jar, rename it to tiles.jar, open it with winzip or whatever you want, and suppress all the classes not related to tiles. Cedric

Re: HTTP response as XML

2003-04-04 Thread Konstantina Stamopoulou
Thank you David. I think I will forward to xml directly from my Action class Konstantina - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 03, 2003 6:06 PM Subject: Re: HTTP response as XML It is possible. It's commonly referred to

RE: Build the Tiles

2003-04-04 Thread COMPAGNON GUILLAUME
Have you (the strut's commitors) discuss about the possibility to separate the struts components (tiles, valdator, struts-html, struts-bean, ...) into differents jars ? a good advantage is not to wait struts versioning for an enhancement on one of these components.(very similar to the

ActionForm-BeanUtils.copyProperties, null and default values

2003-04-04 Thread Budi Rostiarso
Hi, need help with ActionForm and BeanUtils.copyProperties. Basically, i want my POJO properties to be null if the associated ActionForm is empty string or null. But using BeanUtils.copyProperties, the destination gets its properties default values. for example in my POJO, Float property gets a

RE: Re: Which is the best Struts or Expresso ?

2003-04-04 Thread PILGRIM, Peter, FM
-Original Message- From: resdev [mailto:[EMAIL PROTECTED] Sent: 04 April 2003 07:04 To: Struts Users Mailing List Subject: Re: Re: Which is the best Struts or Expresso ? Hi, wht happend ? im not getting any valuable reply that says Struts is best. does that mean

Automate login via Cookies

2003-04-04 Thread Stefan Krompass
Hi! How can I build an automate login via Cookies? Currently, the user has to login by entering his/her username and password. Furthermore I plan an option (checkbox) where the user allows cookies for automate login to be stored (like eBay). But the problem is: what do I store in this cookie

user roles

2003-04-04 Thread Ubhay Kumar
Hi In struts-layout can we have a user role based display of: 1. links (For e.g several links on a toolbar based on user role as editor or admin) 2. combo boxes ( the options in the combo boxes, for e.g editor can select two options whereas admin can three) 3. Form submit links/buttons

Re: Html checker from a browser wanted?

2003-04-04 Thread Alessio
I use Macromedia HomeSite ...it's very power - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to do authentication in different way for different action classes

2003-04-04 Thread Max Cooper
That should work fine. /Content/*.do will still be considered an exact pattern, and will be matched before the *.do extension pattern (no matter what order they appear in the web.xml file). Only stuff that doesn't match /Content/*.do but does match *.do will be secured in the example. You could

javascript and Struts

2003-04-04 Thread Oliver Reflé
Hi Guys, i have a strange problem. Maybe you can help me. I would like to submit a form when a select box value has changed.Here is the code like i try it: html:form action=/updateCampaign?target=update method=POST table trtdbDatenfeld/b/tdtdbWert/b/td/tr trtdKampagnenname:/tdtd html:select

RE: javascript and Struts

2003-04-04 Thread Mick . Knutson
Well, I am not sure about the JS in struts yet, but you do not submit a document, you submit a form. If there is only 1 form on the page, try 'onChange=forms[0].submit() ' but, also try to add 'onChange=submitMyForm(this) ' and add a function at the top of this page called submitMyForm() and

javascript and Struts

2003-04-04 Thread Oliver Reflé
Hi Guys, i have a strange problem. Maybe you can help me. I would like to submit a form when a select box value has changed.Here is the code like i try it: html:form action=/updateCampaign?target=update method=POST table trtdbDatenfeld/b/tdtdbWert/b/td/tr trtdKampagnenname:/tdtd html:select

logic:iterate causes Cannot find bean ...

2003-04-04 Thread Jan Voskuil
According to the literature I've seen, the following JSP should be fine: ---test.jsp %@ page import=java.util.ArrayList, java.util.List% %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib

Re: javascript and Struts

2003-04-04 Thread Stephen Smithstone
have u tried document.forms[ 0 ].submit( ) ??? On Friday 04 April 2003 12:31 pm, Oliver Reflé wrote: Hi Guys, i have a strange problem. Maybe you can help me. I would like to submit a form when a select box value has changed.Here is the code like i try it: html:form

Re: logic:iterate causes Cannot find bean ...

2003-04-04 Thread Nicolas De Loof
Add logic taglib %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % and drop nested one if you don't use it in your JSP Nico. According to the literature I've seen, the following JSP should be fine: ---test.jsp %@ page import=java.util.ArrayList,

Browser influence Session behavior

2003-04-04 Thread Johan Wasserman
Hi, I have an initial page where the company name is entered and that forwards to a main page (with 3 frames) that loads the header, sidebar and logon page. I save a State bean in the session after the company is validated (against a db) and then use the company name from the State bean on the

NewBie Question

2003-04-04 Thread Vangelis Konstantinis
Hi to all, I am new to Struts-Tiles(1-day), I am new to this technology, i would to use it in a web-application, My questions is: Can the Struts-Tile colloborate Ok with JavaScript and XSLT. In other words can in a Jsp Page use Java Script XSLT with Tiles and work OK? Thanks in advance.

RE: logic:iterate causes Cannot find bean ...

2003-04-04 Thread Jan Voskuil
Oops. Thanks Nico, -j -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: 04 April 2003 13:32 To: Struts Users Mailing List Subject: Re: logic:iterate causes Cannot find bean ... Add logic taglib %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % and drop

[OT] Documenting projects

2003-04-04 Thread Jose Gonzalez Gomez
Hi there, I want to document a project using something free, with text format so I can include it in cvs (I know I can include binaries, but you lose all the information about changes), and I would like to be able to integrate it with maven. The options so far are html (or xhtml),

RE: NewBie Question

2003-04-04 Thread Mick . Knutson
Tiles are what you use to put JSP together instead of using include tags. The files you have are still JSP pages, and yes, you can use JS in them just fine. Once the page is at the users browser, it is still 1 web page. That is when the JS actually gets used anyways. As far as XSLT, I can't

Antwort: Browser influence Session behavior

2003-04-04 Thread Manuel Lenz
Hi, we use Mozilla as default browser and I also had some problems with session-handling. It is important that you set all the Mozilla-Cache-Options to 0 (Edit/Prefereces)! Mit freundlichen Gruessen i.A. Manuel Lenz Viessmann Werke GmbH Co KG 35107 Allendorf e-mail: [EMAIL PROTECTED] web:

RE: NewBie Question

2003-04-04 Thread Karapiperis Dimitris
Vangeli, ta Struts framework den einai tpt allo apo thn efarmogh toy MVC design pattern. Ta Struts soy prosferoyn enan dynato Controller kai aforoyn th domi ths efarmoghs. Sto view enapokeitai se esena ti tha xrhsimopoihseis. Sto .jsp alloste mporeis na exeis JavaScript. XSLT logika tha

RE: Browser influence Session behavior

2003-04-04 Thread Johan Wasserman
LOG FILE: WHITH Mozilla 0.9.8 Apr 4, 2003 1:04:57 PM jackrabit.com.dao.Table execute INFO: select * from subscriptions where subsid='acme' Apr 4, 2003 1:04:57 PM jackrabit.com.dao.Table execute INFO: RETURNED 1 Apr 4, 2003 1:04:57 PM jackrabit.actions.StartAction execute

FW: Problem with ActionForm

2003-04-04 Thread shashikant nagthan
Sorry if this is a resend. I got an error when I sent this mail the first time. Hi Is it possible that in a ActionForm I have another class(created by me) variable as a member? Basically the problem is that I have a HTML table in a form and the columns of this table are all input fields. I

Tiles Question:Diff between jsp and XML tiles definations...

2003-04-04 Thread shirishchandra.sakhare
Hi All, I am new to tiles and experimenting with it a bit to see if our struts 1.0 template based application can be ported to Tiles easily... I have got some sample pages from our application working using tiles definations But the definations are defined in a jsp file. So my question is

RE: [OT] Documenting projects

2003-04-04 Thread Mick . Knutson
You always have javadocs and those can be generated automatically with ANT build scripts. -Original Message- From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 1:46 PM To: Struts Users Mailing List Subject: [OT] Documenting projects Hi there, I

Antwort: RE: Browser influence Session behavior

2003-04-04 Thread Manuel Lenz
Mayby this is an bug in your mozilla version. Update your Mozilla Browser to an version 1.x (newest 1.3). |-+-- | | | | | | | | | | |Johan

AW: javascript and Struts

2003-04-04 Thread Oliver Reflé
yes this i also tried. and : forms[0].submit() and simply submit() In my opinion also the last must work cause the select element is ebedded in the form. But nothing works. -Ursprüngliche Nachricht- Von: Stephen Smithstone [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 4. April 2003 13:34

struts 1.1 dyna form [newbie]

2003-04-04 Thread Riyaz Mansoor
wondering if this is possible in the config file of of dyna forms, can we set custom properties for each field? perhaps something like = field blabla paramnamecustom field param1/paramname paramvaluecustome field param1/paramvalue /field or any other method? different syntax? what i'd

RE: javascript and Struts

2003-04-04 Thread Jimmy Emmanual
even though it might be a round about way, see if you can call a javascript function from the onchange of the form. If you can, then just have the function do the document.submit(). -Original Message- From: Oliver Reflé [mailto:[EMAIL PROTECTED] Sent: April 04, 2003 7:08 AM To: Struts

Netscape and struts-html.tld-Eventhandler

2003-04-04 Thread Mouratidis, Georg
Hi @ all, I have aproblem with Netscape 4.7, 6.0 and 6.1 and the eventhandler. according to the W3C an eventhandler schould start with lowercase characters. The next character should be capitalized. e.g. onClick, onBlur. But Struts allows only lowercase characters. html:text onclick=.../. If i

Re: Browser influence Session behavior

2003-04-04 Thread Affan Qureshi
What about browser seetings specially accepting cookies etc? I had this problem in Netscape 7.01 on Win2K on a customer's machine. In that case the it asked the user to login at every step of the application. Probably becuase the session was renewed at every stage. When I asked him to set Accept

Re: [OT] Documenting projects

2003-04-04 Thread Jose Gonzalez Gomez
Sorry, I wasn't explicit... I was thinking about other kind of documentation, like requirements capture with use cases, analysis and design with UML, etc [EMAIL PROTECTED] wrote: You always have javadocs and those can be generated automatically with ANT build scripts. -Original

Re: Tiles Question:Diff between jsp and XML tiles definations...

2003-04-04 Thread Cedric Dumoulin
There is some differences: * Xml definitions are store in a factory; they can be inserted with insert name=aDefinition; they are declared in a centralized file, they can be declared using inheritance; they can be used in a struts forward ... tag; they need the initialization of

Re: Build the Tiles

2003-04-04 Thread Cedric Dumoulin
Hi, Yes, we have discuss of that in the struts-dev list. There is pro and cons. Check the archive to know more. For now, we stay with the actual status quo. Cedric COMPAGNON GUILLAUME wrote: Have you (the strut's commitors) discuss about the possibility to separate the struts components

Tiles problem

2003-04-04 Thread Stephen Smithstone
Hi all got a problem with a tiles contoller heres the controller code public class IndexTiles implements org.apache.struts.tiles.Controller { public void perform( ComponentContext comCtx , HttpServletRequest req , HttpServletResponse res , ServletContext serCtx ) {

RE: Tiles Question:Diff between jsp and XML tiles definations...

2003-04-04 Thread shirishchandra.sakhare
Hi Cedric, Thanks for the reply once again..:-)) But I still have one question. So does it mean that using the jsp approach is a bit inefficient?But is the the only disadvantage? My main concern is can I use all the features of tiles (Mainly defination Inheritance etc.)with the jsp approach?

RE: [OT] Documenting projects

2003-04-04 Thread Mick . Knutson
As far as requirements, you should pick up a Rational Unified Process book and look at designing use-cases with Word. Design, you can use visio, or look to invest in something like Together-J. Together-j will generate use-cases, as well as class models and generate java code. But free Not

html:select problem

2003-04-04 Thread Noureddine Bekrar
I had yesterday a very strange probleme with html:select tag. When i wanted to use 2 tomcat servers in order to use a load balancing of my Struts application , i had an exception. but my application worked well when i had used only one server. after this i had transformed all my html:select tags

Re: Tiles problem

2003-04-04 Thread Cedric Dumoulin
Hi, How do you insert your tiles ? Do you use the tiles:insert name=home.main tag, an action forward name =home.main / or something else ? You should use one of insert or forward. Cedric Stephen Smithstone wrote: Hi all got a problem with a tiles contoller heres the controller code

Re: Is Sun promoting Struts??

2003-04-04 Thread Ted Husted
One of the best things about the Java platform is that it's still a marketplace of ideas. Sun has provided us with a very useful and reliable servlet framework, and we can all develop various application frameworks over that. Struts, Maverick, JPublish, and the others all have their own

Re: Tiles Question:Diff between jsp and XML tiles definations...

2003-04-04 Thread Cedric Dumoulin
[EMAIL PROTECTED] wrote: Hi Cedric, Thanks for the reply once again..:-)) But I still have one question. So does it mean that using the jsp approach is a bit inefficient? Yes, unless you provide a mechanism to avoid the reload of definition But is the the only disadvantage? No, Definition

Re: Tiles problem

2003-04-04 Thread Stephen Smithstone
i get to the tile via an org.apache.struts.actions.ForwardAction with home.main as the parameter On Friday 04 April 2003 1:50 pm, Cedric Dumoulin wrote: Hi, How do you insert your tiles ? Do you use the tiles:insert name=home.main tag, an action forward name =home.main / or something

[OT] jsp:include problem

2003-04-04 Thread Noureddine Bekrar
I Know this question is not a struts question but i think that this list is able to give me the light :) I have a JSP page with 4 jsp:include: jsp:include page=/JSP/MyPage1.jsp / jsp:include page=/JSP/MyPage2.jsp / jsp:include page=/JSP/MyPage3.jsp / jsp:include page=/JSP/MyPage4.jsp /

Re: Loosing Objects in the Request.

2003-04-04 Thread Gareth Andrew
When faced with similar problems. I forward to a quick and dirty jsp page to print out everything in the request. This sometimes can provide the piece of magic inspiration thats solves the problem. Don't know if it will help but here it is: Begin request.jsp

re: Struts Hibernate example by Husted

2003-04-04 Thread Ted Husted
The build file is a bit overdesigned, since I'm working toward building multiple applications that share a common business JAR. If you are having problems, you can also post to the Struts Applications help forum: https://sourceforge.net/forum/?group_id=49385 -T. -- Ted Husted, Struts in

RE: Linked Forwards?

2003-04-04 Thread Adam Sherman
On 04/03/03 19:04:20 -0800 Craig R. McClanahan wrote: If you are willing to ensure that all your Actions use the same forward name, you don't have to do anything at all to accomplish this goal. When you call ActionMapping.findForward(), Struts checks the local forward declarations first, and

RE: javascript and Struts

2003-04-04 Thread Vivian, Nigel (N.)
if you have one form then document.forms[0].submit(); should work if it doesn't then it could because the form has a button called submit so try document.forms[0].submit.click() to simulate clicking on the form submit button maybe from a function in the page Nigel Vivian -Original

RE: [ImageButtonBean] usage with LookupDispatchAction

2003-04-04 Thread Ted Husted
The underlying problem is that image buttons are treated like image maps. The x/y coordinates are sent up as the value. Something like this: myImageButton.x=200 myImageButton.y=300 Right now, the DispatchAction looks for a parameter and uses that as the method name.

re: Loosing Objects in the Request.

2003-04-04 Thread Ted Husted
Is the logic taglib imported to the page? There should also be a notPresent tag, to test that the taglib is working. -T. -- Ted Husted, Struts in Action http://husted.com/struts/book.html - To unsubscribe, e-mail: [EMAIL

Struts and session cleanup

2003-04-04 Thread Ted Husted
Struts puts a locale attribute in the session, but that should remain for the duration of the user's session. It's not something you should worry about cleaning up. The container will take care of it when the session times-out. If you put an ActionForm in the session (not really recommended

re: Custom validation method that returns multiple error messages

2003-04-04 Thread Ted Husted
Off hand, I would say that each of your three rules is probably a separate validation. Validations are boolean, pass/fail, creatures. Then in the form, you would say that your password field depends on rule1,rule2,rule3. Of course, you can mix and match validations. You can use the validator

re: Removing nested bean collections in session scope.......

2003-04-04 Thread Ted Husted
It sounds like the ActionForm is in session scope (the default) and that there is a reference to the other collections on the ActionForm. You may also need to dispose the ActionForm after resetting the collection, something like request.getSession().set(myActionForm,null); -Ted. -- Ted

re: [OT] Scaffold:StorageBeanBase Use Cases???

2003-04-04 Thread Ted Husted
The StorageBeanBase was designed for SQL. To employ another storage method, so yes, the idea is that would define another StorageBean implementation. Though, in practice, I wasn't happy with the way StorageBean deployed. I'm now working with transparent approaches now, like that used by

RE: Tiles Question:Diff between jsp and XML tiles definations...

2003-04-04 Thread shirishchandra.sakhare
Hi, But I dont see the class TilesActionComponentServlet Because I am working with Struts 1.0 and I am using tilesForStruts1-0.jar ... regards, Shirish. -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 2:55 PM To: Struts Users Mailing

Same but Different ( I hope )? - Resolved

2003-04-04 Thread Greg Preston
Thanks for the consideration on the issue below. I did figure out my problem lastnight. Kind of embarrassing... most always are. I wasn't consistent in naming the session key when I put the form in the session in my FetchAssetAction. When I moved control to the next action

If I use session.invalidate() in the an action class ...

2003-04-04 Thread Ted Husted
Be sure that the ActionForm is kept in request scope. (Session is the default.) -Ted. -- Ted Husted, Struts in Action http://husted.com/struts/book.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

re: HTTP response as XML

2003-04-04 Thread Ted Husted
You might want to look at the digester for this. It is very good at converting JavaBeans to XML and back. See the RSS package for an example. http://jakarta.apache.org/commons/digester/api/org/apache/commons/digester/rss/package-frame.html You can then do your response up as a JavaBean, have

PLEASE HELP...STRUTS JAXP Properties?

2003-04-04 Thread Michael Marrotte
I see how I can set these properties in web-app, but struts seems to ignore that. Is there a way to configure the action servlet to use specific JAXP properties to parse struts-config.xml? For example is there a way to set the following for struts-config parsing:

Re: HTTP response as XML

2003-04-04 Thread Konstantina Stamopoulou
Hello Ted, You might want to look at the digester for this. It is very good at converting JavaBeans to XML and back. See the RSS package for an example. http://jakarta.apache.org/commons/digester/api/org/apache/commons/digester/r ss/package-frame.html I'm aware of Digester but I haven't

Struts newbie

2003-04-04 Thread Ted Husted
Offhand, you probably want to setup up separate paths within your application, where each path has its own set of pages. When they login, the login Action can determine what path they should be on and forward to the welcoming action for that path. The different sets of ActionMappings for each

Tiles Problem:Tomcat 4.1.12 not starting when commons-digester.jar is included in applications classpath

2003-04-04 Thread shirishchandra.sakhare
Hi, I am trying to using tiles with struts 1.0 And I am facing following claspath probelsm when using it with Tomcat 4.1.12. I have extended the TilesComponentServlet (Earlise i was extending ActionServlet..But I want to use TilesDefinations now..). But when the servlet is loaded at server

RE: Using a model bean value in a html:text value=...tag

2003-04-04 Thread Wendy Smoak
Richard wrote: I have an action that creates and populates a model bean (not a form bean) and makes it available to the view component, in this case a success.jsp . In the success.jsp I have a form. I would like to populate the form field with the value from my model bean that was just passed

Authentication and Authorisation Newbie

2003-04-04 Thread Brian McSweeney
Hi all, I'm using JBoss and EJBs and struts as my web app. I've got some resources that are protected and for the moment I've written a Filter which protects them. However this may not be the best way to do this. I'm vaguely aware that J2EE can use JAAS and I can have things like roles and

html:img page=????/

2003-04-04 Thread niksa_os
In Action I have httpServletRequest.setAttribute(image, /images/abc.gif); -/images/abc.gif is from database But I don't know how to put that in html:img to get this html:img page=/images/abc.gif/ I try like this html:img page=%=(String)request.getAttribute(image)%/ but this doesn't work!

Re: HTTP response as XML

2003-04-04 Thread David Graham
You mean that in my Action class I will write return (new ActionForward(null)) and I will use the PrintWriter to send the response? Shouldn't I do the following -- return (new ActionForward(my.xml)) where .xml is the file constructed in the Action class. You would say return null; at the end

RE: Authentication and Authorisation Newbie

2003-04-04 Thread Mick . Knutson
Let me tell you.Learning JAAS sucks. But, now that I have spent 2 months learning it, I will tell you... First, read the JavaWorld.com document on JBossSX and JAAS. That is a start. But there are several things that confused the heck out of me.

Re: Authentication and Authorisation Newbie

2003-04-04 Thread V. Cekvenich
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/bP/WEB-INF/web.xml It at J2EE spec in web.xml, as above, with full working struts example source. .V Brian McSweeney wrote: Hi all, I'm using JBoss and EJBs and struts as my web app. I've got some resources that are protected and for

Sorting Collections

2003-04-04 Thread meissa . Sakho
hi all, I used to use the BeanComparator Class from commons.beanutils package to sort my collections in that manner below. Collection.sort(myCollection,new BeanComparator(myProperty)); where my property is of type String. This allowed me to sort my list in alphabetic order. Now,I need a

Re: Please help a Tiles problem

2003-04-04 Thread Vernon
Thanks very much for your information, Cedric. I have read through the Tiles related articles linked to the Struts-Tiles page, and have not seen the plug in procedure for standalone usage. A plugin procedure, I find, is on the following page

RE: 12 month contract - Toronto - immediate start

2003-04-04 Thread apachep2
One thing offends me the most is Excellent communication skills, both oral and written (10/10 essential) Looks like they are looking for Winston Churchill. -Original Message- From: Scott Barr [mailto:[EMAIL PROTECTED] Sent: April 3, 2003 11:16 PM To: Struts Users Mailing List Subject:

Re: Authentication and Authorisation Newbie

2003-04-04 Thread Brian McSweeney
incredibly nice of you Mike. Thanks so much, I'll read it over the weekend and mail you next week if I have problems. But before I start, once you understand JAAS, is it the right way to go in terms of authentication and authorisation? Is it worth the trouble I mean. thanks so much, Brian

a nested action in index.jsp...

2003-04-04 Thread Matthias Wessendorf
Hello! i am just writing an webapp. Everything is okay. but now i decided add an action in my welcome-file (index.jsp) i don't know how can i nest a action in a jsp using the Struts-Tags... i want that the action in this jsp is self-executing, when index.jsp is requested. Anyone a idea?

[ANN] Struts Action Scripting

2003-04-04 Thread David Graham
I just found this on alphaWorks today. It allows you to script Struts actions with a number of different languages using the Bean Scripting Framework. I haven't used it but apparently it allows you to change the action's script without having to reload your app server.

help with html:select andhtml:optionsCollection

2003-04-04 Thread Ted Husted
With Struts 1.1, you should be able to do this: html:select html:options property=items/ /html:select This should create a select list where the labels and the values are the same. -Ted. -- Ted Husted, Struts in Action http://husted.com/struts/book.html

Re: Linked Forwards?

2003-04-04 Thread awc
Hi Adam, This is what I am doing too. Every action may have one or more forwards. like time-out forward, success forward, cancel forward and any other action specific forwards. There are common global forwards which maps common local forwards like failure. I guess you will have to define

SecurityFilter and back button

2003-04-04 Thread Mark Zeltser
Hi, I have struts 1.1b3 integrated with SecurityFilter using CatalinaRealmAdapter. It works except of one case. After successfull login, clicking back button and trying to login again results in generating incorrect response path. E.g:

JAXB vs Digester

2003-04-04 Thread Dhulipala, Kris (SCI TW)
Hi, From what I have seen of JAXB and Digester, both fecilitate xml- java class/object conversion and vice-versa. So what is the difference? When to use what? Thanks, Kris - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Different resource bundle.

2003-04-04 Thread Nerijus.Navickas
I have extended MessageResources and MessageResourcesFactory with my own classes. Works fine. Thing is that in our system user selected language object is contained in session. So here comes question: HOW TO ACCESS SESSION OBJECT (or pageContext) IN INHERITED MessageResources class TO ENSURE

[OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Melissa L Kelley
On 4 Apr 2003, Scott Barr wrote: Being female, I had to chuckle at that one ;) Thats because being males, we can only do one thing at a time!! Scott www.exergonic.com.au On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote: I'll be 46 years old before I qualify for that job :) .

Re: Is Sun promoting Struts??

2003-04-04 Thread Mete Kural
Though, tight now, all the frameworks are still short of the mark, and we all have much to learn from each other. The best is yet to come. With all that we have learned about web frameworks while developing and using frameworks like Struts, Maverick, Expresso, Turbine, SunONE, WebWork, and

Re: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread James Mitchell
On the topic of gender bashing. When my wife and I married, I knew I was marrying Miss Right, what I didn't know was that her first name is 'Always'!!! On Fri, 2003-04-04 at 11:12, Melissa L Kelley wrote: On 4 Apr 2003, Scott Barr wrote: Being female, I had to chuckle at that one ;)

RE: Netscape and struts-html.tld-Eventhandler

2003-04-04 Thread Karr, David
The onclick in html:text is not a handler, it is a custom tag attribute. The Tag Library Descriptor describes those attributes, including their exact spelling. If the TLD specifies a particular spelling, then you have to use that spelling. If you want to write JavaScript functions that follow

RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Robert Taylor
LOL! I learned that I'm it's my fault and I'm wrong. robert -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 11:19 AM To: Struts Users Mailing List Subject: Re: [OT] Re: 12 month contract - Toronto - immediate start On the topic

re: [OT] Scaffold:StorageBeanBase Use Cases???

2003-04-04 Thread Mete Kural
Thanks for the useful input Ted. I'm now working with transparent approaches now, like that used by Hibernate. Are you going to include classes to facilitate these approaches in the Scaffold package, or are they going to be in a seperate package? Do you think using JDO would be a good

RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Chappell, Simon P
Yup. And then I'm out-numbered ... a wife and two daughters. It's funny how bossy my three year old can be, she told me to stop working on my laptop (daddy's pewger) and sit on the couch with her while she eat her snack! :-) Simon -Original Message- From: Robert Taylor [mailto:[EMAIL

Re: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Becky Norum
On Fri, 2003-04-04 at 11:18, James Mitchell wrote: On the topic of gender bashing. When my wife and I married, I knew I was marrying Miss Right, what I didn't know was that her first name is 'Always'!!! lol - thanks for the laugh, James. I need that this morning! Becky

RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread James Mitchell
On Fri, 2003-04-04 at 11:38, Chappell, Simon P wrote: Yup. And then I'm out-numbered ... a wife and two daughters. It's funny how bossy my three year old can be, she told me to stop working on my laptop (daddy's pewger) and sit on the couch with her while she eat her snack! :-) LOLthat's

[OT] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread Piper, James D CECOM SEC EPS
This is a bit OT (probably has nothing to do with struts), but the problem has gone from an irritation to annoying to really starting to tick me off. I hope that since many of you are working with similar environments that you may be able to help me out here: Problem --- Intermittently when I

Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Jeff Caddel
I'm kinda partial to the 2-5 years required experience with Oracle 9i. They are looking for a version of Winston Churchill who gained access to the Oracle 9i binaries back in April of '98. A time traveling Winston Churchill... One thing offends me the most is Excellent communication

Too many bean:define tags

2003-04-04 Thread Susan Bradeen
In a couple of my JSPs I currently define properties from my ApplicationResouces.properties file like this ... bean:define id=priorityHeading bean:message key=priority.heading/ /bean:define Which is then used for column headings and such in my display like this ...

Re: Authentication and Authorisation Newbie

2003-04-04 Thread wayne . lesley . lund
Brian, You may want to look at other options. For example, although WLS 8.1 supports JAAS, they enourage the use of their entitlements system through their security SPI. You should check out JSR 115. Also, this is not a bad article:

Re: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Daniel Jaffa
But just remember MEN you can always can get the last words with your wife. yes dear, I will do it right away or if you are in a hurry yes dear well do just fine Daniel Jaffa - Original Message - From: James Mitchell [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

Re: [OT] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread Daniel Jaffa
Dump WLS and go over to JBOSS in production. We are currenly going to save something like 500k by not upgrading to wls 7.0 or wls 8.0 and go directly to Jboss in production. - Original Message - From: Piper, James D CECOM SEC EPS [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday,

RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Craig R. McClanahan
On Fri, 4 Apr 2003, Chappell, Simon P wrote: Date: Fri, 4 Apr 2003 10:38:40 -0600 From: Chappell, Simon P [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: [OT] Re: 12 month contract - Toronto - immediate

RE: [OT] Re: 12 month contract - Toronto - immediate start

2003-04-04 Thread Chappell, Simon P
Don't forget their ability to queue tasks as well. They can load a FIFO queue with honeydew's faster than we can unload them! :-) -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 11:16 AM To: Struts Users Mailing List Subject: RE: [OT]

re: HTTP response as XML

2003-04-04 Thread Craig R. McClanahan
On Fri, 4 Apr 2003, Ted Husted wrote: Date: Fri, 04 Apr 2003 09:19:25 -0500 From: Ted Husted [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: re: HTTP response as XML You might want to look at the digester for this. It is very good at

Programmatically creating links to Struts forwards

2003-04-04 Thread Adam Sherman
I have the need to create a link to a Struts Forward in code, is there a Right Way to do this? Should I go dig into the Javadoc for the html taglib? Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

  1   2   >