images in html buttons
Within the body of a standard HTML button tag, I can place HTML, such as the img tag and this will get rendered as the button image. With struts html:button tag, this doesn't work and I get the raw text rendered as the button text. Is there a way around this other than going to image maps which don't work the same way as buttons do? Wayne Christian Sr. Staff Software Engineer Genesys Telecommunications Labs 2100 Gateway Centre Blvd. Suite 300 Morrisville, NC 27560 ? Office: (919) 466-6151 Fax:(919) 466-6157 ? EMail: mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
wizards within wizards
Within struts, are wizards just a progression of actions/actionforms? Is there a framework for building wizards or does everyone just do their own thing? I've got a situation where I have multiple wizards and many of them may be invoked from other wizards, creating a cascade of wizards. What I mean is that while completing wizard A, one may be able to branch to wizard B, etc. When completing the last wizard, I need to be able to make sure that I go back to which ever wizard the last one was launched from. This means that the action mapping (forward map???) is not fixed, but programmatically variable. Please don't ding me on design principles here, this is a customer requirement, since we're trying to integrate with another product that does this and their users are used to being able to do this. Am I on my own as far as making this work, or is there some sort of struts mechanism to do this??? Wayne Christian Sr. Staff Software Engineer Genesys Telecommunications Labs 2100 Gateway Centre Blvd. Suite 300 Morrisville, NC 27560 ? Office: (919) 466-6151 Fax:(919) 466-6157 ? EMail: mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: images in html buttons
Wendy, So you use the style sheets as a way to attach the image to the button? Wayne Christian Sr. Staff Software Engineer Genesys Telecommunications Labs 2100 Gateway Centre Blvd. Suite 300 Morrisville, NC 27560 ? Office: (919) 466-6151 Fax:(919) 466-6157 ? EMail: mailto:[EMAIL PROTECTED] -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 12:45 PM To: 'Struts Users Mailing List' Subject: RE: images in html buttons Wayne wrote: Within the body of a standard HTML button tag, I can place HTML, such as the img tag and this will get rendered as the button image. With struts html:button tag, this doesn't work and I get the raw text rendered as the button text. Is there a way around this other than going to image maps which don't work the same way as buttons do? Not sure if html:button works the same as html:submit but I have the same problem with submit buttons. My workaround involves JavaScript: script function setUserAction(target) {document.forms[0].userAction.value=target;} /script html-el:hidden property=userAction value=error/ html-el:submit property=submit onclick=setUserAction('Add Prospect'); styleClass=addButton titleKey=button.add.prospect value= / Setting the 'value' to several spaces (otherwise Netscape buttons are squished) means you can't tell which button was clicked, so the javascript sets that userAction property, and that's the one that the LookupDispatchAction uses to decide what to do next. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: struts-config.xml
If you're using struts 1.1, probably you can modularize the struts config. Each module has its own xml file. The modules can be broken down by developer groups/functions Wayne Christian Sr. Staff Software Engineer Genesys Telecommunications Labs 2100 Gateway Centre Blvd. Suite 300 Morrisville, NC 27560 ? Office: (919) 466-6151 Fax:(919) 466-6157 ? EMail: mailto:[EMAIL PROTECTED] -Original Message- From: Pat Young [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 4:14 PM To: [EMAIL PROTECTED] Subject: struts-config.xml I am curious as to how others are working with the struts-config.xml file. I am working on a large project with a team of 8 other developers. So far we have over 200 actions. The struts-config.xml is becoming a bottle neck, because each developer needs to update the file at the same with entries into this file. Does anyone have any ideas as to how to make working with this file any easier? Thanks in advance. Pay Young __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]