Re: Scriptlets see the getter method, but bean:write doesn't...

2001-07-26 Thread Dallas_Browning
Revised version, still same problem... Check this out: the following works fine: logic:iterate name=journalList id=journal type=com.ovid.csa.ojcu.journal.Journal logic:present name=journal %=journal.getIssnNum()%

Scriptlets see the bean, but bean:write doesn't...

2001-07-26 Thread Dallas_Browning
Check this out: the following works fine: logic:iterate name=journalList id=journal type=com.ovid.csa.ojcu.journal.Journal logic:present name=journal %=journal.getIssnNum()% %=journal.getJournalNameString()%

Using non-form beans in a form...

2001-06-29 Thread Dallas_Browning
I can create an html form and associate a bean with it (i.e. html:form name=Bean type=com.package.Bean). When I do this, I am happy to see all of my form fields populated with values that they retrieve from the getters in the bean. However, when I update those values, it appears that I have to

Re: important tip for installing struts within resin!

2001-06-13 Thread Dallas_Browning
Thank you S much for posting that. I have been wondering for quite a while why I can't get any of my application class to be found. Thanks Again, Dallas

Re: i18n + html:link

2001-06-13 Thread Dallas_Browning
I don't think that JavaScript is your problem. Once the JSP page is processed, the javaScript should look just like it does when you hardcode the value into it. Looks to me like your application resource bundle may have the key (header.simpleQueryImageSourceR) mistyped. Try just this line

I18n, xslt and struts...

2001-05-14 Thread Dallas_Browning
Would it be feasible to place struts-specific tags into an xslt (for example bean:message key=foo/)? In other words, is there any way to process the jsp code that the xslt returns? I'm trying to do this from the context of a custom tag (so it's the custom tag that receives the jsp code from

RE: database connection

2001-05-02 Thread Dallas_Browning
The reason why the value is null is because that is the default when you don't specify a key value for your datasource. When that is the case you will obtain your connection in the following manner:

RE: database connection

2001-05-02 Thread Dallas_Browning
You will add the key information to the datasource info in you struts-config.xml file it will look like this: data-sources data-source key=[some name I'll use to reference this datasource] autoCommit=false description=Data Source Configuration

Passing Parameters to a custom tag...

2001-05-01 Thread Dallas_Browning
Hi all, let me see if I can explain this. I have a custom tag that displays a list of information from a database. The database will allow me to apply an XSLT on the XML that it returns, and thus I can get the data formatted how I want it. Essentially my tag calls a method get XMLDataList(int

RE: dynamically constructing non-jsp pages

2001-04-10 Thread Dallas_Browning
Actually, it works quite well for *.js. One nice use of it is if you want to have an internationalized .js script (Say for instance you have alert messages that you want to be able to display in different languages). By configuring your servlet container to process .js files as though they

Internationalized JavaScript?...

2001-03-30 Thread Dallas_Browning
Let's say you have an alert box that has a message. You want that message to be internationalized. Let's also assume that you want your JavaScript source to not be in the jsp/html page, you would rather link to it (i.e. script src="[location of JavaScript source file]"). How do you get the

Re: Internationalized JavaScript?...Solved!!

2001-03-30 Thread Dallas_Browning
I do appreciate the suggestions presented to me. Let me share with you how I solved the problem. It was actually quite simple. I simply added the following line to my resin.conf (I'm using resin, but the same type of solution should work for anything) file: servlet-mapping

Re: jdbc explorer

2001-03-08 Thread Dallas_Browning
You'll need to edit your jbuilder.config file (in Jbuilder/bin/). You'll see a line that looks like this: # Add JDBC Drivers And under it is where you'll add the path to your jdbc driver. Then, restart Jbuilder, and your jdbc explorer should work.

Re: absolute paths for forwards?

2001-03-05 Thread Dallas_Browning
hh That works beautifully! Zach Thompson

Preferred HTML Editor

2001-03-05 Thread Dallas_Browning
Okay, I'm sure this has been discussed before, but I haven't seen it, so here it goes. What are the preferred html editors for users of struts? Of course, I expect to see Dreamweaver, but are there any others? Strengths/weaknesses, you know the usual. Thank you, Dallas

html:image tag border attribute?

2001-02-28 Thread Dallas_Browning
Shouldn't there be a "border" attribute for the html:image tag? Or is it there and I overlooked it?