The idea would be to replace ERB with templates that are pure XHTML and that the view would be pure code manipulating the template content.
Have this been done already ?
I want to develop iPhone UI just like iPhone Mail application. I am able to add UIWebView
inside the UITableViewCell and it is working fine.
I am able to zoom the webview using [self.webView setScalesPageToFit:YES]. Now, My problem is
when I do zoomIn or ZoomOut the UITableView does not get resized.
How do I exactly make UI similar to Apple mail applcation detail view.?
I working on a iPAD only app which requires me to split the screen such a way that:
(1) there are 2 parts on the screen divided vertically
(2) On the left side, user can communicate using a chat
(3) On the right side, user can see continuous streaming data
I am not sure (A) how can I do two tasks simultaneously (B)how to split the screen (is Split view the way to achieve both of these?)
Thank you.
With the tag is possible to add on you site a widget with the stream and fan.
In The stream are displayed only the owner of the page post.
There is no way to view even the fan post?
I see this a lot now, jpg files displaying your IP address. To you of course, not to others, they would see their own
For example:
How is this even possible? If this is possible, would it be possible to log an IP into a MySQL database from the picture as well? Is my IP getting logged when I view this?
Hi Everyone,
Is it possible to display the created_at date, only if that date matches today's date?
<%=h k.created_at %>
Is this possible? Or should it be done in the controller rather than the view?
Thanks,
Danny
Hi All,
I have a observable collection of viewmodel objects. How can I subscribe to the Property Changed event of each view model in my collection as they are created and track which ones have been changed, so that I can updated them to my database.
List<DomainObject> objectsToSave = new List<DomainObject>();
foreach (Test val in dirtyObjs)
{
objectsToSave.AddRange(val.GetObjectsToSave());
}
//DB changes
bool saveSucceeded = DataServices.SaveMultiple(objectsToSave);
I'm looking for a way, to automatically dismiss an alert view after some time or after a task is done.
Is there a possibility? (or another way to show a message for some time?)
I have a custom tag in django, but i need use this functionality in a non-view, non-template stage without template engine, there is a way without repeat code?
Hello,
Consider this as my SubView
UIView *subViewObj;
and this as MainView
UIView *mainViewObj;
i need to make MainView as root View
can i don it in this way?
[mainViewObj addSubview:subViewObj];
is this correct?i need to do it programitically, without using Interface builder.
A friend of mine came to me with this strange behavior which i can't explain, any insight view would be appreciated.
Im running VS 2005 (C# 2.0), the following code show the behavior
int rr = "test".IndexOf("");
Console.WriteLine(rr.ToString());
the above code, print "0" which clearly show it should have return -1
This also happen in Java where the following Class show the behavior:
public class Test{
public static void main(String[] args){
System.out.println("Result->"+("test".indexOf("")));
}
}
Im running Java 1.6.0_17
In our oroject we already have a lots of tables (100+). Some of them contains a lot of columns (50-100) and we are facing the need of adding more columns from time to time.
What do you think is best - from maintenance and performance point of view - to split these huge tables in smaller entities or to keep the tables the way they are ?
We are using an ORM tools, so we don't need to write custom request.
I placed some validation controls on my grid view template. The only problem is that it is taking a lot of space vertically. Is there a property to set to solve this problem?
I am developing an application that contains many activities
and i created my own menu (i don't want to use the built in menu button) with the Sliding Drawer
as the sliding drawer is at the bottom of the screen and contains my menu buttons
what i need is to make that sliding drawer to appear in all my activities
i tried to create an activity and set it's content view to the xml file that includes the drawer and then extends that activity in all other activities but this solution doesn't work
so any suggestions ?
Hello, I've been trying to put a UIWebView into my app, which is tableview based. When the user selects a row, I want the new xib to load, but this one with a UIWebView on it. From all of the tutorials I've seen, you can only put a UIWebView on the MainView.xib. Can someone please tell me how to put a FUNCTIONING UIWebView somewhere other than the main view? Thanks in advance!!
This link
http://ajaxcontroltoolkit.codeplex.com/releases/view/11121#DownloadId=28808
shows a popup on which one has to agree before being able to download.
So how to automate this with PHP curl ? Any existing similar sample code ?
Hi,
I'm creating an appwidget, where the user should be able to configure it before it is added to the home screen. To me, PreferenceScreen/PreferenceActivity seems perfect for the task, but the intention behind these classes seem to be configuring an actual application. I've searched, but cannot find any documentation or tutorials which covers this question.
Is it possible to configure a widget using these classes, or is the only alternative to configure it through an ordinary view?
Thanks for any answers!
When I view my app's memory in the xcode memory tool, i see that something called QuartzCore is reported as leaking many times. Each leak ranges from 16-80 bytes.
My code is not referencing this. it's all from withing UIApplicationMain(). So I'm not sure how to control this. Any ideas?
Thank you.
I have an archive system that had to be on two sql databases for simplicity
one is
Archive2009
and the other Archive2010
they are both on the same sql server and instance and have identical structures
however I have a page that needs to view the old one and the new one (I can make two seperate pages)
How best would I go about doing this? Dynamically changing the connection string etc?
I am creating a sort of "Command line" in Python. I already added a few functions, such as changing login/password, executing, etc., But is it possible to browse files in the directory that the main file is in with a command/module, or will I have to make the module myself and use the import command? Same thing with changing directories to view, too.
how to get host name of all LAN systems using c#.net
through "net view" command am getting some systems host names, not able to access all the systems even though they are in the LAN. why so?
im curious as to know, why tests are written? why would bother writing it ? why not just compile and run the code or view it in your browser, click around and test out stuff.
i mean i can understand, a crawler that checks your web app's functions....but why is tests written, maintained and treated as important as the main feature codes ? is it crucial to always write and use tests ?
Hi All,
I'm trying to define the DisplayPattern of a custom field to do as follow. It's a simple text field used in document libraries, but i want the text entered to be displayed as a link to the document in the list view.
<URL Cmd="Display"> gives me the display form, but I want the link to actually download/open the document...
I can't for the life of me figure this one out...
Thanks for your help!
I have the desired effect on firefox, which is to display like this:
_________
| title |__________________
| |
| |
| |
| content here |
| |
| |
| |
| |
____________________________
but it simply displays a deformed rectangle in IE
What could be the possible issues?
EDIT:
This is the border of a webpage. The title is on the smaller box on top of the bigger one.
Here is the link to the webpage:
http://picasso.shsu.edu/~kkk005/index.php?view=ArtworkCommentary&OPPID=OPP.34:019
This does not display properly on IE