Return-Path: Mailing-List: contact tapestry-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tapestry-user@jakarta.apache.org Received: (qmail 42701 invoked from network); 11 Aug 2003 19:00:36 -0000 Received: from smtp.brightspark.com (66.46.21.156) by daedalus.apache.org with SMTP; 11 Aug 2003 19:00:36 -0000 Received: from localhost (joshua [127.0.0.1]) by smtp.brightspark.com (Postfix) with ESMTP id C045C7005E for ; Mon, 11 Aug 2003 15:07:50 -0400 (EDT) Received: from smtp.brightspark.com ([127.0.0.1]) by localhost (joshua [127.0.0.1]) (amavisd-new, port 10029) with ESMTP id 13193-03 for ; Mon, 11 Aug 2003 15:07:50 -0400 (EDT) Received: from scooby.corp.bspark.com (gateway.brightspark.com [66.46.41.93]) by smtp.brightspark.com (Postfix) with ESMTP id 2280C70040 for ; Mon, 11 Aug 2003 15:07:50 -0400 (EDT) x-mimeole: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Quick way to insert HTML into a page?? Date: Mon, 11 Aug 2003 15:00:40 -0400 Message-ID: <32FDE2934790A148B7760FDD7843C27901E7CFF2@exchange.bspark.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Quick way to insert HTML into a page?? Thread-Index: AcNgOlMMKWYRww25R9uBeBwrH1OKRAAAFUwQ From: "Ameet Shah" To: "Tapestry users" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Have you had any success using the MultiplePropertySelection component? = As I have posted to the list, I'm having a great deal of trouble = submitting the form as for some reason, the values checked off are not = being added to the list. Thanks, Ameet -----Original Message----- From: Howard M. Lewis Ship [mailto:hlship@comcast.net] Sent: Monday, August 11, 2003 2:56 PM To: 'Tapestry users' Subject: RE: Quick way to insert HTML into a page?? The IMarkupWriter interface has a printRaw() method, that is used for = outputting raw markup (text that includes '<', etc.). You should be able to whip together a very small component that takes a = state code as a parameter. It can use that parameter to select a file containing the necessary = markup, read it into memory, and write it to the markup writer. You should be able to make use of assets = to help with the mapping of state code to file. You can easily add smarter caching later. Given = that you already have the HTML map files, it shouldn't take more than a few minutes to put it all = together? I think a component is the easiest way, but if you want, you could = create an inner class on your page that implements IRender and use the Delegator component that have = the render() method on the inner class invoked. Again, take the plunge with a component ... it'll = be a bit easier, and easier to re-use later. -- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry > -----Original Message----- > From: Vince Marco [mailto:vmarco@mac.com]=20 > Sent: Monday, August 11, 2003 1:44 PM > To: Tapestry users > Subject: Quick way to insert HTML into a page?? >=20 >=20 > I am looking for a quick way of inserting HTML into a page. =20 > I know this=20 > sounds simple, but I have 50 image maps (one for each US=20 > state) that map=20 > out the counties in each state. Longer term I am looking to create a=20 > component to handle this better, but I'd like a way to insert a given=20 > HTML template into a page given the state code (ie. given CO, include=20 > /WEB-INF/content/maps/CO.html) into my SelectCounty page. >=20 > There is nothing currently dynamic about the HTML. The image=20 > map URLs=20 > point to the next page in the app. >=20 > I'm looking for an incredibly quick fix here. >=20 > Thanks, >=20 > Vince >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tapestry-user-help@jakarta.apache.org