Is there a html renderer in flex 4?
hey guys, i was wondering if there was a html renderer in flex 4 without using iframes? i just need to display a html page in my flex application...
Hi,
Flex has basic html rendering capabilities but not for webpages, there are tricks you can do with i-frames but then you end up with compatibility issues over various browsers, AIR on the other hand has a web rendering engine built in, but thats not really the solution for what you are working on.
David.
Similar Messages
-
Help needed in adding effects of certain HTML tags in Flex spark Richtext
I want to apply the effects of the following HTML tags/ attributes, in my HTML text rendered in Flex Spark Richtext Component.
Superscript - <sup>
Subscript - <sub>
Blockquotes - <blockquotes>
Ordered Lists - <ol><li>
Unordered List - <ul><li>
Horizontal Rule - <hr>
Direction Attribute for <p> - <p dir="rtl">Hello</p>
Background Color for <font>
I have observed that the above tags have no effect in RichText. Is this a limitation?
Any solutions, tweaks and tricks will be appreciated...
Thanks,
Mangirishcheck this out . this should be able to answer you question.
http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_04.html
Miguel -
Change report manager HTML rendering view %
Hi All,
I can change the default HTML Zoom % in report server reports accessed via URL. Add "&rc:Zoom=75 " to the URL and it works. However I cannot change the zoom for report manager reports. Is there any workaround to this? or better idea to change
HTML rendering?
ThanksHi sonnyA,
According to your description, you want to set the default zoom level when accessing reports in Report Manager. Right?
In Reporting Services, the Zoom is already a deprecated property in HTML Device Information Settings. Change the <Zoom> tab in rsreportserver.config will not work. In this scenario, we can embed javascript in Report.aspx page to get the zoom
selection box object and set the zoom level. Please follow the steps below:
1. Go to Report.aspx, this file locates at C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportManager\Pages,
embed the code below:
<script>
function pageLoad() {
var cuInternalViewer = $find('ctl32_ctl03');
cuInternalViewer.set_zoomLevel(75);
</script>
2. The result looks like below:
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
How to display html content in flex hero..
i need to display html content using flex hero for balckberry playbook..i could not find a component for it..i have tried with spark text area by setting its html text property via MobileTextField. bt i need a webview to load html content to execute javascript and all....Is there any component for it???? Please help....
Hello,
The only current way is to use an iFrame, or if you only need some html tags you could use the Text Layout Framework.
Here this is the iFrame approach:
http://code.google.com/p/flex-iframe/
If the swc do not work in Flex4 just use its ource code which works...
...it is basically based on this:
http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
see also and vote, please:
http://bugs.adobe.com/jira/browse/SDK-12291
http://bugs.adobe.com/jira/browse/SDK-13740
Regards
Marc -
Bookmarks.html Renders Very Differently in FireFox 4
For years, I have been using and loving Firefox (including 4.0).
For years, I have also exported my bookmarks out of Firefox and use the resulting bookmarks.html file as my home page.
Now Firefox 4 renders the bookmarks.html file very differently from previous versions of Firefox and also differently from other browsers (eg, IE).
The indentations have disappeared when viewing bookmarks.html in Firefox 4. Unfortunately, it's not really easy to show you this inside this forum text box, but I will try.
Firefox 4 shows something like this:
'''Bookmarks Menu'''
'''General Interest'''
Markham Weather Forecast - Environment Canada
The Weather Network - Markham
The Weather Channel - Markham
AccuWeather.com - Canadian Forecast Center
... etc
Firefox 3.6, IE, and other browsers show something like this (note the indentations which greatly improve readability):
'''Bookmarks Menu'''
'''General Interest'''
Markham Weather Forecast - Environment Canada
The Weather Network - Markham
The Weather Channel - Markham
AccuWeather.com - Canadian Forecast Center
... etc
Is this a bug in Firefox 4?? I would really like to see bookmarks.html rendered with the indentations.
Am I missing something?
Thanks.'''Cor-el''' - is there a way that can be added to the bookmarks.html file, instead of having to click on a bookmarklet each time the page is opened?
-
Html component for Flex??
I know there is one for AIR, but is there something similar
for a Flex web app? I'm writing a front end to an application that
records classes (has a recording, the screen capture, bookmarks for
the lecture, etc) and while I thought I could link and play the swf
directly, I need to access the html page that wraps the recordings
and data. I have a canvas area in my app that I want to put the
video, but i'm not sure how to call the html page, which will then
call the group of swf files.
Any ideas?See if this is useful:
http://drumbeatinsight.com/htmlcomponent -
Flash performance inside mx:HTML in a Flex AIR app
Hi. I'm new to AIR development and after doing some basic tutorials I thought I'd make a little stream player app.
The amount of tutorials on the web made me choose Flex / Flash Builder over HTML & JavaScript. When I built the player in Flex I saw performance was terrible when out of focus, I would say it drops to 3 fps if not less. Surprisingly when I downloaded someone else's similar app, his didn't have that problem. On closer inspection - he made it in HTML & JavaScript and HTML AIR apps dont suffer from the same problem.
Is there a fix for this Flex performance problem?
I've made a video demonstrating the difference between Flex & HTML for your convenience: http://www.youtube.com/watch?v=OU2mfELhSC4.Sure.
1.
Windows 7 Ultimate, 64bit, build 7600.
Adobe AIR 2.0.3.13070.
Unfortunately I only have machines with the exact same OS install at my disposal right now but I'll ask some people to test it on their boxes.
2. http://pastebin.com/AsdmD3Yb
When I point the mx:HTML to a youtube url instead of ustream.html the fps drops around to around 5 to 10. That's a lot more fps than when using ustream. Might be a clue to whats happening. -
How to Load a html page into Flex the application?
I want to load separate html page in to my flex application.
for example
think I am in my shopping cart and I wanna buy something and pay for that.Then I am try to pay they will load a separate html page into my shoipping cart.
How can I do that inside flex application?
Any ideas are appreciated..
thnxHi snkd,
You need to make use of iframe to load html content in Flex application.
Check out the link below...there is also source code included..
http://www.deitte.com/archives/2006/08/finally_updated.htm
Thanks,
Bhasker -
HTML Renderer - Links that do not open a new window
Hi All,
I have links which navigates users to an area within the page, however all anchor tags (<a></a>) which are not http://com.sap.cm in html rendered by the html collection renderer are opened in a new window (target=_blank). Even if I specify target=_self, it changes to target=_blank automatically.
Is there anyway to implement <a target="_self" href="#aLocationInPage">link</a>?
Cheers,
VicHi there,
we had the same issue - I opened an OSS and got following reply :
<i>
<b>08.03.2007 - 12:45:49 CET SAP Reply</b>
I have checked from my development colleague and confirmed that
this parameter is not supported currently and development has recently
no plans to support this feature.
I apologize for the inconvenience caused here.
Thank you for your cooperation.
Best Regards
</i>
Can you believe this ? I don't, as this parameter has been around since SP12 or so and still there is no official note regarding this issue.
> Please reward points :o) < -
Hi ,
Is there any simple html renderer kit without javascript and advanced css ? I want to use it for mobile browsers eventually . Most of the open source and commercial do use javascript and mobile browsers have limitations .
Thanks.Thanks for the response. I always thought Ericsson or Nokia ( i think they have too ) will always support only those companies phones. Isnt that true ? Will Ericsson support most of the other phones/browsers ?
Thanks. -
<div><font face="Arial" size="2"><span class="493345917-06032007">We viewed a demo on webElements and have a question about something that was mentioned in that demo, i.e. "You can create a PDF report, but you have to do some tricks." </span></font><font face="Arial" size="2"><span class="493345917-06032007">We need to know what those tricks are! <hr /></span></font></div><div><span class="493345917-06032007"><font face="Arial"><font size="2">The background on our particular situation is this:</font></font></span></div><ul><li><font face="Arial" size="2"><span class="493345917-06032007">We want to incorporate a text editor, similar to this one, in various forms to allow formatting of text in long text fields.</span></font></li><li><font face="Arial"><font size="2"><span class="493345917-06032007">The HTML output will be stored in / retrieved from a<span class="981485618-06032007"> SQL</span> database.</span> </font></font></li><li><font face="Arial"><font size="2"><span class="493345917-06032007">We need to be able to use/modify existing reports generated through Crystal to create PDF output.</span> </font></font></li><li><font face="Arial"><font size="2"><span class="493345917-06032007">The HTML formatting functionality built into Crystal XI report items does not appear to be adequate, since it does not handle several HTML tags that we need - bulleted/ordered lists, perhaps tables.</span> </font></font></li><li><font face="Arial"><font size="2"><span class="493345917-06032007"> We are using java on WebSphere application servers, with embedded Crystal reports. We do have Business Objects Enterprise available, but it is not configured for HTML pass-through, or webElements yet.</span> </font></font></li><li><font face="Arial" size="2"><span class="493345917-06032007">We want to use Enterprise, but if it doesn't solve our immediate problem (creating PDFs with embedded HTML, rendered properly) we will work on getting that set up later.</span></font></li></ul><div><font face="Arial" size="2"><span class="493345917-06032007"><hr />Bottom line question -- Can we expect that the PDF generation from HTML data fields in webElements/Enterprise is better than that which exists in Crystal standalone?</span></font></div><div><span class="493345917-06032007"><font face="Arial"><font size="2"><span class="981485618-06032007">And/o</span>r - do you have "tricks" that you can share that will help?<span class="981485618-06032007"> </span></font></font></span></div><div><span class="493345917-06032007"><font face="Arial"><font size="2"><br /><span class="981485618-06032007">Thanks for any help you can offer,</span></font></font></span></div><div><span class="493345917-06032007"><font face="Arial"><font size="2"><span class="981485618-06032007">Fran </span></font></font></span></div>
<p>hello,</p><p>the webelements library uses a feature of pass-through html available in xi & xir2. activating pass through html allows the report developer to embed html into a report so one can create custom html that would not work by formatting a field or text object to display as html.</p><p>pass-through html will not render controls on pdf exports and will show up as regular text in pdf.</p><p>you might have miscronstrued a portion of the demo where it was mentioned that one could get around pass-through html showing up as text in pdf...the workaround is to hide this text and does not render the actual web controls.</p><p>jw</p>
-
Fonts used in HTML rendered components not displayed
Hi all,
I have a problem using fonts in components with text that is being rendered by the HTML renderer.
It's the exact same problem as described in this topic;
http://forum.java.sun.com/thread.jspa?forumID=257&threadID=222691
but no solution found...
When I do this, my font isn't displayed (only the default SansSerif font is used at this point);
JLabel label = new JLabel("<html>a text</html>");
InputStream fontStream = getClass().getResourceAsStream("SystemVIO.ttf");
Font font = Font.createFont(Font.TRUETYPE_FONT, fontStream);
label.setFont(font.deriveFont((float)12));SystemVIO is placed in a JAR-file (loaded in my classpath).
And when I do this, it is displayed correctly;
InputStream fontStream = getClass().getResourceAsStream("SystemVIO.ttf");
Font font = Font.createFont(Font.TRUETYPE_FONT, fontStream);
JLabel label = new JLabel("<html>a text</html>");
label.setFont(font.deriveFont((float)12));But the real problem here is, if one component is made with a HTML renderer, none of the other components can use a font if it's loaded after the FIRST component with HTML renderering is constructed.
So, for some reason, the fonts aren't reloaded in the HTML renderer (is the html renderer native?) whenever I use createFont().Hi Sundar,
if I understand your post properly, what your are doing in your BSP is executing a procedure to create an Adobe document, and then placing that document into the HTTP response.
If you have built this code by following some of the blogs in SDN, you probably do something like...
response->set_header_field( name = 'content-type'
value = 'application/pdf' ).
l_pdf_len = XSTRLEN( l_pdf_xstring ).
response->set_data( data = l_pdf_xstring
length = l_pdf_len ).
navigation->response_complete( ).
What this code does is change the type of the HTTP response to 'application/pdf', set the content of the HTTP repsonse to the PDF data stream, and finally signal the HTTP runtime that processing has completed.
Once processing has been completed control is returned to the HTTP runtime. This means any further 'down-stream' code in your BSP will not be executed. This includes the Layout section of your BSP.
It is not possible to send two responses, PDF data and HTML data, to a single HTTP request. If you want to show both on the same web page you need to embed the Adobe document into the HTML page using frames or some other method.
Cheers
Graham Robbo -
How to load Html page in Flex 4 application
Hi All,
I am able to load html page in flex 3 application but i am unable to load in flex 4 application.
How can i do it.
Can any help me regarding this.
Thanks in Advance
Raghu.This may help - http://www.deitte.com/archives/2006/08/finally_updated.htm
Thanks and Best regards,
Pallavi Joshi | [email protected] | www.infocepts.com -
Creating html table using FLEX
Hi
I am new to flex,can any one help me how to create a simple
html table using flex.
regards
pr@veen"callpraveenin1973" <[email protected]>
wrote in message
news:goj5qq$hgm$[email protected]..
> Hi
> I am new to flex,can any one help me how to create a
simple html table
> using flex.
What would you use it for? -
Anyone know of a free html renderer java bean
the subject pretty much says it all
does anyone know where i can download a html renderer for free (editorpane just doesnt seem to cut it as it doesnt seem to handle css2 very well)
ive seen a few commercial ones but theyre like $1000! bit too much for my pocket
thanksor does anyone at least know how to get the jeditorpane to work properly with css2?
Maybe you are looking for
-
Two ipods on one account - how do i intro new one?
i just bought a new 30GB and tried updating it using my existing itunes, which supports a 1 generation ipod. now my new ipod just shows a folder with an ! mark. how do i make my new one work? any help would be much appreciated.
-
Hi All, I am trying to delete the STO PO For which the Goods issue has been done and accounting Doc has been cleared. when we check the Document flow it is showing me as below. Purchase order xxxxxxxxxx 31.10.11 Replen.Cr
-
Unable to start Oracle Process Manager Service
I installed EPM 11.1.2.1 on Windows 2008 R2. Oracle database 11g. I installed and configured every thing was working fine. But suddenly the Oracle Process Manager service is not starting. I checked in event viewer the following error i found: The Ora
-
We have granted everyone all roles on our TfsReports site. However, all users (except for 2 who are TFS Admins) still get the following errors when attempting to manage the reports: The permissions granted to user Domain\UserName are insufficient for
-
Hi, I've just been handed as set of BPEL processes which were developed in 10.1.3.3 and I'm working on migrating them to 10.1.3.4. Migration of most processes was straight forward, however, there is one process (SendMessage) that accepts an XML docum