Is it wo:link or wo:WOHyperlink? I guess you've tried both. 

If it's not the WOHyperLink thing, I'm not sure what the problem is. A 
hyperlink should work just fine. All the looks use them just fine. Try to cmd-2 
w that thing. I'll bet it works with a WOD binding. Inline bindings are The 
Devil after all.

But rather than customize an entire inspect page just to bring in a few 
hyperlinks, why not create a custom page controller and have methods like

public WOComponent generateReport(WOComponent sender)

on it? It sounds like you're trying to beat D2W into submission to do things 
the old way :-)

Ramsey


On Apr 3, 2013, at 1:21 PM, Theodore Petrosky wrote:

> 
> 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 protected]> wrote:
> 
>> From: Ramsey Gurley <[email protected]>
>> Subject: Re: custom page ??
>> To: "Theodore Petrosky" <[email protected]>
>> Cc: "WebObjects Development" <[email protected]>
>> 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 protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>> 
>>> This email sent to [email protected]
>> 
>> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to