Thanks Ate, that's just what I needed. The app works well until I maximize the portlet. The following content is rendered in the portlet.
#correct.action {} #correct.action #form_submit {} #incorrect.action {} #incorrect.action #form_submit {} "correct" and "incorrect" are the forms in the first page. I also got your comment about the guide. Too simple :) ok. I was not putting any velocity in the templates. I'll look into the demos to find something interesting to put in there. And I didn't know that the BridgesVelocityViewServlet was required. I'm trying to patch Andromda (the UML MDA I spoke to you about at ApacheCon San Diego) to support portlets. It generates struts, jsf, and .net applications from uml models. Direct support for JSR-168 would be great. So far the changes are minimal. Philip On 6/15/06, Ate Douma <[EMAIL PROTECTED]> wrote:
Philip Mark Donaghy wrote: > Hi, I'm not sure what I am doing wrong yet but the struts taglibs do not > render portlet URLs. Is there something I must do to make this happen? > I am > using the 1.2.6-1.0 struts bridge with the PortletTilesRequestProcessor. > Seems to happen automagically in the jpetstore sample. > Wrong list but I answer anyway ;) Make sure you include the bridges version of the struts html taglib in your jsp: <%@ taglib uri="http://portals.apache.org/bridges/struts/tags-portlet-html" prefix="html" %> And remove the corresponding struts taglib reference from your web.xml if you have it defined there. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Philip Donaghy donaghy.blogspot.com del.icio.us/donaghy/philip Skype: philipmarkdonaghy Office: +33 5 56 60 88 02 Mobile: +33 6 20 83 22 62