RE: Strange behaviour when using the validator in struts1.1b2

2002-11-05 Thread Michael Delamere
Hi, there seemed to have been a similar problem before: http://www.mail-archive.com/struts-dev;jakarta.apache.org/msg07994.html Could that be the same issue and how was it solved? Regards, Michael -Original Message- From: Michael Delamere [mailto:home;michael-delamere.de] Sent:

Nested layouts (Panels inside Tabs)

2002-11-05 Thread Affan Qureshi
I have a Tabs Layout setup and inside a tab I have another layout with two panels(menu and content). This is my definition: definition name=index.page path=/webpages/layouts/tabsLayout.jsp put name=header value=/webpages/header.jsp/ put name=footer value=/webpages/footer.jsp /dfs

Problem with multipart/mixed and file Tag

2002-11-05 Thread Yann Verlynde
Hello, I have a problem with this code (a form with content multipart/mixed and an form class). This is my form: html:form action=jsp/Upload.do enctype=multipart/mixed Please select the file that you would like to upload:br / html:file property=theFile /br /br / If you checked

Re: Re: Struts1.1 : subclass ActionServlet

2002-11-05 Thread aduprat . struts
Hi. Thanks for your response Eddie. First : I redefined init cause I did it in struts 1.0 to initialise my struts menu repository. I'm not aware of the plugin architecture. Do you think i should go ahead for 1.1 documentation? :-) Where can i find details about this plugin architecture? It can

RE: [OT] OJB/Struts and Jetspeed

2002-11-05 Thread Umberto Nicoletti
This question about integrating Struts and Jetspeed was of some interest to me too. I subscribed to the jetspeed user ml and it looks like there is some activity (20-40 messages a day), although typical questions involve stuff like connecting to a db, ldap sources and so on, no really

RE: Strange behaviour when using the validator in struts1.1b2

2002-11-05 Thread Michael Delamere
Hi, just to let you know how I solved the problem: It seems that this is a session issue and the solution was to change the context in the tomcat server.xml: I.e. I added: Manager className=org.apache.catalina.session.PersistentManager debug=4 saveOnRestart=false ---

[ANNOUNCE] Struts Workflow Extension Package 0.9.2

2002-11-05 Thread Matthias Bauer
To all struts users! I just released the Bugfix-Version 0.9.2 of the Struts Workflow Extension Package. The release received the following changes: * fix for a bug that caused an exception in GenericAction in very special configuration situations * bugfix in the test application's web.xml

accessing DataSource from custom tag

2002-11-05 Thread Andrew
is there any way to access the DataSource defined in struts-config.xml from within a custom tag. i usually get it from the ActionServlet context attribute Action.DATA_SOURCE_KEY from within an Action. but its not defined in the pageContext of a tag, so i assume its not easy to do, though i saw

Re: accessing DataSource from custom tag

2002-11-05 Thread Mike Way
Andrew, pageContext.getServletContext().getAttribute( But, do you really want to do this ? Mike At 02:53 05/11/2002 -0800, you wrote: is there any way to access the DataSource defined in struts-config.xml from within a custom tag. i usually get it from the ActionServlet context

How to fill an Actionform after using an ActionClass ?

2002-11-05 Thread Marcus Biel
How to fill an Actionform after using an ActionClass ? Normally a user fills out a form on a jsp, then the Actionform gets called and filled by the data the user entered. Then the ActionClass gets started and uses the data from the ActionForm. But I've got an Action that creates data, and it

Re: How to fill an Actionform after using an ActionClass ?

2002-11-05 Thread Mark Ayad
Just call the setters ! look also at the thread prepopulation earlier this week public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { EditForm editForm = (EditForm)form; editForm.setTitle(title

Re: [How to fill an Actionform after using an ActionClass ?]

2002-11-05 Thread Josh Berry
Responses below... Marcus Biel [EMAIL PROTECTED] wrote: How to fill an Actionform after using an ActionClass ? Normally a user fills out a form on a jsp, then the Actionform gets called and filled by the data the user entered. Then the ActionClass gets started and uses the data from the

robot search engines and struts

2002-11-05 Thread Dragan Ljubojevic
If I all jsp pages put in protected directory and all url's ends with .do how web crawler like google can index my application? What is good solution for this problem? Dragan Ljubojevic -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands,

Javascript form Submit

2002-11-05 Thread Kavitha ranga
Hi, I have a button and am using a Javascript to submit the form. My javascript is as follows: function setAction() { document.form.action.value=clearPager.do?action=clearPager; document.form.submit; } I have my button tag as follows: html:button property=clear value=Clear

Re: How to fill an Actionform after using an ActionClass ?

2002-11-05 Thread Marcus Biel
hmmm. Tried it this way: AlaskaGroupsForm alaskaGroupsForm = (AlaskaGroupsForm)form; alaskaGroupsForm.setGid(gid); alaskaGroupsForm.setBeschreibung(beschreibung); alaskaGroupsForm.setStiwo(stiwo); alaskaGroupsForm.setMo(mo); alaskaGroupsForm.setStiwoerg(stiwoerg);

Re: robot search engines and struts

2002-11-05 Thread Mike Way
Dragan One solution is to change the web.xml mapping for the action servlet from servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping to servlet-mapping servlet-nameaction/servlet-name url-pattern*.html/url-pattern

initiate an object and put it in session

2002-11-05 Thread Mr Alireza Fattahi
Hi, I want to initiate put an object and put it in the session when each session begins. Where should i put this code? I tried to write a sevlet that starts at the starup of the system, but I do not have access to session object in its 'init' method. Thanks

RE: Javascript form Submit

2002-11-05 Thread Joe Latty
try document.forms[0].submit(); -Original Message- From: Kavitha ranga [mailto:kavitharanga;hotmail.com] Sent: Tuesday, 5 November 2002 11:31 PM To: [EMAIL PROTECTED] Subject: Javascript form Submit Hi, I have a button and am using a Javascript to submit the form. My javascript is

Re: [OT] OJB/Struts and Jetspeed

2002-11-05 Thread V. Cekvenich
http://basicPortal.sf.net is a portal based on Struts. .V Umberto Nicoletti wrote: This question about integrating Struts and Jetspeed was of some interest to me too. I subscribed to the jetspeed user ml and it looks like there is some activity (20-40 messages a day), although typical questions

Why does the nightly build produces a huge log file during startup?

2002-11-05 Thread Zsolt Koppany
Hi, I have copied the latest nightly build and after extraction I copied jakarta-struts/webapps into the tomcat -4.1.12 webapps directory. It takes a very long time to start tomcat (it was not the case before I installed struts) and a huge log file (100Mb) was created (I redirect stderr and

Re: [TILES] Dynamically overriding Tiles Definitions

2002-11-05 Thread Affan Qureshi
I want to modify the Attributes in a tiles Definition from my Action classes. Is this possible? I have tried the following code inside the Action class but do not get an Attribute against the name, instead I get a null. ComponentContext context = ComponentContext.getContext(request);

Don't want the ActionForm to refill my form.

2002-11-05 Thread Marcus Biel
I want to add data records using a jsp. When the user entered the data, and hits submit, an actions adds the data record to the database. When this is done, it forwards to the same page again, so that the user can add more data records. The problem is that the form gets filled by the ActionForm

RE: Don't want the ActionForm to refill my form.

2002-11-05 Thread Sri Sankaran
Re-initialize the form-bean to the way it was when the page was first invoked. If form was all blank fields, you can simply delete the form bean; it'll get re-created. Sri -Original Message- From: Marcus Biel [mailto:Marcus.Biel;bmw.de] Sent: Tuesday, November 05, 2002 9:25 AM To:

RE: Don't want the ActionForm to refill my form.

2002-11-05 Thread Robert Taylor
Redirect instead of forward. You can do this in your struts-config.xml file for your action by setting the redirect attribute of the forward element to true; or, if you are manually creating the forward, the constructor takes a boolean which indicates a redirect instead of a forward. robert

FW: Continuous datastream from server to client

2002-11-05 Thread Reinhard Dunst
Hi I'm new in Struts and I run into a problem with very large lists for printing. Normaly I limit the lists to a given number of records, but for printing in need all the records from the database. My first try was to collect all the records i need in a low priority thread in the background, store

RE: Don't want the ActionForm to refill my form.

2002-11-05 Thread Wendy Smoak
Sri Sankaran wrote: you can simply delete the form bean; it'll get re-created. Can you clarify? You say the form been will get re-created, yet I have this code in my Action: if ( form == null ) { form = (ActionForm) session.getAttribute( contactForm ); if ( form == null )

Re: Struts1.1 : subclass ActionServlet

2002-11-05 Thread Eddie Bush
Well, there could still be cases where you wish to extend ActionServlet, but moreover I think folks will probably extend RequestProcessor instead. For initialization logic, ActionServlet is one spot - writing a class that implements org.apache.struts.action.PlugIn is another. The interface

RE: Don't want the ActionForm to refill my form.

2002-11-05 Thread Sri Sankaran
When a request is submitted, the ActionServlet matches the request URI against the known action mappings. If there is an associated form-bean then it'll look for an ActionForm with the given name. If one isn't found, it will be created. Sri -Original Message- From: Wendy Smoak

Extending the struts config

2002-11-05 Thread Michael Delamere
Eddie, you said once (if I remeber correctly), that you extended the struts-config.xml to accommodate your own configuration settings. I would appreciate it if you took a minute or two in answering my questions :-) : Did this involve a lot of overhead? Are you having to change the dtd? -

Re: FW: Continuous datastream from server to client

2002-11-05 Thread Eddie Bush
I'd be sorely tempted to either make the user print them page-by-page or provide a CSV file they could download which contained the same information. That way, they can format it/print it out -- and you're freed from the headache you're having :-) Reinhard Dunst wrote: Hi I'm new in Struts

Re: FW: Continuous datastream from server to client

2002-11-05 Thread Joe Germuska
Hm, that's an interesting question. Maybe you could combine your proposed approach with a Collection. For the first page view, you'd copy one page's worth of elements from the background iterator into a Collection. Then on subsequent user requests, if they are paging back-and-forth through

Re: Extending the struts config

2002-11-05 Thread Joe Germuska
For a couple of months now Struts has not required a *valid* struts-config.xml file, which is very helpful. In a general sense you can subclass the various configuration classes (like ActionMapping) and set arbitrary properties on them in struts-config (with set-property). It may be cleanest

Re: hrame in template

2002-11-05 Thread Eddie Bush
You wouldn't want to do a typical insert for a frameset. All you care about is retrieving the string representation of the file-name in your app's URL namespace. See getAsString or getString (I forget which) tag in the tiles taglib. There are examples on this ... (no, not frames, but there

Re: Javascript form Submit

2002-11-05 Thread Rajesh Kalluri Kalluri
Try this, also do you have more than one form on the jsp. function setAction() { document.form.action.value=clearPager.do?action=clearPager; document.form.submit() return true; } I have my button tag as follows: html:button property=clear value=Clear onclick=setAction(); return

RE: Extending the struts config

2002-11-05 Thread Michael Delamere
Well, I tried adding a parameter to my action mapping and SAX complained! (Must be declared etc...) Thanks for your tips - I will take them into account when making my final decision on how I will go about doing it! Regards, Michael -Original Message- From: Joe Germuska

Re: accessing DataSource from custom tag

2002-11-05 Thread Kevin . Bedell
I'd suggest that isolating database access in Model components that are called from the Action class is a more appropriate approach. What happens if you throw a SQLException in the tag or if you end up needing to have conditional processing depending on what you bring back from the database?

RE: Extending the struts config

2002-11-05 Thread Joe Germuska
At 4:14 PM +0100 2002/11/05, Michael Delamere wrote: Well, I tried adding a parameter to my action mapping and SAX complained! (Must be declared etc...) I believe that the warnings are still issued, but Struts works anyway. Here's the CVS log for ActionServlet: revision 1.118 date:

Dynamic select menu in JSP

2002-11-05 Thread Mark Ayad
I would like to know the best method to populate a form in a JSP page with dynamic select menu, where the number of options in the select depends on a query to the database. Specifically where is best to place the functionality ? html:select property=singleSelect size=10 html:option value=Single

RE: Continuous datastream from server to client

2002-11-05 Thread Reinhard Dunst
Hi, thanks for answer. I'm using OJB for database access but for the moment without proxy. I think the user is responsible to print only lists of acceptable lenght. But if he wants to print a long list he should do, across ?? pages and not page by page. When I saw, that I could run into memory

Re: Dynamic select menu in JSP

2002-11-05 Thread John Owen
Add a Collection to your form bean. Add getter and setter methods to the form bean. Add code to your action class (usually a prepare-type action) to look up the data (or call the appropriate facade/delegate method) and populate the collection on the form. Modify your resultant jsp to use the

Re: Dynamic select menu in JSP

2002-11-05 Thread John Owen
Here's an example of the jsp code : html:select property=defaultEmployee html:options property=employeeValues labelProperty=employeeLabels/ /html:select defaultEmployee is a String representing the 'selected' value, employeeValues is a Collection that contains the values for

RE: Don't want the ActionForm to refill my form.

2002-11-05 Thread Karr, David
Is your action scope set to session or request? I would guess it's set to session. I believe if you set it to request, your form bean will be created on each request. -Original Message- From: Marcus Biel [mailto:Marcus.Biel;bmw.de] Sent: Tuesday, November 05, 2002 6:25 AM To: [EMAIL

Re: Nested layouts (Panels inside Tabs)

2002-11-05 Thread Cedric Dumoulin
Hi, Your links inside the tabs should link to an URL which rebuild the page with the tabs. This is not automatic (for now) ! Cedric Affan Qureshi wrote: I have a Tabs Layout setup and inside a tab I have another layout with two panels(menu and content). This is my definition:

Re: Dynamic select menu in JSP

2002-11-05 Thread Mark Ayad
Thanks John - Original Message - From: John Owen [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 5:06 PM Subject: Re: Dynamic select menu in JSP Here's an example of the jsp code : html:select property=defaultEmployee

Images in buttons

2002-11-05 Thread Ricardo Damiao
Hello I'd like to know if there's a way to associate an image to an html:button instead of using a string. Thanks in advance for your time. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Huge Upload Problem

2002-11-05 Thread Dan Bunea
In my aplication I use Struts 1.0 upload. I must upload some small dbf files (2 at the same time). When the upload is made the files are modified so that the data in the uploaded files is slightly different from the data in the initial file. Some of the values in dbf are replaced by OA. In a file

Re: [TILES] Dynamically overriding Tiles Definitions

2002-11-05 Thread Cedric Dumoulin
Hi, Where is declared your action ? To be able to retrieve the tiles context, there should be a tiles context. There is a tiles context only if you insert an Tiles, or do a forward from an action to a definition. In this later case, the context is created after the action. Cedric

How do I search this newsgroup with google.

2002-11-05 Thread Darren Hill
Don't wanna duplicate question. How do I search this newsgroup with google. Darren. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: Dynamic select menu in JSP

2002-11-05 Thread Eddie Bush
*sigh* There have been a number of topics going on about doing such things lately. Obviously, using the html:option tag is less than ideal. Have you looked at html:options/ yet? I think you'll find a much better implementation possible using it instead of html:option/. STMA (Search the Mail

RE: How do I search this newsgroup with google.

2002-11-05 Thread Karr, David
This isn't a newsgroup, it's a mailing list. You can go to the following URL to search the mailing list archive. http://www.mail-archive.com/struts-user%40jakarta.apache.org/ -Original Message- From: Darren Hill [mailto:dhill;724.com] Sent: Tuesday, November 05, 2002 8:21 AM

Re: Images in buttons

2002-11-05 Thread David Graham
Use the html:image tag to create a submit button with an image. David From: Ricardo Damiao [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: struts-user [EMAIL PROTECTED] Subject: Images in buttons Date: Tue, 05 Nov 2002 16:07:03 + Hello I'd like to know if

RE: Problem with multipart/mixed and file Tag

2002-11-05 Thread Sukhenko, Mikhail (Contr)
should not you use enctype=multipart/form-data instead of enctype=multipart/mixed? -Original Message- From: Yann Verlynde [mailto:yverlynde;oxade.com] Sent: Tuesday, November 05, 2002 3:46 AM To: Struts Subject: Problem with multipart/mixed and file Tag Hello, I have a problem with

Re: Dynamic select menu in JSP

2002-11-05 Thread Mark Ayad
**gasp** Sure, but its knowing the right question to ask first . - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 6:27 PM Subject: Re: Dynamic select menu in JSP *sigh* There have been a number

Re: Problem with multipart/mixed and file Tag

2002-11-05 Thread Yann Verlynde
Thanks, but I tried and it doesn't work... - Original Message - From: Sukhenko, Mikhail (Contr) [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 5:28 PM Subject: RE: Problem with multipart/mixed and file Tag should not you use

Tiles overloading problem/question

2002-11-05 Thread Zsolt Koppany
Hi tiles users, is it possible to bring the two definitions into one? I just want to define (overload) the variable selected that is needed by renderer of cb.project.toolbar. definition name=cb.project.toolbar.summary extends=cb.project.toolbar put name=selected value=summary /

Validator: using wrong anwser in error message?

2002-11-05 Thread Adam Sherman
Is it possible to setup validation so that {0} is replaced by the bad value? Example: adamtritus.ca is not a valid email address. Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org

Re: How to use tiles item... for a new class?

2002-11-05 Thread Cedric Dumoulin
Hi, You should disable the parser validation, or provide a new DTD for your config file, declaring your new attribute. Cedric Zsolt Koppany wrote: Hi, I would like to assign additional parameters to a menu item defined by tiles item... and I get a parsing error. My definition looks

Re: Dynamic select menu in JSP

2002-11-05 Thread John Owen
Don't worry, Mark. If there were an adequate example in the Struts docs, you would have a better idea how to start and what questions to ask. However, you have to use this list or scour the internet for examples. - Original Message - From: Mark Ayad [EMAIL PROTECTED] To: Struts Users

Re: How do I search this newsgroup with google.

2002-11-05 Thread Kevin . Bedell
Googles Groups search only searches usenet groups - not this one. To search this newgroup, try: http://nagoya.apache.org/eyebrowse/SearchList?listName=struts-user;jakarta.apache.org Best of luck, Kevin Darren Hill [EMAIL PROTECTED] on 11/05/2002 11:20:55 AM Please respond to

Re: robot search engines and struts

2002-11-05 Thread Craig R. McClanahan
On Tue, 5 Nov 2002, Dragan Ljubojevic wrote: Date: Tue, 5 Nov 2002 14:11:47 +0100 From: Dragan Ljubojevic [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: robot search engines and struts If I all jsp pages put

Re: How do I search this newsgroup with google.

2002-11-05 Thread Eddie Bush
Just run a search. Google has a good track-record of returning relevant messages from the archives. Try it - you'll like it. Ex: Looking for how to use html:options/ tag you may try searching for, gee, html:options. That is what I would go for. It will literally *amaze* you. [EMAIL

RE: robot search engines and struts

2002-11-05 Thread Paananen, Tero
Bottom line -- search engines are for web *sites*, not web *apps*. Web *pages*, single web pages serving static content to be exact. If you can't have your welcome page (DO NOT MAKE A SPLASH PAGE) be static, create another static page that doesn't necessarily need to be accessible to your

Re: Dynamic select menu in JSP **sigh**

2002-11-05 Thread Mark Ayad
Not worried. But something I'm planning for the future should help everyone with API's jar versions and examples. A little project I'm dreaming up. I'm sure If ask ask for a show of hand I'll get this project off the ground. Still I've made progress. Not sure what's the difference with:

Re: robot search engines and struts

2002-11-05 Thread Mark Ayad
There goes your web-footprint - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 5:50 PM Subject: Re: robot search engines and struts On Tue, 5 Nov 2002, Dragan

RE: Connection Pool for EJBs

2002-11-05 Thread Zeltser, Mark
Andrew, Read Chuck's chapter on EJB+Struts at http://www.theserverside.com/resources/strutsreview.jsp Mark. -Original Message- From: Andrew Lubalin [mailto:alubalin;csc.com] Sent: Monday, November 04, 2002 4:09 PM To: [EMAIL PROTECTED] Subject: Connection Pool for EJBs I am planning

RE: [OT] OJB/Struts and Jetspeed

2002-11-05 Thread James Higginbotham
Do you think that using the portal features of tiles could help in developing a portal application based on Struts? Well, if you need something now, like me, then you'll probably be doing what I do - comparing the potential of Jetspeed's codebase vs. writing something simple from scratch

RE: How do I search this newsgroup with google.

2002-11-05 Thread Chris Winters
On Tue, 2002-11-05 at 12:02, Hue Holleran wrote: This is available as a ng, though which is very useful for searching, point your favourite news reader at: news.basebeans.net this is apache.struts newsgroup. (don't make my mistake of trying to post to this, though as this doesn't

Re: Problem with multipart/mixed and file Tag

2002-11-05 Thread Brian Hickey
Yann, Apologies if this is lame, but do you have an INPUT type=file tag in your jsp? Brian - Original Message - From: Yann Verlynde [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 12:12 PM Subject: Re: Problem with multipart/mixed and

DynaValidatorForm and Multi-page Forms

2002-11-05 Thread Seth Milder
Since nobody answered my previous posting, I'd just like to know if anyone has been able to get DynaValidatorForm with multiple pages to work without having to use the setPage() method. If so, can you please post an example? Thanks! -- Seth Milder Department of Physics and Astronomy MS 3f3

Re: DynaValidatorForm and Multi-page Forms

2002-11-05 Thread Derek Lin
What is the setPage() method? From what class? Are you trying to do a form wizard(multiple pages using one DynaValidatorForm)? If so, I have something like that. But I had to override the reset() method in DynaValidatorForm class.--I am still not sure if this is the most elegant way. (don't

Fwd: indexing items in an ActionForm

2002-11-05 Thread David Graham
This is a user's list question, I'll forward it over there for you. David From: Ashwin Sarin [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: indexing items in an ActionForm Date: Tue, 5 Nov 2002 10:18:18 -0800 (PST) I am binding my HTML

RE: Continuous datastream from server to client

2002-11-05 Thread Ravi Kora
Hi, I have a html page which contains large data. I do not want the user to wait till the page gets all the data. I want to start displaying atleast some portion of data(like 10 rows) and then display the rest when the server gets it. I guess you were discussing sth on the same lines. I was

Re: Connection Pool for EJBs

2002-11-05 Thread V. Cekvenich
Do not use EJB for persistence (EJB only for CORBA or other, but never persistence). At minimum write a DAO layer so you can replace EJB with a rowSet or a commonsSQL based persistence, once you realize EJB problems. See www.basebeans.com/bad.jsp, or search on EJB on Google. I find mostly new

RE: [OT] OJB/Struts and Jetspeed

2002-11-05 Thread John Menke
Take a look at http://basicportal.sf.net -- it's a sample portal application based on Struts and Tiles. It could give you a headstart in writing a portal with Tiles. It comes with a fast DAO layer that you can use. basicportal is designed to be able to plug in your own persistance framework to

Re: DynaValidatorForm and Multi-page Forms

2002-11-05 Thread Seth Milder
Derek Lin wrote: What is the setPage() method? From what class? Are you trying to do a form wizard(multiple pages using one DynaValidatorForm)? Yes. This is it exactly. If so, I have something like that. But I had to override the reset() method in DynaValidatorForm class.--I am still

Weblogic

2002-11-05 Thread Gus Delgado
I have a weblogic question, How do I set up weblogic so that when my Struts Action throws an exception I'll know which line it is on right now I get class.method(Unknow Source), i would like to get class.method(Class.java:432). thanks you very much -gus -- To unsubscribe, e-mail:

RE: [OT] Weblogic

2002-11-05 Thread Kevin A. Smith
Recompile your code with debug turned on javac -g and you'll get line numbers. --Kevin -Original Message- From: Gus Delgado [mailto:gdelgado;oceanobjects.com] Sent: Tuesday, November 05, 2002 1:51 PM To: Struts Users Mailing List Subject: Weblogic I have a weblogic question, How do I

RE: robot search engines and struts

2002-11-05 Thread Danen, Patrick
-Original Message- From: Craig R. McClanahan [mailto:craigmcc;apache.org] Sent: Tuesday, November 05, 2002 11:50 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: robot search engines and struts On Tue, 5 Nov 2002, Dragan Ljubojevic wrote: Date: Tue, 5 Nov 2002

Recall: robot search engines and struts

2002-11-05 Thread Danen, Patrick
Danen, Patrick would like to recall the message, robot search engines and struts. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Previous Action

2002-11-05 Thread Darren Hill
I have an action which needs to know which action called it. More background ... its a deleteAction that, if called from a list, go back to that list, if called from a view, go to welcome page, etc 1) Can I discover which action was call, from within an action? 2) Is there a better way to do

Final release for Struts 1.1

2002-11-05 Thread Xuefeng Wang
Hi, all, I'm using Struts 1.1B1 to develop our product, I want to know when Struts 1.1 final will be release. thanks, James _ Surf the Web without missing calls! Get MSN Broadband.

Emiting JSP tag ?

2002-11-05 Thread V. Cekvenich
I have a situation where I need to create complex layouts in XML (in a DB) and create a JSP from them that collect input. So I want to convert XML to JSP including tags at runtime. Ex: XML has a certian section where I need to put in html:text and htum:submit. Of course if I just emit this to

Re: frame in template

2002-11-05 Thread Eddie Bush
There are two ways Tiles will bring content in - as an include or as a value. You want to bring your content in as a value (to be specified in your frameset), but currently your bringing it in as an include. The same type of thing happens when you want to set the title for a document. Go

Re: DynaValidatorForm and Multi-page Forms

2002-11-05 Thread Derek Lin
Oh I see. In my code, I am validating using the plug-in validator. You are validating in the action class. I haven't tried the things you are doing. Anyone else tried this? -- Derek - Original Message - From: Seth Milder [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

bean:include question

2002-11-05 Thread Stephen . Chambers
All, Does anyone know if this is possible? bean:define id=rTid name=accidentRecordForm property=reasonTid/ bean:define id=eTid name=accidentRecordForm property=exceptionTid/ bean:include id=page1 page=/statusReason.do?pageTid=101493reasonTid =%=rTid%exceptionTid=%=eTid%/ bean:write name=page1

RE: Previous Action

2002-11-05 Thread Robert Taylor
Darren, you can create different action mappings which identify the correct return to screen but map to the same action. If I'm on the list page and I would invoke something like /do/list/delete and if I was on a view, then invoke the delete action like /do/view/delete. The action mapping for

Passing an (Dyna)ActionForm to the business object

2002-11-05 Thread Vincent Stoessel
I know I have probably violated MVC by doing this but while trying to find an elegant solution to passing field values between my Action classes and my Model Classes I went ahead and passed the whole darn DyaActionForm (daf) to my Model class: Why did I got to the dark side? It was so convenient

Re: Final release for Struts 1.1

2002-11-05 Thread Vincent Stoessel
They say a great work of art is never truly finished, only reluctantly abandoned. The devlopers say they will release 1.1 when the bugs are smashed. Xuefeng Wang wrote: Hi, all, I'm using Struts 1.1B1 to develop our product, I want to know when Struts 1.1 final will be release. thanks, James

Re: DynaValidatorForm and Multi-page Forms

2002-11-05 Thread Seth Milder
Derek Lin wrote: Oh I see. In my code, I am validating using the plug-in validator. You are validating in the action class. I haven't tried the things you are doing. Anyone else tried this? I am using the plug-in validator too. At least I think I am :) I was just following the examples that

Re: [OT] OJB/Struts and Jetspeed

2002-11-05 Thread John Nicholas
James Higginbotham wrote: Do you think that using the portal features of tiles could help in developing a portal application based on Struts? Well, if you need something now, like me, then you'll probably be doing what I do - comparing the potential of Jetspeed's codebase vs. writing

RE: Final release for Struts 1.1

2002-11-05 Thread Paananen, Tero
Hi, all, I'm using Struts 1.1B1 to develop our product, I want to know when Struts 1.1 final will be release. I heard tomorrow. -TPP - ducks -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: Passing an (Dyna)ActionForm to the business object

2002-11-05 Thread Robert Taylor
I would say you wouldn't necessarily violate MVC if you pass the DynaActionForm as a DynaBean into your model. Your model doesn't need an Form functionality, it only needs to access the data which is supported by the DynaBean contract. DynaBean is not bound to any presentation layer and therefore

Re: Steps to Get JRUN 3.1 and Struts 1.1b2 working

2002-11-05 Thread Steve Fyfe
As promised, I am posting the steps I took to get Struts 1.1b2 working in JRUN 3.1. I only got the example application working, I did not bother to get the other web apps bundled with Struts 1.1b2 working. So I can't guarantee that I found EVERY problem in getting Struts 1.1b2 working in JRUN

Re: Final release for Struts 1.1

2002-11-05 Thread Eddie Bush
LOL ... and when they go check the site and see it's not final yet? ... and if they happen to frequent the mailing list and notice your suggestion? That doesn't sound like very good advice. There are too many potential problems :-) I'd fire someone outright that lied to me about something

Re: Tiles overloading problem/question

2002-11-05 Thread Zsolt Koppany
What is the parameter type? Zsolt On Tuesday 05 November 2002 18:08, Dennis Muhlestein wrote: Yes, we use 1.1b2 and it works just fine. You may need put name=toolbar value=cb.project.toolbar.summary type=definintion note the type... but I saw someone say that it worked without it

Re: Final release for Struts 1.1

2002-11-05 Thread Dennis Muhlestein
Get a nightly. Rename it 1.1 Final. If anyone asks questions... Lie. On Tue, 2002-11-05 at 12:24, Xuefeng Wang wrote: Hi, all, I'm using Struts 1.1B1 to develop our product, I want to know when Struts 1.1 final will be release. thanks, James

Newbie logic:iterator question

2002-11-05 Thread Oliver Meyn
This thread existed a few weeks ago, according to the archives, where I found this suggested example for how to get iterator working (from Alexis Gallagher): jsp:useBean id=userListHelper scope=request class=com.tpc.UserListHelper / logic:iterate id=item name=userListHelper property=userList

RE: Emiting JSP tag ?

2002-11-05 Thread Hookom, Jacob John
Why not do a filter of some sort that catches requests? Logic would follow: boolean createJsp = false; Select dateLastModified, destination from tbl_pages if (!File(destination).exists()) createJsp = true; else if (File(destination).lastModified() dateLastModified) createJsp = true;

Entire Struts Mail Archive

2002-11-05 Thread Mark Ayad
Is there a link where I can download (compressed) the entire Struts Mailing List archive to date ? Or do let my spider out ? Mark - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 10:01 PM Subject:

RE: Previous Action

2002-11-05 Thread Chen, Gin
The best way for this is doing something called breadcrumbs. Its similar to the breadcrumb links that you normally see on top of websites that show: home - view home - view - list etc. Then you need to programmatically decide where to go based on the last link in the breadcrumbs. If you do a

  1   2   >