Re: custom page ??
Re: custom page ??
- Subject: Re: custom page ??
- From: Theodore Petrosky <email@hidden>
- Date: Wed, 03 Apr 2013 13:21:53 -0700 (PDT)
that was me fat fingering it.
Error: com.webobjects.appserver.parser.woml.WOMLTemplateParserException: ReportsPage: 4:5: Could not generate an element named: WOHyperlink
Reason: Could not generate an element named: WOHyperlink
my goal is to bring in a simple component with hyperlinks on it.
public class ReportsPage extends ERD2WInspectPageTemplate {
i am using these 4 rules for the component:
100 : pageConfiguration = 'ReportsPage' => entity = "User" [EntityAssignment]
100 : pageConfiguration = 'ReportsPage' => navigationState = "Reports" [Assignment]
100 : pageConfiguration = 'ReportsPage' => task = "inspect" [Assignment]
100 : pageConfiguration = 'ReportsPage' => templateNameForInspectPage = "ReportsPage" [Assignment]
if I have no WOHyperlink on the page, then it renders just fine.
here is the entire html:
<wo:PageWrapper>
<h1 id="ReportHeadline">Outlets Project Reports</h1>
<ul>
<li><wo:WOHyperlink action = "$projectReportAction">Project Report</wo:WOHyperlink></li>
</ul>
</wo:PageWrapper>
the action just starts the jasper reports process.
ideas?
Ted
--- On Wed, 4/3/13, Ramsey Gurley <email@hidden> wrote:
> From: Ramsey Gurley <email@hidden>
> Subject: Re: custom page ??
> To: "Theodore Petrosky" <email@hidden>
> Cc: "WebObjects Development" <email@hidden>
> Date: Wednesday, April 3, 2013, 4:12 PM
> WOHyperLink? The class is
> WOHyperlink. Perhaps part of the problem?
>
> I blame the inline bindings. Inline bindings are never a
> good idea :-)
>
> Ramsey
>
> On Apr 3, 2013, at 1:03 PM, Theodore Petrosky wrote:
>
> > I have a d2w app and I wanted to add a component to act
> as a report listing page.
> >
> > I created a component called ReportsPage extending
> ERD2WInspectPageTemplate
> >
> > my idea was to add a few hyperlinks that would create
> some wonderful jasper report documents.
> >
> > my ReportsPage comes in fine but when I add a simple
> hyperlink:
> >
> > <ul>
> > <li><wo:link action =
> "$projectReportAction">Project
> Report</wo:link></li>
> > </ul>
> >
> >
> om.webobjects.appserver.parser.woml.WOMLTemplateParserException:
> ReportsPage: 5:6: Could not generate an element named:
> WOHyperLink
> >
> >
> > so I assume that extending ERD2WInspectPageTemplate is
> my problem.
> >
> > Is there a better way to do this?
> >
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be
> ignored.
> > Webobjects-dev mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden