• Welcome to KonaKart Community Forum. Please login or sign up.
 
October 12, 2024, 04:04:14 am

Recent posts

Pages 1 2 3 4 5 ... 10
21
Programming of KonaKart / Re: No result after building p...
Last post by kameraad759 - December 19, 2020, 09:40:26 am
Solved
22
Programming of KonaKart / No result after building proje...
Last post by kameraad759 - December 18, 2020, 07:35:59 am
Hello,

I changed C:\Konakart\webapps\konakart\WEB-INF\classes\Messages_en.properties, and also for the other languages. Added:
my.returns.page.message=This is the Return field

I changed C:\KonaKart\custom\appn\src\com\konakart\actions\ReturnsAction.java. Changed the line:
returnsContent = kkAppEng.getMsg("common.add.info");
in
returnsContent = kkAppEng.getMsg("my.returns.page.message");

I installed Eclipse, installed Tomcat 9,created kkeclipse within Konakart, imported kkeclipse.

when I run the project, I see the storefront, but no changes in the Returns or AboutUs fields.
Did a clean project and build project. Again no difference in AboutUs ir Returns.

How do I compile the new java sources in Eclips? I do not see the changed java scripts in the project. Where in Eclips should be the sources? so it build the right new storefront.

I only want the new compiled AbiutUsAction.java. I can inject it in the jar kobakart-custom9.4.0 jar.

what are the right steps?

Thanks

23
Programming of KonaKart / Re: HTTP Status 500 – Internal...
Last post by kameraad759 - December 17, 2020, 03:23:32 am
Solved
24
Programming of KonaKart / HTTP Status 500 – Internal Ser...
Last post by kameraad759 - December 17, 2020, 01:50:54 am
Installed Eclipse, Tomcat 9.0 server, create kkeclipse and imported in Eclipse. When run I get the following error (see att.)error.txt.

How can I run Konakart in Eclips?
25
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 15, 2020, 05:41:13 am
I want a English and Germans text for Return, AboutUs and other messages. Directly in the JSP is no options. Language text is dependent on the settings. So how do I do it?
26
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 12, 2020, 01:26:17 am
Hello,

The running web application does not look at the C:\KonaKart\custom directory. So any changes made in the src directory are not seen in the output. So there must be another step to make.

Please help me with this, so I do understand how this works.

Thanks
Hans
27
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 11, 2020, 12:35:36 am
Hello Marco,

I changed C:\Konakart\webapps\konakart\WEB-INF\classes\Messages_en.properties, and also for the other languages. Added:
my.returns.page.message=This is the Return field

I changed C:\KonaKart\custom\appn\src\com\konakart\actions\ReturnsAction.java. Changed the line:
returnsContent = kkAppEng.getMsg("common.add.info");
in
returnsContent = kkAppEng.getMsg("my.returns.page.message");

Restarted Konakart.

Still I see "Add your information here", when I start the client. Is the src directory the right place to change ReturnAction.java? Not some where in the wepapps directory? I did exactly what you wrote, but still I do not see any change in the Return field. What do I miss?

Thanks
Hans


28
Programming of KonaKart / Re: Change content in aboutus,...
Last post by marco - December 10, 2020, 04:39:54 pm
Hello Hans,

have a look at C:\KonaKart\webapps\konakart\WEB-INF\classes folder.

There you'll find different Messages_XX.properties files. For english language ( default one ) you should actually modify Messages_en.properties. ( note the "_en" suffix ).



Regards,
marco
29
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 10, 2020, 07:43:47 am
Just an simple example with commands, so the JSP will be build with the new context.
30
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 10, 2020, 03:12:19 am
Thanks Marco for your reply,

I changed ReturnsAction.java as you wrote.I also add in all the Message.properties files my.returns.page.message = This is returned.

I restarted Konakart server (is this needed?), opened the UI Konakart client, but I do not see the message in Returns field. It still displays "Add your information here" instead of "This is returned".

Do I miss a step? A build or something? How do I display the text in the client?

Thanks
Pages 1 2 3 4 5 ... 10