Most voted "resources" questions
26 questions
Sort by count of
-
4
votes1
answer2408
viewsWhy should I use getResource()?
In Java it is nothing unusual to see codes that carry images, audio files, XML and other things like this: final ImageIcon programLogo = new ImageIcon("res" + System.getProperty("file.separator") +…
-
3
votes3
answers298
viewsHow to use Resources in . js file?
I have a project Asp.Net MVC where I’m wearing Resources, and to use it in my web pages it’s easy! @using projeto.Translations <h3>@Resources.DISPLAY_OLA</h3> The problem is that I have…
-
2
votes1
answer268
viewsHow to hide images from 'Resources' folder?
How do I create a file to put the images in the 'Resources' folder? I don’t want the people who use my program to have access to them. The file can be any extension.
-
2
votes1
answer147
viewsWhere to store binary files in Junit Unit tests with Maven?
I have the following directory structure for the Unit tests Resource folder: src/test/resources/*.files So that I can read binary files (like a PDF for example) to complete a Unit test, I am…
-
2
votes0
answers89
viewsHow to set language according to file . resx
I am aware of the existence of this question: Internationalization using ASP.Net MVC but I’m having some questions. I have these language files (I’ll have more in the future): The system in question…
-
2
votes1
answer23
viewsHow to nest a route
Good afternoon, I have a service order and need to generate a report through it, this report needs to receive the service order number to save in the order_id column. I’m trying to make a nested…
-
1
votes3
answers1091
viewsIs it possible to attach an Android res/drawable file to an email using Javamail?
I’m looking for a two-way solution: Get the file path: I would like to get the path of an image that is in res/drawable on my Android project. I’m in need of the path because I have to send it in…
-
1
votes1
answer141
viewsResource with database
Well I have the following environment: Table: Livro id titulo tituloEN descricao descricaoEN Controller: [LivroController] public ActionResult Index() { var livros = bdLivro.ListarTodos(); return…
-
1
votes1
answer46
viewsMultiple Resources Files in . NET
It is possible to have 2 Resources files in visual studio with the same Resources name, one of which is intended for test environments and another for production environments?
-
1
votes2
answers861
viewsAccent with Javascript Resource
I have an Asp.Net MVC project where I use Source, but I’m having problems with accentuating other special characters. Example: I have the following Resource: Name | Value MSG_SESSAO_EXPIRADA |…
-
1
votes1
answer405
views -
1
votes0
answers124
viewsChanging ngResource save and using CORS (Cross Domain)
I’m developing an angled application, and I’m having a problem with the ngResource module. I need to call a URL from another system, for that I already added the necessary headers in the other…
-
1
votes0
answers93
viewsTranslate . rc in Visual Studio directly in Source?
I’m trying to translate a project with Visual Studio 2013 (Snes9x emulator). I have no experience with the theme, but following the instructions of the package, I understood the resources and…
-
1
votes3
answers696
viewsGenerate RES (stringtable) file from a resourcestring Unit
I’m studying some sources of how to internationalize the software, and in the example I have the software has a Unit with constant strings (captions, etc), something like: unit Resources; interface…
-
1
votes1
answer3043
viewsHow to use Microsoft ASP.Net MVC in English?
I found this package, but I don’t know how to use it: Microsoft ASP.NET MVC English Resources Microsoft.AspNet.Mvc.en https://www.nuget.org/packages/Microsoft.AspNet.Mvc.pt-br/ How to use the…
-
1
votes1
answer34
viewsLike a program’s icons don’t need to be in a resource folder or something?
I’m using Java, but it’s a very general question, actually. When I load an image as a program icon (program icon, save icon, click icon, any icon) and change the folder where the icon is, naturally…
-
1
votes2
answers635
viewsThymeleaf Spring JSF
I’m trying to do the internationalization of templat using Thymeleaf 3.0 Spring 4.2.3 JSF 2.2 Which is sent along with an email. #{i18N.descriptionPortal} When you print in the email html it looks…
-
0
votes1
answer104
viewsResources on app_globalresource
I have a class library where I added a file resx, someone knows how I can in Runtime put this resx in app_globalresource to make it available in all my app web mvc?…
-
0
votes0
answers74
viewsVSS 2005 Internet Access and IIS 7 - I can’t set up for remote access
Guys, I searched several tutorials and nothing works. I followed every step of that link and when it comes to: Now click "Server" -> "Configuration" -> check on "Enable Sourcesafe Internet for…
-
0
votes1
answer59
viewsError 500 Reporting Services Asp Net MVC 5
I am trying to render a report developed in Reporting services but it is giving error in some Source and does not render anything and returns me the following error: Failed to load Resource: the…
-
0
votes0
answers148
viewsXAML C# Resources - How to add a list of dynamically based Resources Image in a folder
I’m making a FlipView using MahApps.Metro. I have a list of images that would be passed to this flipview. It works, but I’m making them add dynamically in a way that I think is incorrect: <Image…
-
0
votes1
answer89
viewsFailed to upgrade project classes and resources using Intellij and Tomcat
I am using Intellij to develop a web project, the application server used is Tomcat. I configured shortcut keys to update the features and just reload the page for the modifications in the project…
web-application tomcat intellij-idea resourcesasked 7 years, 10 months ago Cesar Roberto Martins 163 -
0
votes1
answer206
viewsUpdate with Resource Angularjs
There is the method Callback to the resource.update in the AngularJS? Type, var instancia = Resource.get({id:1}, function(data){ instancia.$update({id:idModelo}, modeloAtualizado) }); This works,…
-
0
votes1
answer61
viewsGet image from "Resources" folder from android
Good morning, I have an android app made in C# via Xamarin. In this application, there is a report made in HTML that is displayed in a Webview. This report needs to display an image (PNG) that is…
-
0
votes1
answer78
viewsGetting nested Sources in the Rails controller
Good evening, this is my first post here, I’m learning to use the tool, sorry if I did something wrong. But here’s the problem... I’m trying to make a clone of "Trello" in Rails for a college…
-
0
votes0
answers86
viewsHow to use Classloader.getResources() correctly in Java?
I am unable to capture the right path from where my CSV file is through this line of code below using Classloader.getResources(); @RunWith(MockitoJUnitRunner.class) public class IndicioActionTest {…