How do you allow certain user roles in WP to view a Plugin I am writing? Example would be I want the Administrator and Editor roles to see my plugin, but not Subscribers or Contributors?
I'm looking to create a new app from scratch and will probably use Spring MVC and possibly Spring Web Flow. The projects created by Spring Roo use Spring MVC and optionally Web Flow. What are some good alternatives for view technology, or is JSP with spring and jstl taglibs and jquery the way to go?
Hi all,
This is probably a really dumb question but i'll ask anyway.
I was wondering if there was any reason as to why a form wouldn't display its code when i click "view code" from the right click context menu in vb6?
It was working awhile ago so i'm kind of stumped.
Thanks
Anyone have an idea about how to use sp_helptext to view a stored procedure on a linked server? basically something like this. I don't have the credentials to that linked server to look at it.
EXEC sp_HelpText '[ServerName].[DatabaseName].dbo.storedProcName'
thanks ahead.
i wrote a simple function in controller
public string LinkProjectSquareFilter(int squareId)
{
return squareId.ToString();
}
how can i call it from view? it say The name 'LinkProjectSquareFilter' does not exist in the current context
i am calling the data from xml in table view. after the the first row of data in tableview, my second row is empty in tableview, and from third row data is available. but my last data for row is missing from tableview, because of the second row.
how can i fill that second row.
I am trying to get the value of a cell in a table view but it won't let me. If someone could help that would be great.
int numberOfChecks = -1;
numberOfChecks = numberOfChecks +1;
if ([objectsForTable count]-1 >= numberOfChecks) {
UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:numberOfChecks];
NSString *cellTitle = cell.textLabel.text;
}
I am trying to create a map app for iphone and I have a little problem. Every pin on the map has a different name. How can my program know which pin button is pushed so it can get the data from the server. I've created only one detailed view and I don't know how to make this work.
Hi,
I have a RoR application and model SomeModel. I have views for this model and I want to know - is there any method to get the view's path? Of course I can use for this model instance
m = SomeModel.new
v = m.class.class_name.pluralize.downcase
It's working, but maybe you know a better way? :)
Im using c#.net windows form application. I have a xml file .I need to populate this xml file into a tree view. I can do that using "xml document" but i need to do it using xElement.
I'm looking to create a 'drop down' view that falls in front of the main window. An example of this would be the window that drops down when you click 'Advanced' in System Preferences-Networking.
If someone could point me in the right direction documentation-wise that would be great. Thanks in advance.
How can I view the change history of an individual file, complete with what has changed ?
I have got as far as : git log -- filename
which shows me the commit history of the file, but how do I get at the content of each of the changes ?
Thanks - I'm trying to make the transition from MS SourceSafe and that used to be a simple right click / show history.
When I drag 'My iPhone App' application's file into iTunes it has proper view. Rounded corners and transparent background.
Then I close iTunes and open it again. Corners are still rounded but... What has happened with the background?
http://www.freeimagehosting.net/uploads/15fee337bc.png
Icon is a project's resource file named 'iTunesArtwork' with dimension 512x512, PNG format.
I am having a hard time understanding how to change the width of columns when creating a table view.
I know you can set the width in pixels of a column but that is not what I want to do.
Say, for instance, I have 2 columns and want each column to take up half the screen. How do I do this without explicitly setting the pixels, so that my code can work on multiple screen sizes?
I have a JqueryUi Accordion that is dynamically generated. However I need it to show only the first 8 items with the rest viewable by clicking a "View All" link.
The code is simply a series of:
<h2>Title</h2>
<div>....</div>
The jquery is all of:
$(function() {
$("#sidebar").accordion({autoHeight: false});
});
Thanks
I have one small issue.
in my view model parameterized constructor is not working. while debugging i observed that default constructor get hit but it never triggers my parameterized constructor.
How I can get my parameterized constructor working?
public EmployeeRequestViewModel(IEventAggregator eventAggregator, IContextManager contextmanager):this()
{
_contextmanager = contextmanager;
_eventAgg = eventAggregator;
_eventAgg.GetEvent<EmployeeEvent>().Subscribe(EventTask);
}
public EmployeeRequestViewModel()
{
LoadEmpRequest();
}
Whenever I open Visual Studio 2005, it opens correctly and without any errors.
But when I load my project and try opening it in the design view it does not load.
Actually, I get the error "Visual Studio 2005 (not responding)."
What should I do to fix this error?
I have a controller that takes in a viewmodel and submitbutton
public ActionResult AddLocation(AddLocationViewModel viewModel, string submitButton)
My view is bound to the viewmodel. The viewmodel contains a list objects used to create an html table with checkboxes. Is there a way to access the selected "rows" through the viewmodel in my controller? So that I can iterate through and get the selected items?
Thanks
LDD
I have a modal view with a textview and a button. When the keyboard is displayed it covers up some of my UI elements. I'd like my modal to be scrollable so that it can be viewed while the keyboard is displayed. How can I do this?
I want to create some mad robust code. I want to take a query as a string, create a temporary view / table to store the results, use it, then drop the table. I want to use a name that is guaranteed to not already exist in the database. Is there an SQL command to generate a unique table name? I'm using postgresql if this is implementation-specific.
Is it possible to use tab bar in a view instead of window? Seems everyone add tab bar to their window.
My first screen is a login screen, which doesn't need tab bar.
After user login, it change to the second screen, which contain a tabbar.
Thank you for your time :)
With subversion I could use tortieseSVN to view the history/log of a file.
How can I do this with git?
Just looking for history record for a particular file, and then the ability to compare the different versions.
I've created a custom class inheriting from UILabel. I placed a UILabel in my nib and set the class of the label to my custom class. However, when the viewDidLoad method is called, the view is of the class UILabel instead of my custom class.
Any ideas?
I'm learning Ruby on Rails.
I'm using some associations (has_many :through, ...)
But i'm having some problems with it when i'm combining my views.
How exactly do i combine these nested forms? Can i do this with partial forms and where do i have to write extra code for this? I have seen examples only use the "view" and others also edit the controller....
An example would be very nice :-)