view

Publishing a node to a specific page ?

Hello I have created a new content type "Quote". Now the user should be able to link a specific "Quote" to a specific page where the user wants the quote to be shown. Is this possible? thx ...

On the Android: How to define proper Animation to maximize one View while minimizing 2 others at the same time?

I created an activity which holds 3 custom components (defined in xml). 2 components extend View, 1 extends SurfaceView. They all lie in a LinearLayout, deviding screen real estate equally amongst the components. Click to see. I'm new so I can't post images directly... Now I would like to maximize one View when it is clicked (using a sl...

Creating views with PHP for couchDB

Hi! I have started to try out noSQL databases now and are currently testing out couchDB. Seems like a good solution, but I really get some headache when I follow available examples on how to create views (queries) to select documents from a database and sort them. Everything I can find is regarding JavaScript and it would be great to ta...

touchlisteners and textviews

Hello Actually I'm trying to implement an ontouchlistener into my android (1.5) application. therefore i implemented the "ontouchlistener" into the class, and then i put my code into the: public boolean onTouchEvent (MotionEvent e){ //code } The problem is, that if I am dragging over an (e.g.) Spinner or EditTextView than this Me...

Return to same view from two different action methods.

Hi, i have a quick search and advance search pages, both are controlled by search controller, i have 2 action methods quick(...) and advanced (....) in my controller. Both pages have sumbit buttons and they are calling two different action method "qucikresults(...)" and "advancedresults(....)".when both method executes they return produ...

how to connect multiple tables and populate into a datagridview control ?

how to connect multiple tables and populate into a datagridview control ? What i can think is create a view, but if there any other better resolutions ? ...

General approach for posting business logic status messages to UI?

Hello all. I have been struggling with this question for awhile now, and I haven't reached a conclusion. I'm not typically a UI programmer, so forgive the noobishness. I'm writing a typical application with a UI layer (WPF) and a business layer. I want to post status messages to the UI from the business layer (perhaps deep within the...

Testing a Django view cause "AttributeError: 'NoneType' object has no attribute 'handler500'" error

I just wanted to start testing a Django view using the code below: from django.test.client import Client c = Client() response = c.get('/search/keyword') print response.content It just throws out following error message: "/usr/local/lib/python2.6/dist-packages/django/test/client.py", line 286, in get response = self.request(**r) F...

Another Navigation Controller and View Controller Question

I have a NavigationController based app. TableViewController loads Array. User clicks Cells and Xib(view controller) is pushed to top of stack. Question is, Can I load another Xib off the Current Xib...Thanks ...

Zend Framework: how to remove rendered views in the controller?

i want to render one of these sets of views: head body-$id1 foot OR head body-$id2 foot which set exsists. i do it like this: try { $this->render("head"); $this->render("body-$id1"); $this->render("foot"); } catch (Exception $e) { $this->render("head"); $this->render("body-$id2"); $this->render("foot"); ...

Link between CCK field and view

I want to use a view to select nodes in a content type field. This view must receive an argument that is another field of the content type. Can someone explain me how to pass the argument from the field to the view? Excuse my poor english ...

Add button in footer at the end of the table view cell

hi, I am new to iphone development.I have created a UIview controller class and added a table view using interface builder. Now i want to create a button in footer view at the end of the table view last cell. I have used UIView Controller class (not UItableview controller).How can i achieve this. please help me out. Thanks. ...

How to show own view in Spinner Widget instead of Text View?

I have a selection for some items using a spinner widget. At the moment the spinner will load a simple Textview and show the name of the item. It is possible to define an own view to show inside the spinner row? I would suspect it being similar to a custom List row. I simply want to show an individual icon left from the spinner text f...

Pager HTML viewer

Hello! We are currently developing a Windows Forms application in VS 2008 C#. This application is for reading long (200 - 300 pages) law documents, and it handles about 30 - 40 docs. The application searches in document text, switches between documents, etc. Our customer has sent the docs in separate *.rtf files for us to "put it into ...

show enum in view

i have enum public enum TypeImage { Img=0, Thumb=1 } i want in view show <%= TypeImage.Img %> -it shows "img" but not 0. what the problem? ...

Multiple labels in a table cell view

hi all, i want to add 3 labels into a cell dynamically, cell is created dynamically as well. but i don't know how to create labels and add it into the cell in objective c (iphone). can anybody help me? ...

View or ViewController... both are views????

In Interface Builder... when I drag a VIEW into the document window... and then double-click on it... it opens and displays the VIEW window. (As expected) ... but when I drag a VIEW CONTROLLER into the document window... and then double-click on it... it also opens and displays the VIEW window, too. (It says "view" right on it.) Is t...

Set margins in a LinearLayout programmatically.

I'm trying to use Java (not XML) to create a LinearLayout with buttons that fill the screen, and have margins. Here is code that works without margins: LinearLayout buttonsView = new LinearLayout(this); buttonsView.setOrientation(LinearLayout.VERTICAL); for (int r = 0; r < 6; ++r) { Button btn = new Button(this); btn.setTe...

zend framework / view <?= does not work ? why ?

Strange.. with my installation of the Zend Framework <?php echo $this->user; ?> works fine but <?= $this->user; ?> does not work Anyone have an idea what is the problem ? ...

Moving views inside a layout/view in Android

. . I have more than one question, but I'll start with the more important and problematic one: . . I have a FrameLayout with a ImageView inside it. . . I need to get the size of the "usable area" of the screen my activity is ocupping, so I set the "onSizeChanged" on my View (I extended the ImageView class). Everything worked fine here. ...