I know that HTML is viewed on the client side and PHP is on the server side. I guess I want to know why they use different things. Why doesn't the client just view a php file?
I have a LinearLayout with fixed view. I dynamically inject images in it (ImageViews) but I dunno in advance how many of them will be inserted. I'd like to have a layout where images wrap and go to a new line authomatically when they exceed the available width of the father (LinearLayout)
how do you recommend I should move?
thanks a lot
I'd like a timer class that allows me to call:
.start() .getElapsedTime() .stop() .reset()
Does Java have such a class, or do I need to use my own (which I've already written).
From a best-practice point of view, I should use the Java class libraries classes if they exist, but I'm not sure whether this one does.
Can anyone give me a link to the javadoc for this class, if it exists?
I'm making an AJAX call in my symfony project, so it has an sf_format of 'js'. In the actionSuccess.js.php view, I call get_partial to update the content on the page. By default it looks for the partial in 'js' format since the sf_format is still set as 'js'. Is it possible to override the sf_format so that it uses the regular 'html' partial that I already have (so that I don't have to have two identical partials)?
Hi guys,
I was wondering if it is possible to run transparent video? (the background should be something else, like a picture, or view, shown from the camera, etc.)?
Any idea if this is possible and how it's done? (should I use openGL, or smthn else)?
10x in advance,
Danail
hello
I am working on writing an web application which will be monitoring an java process which moves files from one location to another. The monitoring application needs to do following things
Monitor log files
View the content of moved files
Is there any opensource framework which provides monitoring capabilities over logging.
I am building this application in java.
Thanks
Does it turn some managed objects into faults when there's a Low Memory Warning? Or must we do that manually by calling the -refreshObjects:mergeChanges: method which puts the affected managed objects on diet quickly? And...would that actually hurt? What if these objects are currently used by an NSFetchedResultsController to show up on a table view?
In "get_data" action ,there are some code like this:
def get_data
if params[:p]=='1'
raise "error 1"
elsif params[:p]=='2'
raise 'error 2'
else
return data
end
end
in view:
<script>
$.getJSON('/controller/get_data',function(){...})
</script>
so,when some error has raised,how can i get it!
Tks!
I have a Customer class which has a representative field....this field is initially blank but when the user opens up the details page of the chosen customer, they'll be given the open of representing this customer by clicking on a link. The template layout I was thinking of is this:
<strong>Representative: </strong>
{% if customer.representative %}
{{ customer.representative }}
{% else %}
<a href="{% url representCustomer customer.id %}">Represent this customer.</a>
{% endif %}
All that remains is the view to effect this...this is where I'm stuck.
When I create a view different from index action (for example the action video/add) the page is without css and layout. For index action is everything ok. Any helps?
If we only need to graphically authorize a user,
view a few tables representation (from database),
ability to change data in the database visually
what tools to use to write such a web application that will run on Tomcat?
What framework allows to do that in the most straightforward, easy-to-manage and elegant way?
I have a custom UITableViewCell that loads in a programmatically created UITableView that is pushed from another view onto a UINavigationController, why cant i specify the height of my cells? The other weird thing is that when i push the cell, the didSelectRowAtIndexPath:indexPath method isn't called.
Hi All,
I have set my status bar hidden in my Application.
[application setStatusBarHidden:YES];
I have added an UIView on the window as a subview at 0,0,320,40. But I am not able to get touches on my View ?
What is the problem ???
Thanks
I'm trying to piece together a dynamic view that will give a list of all emails that are still being rejected.
Table structure:
EmailName - varchar(150) - An email address
StartRejection - Date - Day to start rejecting email
Duration - Small Int - Duration of rejection
IsIndefinate - Bit - Is the rejection 'non date range specific' but indefinate
I want to send
www.mydomain.com/approve/SomeFunkyVariable to
www.mydomain.com/home/index.php?option=com_content&task=view&id=574&Itemid=85&approve=someFunkyVariable
What is the rule for this?
I am having a hard time getting video to play in an application that I am working on and I think the answer has to do with the views and view controllers. I have the flow depicted below. When the button is clicked, the audio from the video is playing, but nothing is displayed on screen. Anyone have any ideas?
-(IBAction) playMovie {
Play Movie Code
}
ViewController UIScrollView UIView UIButton - (playMovie)
I want to create a listing view in which the record will be in this format(basically one record based on other, what approach i should follow) .
My table
Module1
Module1Feature
Module1Feaure2
Module1Feature3
Module2
Module2Feature
Module2Feature2
Module2Feature3
Basically Please Notice that the child records are based on the parent.
I am trying to Catch exceptions and log it.
Presently I have written a Utility method and Passing the Exception to it in the catch block and finally logging the application using MS Enterprise Library 4.0.
I want to know is there any other better way to log errors.
Show exception message in the same view for some type of exceptions for rest navigate to error page.
If someone can help me on this!
Navish
I can find the start coordinates of where a swipe starts by doing the following
- (void)oneFingerSwipeUp:(UISwipeGestureRecognizer *)recognizer
{
CGPoint point = [recognizer locationInView:[self view]];
NSLog(@"Swipe up - start location: %f,%f", point.x, point.y);
}
Is it possible to find the coordinates where the swipe ended?
I looked into the docs and its not mentioned. Is there some work around for this?
Many Thanks,
-Code
I've written an app which contains a large textview for displaying notes. Is it possible to have the textview highlight any phone numbers or hyperlinks without underlining the entire view?
Is there an easy way to do a find and replace on a string in every view and stored procedure in my SQL Server database.
I need to replace something like 'X United Kingdom' with 'X(UK)'.
When rotating a label, the text is rendered very ugly. Is there an convenient way to get the label aligned with the pixels? Maybe there is some way of rounding the transform of the view, so that it isn't misaligned?
I have a table view that gets refreshed two different ways. One is through a button and the other is when I call my refresh method, which is the same method that I use for the button, but for some reason, when I hit the button it works, but when I call it through a different class it doesn't.
Here's the code that I use to refresh the tableview:
Msqv *qv = [Msqv new];
[qv refresh:self]; //refresh is an IBAction that is used by the button