page

(Ruby,Rails) CRUD nested models more than 4 levels deep on a single page...?

Hi All, As much amazing info as is out there, it often seems to fall just short of my demented requirements. That said, I'm looking for a mechanism by which to handle multiple nested models on a single page. Now, I've seen all the videos and posts (not really, but humor me) on nesting two models (Railscasts, etc.). However, I need to...

CSS position change/problem

I have just finish that site, but there is a silly bug that remain... if you check tu horizontal position of the WHOLE page there is a slight shift... nothing to cry about but WHY here is the 2 pages http://jlecologia.com/index.php http://jlecologia.com/entreprise.php any idea, the horizontal css is: #wrapper { position:relativ...

Multimodularized Pages in a PHP application

Hello, I'm currently writing an application that works with modules. The module part is all okay, but I am not entirely clear on what would be the best approach to display multiple modules on a same page. The way common MVC like systems could work is that an URL like "site.com/article/full/18543/how-to-lose-weight" (I'm not implying any...

System.Web.UI.Page won't let me access CurrentUser or User.Identity from a Controller in ASP.Net-MVC

When I try user = System.Web.UI.Page.CurrentUser or user = System.Web.UI.Page.User.Identity I get an error saying that the method is not defined for System.Web.UI.Page... I am trying to access it within a Controller, does that matter? I've checked to make sure that I do not have another class named Page, Why would it say the metho...

When does a page get rendered in ASP.NET?

I'm writing am ASP.NET/C# project, it's a simple blog page with commnents. Problem I'm having when button click you see comments load original blogload plus blogs and comments, trying to get it to load blog/comment selected only. If I try not to load blog in page_load or have it only do if not postback nothing is displayed. Any help wou...

Up to date asp.net page

I have a page in my website which view life information(like bourse info) from database What I want is : refresh a part of the page through the AJAX technics When a new row is added to one of the tables in the database. ...

Putting Page Numbers in a Document

How do you add a page number from java without using any third party library in a document and which can be treated as a new page in MS Word? Can Java create/manipulate an MS Document? ...

How to condition navigation in seam on a parameter

I have a Seam application originally generated by seam-gen with a view Search.xhtml. Search.xhtml has a number of input fields, half of which are bound to the Office entity and half to the Devices entity. For example, if you enter a hostname, it is bound to a field in Devices, if you enter a City, it is bound to a field in Office. The...

Register directive for controls in App_Code with no namespace

I know that if I created a custom control, say MyLabel in App_Code .. namespace MyNamespace { public class MyLabel : Label { .. } } To access this control in my page, I would use this directive .. <%@ Register tagPrefix="foo" Namespace="MyNamespace" %> If I did not provide a namespace (MyNamespace), how do I write the Register d...

Read client page data asp.net and c#

Hi anybody know how to select and read client page data using c# and asp.net? Here I'm tring to load a page using iframe in my application. Now i want to select some specific text and want to store it in my local database. Is it possible? I'm going through snagit tool but it is capturing the selected area but unable to read the conte...

save client page selected value in database

Hi I got a different problem here here i'm loading client page (ex: yahoo.com) in my page using iframesource as yahoo.com Now i want to selecte some specific lines in yahoo.com and i want to store it in my database. Can somebody help me to do this Thank you, Nagu ...

How to prevent the user to change page with jQuery

I have a page with a form that is submittes via ajaxSubmit() (so, without changing the page). My goal is that, when the user try to change page (or even to close the browser), i ask him if really want to exit the page without sending the form (exactly as gmail does). Gmail for example do this with a window.confirm-like popup, but if it...

SharePoint doesn't really provide a mechanism for moving content between libraries / sites.

I want to move a page between sites from a site collection. I am getting result as :- Operation Failed. Access Denied. Not enough permission. When I login as Site administrator, I can move page between sites. The user with contribute permission cannot move pages between sites. Please help me for this issue... ...

ASP.NET BasePage Class Page_Load not Fired on Postback

I have the following BasePage class... Public Class BasePage Inherits System.Web.UI.Page Private litError As Literal Protected SO As Session Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load SO = Session.Item("SO") If SO Is Nothing Then Session.Aba...

ASP.NET: How to avoid parsing part of a page

I have a section in an ASP.NET page that has some <% and %> that I do NOT want the ASP.NET compiler to process. How can I specify a section to not be parsed? ...

Geting error Connection Interrupted In Zend Framework

Hi I created one form with css and HTML without using Zend_Form and decorator. But with same element name created a form structure in my forms folder. and creating instance and using isValid function I am able to work with that form. Every thing works fine for last couple of days but today i am geting this error. The connection to th...

How to Implement a Reliable Web Page Counter?

What's a good way to implement a Web Page counter? On the surface this is a simple problem, but it gets problematic when dealing with search engine crawlers and robots, multiple clicks by the same user, refresh clicks. Specifically what is a good way to ensure links aren't just 'clicked up' by user by repeatedly clicking? IP address? ...

Auto logon on SEAM + JSF

My webapp needs to auto-login when the user access the app url: example: http://myapp/home.xhtml?token={3bcdc006-05fc-4ce1-953a-17375edcf2a2} on my pages.xml i have the following: <pages xmlns="http://jboss.com/products/seam/pages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.com...

magento - add image to left column on homepage

How do I add an image to the left column on the homepage? Regards, Fiona ...

How to cause a postback of the Parent page from an UpdatePanel?

I have a LinkButton which is in a Panel that contains an UpdatePanel. When clicked, the only thing that happens is the Panel closes. I need to do a postback to the parent page. How do I do it ? ...