Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Emitting extra attributes for <a> tags in HTML
Emitting extra attributes for <a> tags in HTML [message #236750] Thu, 03 May 2007 14:55 Go to next message
Eclipse UserFriend
Originally posted by: ole.p17s.com

Hi,

we use BIRT to generate reports, which are presented as embedded HTML in
our web-app. Some report elements are rendered as links to trigger
navigation context changes in our app. Rendering links works ok, but we'd
need to add some extra attributes to the <a.../> tags to fully integrate
with our ajax-environment (without those, clicking the links changes the
browser URL, which is not what we want). Right now we do regex-style
patching of the output HTML...

I gather that HTMLReportEmitter.outputAction() generates the actual
hyperlink and would be the place to add extra attrs. Can someone advise on
how to best add this functionality, preferrably in a way that can be
contributed to the code base?

Cheers,

Olaf
Re: Emitting extra attributes for <a> tags in HTML [message #236758 is a reply to message #236750] Thu, 03 May 2007 16:07 Go to previous messageGo to next message
Scott Rosenbaum is currently offline Scott RosenbaumFriend
Messages: 425
Registered: July 2009
Senior Member
Hello Olaf,

Could you take a look at this Bugzilla entry and see if it looks like it
is on the right track for what you need?

https://bugs.eclipse.org/bugs/show_bug.cgi?id=177077

Scott Rosenbaum

> Hi,
>
> we use BIRT to generate reports, which are presented as embedded HTML
> in our web-app. Some report elements are rendered as links to trigger
> navigation context changes in our app. Rendering links works ok, but
> we'd need to add some extra attributes to the <a.../> tags to fully
> integrate with our ajax-environment (without those, clicking the links
> changes the browser URL, which is not what we want). Right now we do
> regex-style patching of the output HTML...
>
> I gather that HTMLReportEmitter.outputAction() generates the actual
> hyperlink and would be the place to add extra attrs. Can someone
> advise on how to best add this functionality, preferrably in a way
> that can be contributed to the code base?
>
> Cheers,
>
> Olaf
>
Re: Emitting extra attributes for <a> tags in HTML [message #236785 is a reply to message #236758] Fri, 04 May 2007 09:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ole.p17s.com

Hi Scott,

that should do it for us. Would be great if it appeared it 2.2.0!

Olaf

Scott Rosenbaum wrote:

> Hello Olaf,

> Could you take a look at this Bugzilla entry and see if it looks like it
> is on the right track for what you need?

> https://bugs.eclipse.org/bugs/show_bug.cgi?id=177077

> Scott Rosenbaum

>> Hi,
>>
>> we use BIRT to generate reports, which are presented as embedded HTML
>> in our web-app. Some report elements are rendered as links to trigger
>> navigation context changes in our app. Rendering links works ok, but
>> we'd need to add some extra attributes to the <a.../> tags to fully
>> integrate with our ajax-environment (without those, clicking the links
>> changes the browser URL, which is not what we want). Right now we do
>> regex-style patching of the output HTML...
>>
>> I gather that HTMLReportEmitter.outputAction() generates the actual
>> hyperlink and would be the place to add extra attrs. Can someone
>> advise on how to best add this functionality, preferrably in a way
>> that can be contributed to the code base?
>>
>> Cheers,
>>
>> Olaf
>>
Re: Emitting extra attributes for <a> tags in HTML [message #236803 is a reply to message #236785] Fri, 04 May 2007 15:56 Go to previous message
Scott Rosenbaum is currently offline Scott RosenbaumFriend
Messages: 425
Registered: July 2009
Senior Member
Hello Olaf,

Based on the developer logs, they are currently working on this. I don't
know if it will be finished for Europa, but I hope it makes the cut. If
you have any thoughts/comments please add them to the entry. The more Use
Cases we have, the better we can make sure our implementation will work.

Scott

> Hi Scott,
>
> that should do it for us. Would be great if it appeared it 2.2.0!
>
> Olaf
>
> Scott Rosenbaum wrote:
>
>> Hello Olaf,
>>
>> Could you take a look at this Bugzilla entry and see if it looks like
>> it is on the right track for what you need?
>>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=177077
>>
>> Scott Rosenbaum
>>
>>> Hi,
>>>
>>> we use BIRT to generate reports, which are presented as embedded
>>> HTML in our web-app. Some report elements are rendered as links to
>>> trigger navigation context changes in our app. Rendering links works
>>> ok, but we'd need to add some extra attributes to the <a.../> tags
>>> to fully integrate with our ajax-environment (without those,
>>> clicking the links changes the browser URL, which is not what we
>>> want). Right now we do regex-style patching of the output HTML...
>>>
>>> I gather that HTMLReportEmitter.outputAction() generates the actual
>>> hyperlink and would be the place to add extra attrs. Can someone
>>> advise on how to best add this functionality, preferrably in a way
>>> that can be contributed to the code base?
>>>
>>> Cheers,
>>>
>>> Olaf
>>>
Previous Topic:Increase the weight of a report
Next Topic:Accessing data in the report
Goto Forum:
  


Current Time: Wed Sep 18 22:03:50 GMT 2024

Powered by FUDForum. Page generated in 0.04366 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top