Re: purpose of Token Constants

2003-03-09 Thread Paul Linden
Dan Allen wrote: I have seen this used in several places and I have to ask, why? Ted Husted uses it in Scaffold and there are several examples around the web that use it as well. What am I talking about? consider this short code snippet return mapping.findForward(Tokens.SUCCESS_KEY); How is

Re: Help: ActionError - html:errors / does not expand the {0} placeholder

2003-02-22 Thread Paul Linden
Your comment about the apostrophe is a clue - it's a special character in the MessageFormat class that's used for quoting. Use two apostrophes to display '. I think you'll find {0} will then be evaluated. And relax - Jeff's response may have been no help to you, but he was trying. And please

Re: Question regarding the html:option tag

2003-02-04 Thread Paul Linden
Try putting nbsp; in the body of the option tag. The html option tag code uses bodyContent.toString() without first checking if bodyContent is null. Paul Michael Ringenbach wrote: First some background information: I'm running Tomcat 4.1.18 on Windows 2000, my browser is Mozilla 1.2.1 (and

Re: question re. struts

2003-02-02 Thread Paul Linden
Sundar Narasimhan wrote: Hi, I have a master form that displays a bunch of object. I'd like for the user to select a radio button corresponding to one of those objects and then click Edit. The editaction should obviously display a form corresponding to the selected object. What I'm failing to

Re: question re. struts

2003-02-02 Thread Paul Linden
Sundar Narasimhan wrote: - set each individual attribute of my model into request parameters Why would you do this if you have the form bean from the previous step? Hi, Paul: Thanks for your thoughtful reply. Your above statement is what I guess I'm having trouble with.

Re: [TILES] Help with trademark symbol

2003-01-23 Thread Paul Linden
The tiles config file is XML, so the parser is trying to reference trade; before it even gets to the web page. Try using amp;trade; instead. Paul Wendy Smoak wrote: I have a tile definition: definition name=choose.profile extends=masterPage put name=heading value=Benefactortrade; Web /

Re: [TILES] Help with trademark symbol

2003-01-23 Thread Paul Linden
Or, as Gourav pointed out, use #8482; or #x2122; instead (http://www.htmlhelp.com/reference/html40/entities/) Paul Linden wrote: The tiles config file is XML, so the parser is trying to reference trade; before it even gets to the web page. Try using amp;trade; instead. Paul Wendy Smoak

Re: How to use struts to handle session id in the following DHTMLmen u?

2003-01-19 Thread Paul Linden
If I were you, I would read the struts taglib documentation (especially http://jakarta.apache.org/struts/struts-html.html#link) to understand exactly what html:link does. Then read http://jakarta.apache.org/struts/struts-html.html#rewrite. In fact, I would recommend before you try to use any

Re: value=bean:write../ question

2003-01-08 Thread Paul Linden
input type=hidden name=sectionName value=bean:write name=ac property=section.name/ / is just text with a custom tag in the middle. There's nothing special about input ... html:hidden is a custom tag that has to be evaluated before the response is even sent. It would have been more