How do I find if a string contains HTML data or not? The user provides input via rich:editor component and it's quite possible he could have used either a simple text or used HTML formatting.
All those familiar with websphere commerce will know that it is feature rich. It supports B2B, B2C and extended sites(which ATG doesn't) and some other features. But it is complicated, and on the performance and reliability front it still seems to leave a lot to be desired. Any opinions on which would be better for a high traffic site?
Its common to observe listview developments for webforms but no common in mvc. on the other hand for mvc I´m only finding grid views displaying tabular data.
In your opinion which is the best List view solution for asp.net mvc?.
Edited:
ok, finally I found a possibility. Kazi Manzur wrote a listview using telerik controls. http://weblogs.asp.net/rashid/archive/2010/03/24/creating-rich-view-components-in-asp-net-mvc.aspx
I have event data displaying on a map and I am currently using the geo microformat alongside it however it's not particularly rich to have just a list of locations without any details of what they correspond to.
I've been looking at combining microformats to achieve this and looking for some thoughts on the subject
here is the data i am marking up:
event title, event location [latlong], event address, contact phone, link to full details
My initial thoughts are to use an hCard along with geo? Is there anything better?
Thanks in advance
I have been looking around at web applications and websites with rich graphs, charts, and data visualization and for the most part have been able to determine which frameworks or tools websites are using. However I was looking over 'resumup.com' and couldn't determine what they are using. Does anyone know off hand or can you tell? It doesn't seem like any javascript framework i've seen unless its custom...is it some sort of flash or flex framework? Any help would be greatly appreciated.
Thanks,
Marques
I just want to clear this up once and for all, is it ok to subclass a UIWebView?
Will I ever have to be nervous about apple rejecting the app because of a UIWebView subclass?
The documentation states:
Subclassing Notes
The UIWebView class should not be subclassed.
But at the same time Apple contradicts itself with this WWDC video:
https://developer.apple.com/videos/wwdc/2011/?id=511#rich-text-editing-in-safari-on-ios
In slide 41 they specifically talk about subclassing a UIWebView
Thanks in advance!
I used TextConverter to convert a TextFlow in Flex to String to store it in my Database. How to convert that string back to TextFlow in order to display in Rich Text format
I've searched through related questions but can't find what I need.
I have a richtextbox control. I need to trigger an event when the vertical scrollbar reaches a certain position (say 90% down to the bottom). I've been playing around with the events for the rich textbox but have yet to find anything.
Any help would be greatly appreciated.
I am trying to get Data Type (Body Format) of Mail,Calendar e.t.c. Body.
Getting Body content as:
String Body = (string)((object[])docInbox.GetItemValue("Body"))[0];
or
String Body = docInbox.GetFirstItem("Body").Text;
I tried it using:
String bodyFormat = ((object[])docInbox.GetItemValue("Body"))[0].GetType().ToString();
But in this case i am getting "System.String" value.But actually it is : "Rich Text".
I have a requirement for developing a black hole generator. They say that this may allow time travel and getting rich...
whatever...what do you think it's the best approach for black hole generator
a) Infinite loop
while (1==1) blackHole++;
b) Division by 0
try
{
6/0
}
catch
{
//blackHoleGenerated
}
Hello,
I want a framework (or anything) that helps me make rich client guis. I know my server-side, but I don't like programming in ajax, javascript, css etc.
Something that wraps the ajax code in some objects/methods with clean syntax, would do the trick. I want to write code in java instead of defining css and html tags.
Does Java Spring, JSF, Django support this ?
Languages: Java, Python
Thank you
We have an rich client application running with dojo 1.2.x.
Sometimes users are pasting comments from their word 2007 into an textfield.This is an repeating source for errors with displaying this comments inside an an dojox.grid.
Is there any "javascript" way to stop users pasting from word?
I have to write an link with an image inside. Instead of explaining, here's the code I have now:
<c:if test="${userSession.loggedUser eq null and company.image != null}">
<a onclick="${rich:component('loginPanel')}.show()">
<img src="/download.do?hash=#{company.image.hash}" />
</a>
</c:if>
<c:if test="${userSession.loggedUser eq null and company.image == null}">
<a onclick="${rich:component('loginPanel')}.show()">
<img src="${request.contextPath}/img/icons/logo_default.jpg" />
</a>
</c:if>
<c:if test="${userSession.loggedUser ne null and company.image != null}">
<a href="company.xhtml?${company.name}">
<img src="/download.do?hash=#{company.image.hash}" />
</a>
</c:if>
<c:if test="#{userSession.loggedUser ne null and company.image == null}">
<a href="company.xhtml?${company.name}">
<img src="${request.contextPath}/img/icons/logo_default.jpg" />
</a>
</c:if>
This code looks awful - there are two exact links with two exact images but combined in all possible combinations. Is there a better way?
Is there a way to avoid c:if - it created tables?
Update: Bozho proposes:
You can replace <c:if and <a with <h:outputLink rendered="#{..}". Apart from that I don't see any other optimization.
But it doesn't work. This does not render correctly:
<a href=>
<h:outputLink rendered="#{..}
<h:outputLink rendered="#{..}
</a>
(the image is outside the anchor)
This does render fine:
<h:outputLink value=>
<h:outputLink rendered="#{..}
<h:outputLink rendered="#{..}
</a>
, but it always adds href and in two of the cases I don't want href when rendered.
I would like to export a CSV file from my application for importing into Excel (or any other spreadsheet that supports CSV files). Anyhow, one of the cells in my table have rich content (i.e. HTML) which can, of course, contain commas as well as other HTML characters and formatting. I realize that Excel "can" handle HTML formatted text, but exporting it as CSV tends to screw up the data for importing. Is there some particular way I can format that particular cell so that imports correctly?
Using a EM_SETEVENTMASK message can set which notifications a rich edit control sends to its parent window. How can I intercept/be notified of these messages?
Ideally, I'd have a callback that I could register with certain notifications.
Just had a discussion at work about the merits of using PostgreSQL over MySQL and vice-versa. Does anyone have any practical experience where there is a valid reason to use one over the other?
Some people were saying that Postgre is better for security purposes whereas MySQL is becoming more feature rich... I'm not sure what to make of it.
I have a bunch of model objects.
These objects end up being rendered as views (say forms) in a rich client app.
I started to annotate the fields in the model objects (Java annotations) with things that let me render them as forms on the fly (e.g displayname, group, page, validvalues).
I now realise that the view has crept into the model.
How should I seperate the view logic out of the model objects?
TECH: Java, Java Annotations, Eclipse RCP
What is the best way to insert an image programatically into the RichTextBox control in C# Winforms? If the method is using Clipboard then what is the optimized way to keep the Clipboard original data (i.e. the data state before placing my image on the Clipboard) available to be replaced after my temporary usage of Clipboard for inseting my image in Rich Text Box Control.
I have the feeling that Flash-based ( or Silverlight-based) websites are generally frowned upon, except when you are creating games or multimedia-content rich applications. Why this is so?
I'm trying to figure out if there is a way to show all datatips for a single lineseries in a Flex 3 linechart. This chart will have multiple lines and the functionality we're looking for is when a user hovers over a line, show all datatips associated with just that series. Any help would be appreciated.
showAllDataTips will not work in this case as it will display all datatips on the chart.
Thanks!
Rich
We've all seen in-browser rich text editors, which allow you to edit colored/styled text in a WYSIWYG manner. But what about code editors, which automatically highlight code based on language rules as you type? Think Eclipse in a textarea (but without the refactoring support).
Do such things exist? I imagine scaling would be a problem - larger files would be difficult to edit efficiently.
Hi,
I am integrating Pure spell checker on my rich text box. The way it currently works is that it puts the cylinder object on the page in an Iframe. I want that to read from a file and the file will be located at server side. Anyone with any clue please help
Thanks
Several console based applications like vim or lynx offer a rich user interface which enables the user to navigate freely around the console, manipulate data directly on screen, access menus and much more, similar to "modern" gui applications.
How is that being achieved in principal on Unix/Linux with C++? Do you directly manipulate some kind of character buffer or is the screen constantly cleared and reprinted to stdout?
Is there a set of libraries to implement such behavior or even some kind of a "modern" event-driven GUI toolkit for the console?
I have read a text file (of names) into an array and I need how to sort those names into alphabetical order and display that in a rich edit?
Please give me the code from this point onwards:
readln(myfile,arr[i]);
'myfile' is the text file and 'arr' is the array of string.
Also, I have declared 'i' as an integer even though it is a array of string. Is that OK?
Hi all,
I need to compile C++ code in windows application and append the results (Output or execution errors) on rich text box. I use CodeDomProvider Class but I unable to compile the code using C++ language. Please Help.......... Need Proper answer in easy way....