How to initialize form to values coming from another bean ...

2002-01-17 Thread Alex Paransky
I have a bean on a page which does not have the same structure as a form in terms of fields and names of those fields. However, I want to use values from that bean to "DEFAULT" my form values to. How can I do this without resorting to scriplet mode? In other words the bean looks like this: pub

Pre populating a FormFile in a form bean, is it possible?

2002-01-17 Thread Antony Stace
Hi I want to be able to pre populate a FormFile in a form bean with a default file for the user to upload. How can I do this? -- Cheers Tony - _ Do You Yahoo!

RE: Things that use Struts

2002-01-17 Thread Stuart Charlton
Well, I can always discuss specific questions you have about my real-world implementation with Struts... I even teach Struts as part of the "Advanced JSP" module in our J2EE course, where we show real-world examples of its usage. I probably will pop some of our examples online at some point in

Re: a list of radio button

2002-01-17 Thread timothy
Still does not work : To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 7:12 PM Subject: Re: a list of radio button > try changing the name= to:- > > struts will call myCollectionEl

RE: Reporting Writing

2002-01-17 Thread Tricia Ong Cheah Yen
i'm intrested +trish -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 18, 2002 8:43 AM To: Struts Users Mailing List Subject: Re: Reporting Writing We have developed some Flash based reports that are interactive and render on the client side

RE: Question: ActionForm specific ApplicationResources.properties?

2002-01-17 Thread Taylor Cowan
the tag, and a few others, have an attribute called "bundle". That specifies the key to use when looking up a MessageResource class in application scope, the default being Action.MESSAGE_KEY. I found the doc to be a bit confusing, and I began to wonder just how the struts localization stuff is a

RE: Things that use Struts

2002-01-17 Thread Dan Washusen
Like I said, it's only a proof of concept. The company in question is used to paying a LOT of money for it's application servers, apparently they almost jumped at the chance at cutting that cost to near nothing... I'm only a lowly dev on the project and don't really know any of the politics assoc

Question: ActionForm specific ApplicationResources.properties?

2002-01-17 Thread Mark Woon
Hi all... I've asked this before, and got no response. But third time's a charm, eh? I'd appreciate a quick "this isn't supported" if that was the case before I started implementing my own custom solution... Is there a way to have Action/ActionForm specific resources? Instead of dumping it a

Re: focus failing in NS on linux?

2002-01-17 Thread Mark Woon
I'm using Gnome/Sawfish, and I've tried all available focus styles to no avail. Is anyone else seeing this behavior on Linux? If not, what window manager are you using, with what focus style? I've attached a test html file, so it should be simple to test it out. The User ID field should gra

Re: Action Passing a Class Instance?

2002-01-17 Thread Mark Galbreath
Thanks alot, Mark! Mark - Original Message - From: "Mark Woon" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 8:31 PM Subject: Re: Action Passing a Class Instance? > Mark Galbreath wrote: > > > Thanks so very much! I have found

Re: Action Passing a Class Instance?

2002-01-17 Thread Mark Woon
Mark Galbreath wrote: > Thanks so very much! I have found very little on how the Struts API can > actually be used in practice, and even less on struts-config.xml. I > actually assumed that that is how it must be done. That being said, I still > don't have a clue as to the actual implementatio

Re: Things that use Struts

2002-01-17 Thread Mark Galbreath
"One of Australias' biggest sites?" How are you going to that with Tomcat? Cheers! Mark - Original Message - From: "Dan Washusen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 8:02 PM Subject: RE: Things that use Struts > Hey

Re: Things that use Struts

2002-01-17 Thread Mark Galbreath
Where are you? I'd like to send a resume! :-) Cheers! Mark - Original Message - From: "Stuart Charlton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 6:00 PM Subject: Things that use Struts > Hi everyone, > > I've been a Struts developer and lurker sinc

Re: , related query

2002-01-17 Thread Mark Galbreath
Have you looked at the Struts API? You could probably answer your own question. Cheers! Mark - Original Message - From: "hemant" <[EMAIL PROTECTED]> To: "struts" <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 7:55 PM Subject: , related query Hello, I get a "javax.servlet.jsp.

RE: Things that use Struts

2002-01-17 Thread Dan Washusen
Hey everyone, I'm currently working on a proof of concept for a re-write of one of Australia's biggest sites (just under a million searches a month). The proof of concept runs the front end (presentation layer) on Linux with Tomcat 4 and Struts. I'll keep you posted on how it goes (so fa

Re: Things that use Struts

2002-01-17 Thread Mark Galbreath
I am part of a development team that just made the decision (last week) to use Struts as the core servlet container technology for VoiceStream's new ecommerce intra/extranet website. I am having trouble getting practical advice/tutorials on exact implementation, but so far, Struts is performing i

Struts & BES 5.0

2002-01-17 Thread Mark Whelan
G'day, I still have some unresolved issues with Struts and BES 5.0. I've tried Borland's newsgroups and their support staff here and so far I've had no luck. BES 5.0 uses Tomcat 4.0.1 and JDK 1.3.1. I get the following errors when attempting to access the struts-example application. [Fri Jan 18

, related query

2002-01-17 Thread hemant
Hello, I get a "javax.servlet.jsp.JspException" with the description being "No getter method available for property selectSeasons for bean under name org.apache.struts.taglib.html.BEAN" I have the following questions 1) Why is it looking at org.apache.struts.taglib.html.BEAN in the first p

Re: Reporting Writing

2002-01-17 Thread Mark Galbreath
There is also much info in the [EMAIL PROTECTED] archives regarding this subject. Cheers! Mark - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 7:42 PM Subject: Re: Reporting Writing > > We have develope

Re: bug -> form taglib

2002-01-17 Thread Mark Galbreath
I have to ditto Mark's reply. I have been conforming my HTML to XHTML for 3 years and never had a problem with any browser as long as you put that space in between the tag directive and the closing "/>." I would suggest, nevertheless, that you go to www.w3c.org and read the specs for yourselves.

Re: Reporting Writing

2002-01-17 Thread cody.burleson
We have developed some Flash based reports that are interactive and render on the client side broswer using Flash XML API. These objects make their own request to the server, so they can hit a servlet and recieve XML. If you're interested, just email me directly. - Cody Chris Hane <[EMAIL

RE: action configuration

2002-01-17 Thread Jeff Oberlander
Are you using the tag? -Original Message- From: Henrik Chua [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 3:14 PM To: Struts Users Mailing List (E-mail) Subject: action configuration Hi! I am having a problem with struts. I am running an iPlanet web server 6 sp1. The p

Re: Why ActionMessages not part of Struts 1.0.1?

2002-01-17 Thread David Winterfeldt
Only bug fixes have gone into Struts 1.0.1. Adding the ActionMessages would be a feature. Plans are in the works for having a Struts 1.1 release which would be based off the nightly builds (no date set yet, but should happen relatively soon). David --- Alex Colic <[EMAIL PROTECTED]> wrote: > H

Re: Is there a better way to write this code?

2002-01-17 Thread Mark Galbreath
Yeah, right. Write all the assembler you want dude, and you will be relegated to the heap of the unemployed. The day belongs to the VM, whether it be MS or Sun. Cheers! Mark - Original Message - From: "Arron Bates" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>

Re: Reporting Writing

2002-01-17 Thread Mark Galbreath
Crystal Reports. Mark - Original Message - From: "Chris Hane" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 3:12 PM Subject: Reporting Writing > > Group, > > This is a bit off topic; however, there seems

Re: Action Passing a Class Instance?

2002-01-17 Thread Mark Galbreath
Thanks so very much! I have found very little on how the Struts API can actually be used in practice, and even less on struts-config.xml. I actually assumed that that is how it must be done. That being said, I still don't have a clue as to the actual implementation. It sure would be nice if th

Re: Action Passing a Class Instance?

2002-01-17 Thread Mark Woon
Mark Galbreath wrote: > Anyway, I need to pass control from one class to another in a web app > something like: > > public String getNextPage() throws Exception { > Command nextCommand = new ListEquipmentAction(); > nextCommand.setAttributes( this); > nextCommand.execute(); > > re

action configuration

2002-01-17 Thread Henrik Chua
Hi! I am having a problem with struts. I am running an iPlanet web server 6 sp1. The problem is I am having an error referencing my action class. My URI is just "/" and when I try to do an action like "/logon.do" the url changes from http://localhost/logon.jsp into http://logon.do instead o

Reporting Writing

2002-01-17 Thread Chris Hane
Group, This is a bit off topic; however, there seems to be a good discussion going on. I'm new to the java world (less than 1yr) and am using struts to develop an internal application. One of the requirements is to generate reports. I'm currently rolling my own reports using struts/jsp. I

Re: Is there a better way to write this code?

2002-01-17 Thread Arron Bates
c tang wrote: >You are right this thing is very powerful. But that >should not be the reason to not doing it. I can >always do the MyBean.wait() in scriptlet. There is >nothing to stop that. > >Power to the developers! > So why complain about not being able to do something and just do it in

Re: bug -> form taglib

2002-01-17 Thread Mark Woon
"Tom Klaasen (TeleRelay)" wrote: > Hmm, maybe. But Struts is for rendering html, and I'm pretty sure xhtml > and html aren't entirely compatible... (how does your IE3.0 react on > "" ?) I've been using straight XHTML for a while now with no problems. The way to get around older browsers getting

Re: Things that use Struts

2002-01-17 Thread pchowdhr
Hello Stuart, I am so glad to see this email. I am pushing Struts in my company in a big way too and have got quite a few good examples from the local IT industry here in Madison, but nothing on the scale of what you mention. I am going to forward your email to my director ! It would be so grea

Re: Things that use Struts

2002-01-17 Thread Yan Zhu
hey thanks for sharing the stories, it gives us newbies something to go on. :) yan Stuart Charlton wrote: > Hi everyone, > > I've been a Struts developer and lurker since 1.0 was first released and > have been pushing it in a big way within my company... Just wanted to throw > in my two cents

Things that use Struts

2002-01-17 Thread Stuart Charlton
Hi everyone, I've been a Struts developer and lurker since 1.0 was first released and have been pushing it in a big way within my company... Just wanted to throw in my two cents about where we're using Struts for people who are wondering whether Struts is right for their project, or if it can ta

Netscape 4.7 Adding Port Number after calling Action

2002-01-17 Thread @Basebeans.com
Subject: Netscape 4.7 Adding Port Number after calling Action From: "Ricky Frank" <[EMAIL PROTECTED]> === I am having some problems maintaining a session after calling an action from a Netscape 4.7 browser. It seems to be from the addition of the port number to the URL (Netscape seems to do this

Ron Smith's struts actionservlet extension with Struts 1.1

2002-01-17 Thread ltorrence
Anybody know if this works with the 1.1 nightly builds? Or is is recommended that I use the service manager included in the contrib folder (I assume Smith's transformer package will work with that)

Form mapping default when validate() fails.

2002-01-17 Thread Robert Tyler Retzlaff
When you have an action mapping with validate set to true in the struts config and the validate() for the mappings form component fails, where does request get forwarded too? Or how do you set where it's forwarded too? Or is it up to me to call the validate() method on the form and then mapping

RE: Table Maintanence(Off topic a bit)

2002-01-17 Thread Ramanswamy, Muthu
Cameron- Use JSP Tags. The tag can output the XML Content and write it to the JspWriter. Later use the Apache XSL Tags as the outer tag that could apply the XSLT and then deliver the page. http://jakarta.apache.org/taglibs/doc/xsl-doc/intro.html Hope it helps., -Muthu -Original Message

Action Passing a Class Instance?

2002-01-17 Thread Mark Galbreath
I'm new (2 days) to Struts and cannot find any good documentation nor tutorials to satisfactorily explain the API in a practical sense. Anyway, I need to pass control from one class to another in a web app something like: public String getNextPage() throws Exception { Command nextCommand = n

Re: Table Maintanence

2002-01-17 Thread Pete Carapetyan
> I am trying to put together a Table Mainance app for the web using struts of > course! before I start coding it my self, I should see if any one has > already put together any thing like this. webAppWriter will build you a database maintenance app for you, and Expresso has most,if not all of t

RE: Table Maintanence(Off topic a bit)

2002-01-17 Thread Adam Smith
I think that the WebAppWriter application does what you want, although I don't think it uses XML. http://datafundamentals.com I think it is based on Expresso, which now incorporates Struts. -Original Message- From: Cameron Ingram [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2

Table Maintanence(Off topic a bit)

2002-01-17 Thread Cameron Ingram
I am trying to put together a Table Mainance app for the web using struts of course! Since these are small tables that dont have a lot fields as well as a lot of functionality(Add, Edit, Delete). I want to do some thing that can be fairly generic. Class X creates an XML output for table Y which I

Filtering problem with html:link with both static+dynamic params

2002-01-17 Thread Mathieu Frenette
Hi! When mixing both static and dynamic params, automatically inserts the ampersand character to tokenize the parameters, but it does *filter* it as if it were an illegal character. As should be expected with filtering the ampersand gets replaced by "&", which obviously is not valid there. Her

Re: Is there a better way to write this code?

2002-01-17 Thread João Guilherme Del Valle
The thread is going, so let me in. :) Keith is right. It´s a practical tool, not a taglib translation of Java Language, not a wrapper to it. My honest opinion is that it´s possible (and very easy) to make this kind of tag available, but it´s not the point. The idea behind taglibs is to encapsulat

Re: Is there a better way to write this code?

2002-01-17 Thread Fernando Esteban Barril Otero
In my opinion, one should use JSP with taglibs to present the data. If you need special processing or more complex behavior, you should encapsulate it inside a bean or a custom tag. The examples you mentioned (Integer.toOctalString(), String.toLowerCase()) can be easily achieved using the JSTL.

RE: Forwarding from a FormAction with parameters...

2002-01-17 Thread Alex Paransky
I would do this, if the parameters were static, but there are other parameters which are not static (for example, ID of the object being edited), the actual full URL is: whatEverPageName?type=next&id=2234 I was thinking that perhaps I could forward to a .JSP page that could build the final desti

Re: Forwarding from a FormAction with parameters...

2002-01-17 Thread Ted Husted
To avoid these types of problems, it is really better to * always * route control through an Action, rather than link directly to a page. This way, the semantics are always the same, and you also do no end up embeding magic words like "type=initial" into other pages. So, I would have an "Registe

Re: Is there a better way to write this code?

2002-01-17 Thread Keith Bacon
I like struts as a 'practical' tool for business development. I haven't had a problem with it being restrictive in (fairly limited) practice. I hope that struts guides you towards best practise & standard techniques. On wrappers - I normally wrap collections anyway to apply restrictions & to add

Re: about connectionPool

2002-01-17 Thread Keith Bacon
http://www.google.com/search?q=poolman&btnG=Google+Search ie. search on google for poolman. K. --- Yan Zhu <[EMAIL PROTECTED]> wrote: > > where do you download poolman? > > yan > > Nick Thomson wrote: > > > Thank you for the clairification. Good job. > > > > -Original Message- >

Re: Forwarding from a FormAction with parameters...

2002-01-17 Thread Jonathan James
What about having an action mapping like this: or maybe (better?) in your original action mapping just a forward for each one like: -Jonathan - Original Message - From: "Alex Paransky" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]

RE: Forwarding from a FormAction with parameters...

2002-01-17 Thread Alex Paransky
I understand what you are saying, but then sometime the value is in the parameters, and sometimes in the request. I basically have a page with two modes of operation. When I pass ?type=initial to the page it behaves in a certain way. There is a link on the page to take it into a second mode. T

Re: Is there a better way to write this code?

2002-01-17 Thread c tang
I think you miss my point. We are lucky that the examples I gave have some special tag builded in struts. How about writing Integer.MAX_VALUE, Integer.toOctalString(), String.toLowerCase() etc. There are tons of public API in jdk not mention third party one. ct --- Fernando Esteban Barril Oter

Re: about connectionPool

2002-01-17 Thread Yan Zhu
where do you download poolman? yan Nick Thomson wrote: > Thank you for the clairification. Good job. > > -Original Message- > From: Dick Starr [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 16, 2002 11:01 AM > To: Struts Users Mailing List > Subject: Re: about connectionPoo

Re: XHTML compliance - todo??

2002-01-17 Thread Wim Fournier
On Thu, Jan 17, 2002 at 09:04:30AM -0800, Matt Raible wrote: > I think I fixed the first 2, I'm not sure about the 3rd one. I did convert the > struts-example using my patched version of struts - and it did validate > (transitional), so I'm assuming I got most of them. transitional? better use st

RE: about connectionPool

2002-01-17 Thread Nick Thomson
Thank you for the clairification. Good job. -Original Message- From: Dick Starr [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 11:01 AM To: Struts Users Mailing List Subject: Re: about connectionPool Nick: In "Professional JSP Site Design" page 608 Ted Husted says "... s

Re: XHTML compliance - todo??

2002-01-17 Thread Matt Raible
I think I fixed the first 2, I'm not sure about the 3rd one. I did convert the struts-example using my patched version of struts - and it did validate (transitional), so I'm assuming I got most of them. Matt --- Wim Fournier <[EMAIL PROTECTED]> wrote: > TNX! > > I'll put my browser on automati

URGENT: Struts problem with WebLogic. help please..

2002-01-17 Thread Mohan . Ruthirakotti
All, We are having a problem deploying a struts application developed on iPlanet to weblogic. The specific problem occurs when we use a stuts html:form tag like this: which produces the following HTML: On weblogic, however, the HTML produced is this. The /weblogic portion of the URL is

RE: focus failing in NS on linux?

2002-01-17 Thread Jeff Martin
This may depend on how your focus style is set with your window manager. I seem to remember that when I use sloppy focus that netscape linux didn't always focus right. Jeff -Original Message- From: Mark Woon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 11:24 PM To: Strut

Re: solved - Config Problem using Struts with WebSphere 3.5.4 on Linux 7.2

2002-01-17 Thread Anton_Grimm
I was to concentrated on the directory structure, web.xml and struts-config.xml ... The simple fault was the init-parameter for the Action-Servlet was set to false in the Admin-Console.;-((( Toni MAN Nutzfahrzeuge AG Anton Grimm A

Re: [ANNOUNCE] Chiki v0.23

2002-01-17 Thread Emaho, Ghoot
For people registering, I meant to mention you should pick a username that follows the Wiki-Word convention (basically two or more words with initial capitals) i.e. GhootEmaho instead of ghoot. This will allow links to be made to your homepage. If you dont follow the Wiki-word convention, the a

Re: XHTML compliance - todo??

2002-01-17 Thread Wim Fournier
TNX! I'll put my browser on automatic reload on that ;o) So the only things left are: POST in form (should be post) name= in form (should be id) and lang in On Thu, Jan 17, 2002 at 08:20:13AM -0800, Matt Raible wrote: > I've already converted these tags and submitted them to the dev-list. I

[ANNOUNCE] Chiki v0.23

2002-01-17 Thread Emaho, Ghoot
Chiki version 0.23 is now up and running. Chiki is a Wiki-like webapp built using Struts. This is the first publicly available release, so as much feedback as possible would be greatly appreciated. Chiki can be found at: http://chiki.emaho.org If you have difficult

Re: XHTML compliance - todo??

2002-01-17 Thread Matt Raible
I've already converted these tags and submitted them to the dev-list. I know that Martin Cooper is looking at committing the changes in the next couple weeks. The reason they haven't been committed earlier is due to the following bug in the current implementation: http://nagoya.apache.org/bugzi

Re: Is there a better way to write this code?

2002-01-17 Thread c tang
You are right this thing is very powerful. But that should not be the reason to not doing it. I can always do the MyBean.wait() in scriptlet. There is nothing to stop that. Power to the developers! ct --- Arron <[EMAIL PROTECTED]> wrote: > I can see what you're trying to say and it would b

coordination of applications (communication)

2002-01-17 Thread Robert Tyler Retzlaff
Incidentally I have two struts based applications app1.war and app2.war I would like to write a third application that is a controller of the other two but this kind of thing is a little new to me. Mostly I'd like to be able to access and pass references between applications. For example I'd li

RE: Architecture question - struts/expresso/arsdigita

2002-01-17 Thread Chris Birch
Martin, A chap called Joe Faith ([EMAIL PROTECTED]) posted on here recently and his company specialises in developing products based on OpenACS, the ArsDigita framework. His website has information and links regarding this platform, http://www.runtime-collective.com/acs.html which they use for a

RE: struts & security

2002-01-17 Thread Martin Farrell
Hi I tend to use the container based log in structure, the only problem is that i slightly remove yourself from the mvc setup in struts because i relay it to a servlet to get the user details. An alternative im looking at is expresso's access control which offers both group and user levels marti

RE: Class Loading Performance Question

2002-01-17 Thread George M. Coles
Sounds like he's leading from behind. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 10:38 AM To: 'Struts Users Mailing List' Subject: RE: Class Loading Performance Question What I thought - tech lead of my dev group is trying to argu

java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory

2002-01-17 Thread Morten Andersen
I have made a stand -alone client and a web-client that uses the same EJB's on a JBoss server. The web-client have no problems in connecting to the EJB's, but after I changed my Operative system I got some problems with the stand-alone client. It seems to be something to do with the classpath,

JBossSX

2002-01-17 Thread Dirk Storck
Hi, I am using JBossSX and Struts. I have defined a LoginAction where I do the login with UsernamePasswordHandler and LoginContext. I use the org.jboss.security.auth.spi.DatabaseServerLoginModule. The login works fine and I get a message that I am authenticated but if I access another action I g

RE: Class Loading Performance Question

2002-01-17 Thread Mark Galbreath
What I thought - tech lead of my dev group is trying to argue otherwise. thanks! -Original Message- From: Jonathan James [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 10:35 AM To: Struts Users Mailing List Subject: Re: Class Loading Performance Question No performance hit

Re: Class Loading Performance Question

2002-01-17 Thread Jonathan James
No performance hit whatsoever. It's purely an issue of maintainability. Those are just directives to tell the compiler where to look to resolve names, they aren't actually included in the file or anything. -Jonathan - Original Message - From: "Mark Galbreath" <[EMAIL PROTECTED]> To: "Str

Class Loading Performance Question

2002-01-17 Thread Mark Galbreath
Anybody have an idea on the performance hit that might be taken by a high-volume app server running classes with explicit imports rather than wildcard imports? For example, import org.apache.struts.action.Action; import org.apache.struts.util.PropertyUtils; as opposed

struts & security

2002-01-17 Thread Domen, Ken
In general, do people mostly use the webtier & ejb security provided by J2EE? Or is there another layer of security that struts provides? thanks. ken -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: bug -> form taglib

2002-01-17 Thread Wim Fournier
> > Also, why would struts want to be compatible only with html > > when we are in the > > process of migrating to a new standard (talking abt xhtml now)??? > > "migrating to a new standard" ? xhtml is a "reformulation" of html, not > a replacement... Maybe I got this whole xhtml concept wrong,

RE: nested indexes

2002-01-17 Thread Tom Klaasen (TeleRelay)
http://www.keyboardmonkey.com/struts is your saviour tomK > -Original Message- > From: John Ng [mailto:[EMAIL PROTECTED]] > Sent: donderdag 17 januari 2002 16:15 > To: Struts Users Mailing List > Subject: nested indexes > > > Hi, > > I am just wondering if anyone has successfully t

nested indexes

2002-01-17 Thread John Ng
Hi, I am just wondering if anyone has successfully tried the nested indexes loop; something like customers[i].addresses[j].street Obviously, I have a form beanw which has a getCustomers function returns a list containing addresses objects. Each address object has a getStreet and setStreet fun

Re: multipart post files & struts

2002-01-17 Thread Sean Owen
Yes, Struts puts uploaded files into a temporary directory before your Action is invoked. The location of the temporary directory can be set with the servlet initialization parameter called "tempFile". If you don't specify it, I imagine that the files are put into whatever the JVM considers the t

Re: Loading data for

2002-01-17 Thread Sean Owen
On an application where we had a lot of these static lists of options in the database, we loaded Lists of small name-value pair beans into the ServletContext at application startup. Then it's a simple matter to use html:options to access that list. We found that this approach was a pretty effectiv

RE: bug -> form taglib

2002-01-17 Thread Tom Klaasen (TeleRelay)
> -Original Message- > From: Wim Fournier [mailto:[EMAIL PROTECTED]] > Sent: donderdag 17 januari 2002 15:34 > To: Struts Users Mailing List > Subject: Re: bug -> form taglib > > > > > s would really decrease render time as, when rendered as > > > xhtml, the browser looks for a closing

Re: bug -> form taglib

2002-01-17 Thread Wim Fournier
> > s would really decrease render time as, when rendered as > > xhtml, the browser looks for a closing tag and cant find it > > Hmm, maybe. But Struts is for rendering html, and I'm pretty sure xhtml > and html aren't entirely compatible... (how does your IE3.0 react on > "" ?) > > have a rea

RE: bug -> form taglib

2002-01-17 Thread Tom Klaasen (TeleRelay)
> -Original Message- > From: Wim Fournier [mailto:[EMAIL PROTECTED]] > Sent: donderdag 17 januari 2002 14:40 > To: [EMAIL PROTECTED] > Subject: bug -> form taglib > > > Hi, > > Found a bug in the Form taglibrary > > - The input tag is not closed with ' />' instead, its closed with '

RE: Accessing a nested Collection within

2002-01-17 Thread Tom Klaasen (TeleRelay)
> -Original Message- > From: Mathieu Frenette [mailto:[EMAIL PROTECTED]] > Sent: donderdag 17 januari 2002 15:13 > To: Struts-User (E-mail) > Subject: Accessing a nested Collection within > > > Greetingz Struts fanatics! ;) > > The collection I want to use in my is nested > two le

Accessing a nested Collection within

2002-01-17 Thread Mathieu Frenette
Greetingz Struts fanatics! ;) The collection I want to use in my is nested two levels deep from the bean that is actually in scope (named 'database'). For example, here's how I'm accessing the collection from JSP scriplet: <% Collection users = database.getUsersTable().getUsers(); %> Each 'Us

Re: Is there a better way to write this code?

2002-01-17 Thread Arron
I can see what you're trying to say and it would be truly flexible if you could do that. But I can already foresee the reaction from the die-hards, and that is that it would give the person doing the markup "too" much power. Probably get at some things that shouldn't be gotten at, like MyBean.

Re: Getting a value from request in html:hidden

2002-01-17 Thread Keith Bacon
Hi Jerome, http://jakarta.apache.org/struts/struts-html.html#hidden the documentation doesn't mention it but try If that doesn't work I'd say you can't & good thing too. The standard way is to have stuff like this travel between your action class & the form via the form bean. Keith. --- Jer

Re: Is there a better way to write this code?

2002-01-17 Thread Fernando Esteban Barril Otero
To write the size of collection object or array, you can and write with . The "size" bean can also be used with the tag ... In the case of toString, if you don't specify a property attribute in the tag , the output is the toString of the object, like the above example. This may help to avoid

Re: Is there a better way to write this code?

2002-01-17 Thread c tang
Creating a wrapper class may get rid of scriptlet in JSP. But that means for every public api (such as Collection.size(), Object.toString()) that does not fit get/set pattern, a wrapper class has to be created in order to avoid scriptlet using struts. IMHO, that is worse than just using scriptlet

bug -> form taglib

2002-01-17 Thread Wim Fournier
Hi, Found a bug in the Form taglibrary - The input tag is not closed with ' />' instead, its closed with '>' In the html taglib, there is kind of the same bug - The base tag is not closed with ' />' s would really decrease render time as, when rendered as xhtml, the browser looks for a closin

XHTML compliance - todo??

2002-01-17 Thread Wim Fournier
Hi all, Is there anyone who picked up the todo for 1.1 about writing a xhtml tag lib?? As xhtml deprecating html, I think this is a must have.. ;o) grtz Wim Fournier btw.. my webapp works! finally ;o) tnx to anyone that helped me out! -- To unsubscribe, e-mail:

Re: Architecture question - struts/expresso/arsdigita

2002-01-17 Thread Pete Carapetyan
Martin Farrell wrote: > looking for a platform architecture below struts to deal with the database >interaction. > Could expresso be used such that i could use my struts actions to control the >view, and > have an underlying expresso controller to control the business logic? Expresso is just

Getting a value from request in html:hidden

2002-01-17 Thread Jerome Josephraj
Hi, Is there a way to get an attribute value from the request object using html:hidden tag. (i.e For Instead of getting "callingPage" value from userForm bean I want to get "callingPage" value from request object) Ta, Jerome -- To unsubscribe, e-mail:

Re: ActionForm and JSP

2002-01-17 Thread Ted Husted
The ActionForm is are not really used the "JSP" but by the tag and any of its nested tags. The form bean is specified in the html:form tag itself or (most often) in the struts-config for the html:form tag's action. http://jakarta.apache.org/struts/userGuide/building_view.html#form_beans -- Ted

Architecture question - struts/expresso/arsdigita

2002-01-17 Thread Martin Farrell
hi im currently working on a website using struts, and am looking for a platform architecture below struts to deal with the database interaction. The current options i am looking at are 1. expresso - I like expresso because of how it handles the persistence, and the fact it already ties in with

Re:

2002-01-17 Thread Oleg V Alexeev
Hello Marcelo, You must use last nightly build - struts.jar from it and *.tld files too. Thursday, January 17, 2002, 12:59:43 AM, you wrote: MC> Hi, MC> I was wandering how the format attribute of tag works... I've tried everything imaginable and the JSP keep teling me that format is not a

Re: ActionForm and JSP

2002-01-17 Thread Olivier Dinocourt
there do I say : RTFM ! - Original Message - From: "Antoine Gibson" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 12:50 AM Subject: ActionForm and JSP > Dear all, > > I would like to know how my jsp page knows what ActionForm bea

Re: a list of radio button

2002-01-17 Thread Keith Bacon
try changing the name= to:- wrote: > Hi expert, > > i want to generate this: > > > Element Value: one > > Element Value: two > > but i get the following result: > > > Element Value: one > >

html taglib and xhtml compliance

2002-01-17 Thread Wim Fournier
Hi all, I'm using the html tag lib from struts to generate xhtml code in my JSP pages. I do this by using: When I validate the generated page using validator.w3.org, I get errors that come from inside the library: Below are the results of checking this document for XML well-formedness and v

Re: Struts Connection Pooling

2002-01-17 Thread Bernardinus
www.codestudio.com for PoolMan alternatively, you may want to look at www.bitmechanic.com for JDBCPool /bernard - Original Message - From: "Struts Newsgroup" <@[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 1:40 PM Subject: Re: Struts Connection Pooling >

RE: Indexed properties...setters and getters

2002-01-17 Thread Rey Francois
What are the methods on your form bean? Are they public? It may help to see your code. Fr. -Original Message- From: Tom Goemaes [mailto:[EMAIL PROTECTED]] Sent: 17 January 2002 09:34 To: Struts Users Mailing List Subject: Re: Indexed properties...setters and getters Is the indexed fea

  1   2   >