• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: custom page ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom page ??


  • Subject: Re: custom page ??
  • From: Ramsey Gurley <email@hidden>
  • Date: Wed, 03 Apr 2013 13:36:12 -0700

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@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

References: 
 >Re: custom page ?? (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: custom page ??
  • Next by Date: Re: custom page ??
  • Previous by thread: Re: custom page ??
  • Next by thread: Re: custom page ??
  • Index(es):
    • Date
    • Thread