view

Rollup of all Tasks of a Recurring Meeting in SharePoint

We have set up a SharePoint meeting workspace (using WSS 3.0) for our weekly team meeting. As part of our process we will enter tasks and assign them to individuals during the meeting. Unfortunately the task lists are specific to a particular meeting. We are looking for a way to roll up all of the task generated during our weekly meetin...

Fetching categories and items with Zend Framework

Hi all, Currently my code below works fine but it's a bit of overkill. In my controller I fetch the categories that have links and all the links in my database. In my view I loop through all the categories and then when I want to add the links under the category I loop through all the links in my database instead I should only loop thro...

In QT, chaining models does not work as expected

Alright, I have a really basic QStandardItemModel, filled with some numbers. I managed to display it in a QTableView, it's ok. I created a new model ( subclass either of QAbstractItemModel or QAbstractProxyModel ), which is some kind of a layer of an existing model - it is needed to set the sourcemodel, and this new layer should do some ...

Android ListView background colors always showing grey.

I have a ListView that I'm populating from a custom ListAdapter. Inside the Adapter (in the getView(int, View, ViewGroup) method) I'm setting the background color of the View using setBackgroundColor(int). The problem is that no matter what color I set the background to it always comes out a dark grey. It might also be worth noting that ...

Zend Form - Method to extract Label value from Form Class to show in View Script?

I'm in the process of switching my forms to use a View Script as their decorators. The examples I've seen so far do the following in the View Script: <td><label for='textEmail'>Email:</label></td> <td><?php echo $this->element->textEmail; ?></td> I would like to find a way to have the text to be displayed in the label from the Form Ob...

Android view without xml

I need to create view without XML. I retrieve the id by the getID method of the views but I get a ResourceNotFoundException. I tried to use to fix this ID the setID method but it doesn't work anymore. ...

what is the difference (system resource wise) between using views and temporary tables?

what is the difference (system resource wise) between using views and temporary tables? I have a complex report that will be built from numerous tables. I am trying to determine if I should use a series of views or temp tables (SQL 2008). Is there a difference? ...

Updating UILabel from another class

I'm pretty new to iPhone development and I'm still getting my head around Objective-C, so please bear with me :) I am trying to change the text of a label from inside an object that belongs to the main view controller. Umm. I think that sounds right. For those of you familiar with the AQRecorder class from the SpeakHere example on the ...

How to give navigate view like New Facebook iPhone Apps

I saw the new iPhone apps and it is superb. They have nearly more than 9 sections and they have given good navigate view. They have removed tab bar controller and instead of they have given one good navigate view. Does any have seen this new Facebook apps and knows that how can we give same navigate view for the any apps. ...

How can I find the SQL statement that created a view in MySQL?

So I forgot what a column in a view actually is, and the name I gave it is too vague. Can I find the statement used to construct it? ...

how to have two controller actions, one shared view for Zend_Controller_Action Class?

Hi Guys, How do you specify a custom view script for a given Controller Action method? For example: Class UserGalleryController extends Zend_Controller_Action { public function fooAction() { $this->view->actionMsg = 'foo'; // (uses foo.phtml automagically) } public function barAction() { $this->view->actionMsg = 'bar';...

ASP.NET MVC - Set Master View accordingly with Controller

Hello There, By any chance, is there any easy way to set a default MasterView for all the actions inside a specific controller? For example If I have the HomeController I want all the actions inside it to inherit the Site.Master as default, but If I am inside AccountsController I want all the action to inherit the Admin.Master and so o...

asp.net mvc: Dynamically add child/sub controllers from a controller.

In asp.net mvc, you can easily call/add a controller from a view, but what is the easiest way to add child/subcontrollers from a controller. What Im getting at is I want to dynamically build a list of child controllers from within the controller itself, not from the view. The pattern I have in mind is derived from the old ibuyspy porta...

DRUPAL probl [tid] field : in View how to link Taxonomy term to MY view (and not to taxonomy/term)

SUMMARY : I have a view where I need to replace the term link "taxonomy/term" by my view link, because the view uses arguments to find content with terms how can I put in link argument the term which is display : [term_name1] > link "display_view/term_name1", [term_name2] > link "display_view/term_name2" I used [tid] field to put arg...

How do I get a device's maximal width and height in android

Hi I have a problem creating a custom view for an Android application. My custom view wants to use if permitted the maximum screen width. I couldn't find any way to retrieve this value. Can anybody point me to the right method? ...

Getting values from Dynamic controls in Grid view

Hi All, I am generating a Gridview with Custom controls (Text boxes) as per the user input during the run time. when i try to access the data in those text boxes, its not happening I had triggered this operations with the Button and the code is as follows: for (int rowCount = 0; rowCount <= gvCapacity.Rows.Count; rowCount++) { ...

ASP.NET MVC - NHaml issue on web.config file

Hello There, I'm trying to implement NHaml views on my application, and it's all working well. But strangely I'm getting some warnings on web.config files when publishing the application. My nhaml parameters are: <configSections> ... <section name="nhaml" type="NHaml.Configuration.NHamlConfigurationSection, NHaml"/> </configSection...

How to view filesystem in Eclipse PDT

I've been using Aptana standalone for a few months. I do a lot of quick fixes on various servers via Windows network share, and the Aptana File view is perfect for that. Aptana has a "File view" that allowed me to navigate my entire filesystem and quickly open files to make edits. I'm being pressured into using "proper" Eclipse PDT aga...

Changing the main view using the NSUserDefaults and the settings bundle

I have a game on the App Store, and for the next version I am working on having an option in the settings to use different skin. So for example, lets say I choose the basketball option. I would want the app to show the basketball .xib instead of the default view controller. How would I do that? There would be about 4-5 different ski...

CakePHP XML view file

I would like to set CakePHP framework to allow page rendering when view file does not exist. I have all the definition set on layout and do not need extra empty files. Thanks! ...