Emitting extra attributes for <a> tags in HTML [message #236750] |
Thu, 03 May 2007 14:55 |
Eclipse User |
|
|
|
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 #236785 is a reply to message #236758] |
Fri, 04 May 2007 09:31 |
Eclipse User |
|
|
|
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 |
Scott Rosenbaum 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
>>>
|
|
|
Powered by
FUDForum. Page generated in 0.05875 seconds