view

drupal view how to find top one in all category

i have a content type event with following fields date,type and using fivestar module for voting. The type takes 3 possible values 'art', 'entertainment', 'iq'. i try to generate a block that should display top event (by votes) in each category. any one have idea ?? ...

How to view documents stored in the AIR application in the browser?

Hi, We have an AIR client which talks to a WAMP server. We store documents. One of the customer requirement is: they want to their website users to view the documents stored in the AIR application. It should be a read only access. The users will not have our air client installed on their machines. All they do is to check the customer's ...

Need to update an Oracle view, but the base table doesn't exist

I'm trying to make an extremely minor change to a view on an oracle database, but what's confusing me is that the base table/view for the view I want to change doesn't seem to exist. First I did this: select text from all_views where view_name='(view name)'; and got the view text, which of course was something like this: SELEC...

SQL Server 2005 Schema Ownership & Domain Accounts

Greetings all, In SQL Svr 2005 I created a new schema for my database called GSOC whose owner is dbo. I then created a local SQL user account with the default schema set to GSOC - my new schema name. I have one View that I want this schema to control access to, so I added the local SQL account to the View's permissions granting SELECT p...

probelm with $node object inside hook_view (drupal 6.x)

function my_content_view($node, $teaser = FALSE, $page = FALSE){ $my_data_table = array( 'personal_info' => array( 'gender' => array('M' => t('Male Only'),'F' => t('Female Only'),'MF' => t('Both Gender Allow'),), ), ); $node = node_prepare($node, $teaser); if($page){ /...

Hello, GridView Tutorial not working

I have followed the tutorial and can't seem to get it to work. Here's my code: GridView.java: package com.example.gridview; import android.app.Activity; import android.os.Bundle; public class GridView extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceSt...

In Grails, how do I return to the calling current view from a controller?

Below is a very simple controller with a "search" action that is fired from g:submitButton in a gsp file. My question is, instead of redirecting to the "index" action and view, how do I return to the view that contained the submit button that called this controller's search action? class DefaultSearchController { def searchableServi...

C# - Changing Windows Folder Option Setting

I need to be able to have access to a hidden file and if I try to access it without the appropriate setting set, I will get an access error. Is there a way to change this option: http://img213.imageshack.us/img213/658/captureplz.png through C# code? I am guessing the Registry, but I'm not sure where this would be. ...

Accessing superview ScrollView?

hi, i added some views (every view has its own viewcontroller and nib) to an UIScrollView. How can I access the ScrollView from within the UIViews I've added? self.view.superview doesn't get me the UIScrollView properties. I need to disable scrollEnabled from within an UIView. Thank you! ...

LinQ query has long duration because of View recalculation

Hello, I've created a View in the database that gives me a representation of an organisation structure AT THIS POINT IN TIME. Indeed, I use a getdate() in this view. I've imported the view in my edmx and wrote queries based on this view. Most queries join a table with the view and return a DTO. These queries work fine and are fast (200m...

Oracle 8i: if data in view changes write into a table

Hello everybody, i do have a view (consolidating/decoding data from various table). Now I want to have a table which contains preferably to old and the changed data of the view record, including the date of the change. I'm using Oracle 8i... Thanks, Werner ...

iPhone view won't rotate

Hi, This is a continuation from a previous question that I asked: http://stackoverflow.com/questions/3730190/iphone-view-strategy I am now using the following method to switch between views: UIWindow *window = [[UIApplication sharedApplication] keyWindow]; [window setRootViewController:[self gameViewController]]; [[[self gameViewContr...

Animating background in Android ?

In Android, is it possible to have a background that is repeated on the background of a view? Is it possible to apply a translation animation to that background? ...

View from dynamically generated list of tables

Hello, So I basicly have a table which has a list of table names. All these listed tables have exact same structure. Then I have a query template, with place holder for table name. I need to create a view, which should return results of that query UNIONed from all the tables listed in that one setup table. So far what I've done is cr...

Adding subview to a subview from another method

Let me start off by describing my situation. I have a main view that I wish to place a smaller scrollview subview in. Then later in code (in another method), I like to add some subviews (images and textviews) to that scrollview subview. And maybe even remove the image- and text-subviews later (in yet another method). So the image- and te...

Problem laying out box using grid in XUL box does not take full space

I'm trying to use xul to create a lay out like this: there is a box contains of a tree of data there is a box containing some buttons right below the previous box. I decided to use because otherwise the second box will be put right next to the first one (unless I use vbox). The problem is no matter what value I assign to flex, the bo...

Views in Python3.1?

What exactly are views in Python3.1? They seem to behave in a similar manner as that of iterators and they can be materialized into lists too. How are iterators and views different? ...

How to add overlay view over other view in android?

I want to put button above image view. How can i do this? (Please, don't offer to set Background, cause i need ImageView) ...

Viewing a Set of Images

Greetings Fellow Coders. My app downloads a set of images from a website but I need to figure out the how to display them to the user. How can I display these to the user if they are coming from a ListView? Also, they'll need to be able to get back to the ListView. Cheers. ...

Return height between navBar and keyboard

Hi, I have got a tableViewController with one section and one cell. How can I get the height between the navBar and the keyboard without any toolbar above it? I tried this code: self.view.bounds.size.height but I get the height of the entire view down the navBar... I'd like to get this size to assign it to the cell and to the textView in...