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

Re: 12 month contract - Toronto - immediate start

2003-04-03 Thread V. Cekvenich
Does this have anything to do with Struts? .V Jack Nodel wrote: Hi All, My name is Jack Nodel, I work with ARES consulting. Recently one of my clients has asked me to locate contractors for a Toronto based 12 month contract. The following is the list of required technical skills. Excellent commu

Re: Session bean behavior when user creates new browser window......

2003-03-31 Thread V. Cekvenich
In event driven programing the user is in charge of program flow. As opposed to procedural programing where programmer is in charge (In COBOL you had menu choice 1-5). So you have to check. You have to consider most contingencies. A good practice is to bean.save() on any submit. (keep the session

Re: Right way to extends Action

2003-03-31 Thread V. Cekvenich
What about DispatchAction and LookupDispatchAction? Anyone have a good solution for reuse of common action logic across these multiple action base classes provided by Struts? I wrote my own dispatch: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/bP/WEB-INF/src/war/org/apache/scaf

Re: Right way to extends Action

2003-03-31 Thread V. Cekvenich
- we added some usefull field like a logger an a pointer to a singleton that retains application's data protected Log log = LogFactory.getLog(this.getClass()); protected static final Infos infos = Infos.getInstance(); Be aware that adding other properties to Action is not thread safe. .V

Re: Role Based Struts Validation

2003-01-29 Thread V. Cekvenich
I can't help on XML, but if it does not work, you are not sunk since ... stating the obvious ... of course you can implement the form Beans validate method in which you can write ... Java. .V PILGRIM, Peter, FM wrote: My XML skills are brain dead. I just had a thought that my role base struts v

Re: [OT] Open Source Q Mailing List

2003-01-28 Thread V. Cekvenich
I do not think such a mail list exists. Some good products are: RedHat free OS download, PostgreSQL.org DB from Cygwin.com, Eclispe.org IDE (maybe add in SolarEclipse from sf.net for JSP/XML), Tomcat APP server, JasperReports.sf.net (reports), Struts, JSTL tags from Jakarta, (IBatis.com DAO or

Re: [OT] Single Sign On

2003-01-28 Thread V. Cekvenich
See this: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Single%20Sign%20On Also most of the time, there is no need for Apache, as Tomcat can display static content as well. .V Victor Soares wrote: This may not be the appropriate place to ask this question, but this seems to b

Re: Flash+Struts how?

2003-01-28 Thread V. Cekvenich
Nothing wrong with Flash as View, in fact Flash is a good practice IMO (when used w/o Remoting or runtime costs). Javascript/DHTML is just OK. We try to remove navigation and vlidation (menu and validator) but still its a mess in a JSP. Applets are a bad practice, in my experience. JSF is not

Re: moving from ASP to jsp/Struts redirecting visitors into new site

2003-01-28 Thread V. Cekvenich
A shot in the dark: In your container server xml file set root "" to you "/pages" This removes the need for pages. In you struts.xml map "*.asp" to Action (as opposed to *.do). Of course, every "page" needs a action mapping that and a forward to a real jsp. .V Rachel wrote: Hi I'm rebuilding a s

Re: Tiles: a portal question

2003-01-28 Thread V. Cekvenich
Marco Fabbri wrote: Hi all, I'm playing with the VERY interesting site dedicated on Tiles (http://www.lifl.fr/~dumoulin/tiles/) and I have a little question. Suppose I've created a Tile to view jsp contents, what happen if I compile a form and I press "Submit"? Only the Tile's space is refresh

Re: Hi

2003-01-28 Thread V. Cekvenich
1. This fals in : " I do not have time to do it, but maybe you do". 2. Also this has nothing to do with struts, struts is MVC, so you do not do things in JSP or view. 3. The answer is: You need to grab a hold you your application context, and get the real path. Uday wrote: Hi, I want to read

Re: [OT] Synchronizing Session Objects

2003-01-27 Thread V. Cekvenich
A users opens another browser session and your action takes a bit longer than a split second. .V James Turner wrote: From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 8:57 PM To: Struts Users Mailing List Subject: Re: [OT] Synchronizing Session Objects If you'r

Re: Struts productivity metrics?

2003-01-27 Thread V. Cekvenich
I agree with Joe One such metric is a pro can do a few CRUD modules per day and a newbie takes a few days per module. Also... it sounds self serving but. consider hiring a mentor, someone who put Struts in production before, it is cost effective. They can kick start you and reduce risk

Re: Struts on iPlanet Web Server 6.0?

2003-01-27 Thread V. Cekvenich
Try Resin or at least OrionServer.com. Trevor Morris wrote: We are in the process of looking at other options after WebLogic 7 has failed to meet our needs. I want to go with Tomcat, but management says otherwise. They want to use the antiquated iPlanet Web Server. Can anyone confirm that

Re: Flash+Struts how?

2003-01-27 Thread V. Cekvenich
I wish I could add something more, other than repeat what has been said: http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg12987.html It seems that Flash/SOAP/Beans is mostly Model/View, however it is very marketable. I like cybersage.com as well, and avoiding Remoting Server (licens

Re: Does anyone have the Java Pet Store rewritten with Struts

2003-01-27 Thread V. Cekvenich
http://www.ibatis.com/jpetstore/jpetstore.html Steven Banks wrote: A while back, several posters mentioned that they had rewritten the Java Pet Store Application to use Struts. Does anyone have the source code available? I mentioned it to my boss when he said we had to develop a sample applic

Re: [OT] Friday!

2003-01-26 Thread V. Cekvenich
Mark Galbreath wrote: So you're unemployed and need some guidance? Turn up the volume and go to: http://www.oddtodd.com Cheers! Mark Flash? More usefull is a rich GUI data grid: http://dynamic.macromedia.com/bin/MM/exchange/main.jsp?product=flash -- To unsubscribe, e-mail:

Re: Need input about user authentication with user self registration strategies

2003-01-25 Thread V. Cekvenich
inline John Cavacas wrote: Hello everyone, I'm currently in the planning/proof of concept stages for my second Struts based web app. My first Struts app was pretty small and simple, so I'm still new at this. I spent most of last night looking through the mailing list archives and searching on t

Re: Struts and OJB

2003-01-25 Thread V. Cekvenich
I think it is heavyweight, as is Castor (part of J2EE.jar), Hibernate (very popular) and not fully SQL based. Light weight and SQL based (therefore fast) are in my personal order of preference: Disconnected RowSet (read up on google, past messages), Commons-SQL, IBatis, Scafolding. htt, .V D

Re: Allowing user to change password thru tomcat CMS

2003-01-24 Thread V. Cekvenich
Read up on JDBC Relms. Create a user table in DBMS. Dan Tran wrote: Hi I am using Tomcat 4.1.x Container Managed Security First I create my users thru Admin module and I would like user to change his/her own password after login. Give a user name and new password, how do I interface with Tomcat

Re: ActionFilter and detecting a forward

2003-01-23 Thread V. Cekvenich
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg42455.html See above how to store context and action change of prior action, it might help. .V Raible, Matt wrote: I have an ActionFilter that is applied to all my /do/* requests. I want to populate a list of data, but only when the

Re: [OT] web site idea (was Value of Struts)

2003-01-23 Thread V. Cekvenich
-1. My philosophy is under promise over deliver. If you put this on a site, than someone's mileage may vary. Then when you get on a client's site it will be "how come we didn't have xyz here?" .V Robert McIntosh wrote: I read everyone's responses to Gene Campbell's question and I think there

Re: multi row / multi col input forms

2003-01-23 Thread V. Cekvenich
This works fine with either! Ex: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/ROOT/portlets/cms/ContentApprovePortlet.jsp Make sure you implement a collection and unit test the formbean outside of Struts before doing any beans, including multi row. .V "Mentoring adds value" Neil

Re: The tag library

2003-01-22 Thread V. Cekvenich
+1 It's a nice library. Vic Matt Raible wrote: Below is a proposal I posted on my website tonight (http://tinyurl.com/4s3j): If you need a slick JSP Tag Library for sorting and paging data, the display tag library is a great library to use. However, it's got issues - just like any piece

Re: data types on the travel between DB and view -- best to make everything Strings?

2003-01-22 Thread V. Cekvenich
How would you do date + 30 days, or compute a 15% increase to salary, or keep a sequence #, or incrment a count on each login? .V Trevor Morris wrote: Where and when do you do data conversion between the DB, Business, and View levels? When you grab data out of the DB and set them in your VOs, do

Re: Value of Struts?

2003-01-22 Thread V. Cekvenich
"Democracy is the worst kind of government there is, except for everything else out there". I think W. Churchill. Think of Struts as kindergarten: "We put our coasts here, we put our books here, etc." It also has best productivity if you do it right. 2 ti 3 CRUD M/D muli row modules per day is

Re: To check if user is logged in

2003-01-22 Thread V. Cekvenich
Any security FAQ: best practice is to use standard container based security that is there since Servlet 2.2. Struts-config works with it. Then based on that extend. The example app in struts is not a good practice AFIK. .V Suresh Addagalla wrote: Hi, I think this is a commonly performed t

Re: How closely to map VOs/ActionForms to relational DB?

2003-01-22 Thread V. Cekvenich
-That sounds like a very good class Craig. I can't wait to use it, sounds similar to disconnected row set, when used with commons-sql for persistence (at least that is how I will use it). -David, with respect, view do not ease join problems but hide it. Also, sometimes you can use selection/opt

Re: Your opinions please

2003-01-22 Thread V. Cekvenich
Pankaj Dhoolia wrote: Folks, Was experimenting with patterns to componentize presentations. Found Tiles absolutely well suited with its concept of Controller per tile. But I realize that populating the tile maynot be the only thing that I want to, one may want to do more things which are gen

Re: Validating indexed properties

2003-01-21 Thread V. Cekvenich
There are 2 patches (that I have tried submitting to BugZila a few times) that make multi row indexed validation work as is. My clients use the patched Struts that make the multi row validation work. I have no idea what others do (I can't be one of few with multi row master detail) Send me a p

Re: XML to PDF

2003-01-21 Thread V. Cekvenich
Yet another alternative: JasperReports and iText. Yan, Charlene wrote: Hello all, I just got assigned to convert XML to pdf to do reports. Is any of you working on it? Any insights where I should get started my research? I am looking at xmlmil and aparche xml home right now. Thanks in advanc

Re: AW: easy struts

2003-01-21 Thread V. Cekvenich
not allowed to charge, RH can only charge for the CD). Oh yeah, ant is great, but just to comiple and run in dev., one does not have to set it up. .V James Mitchell wrote: -Original Message- From: news [mailto:[EMAIL PROTECTED]] On Behalf Of V. Cekvenich Sent: Tuesday, January 21,

Re: AW: easy struts

2003-01-21 Thread V. Cekvenich
Thanks for writing it up. I would say an alternative is to set up your project in webapps\myProject, and run the Container outside of IDE (as you would in production). This makes it easy to configure Container ( Tomcat or Resin, or Orion, etc.) to save the session while you change the class "li

Re: [OT] Eclipse IDE

2003-01-20 Thread V. Cekvenich
vim.org I use for XML and JSP editing, for real. In Eclipse I just add it as a plug in. Its GUI and all in Windows and X. .V Andrew Hill wrote: Hmm. If your gonna restrict yourself to one editor better pick something versatile... Have you tried vi yet?... ...I heard it was better than Emacs ;-

Re: [OT] Eclipse IDE

2003-01-20 Thread V. Cekvenich
I used to use NetBeans and now I switched to Eclipse, because Eclipse is so much faster, smaller, and works great with CVS. Keep in mind that a tool or a framework might not make a project successful by itself. .V Daniel H. F. e Silva wrote: Hi all, I know that it is very possible that this su

Re: Building navigation bar with Struts

2003-01-20 Thread V. Cekvenich
http://sourceforge.net/projects/struts-menu/ Rick Ashley wrote: Hello, I would like to build same kind of navigation bar as a top navigation bar to my application that www.google.com has. (Items like Web, Images, Groups, Directory and News). It uses plain html with tables and td-tags's backgr

Re: Axis/SOAP proposal for Struts

2003-01-17 Thread V. Cekvenich
Interface? Can this thread move to dev list? .V [EMAIL PROTECTED] wrote: I agree - extending the Action Servlet shouldn't be required.

Re: DAO and Struts Best Practice

2003-01-17 Thread V. Cekvenich
I TOO am too dense to communicate it clearly sometimes: But this is clear: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/ROOT/src/basicWebLib/org/commons/DAO Take a look at the DAO interface; and then a DAO implementation above. (OT: The 2nd DAO implementation there will be using Co

Re: The best way for learning struts (stupid question)

2003-01-17 Thread V. Cekvenich
I will post here when I am ready soon. Glad there is interest, I got some private e-mail. As I plan to donate materials to Jakarta I would like to see if some of the Advanced Pros would want to participate, so that one of them could teach next online seminar, or maybe even document some

Re: numberFormat

2003-01-16 Thread V. Cekvenich
Formating could be done in the view, for example using JSTL format tag: http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html Gabrovsky, Ivaylo wrote: You can find it in JDK API http://java.sun.com/j2se/1.4.1/docs/api/ java.text.NumberFormat -Original Message- From: [EMAIL PROT

Re: complexed structures/objects

2003-01-16 Thread V. Cekvenich
Check out nested tags for starters. Michael Mashian wrote: guys. can someone please help with retrieving data from complexed structures/objects using tags ? ---

Re: Important Struts Question

2003-01-16 Thread V. Cekvenich
Regarding jobs: Consider one could write a vertical killer app. in Struts and become an employer (not an employee). It's kind of working out for me. The side benefit is you become the PHB. ("Everyone must use MVC") (Maybe we can get Robin Givens in here?) .V Haseltine, Celeste wrote: But at le

Re: Controlling amount of log messages in Struts 1.1

2003-01-16 Thread V. Cekvenich
Set up your log4.jproperties file to do that. John Fairbairn wrote: Hi, I'm using Struts 1.1-b2 within Websphere Studio Application Developer 4. I am getting an excessive amount of messages logged to my console such as: 0 [Thread-1] INFO util.PropertyMessageResources - Initializing, config='org

Re: The best way for learning struts (stupid question)

2003-01-16 Thread V. Cekvenich
http://www.sdtimes.com/news/063/story2.htm Tomcat has most market share (above) and best support. (Check out PostgreSQL and Eclipse). Re: training: I plan to do public training "Intermediate Struts" via the Internet, in about a month. 4 Sessions Saturdays at 10:15 for about an hour, giving

Re: Active users in a struts web application.

2003-01-15 Thread V. Cekvenich
I should have said I would keep doing the listener. :( {Maybe if I read the whole message} .V VEDRE, RANAPRATAP REDDY wrote: Not a struts specific question, but i know where the experts are... I am tring to show the users currently logged into a web application, so that anybody who logs in

Re: Active users in a struts web application.

2003-01-15 Thread V. Cekvenich
Try a session listener, store it in a db table. .V VEDRE, RANAPRATAP REDDY wrote: Not a struts specific question, but i know where the experts are... I am tring to show the users currently logged into a web application, so that anybody who logs in can see who else is logged in. This functionali

Re: Struts horizontal menu

2003-01-15 Thread V. Cekvenich
Cool menus is used in struts-menu, available for free on sf.net. .V Raible, Matt wrote: One problem with HeirMenus is they now charge for it - doh! http://www.webreference.com/cgi-bin/hier/index.cgi CoolMenus offers the same functionality, and it's free: http://www.dhtmlcentral.com/projects/co

Re: Struts Validator and security roles

2003-01-15 Thread V. Cekvenich
Another aproach: Call a setter for the role (1) (ex: formBean.setRole(req.getUserPrinicipal) in "onSave" in action. Now your can call formBean.validate() in your action. And... your formBean class must implement a validate method to do all your logic. This way you can use the same formbean val

OT/ Friday: A Struts Haiku

2003-01-13 Thread V. Cekvenich
action does not fire, jsp is a mess take a deep breath and redirect ...oh I how wonder, should one unit test Rick Reumann wrote: Time, too much have you major geeks these people are boss know you do this? :) On Monday, January 13, 2003, 4:17:13 PM, James wrote: JM> Interesting post. What does

Re: Struts Productivity Survey

2003-01-10 Thread V. Cekvenich
In this case, does the consultant/architect: a. have previous deployed Struts applications, b. or does the consultant "know of" Struts? In case a. one should have an idea of how long it takes to train and develop. One opinion for time frame range is newbie developers take about a few days per MV

Re: [ANNOUNCE] Struts Training in NYC and DC in January

2003-01-09 Thread V. Cekvenich
#1.We are looking for more people to develop basicPortal.sf.net (baseBeans.com is on basicPortal). Now we are working on setup.exe (currently in beta but available) that will install DB, Tomcat (because people do not know how to set up JDBC realms in server.xml). As you know bP demos master de

Re: Wanted a Good Struts Book

2003-01-08 Thread V. Cekvenich
That book is about 16 months old and is now FREE on basicPortal.com. Just download DOCO from there, and there it is! I am writing 2nd edition now. .V P K wrote: What I actually meant was 'Struts Fast Track' BETA edition. Wonderful reviews on Amazon. mech wrote: Avoid "Mastering Jakarta S

Re: Advanced JSP page help.

2003-01-08 Thread V. Cekvenich
n some cases provide a "Select All" or "Select None" type of control. -Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 11:25 AM To: [EMAIL PROTECTED] Subject: Re: Advanced JSP page help. If I understand you, both wo

Re: Database generated Reports with Struts Taglibs

2003-01-08 Thread V. Cekvenich
I use JasperReports w/ iReport, both from SourceForge. .V Dan Tran wrote: 1. Provide a query screen 2. Load the collection of your custom bean based on search criteria screen (1) 3. Forward the collection bean (thru session object) to Display tag to allow user to page thru (http://edhill.its.uio

Re: Advanced JSP page help.

2003-01-08 Thread V. Cekvenich
allows to identify all the records of the table that will be concern by the next action (save, submit or other) or (2) allow the multiple row selection on the table ? is it possible to select multiple rows on a HTML page ? -Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED]] Sent

Re: XSLT Struts

2003-01-08 Thread V. Cekvenich
ROSSEL Olivier wrote: XML in files, and not in DB is fine for small site, or if you do not have a lot of consent turn over. But it is much easier to operate a large site, whit a lot of approval, editing, etc. and complex custom layouts (tiles) if you store XML content in a db, IMO. Ex: flag

Re: Advanced JSP page help.

2003-01-08 Thread V. Cekvenich
One opinion: Use HTML-EL for updateable fields, and JSTL for general processing. Use tiles for layout. Use special tags for special formats (menu, display, tree, tab, calendar all have JSP tags). .V Heligon Sandra wrote: Thanks for these links but I have an another question. When one wants to

Re: XSLT Struts

2003-01-08 Thread V. Cekvenich
XML in files, and not in DB is fine for small site, or if you do not have a lot of consent turn over. But it is much easier to operate a large site, whit a lot of approval, editing, etc. and complex custom layouts (tiles) if you store XML content in a db, IMO. Ex: flag content as approved. Coun

Re: Wanted a Good Struts Book

2003-01-08 Thread V. Cekvenich
"V. Cekv

Re: JSTL-XML does not work

2003-01-08 Thread V. Cekvenich
Test out your XML with outside with a XSLT, easy via browser (all new browser will do XSLT). The basicPortal above does work with XML in a DB and XSLT, the site baseBeans.com uses basicPortal. .V Mouratidis, Georg wrote: -Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED

Re: Problem with Weblogic 6.1 sp2 and Struts 1.1 Beta 3

2003-01-08 Thread V. Cekvenich
Or just try Tomcat (or Resin). In general, if one has bugs in BEA or IBM, a good idea is to test the reference implementation (Tomcat) to see if you can reproduce, which will tell you if it is a container bug. Tomcat has a lot more market share (and therefore more users) and one of the main ben

Re: Wanted a Good Struts Book

2003-01-07 Thread V. Cekvenich
"Struts in Action" by Husted if you buy only one. Alok Pota wrote: I am about to wrap up for the day and head out to a bookstore to get a good book on Struts. I have to demo my little Strut demo apps to my peers @ work. What is a good Struts book? I am looking for a comprehensive coverage of hop

Re: XSLT Struts

2003-01-07 Thread V. Cekvenich
That would be the past IMO. Apache HTTP and Cocon and similar are PITA. ... you can publish static text from Struts like this: - Store XML content in a db field. (from user input or RSS feed). - XSLT it and cache HTML cache in a db field. Or many variations such as Styxx browser side. You can now

Re: JSTL-XML does not work

2003-01-07 Thread V. Cekvenich
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/portlets/cms/ContentZoomPortlet.jsp?rev=1.7&content-type=text/vnd.viewcvs-markup Above is good working example (also the baseBeans.com is in CVS above) .V Mouratidis, Georg wrote: Hi all, i have the following code in my .

Re: XSLT Struts

2003-01-07 Thread V. Cekvenich
Also consider JSTL X:transform or browser side Styxx or caching HTML in a db field. .V maya menon wrote: The artcile is the same one from Javaworld that you sent me, I already downloaded the example, but it explains nothing. the article is good, but the sample is vague Thanks [EMAIL PROTECTED] w

Re: Updating collections of information

2003-01-07 Thread V. Cekvenich
Multirow updates and MasterDetail and even more complex processing is done all the time with Sturts. In resource you will find many sample apps, one of the multirow links is here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/portlets/cms/ContentApprovePortlet.jsp?rev=

Re: Iterate tag with ResultSet Example

2003-01-05 Thread V. Cekvenich
If you want (updetable) multi row working sample, here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/portlets/cms/ContentApprovePortlet.jsp?rev=1.7&content-type=text/vnd.viewcvs-markup Same link has the bean and dao and other common things. .V Mervin Williams wro

Re: Compliment Frameworks

2002-12-20 Thread V. Cekvenich
ROSSEL Olivier wrote: O/R is not always needed. Sometimes you just want to work with a relational master/detail (ie, next row(); next row();). My concern is not to have to think in term of (for example) Primary Key/Foreign Key or Conposite Key... Sometimes the business requirements are that

Re: Compliment Frameworks

2002-12-19 Thread V. Cekvenich
O/R is not always needed. Sometimes you just want to work with a relational master/detail (ie, next row(); next row();). Also see basicPortal.com. .V ROSSEL Olivier wrote: There are a couple tutorial examples - and the EDG (Expresso Developers Guide) doc etc. You'll find the doc at: http://www

Re: StrutsCX

2002-12-16 Thread V. Cekvenich
Errr... I'll bite: What is Struts CX? .V Jacob Hookom wrote: Struts CX is currently not threadsafe, it will be fixed in the next release. - Original Message - From: "Lenharcik, Juraj" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 5:29 AM Subject: StrutsCX

Re: Struts application & infrastructure choices

2002-12-14 Thread V. Cekvenich
One way is to integrate via Oracle (or less expensive to operate PostgreSQL). What ever you need, you can cache or create an async. process to store the needed data in the DB, that is in the secured zone. Sort of a "real" time data ware house. So via Oracle create views or pl SQL on to other res

Re: News server

2002-12-13 Thread V. Cekvenich
It will be fixed in Jan. I am moving to larger servers do to volume. 2 CPU 2.8 Ghz Xeons, with RAID 15K RPM drives. John Zoetebier wrote: Hi, Does anybody know where the news server of this mailing list can be found ? Link http://www.proj.com/subscribe.jsp is broken. -- To unsubscribe, e-m

Re: OptionsCollection

2002-12-13 Thread V. Cekvenich
Confused as to what your confusion is. Are you confused that you see one thing and display another (which I get a lot from my students?). There are 2 things going on, a client/browser side join not a db/server side join. Example, you have a formBean with dept "101" a numeric field. You unit te

Re: OptionsCollection

2002-12-13 Thread V. Cekvenich
Use Struts-menu from sf.net. Mark wrote: Hello I've a number of collections already defined that end up being passed to my jsp's via the request object. Users in this case is a map defined in my business logic class that does db queries. users = (ListUsers).getUsers(); request.setAttribute("

Re: OptionsCollection

2002-12-13 Thread V. Cekvenich
Put it in application scope. Mark wrote: I've read the documentation.. The confusion is how do i access a collection when the action returns another Imagine i've a user form and a list of users on the same page. [list returned via request via action] Joe Bloggs Another User Etc Add user form N

Re: Last Nightly build

2002-12-13 Thread V. Cekvenich
As I was peeking on the dev list, it might take them a few days to fix so it's in the build. .V Fabrice BLANQUART wrote: Hi Is it normal that the contrib part( especialy struts-el) of the binary nightly build has disappeared ? Rgs Fabrice BLANQUART -- To unsubscribe, e-mail:

Re: [Way-OT] Struts and Swing

2002-12-12 Thread V. Cekvenich
Another Approach is SOAP: Write a Standard Struts MVC Web application and deploy release 1, web only. Then add Axis to the mix. On a SOAP request create the already tested bean (getters and setters). Best your actions have helpers. Create proxies in SOAP for beans and helpers. (model is easier to

Re: DispatchAction CRUD validation problem

2002-12-12 Thread V. Cekvenich
One way is to have validate="flase" and in your CRUD events manually call validate(). .V adam kramer wrote: I'd like to use a DispatchAction to handle the Create,Read,Update and Delete actions for an object. But I can't work Read into the mix because of the action-mapping configuration and the

Re: Struggling with indexed/repeating input fields

2002-12-12 Thread V. Cekvenich
One (good) way is to have your beans implement collection. Search messages for "cekvenich", I posted like 3 of my last 10 messages related to this. .V Michael Olszynski wrote: I saw a post in the thread http://www.mail-archive.com/struts-user@jakarta.apache.org/msg49234.html I have the same pr

Re: Processing multiple records all at once

2002-12-12 Thread V. Cekvenich
ad Balmer wrote: I was looking on the basicPortal site for the example, but couldn't find it. Could you give a direct link? -Original Message- From: news [mailto:[EMAIL PROTECTED]] On Behalf Of V. Cekvenich Sent: Thursday, December 12, 2002 6:23 AM To: [EMAIL PROTECTED] Subject: Re: Proce

Re: Processing multiple records all at once

2002-12-12 Thread V. Cekvenich
This is good. However a bit much copying. Also, quite a few forms could have multi row processing or master/detail processing. One does not want to to it over and over; if you do OO, you could create a basebean that does this in the ancestor, by having your formbean implement a collection,

Re: JSTL x STRUTS bean display

2002-12-10 Thread V. Cekvenich
In a secret place: http://jakarta.apache.org/struts/resources you can find a link to this (www.basicPortal.com) http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/portlets/proj/TasksLstPortlet.jsp?rev=1.4&content-type=text/vnd.viewcvs-markup Here is another hiden place, whe

Re: Design Question regarding navigation menu

2002-12-09 Thread V. Cekvenich
I could not follow your question. A good practices that I use is to have centralized navigation in XML, using Struts menu from sf.net. .V Mark Conlin wrote: Design question regarding navigation menu. (I am using tiles) Suppose I have a navigation menu with several choices/sections, I would l

Re: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread V. Cekvenich
+1 Gemes Tibor wrote: 2002. december 9. 13:48 dátummal John D Hume ezt írtad: You could probably compare pRequest.getParameter("Submit") against the internationalized string, though it might be better to go a way that won't make you dependent on those labels. You could flip it around and decid

Re: Pass parameter to the same JSP & Display parameter value intoi/p bean field.

2002-12-08 Thread V. Cekvenich
Here is where you can find sample apps, cleverly hidden on the home page of Struts: http://jakarta.apache.org/struts/resources/index.html But don't be shy about taking a intro public Struts training class, there are like 10 companies that train ( It used to be a few last year). Or consider a me

Re: Java Server Faces stage?

2002-12-07 Thread V. Cekvenich
Summary: I am considering bypassing JSF for XFORMS. Details: Adolfo, I have sent several longish feedback's to JCP/EG, and mostly gotten wait till next release. But I do not see them accepting input so far, true to the reputation of JCP. After calling Ms. Cleo, here is yet another opinion on JS

Re: Question about Struts-EL and JSTL

2002-12-05 Thread V. Cekvenich
indexed tag for multi row updates and master/detail forms processing and dito validator. Wendy Smoak wrote: The README for Struts-EL says "every Struts tag that provides a feature that is not covered by the JSTL (1.0) library is mapped into the Struts-EL library." Why was the tag retained when

Re: abstract class

2002-12-05 Thread V. Cekvenich
From basicPortal, using disptaching (it also uses event object to encsulate response,request, forward, formbean, etc.): protected Object dispatchEvents(ActionEvent ae) { String parm = ae.getReq().getParameter(DISPATCH_KEY); if (parm == null) parm = "Default";

Re: Emails

2002-12-03 Thread V. Cekvenich
One thing to consider. if you like MVC. What I do is save e-mail to an e-mail table in DB. Then I have a console async process in a cron job select all e-mail that was not flaged as sent. (I also do RSS same way). It just works better form me this way. .V VEDRE, RANAPRATAP REDDY wrote: se

Re: subclassing action

2002-12-02 Thread V. Cekvenich
same Mohan Radhakrishnan wrote: Hi, I am looking for information on subclassing actions. Is there a way to transfer control to the subclass if a certain check in the super action is valid ? Is this how this is done ? In normal OO, it happens based on polymorphism. How is it done with struts

Re: Bean database access concepts

2002-11-27 Thread V. Cekvenich
Yes of course. But then if you want to change your persistence implementation it is more difficult. .V David Graham wrote: Your DAO objects can be beans. David From: "V. Cekvenich" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PRO

Re: Bean database access concepts

2002-11-27 Thread V. Cekvenich
Bean does not access the db! DAO access the db. (DAO can be implemented several ways) Bean has a DAO helper. DAO can get JNDI pool from container or make its own pool, based on properties. Also, you should be able to unit test you beans for CRUD. I wonder where the sample code that does this w

Re: [OT] Updating CachedRowSet

2002-11-26 Thread V. Cekvenich
RowSet does not do Multi Table Updates! Neither does CommonsSQL as I saw it. That is why it's light weight, fast and scalable, since it does not deal with O/R, it is just relational data. For R/O, you can do joins, most data is R/O. Also, if you do use RowSet, do not use ResultSet, no need for

Re: [OT] Updating CachedRowSet

2002-11-26 Thread V. Cekvenich
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/src/basicWebLib/org/commons/DAO/BasicDAOImpl.java Above has a working DAO implementation that uses RowSet. The idea is that you can have many implementations using DAO. (So, next to it is same DAO that uses SQL-Commons. I on

Re: future of struts

2002-11-20 Thread V. Cekvenich
If anyone spends a large percentage of time in the tags, jsp or view, then they are not fully using Model2, MVC layers. Alas, there are a lot of people who are need help with Struts on this list. (One example: newbies tend not to unit test the bean, so they debug it in the JSP. A player uni te

Re: About RowSet

2002-11-20 Thread V. Cekvenich
I forgot to add... this way you can use the options collection tag. Writing your own tags is something you want to reduce. .V V. Cekvenich wrote: Which is not very Model2. Anytime you do something is JSP or EL. you are writing logic in the View, which is not the layered approach, thus less

Re: About RowSet

2002-11-20 Thread V. Cekvenich
nks & Regards Savant -Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 7:36 PM To: [EMAIL PROTECTED] Subject: Re: About RowSet http://www.javaworld.com/javaworld/jw-02-2001/jw-0202-cachedrow.html as per google, or you can read the J

Re: About RowSet

2002-11-20 Thread V. Cekvenich
Which is not very Model2. Anytime you do something is JSP or EL. you are writing logic in the View, which is not the layered approach, thus less efficient. Write less in View! Unless you are off loading processing to Browser via .js functions (javascript). Much better to prepare everything a

Re: About RowSet

2002-11-20 Thread V. Cekvenich
http://www.javaworld.com/javaworld/jw-02-2001/jw-0202-cachedrow.html as per google, or you can read the JavaDoc on rowset in Java Developers Connection on JavaSoft.com. You should either use RowSet or Resultset, not sure of why mix. RowSet extends ResultSet, major difference that former is a bea

  1   2   3   >