Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "jamsecgmbh"

Hi,

I get one error I can imagine why and another one I am completly not sure about:

angular.min.js:68 Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module oc.lazyLoad due to:
Error: [$injector:nomod] Module 'thatisuday.dropzone' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

The module oc.lazyLoad is something I have never touched. The javascript file is embedded and accessible. Do you have an idea what I can check?

I will try to fix the dropzone error by including the javascript files needed by the module - I have missed to include them as project files, just copied them into the folder.

Thank you!

We get the same error after our first publishing to the productive web server:

angular.js:4526Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.5.0/$injector/modulerr?p0=app&p1=Error%3A%20%…3A%2F%2Flocalhost%2FCastingDatenbank%2FScripts%2Fangular.min.js%3A20%3A449)

How did you fix your problems - I would be very happy if you can give me a hint. Thank you very much!

OK, thank you!

Hi, is it somehow possible to insert a complete list (mapped with Automapper) within an application service method? Or is it only possible to iterate the list and use single insert of IRepository? Thank you very much!

What a stupid mistake! I am very sorry for stealing your time! Thank you very much!

using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using MyDatabase.JobRequests;
using System.ComponentModel.DataAnnotations.Schema;

namespace MyDatabase.Infosheets
{
    [Table("CdbJobsInfosheets")]
    public class RequestInfosheet : FullAuditedEntity<long>, IMustHaveTenant
    {
        [ForeignKey("JobRequestId")]
        public virtual JobRequest JobRequest { get; set; }
        public virtual long JobRequestId { get; set; }

        public virtual long InfosheetSourceId { get; set; }

        public virtual string InfosheetName { get; set; }

        public virtual int TenantId { get; set; }

        public RequestInfosheet()
        {

        }
    }
}
Question

Hi,

I have a problem with a service I have added - unfortunately I have not chosen the correct naming convention while creating it, I missed to name it ...AppService, just named it ...Service. I read in your article about Dependency Injection that automatic registrations can only work if everything is named correct. I renamed it, but I can't get it to work (I have already implemented other ones without problems). I get the following exception:

"Can't create component 'MyDatabase.Infosheets.InfosheetAppService' as it has dependencies to be satisfied.

'MyDatabase.Infosheets.InfosheetAppService' is waiting for the following dependencies:
- Service 'Abp.Domain.Repositories.IRepository`2[[MyDatabase.Infosheets.RequestInfosheet, MyDatabase.Core, Version=1.10.0.0, Culture=neutral, PublicKeyToken=null],[System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' which was not registered.
"
exceptionType
:
"Castle.MicroKernel.Handlers.HandlerException"

Could you please help me?

Hi, how can I remove the material design style from the bootstrap-select that is used in the language management area? I need to display it in its default style or somehow similar ([http://silviomoreto.github.io/bootstrap-select/examples/#live-search])) Thank you.

Answer

Thanks a lot!

Could you give me another advice concerning the navigation and routing topic please? We want to use the "Left Tabs" from Metronic UI Features ([http://keenthemes.com/preview/metronic/theme/admin_4_material_design/ui_tabs_accordions_navs.html])) but if we do so and use the links with the leading #-sign it seems that the controller tries to detect the target and opens the dashboard that has the definition "$urlRouterProvider.otherwise".

Is it not possible to use the left tabs navigation? Thanks!

Answer

Perfect - thank you very much!

Could you please tell me what I have to do to control which page is displayed as entry point in my SPA application? I don't want the Frontend Example to be the entry point, I would like the Tenant Dashboard to be the first page for logged in users and the Login Page for user who aren't logged in.

Thanks in advance!

Showing 21 to 30 of 37 entries