RE: problem with module

2004-03-26 Thread Colm Garvey
I've just finished fixing what I think is the same problem you guys have been having i.e. switching modules on Struts 1.1 First, make sure you have the most recent release build of struts, as I had problems with earler 1.1 builds on weblogic 8.1 I originally started with the

RE: html:options where values have embedded quotes

2004-03-26 Thread Colm Garvey
It might not be sexy, but a fast solution would be to use something else instead of quotes e.g. ^ or | and then use a small Javascript replace function to write out the text correctly? Colm -Original Message- From: Doug [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 23:25 To: Struts Users

RE: Populating a Listbox

2004-03-26 Thread Colm Garvey
I've come across this in a few difference manifestations and the best course of action I've come across is dependant on the number of variations. If you're only talking about a couple of hundred or less, use a javascript array to populate the second dropdown on the fly. If you're dealing with

RE: .swf file

2004-03-26 Thread Colm Garvey
Just the same as any other hyperlink you create with Flash. Just point your hyperlink to nameoflink.do instead of nameoflink.jsp Colm -Original Message- From: Jignesh Patel [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 18:02 To: [EMAIL PROTECTED] Subject: .swf file Dear Friends, Can

RE: blocking bookmarked actions

2004-03-26 Thread Colm Garvey
Or wrap the whole app up in frames. That'll do the trick. Colm -Original Message- From: Mark Shifman [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 18:32 To: Struts Users Mailing List Subject: Re: blocking bookmarked actions where do I do the blocking? The action I am having problems

RE: html:javascript question

2004-03-25 Thread Colm Garvey
And alternatively, logic:messagesPresent script language=jscriptalert('bean:message key=global.error.heading/\n\nhtml:messages id=error - bean:write name=error/\n\n/html:messages') /script /logic:messagesPresent global.error.heading=An Error(s) has occured: Colm -Original Message-

RE: are you sure?

2004-03-23 Thread Colm Garvey
Simplest thing to do here is make the method handle the submit for you. Replace the submit button with : html:button property=dummySubmit onclick=areyousure();Submit/html:button Then change the javascript to use ...if (agree){formname.submit();} Good Luck, Colm -Original Message-

Odd behaviour with utf-8 on weblogic 8.1

2004-03-22 Thread Colm Garvey
I've just discovered a very odd bug/feature , but I'm not entirely sure what's causing it. I have a resource bundle for thai which has been encoded as utf-8. If I specify %@ page contentType=text/html; charset=UTF-8 language=java ... in my JSP pages I wind up with gobbledigook, but if I simply

RE: access variable value in html tag

2004-03-19 Thread Colm Garvey
Hmm..Your syntax looks right to me, though you are missing a closing just before /html:option Could the problem lie elsewhere? Can you write out the accounts.number/account.no_account label/value as a simple list? Colm -Original Message- From: Steltner, Joern [mailto:[EMAIL PROTECTED]

RE: Two beans in same form

2004-03-19 Thread Colm Garvey
Need to see the code, compadre :) -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 13:07 To: [EMAIL PROTECTED] Subject: Two beans in same form Hi I have two beans - teacher and student in same form and with same variable(property) SSN. Teacher is a subclass

html:form focus problem

2004-03-19 Thread Colm Garvey
Anyone else noticed an issue whereby the focus javascript is popping up an error because it can't find the element to which the focus is attached? I've tested the code by re-invoking it after the page has fully loaded and it works just fine. The problem seems to be that for some very odd reason

RE: UTF-8 characters in the name of the uploaded document

2004-03-19 Thread Colm Garvey
In this article: http://www.anassina.com/struts/i18n/i18n.html The author mentions that a filter is required for UTF-8 encoded forms. Worth a go? Colm -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 14:22 To: Struts Users Mailing List Subject: UTF-8

RE: html:form focus problem

2004-03-19 Thread Colm Garvey
the javascript to below the form in the page? Unless the javascript is being called by an onload in the body tag, it will need to be below the form elements for them to exist when the javascript executes. -Original Message- From: Colm Garvey [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 15

Module switching issue on weblogic 8.1

2004-03-18 Thread Colm Garvey
pageflows because this application has to be platform independant. Kind Regards, Colm Garvey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 March 2004 09:00 To: [EMAIL PROTECTED] Subject: Important Information Regarding Your BEA eSupport Login ID

RE: calling ASP inside a JSP

2004-03-18 Thread Colm Garvey
Mohan, please go to and read: http://www.w3schools.com/html/html_frames.asp Colm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 13:50 To: [EMAIL PROTECTED] Subject: Re: calling ASP inside a JSP Hi James Can u tell me how can acheive this. I

RE: Way tho highlight error form field

2004-03-18 Thread Colm Garvey
I've been thinking about this myself, and the way I plan on doing it is using a variation on my usual theme of: logic:messagesPresent html:messages id=error script language=jscriptalert('bean:write name=error/')/script /html:messages /logic:messagesPresent to using a superior jscript

RE: Module switching issue on weblogic 8.1

2004-03-18 Thread Colm Garvey
so that i can try it Thanks Sougata -Original Message- From: Colm Garvey [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 3:26 PM To: [EMAIL PROTECTED] Subject: Module switching issue on weblogic 8.1 hi there, I've run into a persistent problem with weblogic 8.1 using struts 1.1