• Welcome to KonaKart Community Forum. Please login or sign up.
 
April 15, 2024, 01:34:04 am

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - rula

1
Programming of KonaKart / debug
August 11, 2008, 03:24:42 pm
Hi konakarts,
I can not debug konakart in eclipse.
Reason:
Absent Line Number information

Unable to install breakpoint in ...
missing line number attributes. Modify Compiler options to generate the line
number attributes

I looked for comiler setting of workspace and project,
set debug="off" to debug="trie" in build.xml and
and searched in tomcat for debug settings, but found nothing. :(

Please, help would be fine, regards, rula
2
Programming of KonaKart / custom code
August 06, 2008, 08:25:04 am
Hi konakarts,

I searched for a right place for additional external custom jars like jstl, standard and xalan. In the past, I placed it under WEB-IF/lib together with all the other jars for konakart and all works. Now I thought, it's custom code and I have to placed in in custom/lib, but I get compile errors in the ant build. I think this libs are not in the compile path. Where is the right place for external libs of customization?

In your docs I found:
Quote
The "custom/lib" directory contains jars for ant.


regards, rula
3
Configuration of KonaKart / configuration parameters
August 06, 2008, 07:17:54 am
Hi konakarts,

I need a additional configuration parameter MAX_DISPLAY_PRODUCTS_PER_ROW like MAX_DISPLAY_CATEGORIES_PER_ROW. I added a new entry in the configuration table with the according key and now it can be set in the admin app and referenced in java and jsp. Is this enough or what have I to notice? I think it is allowed to change entries in configuration and configuration_group for my needs!

regards, rula
4
Programming of KonaKart / exception handling
July 30, 2008, 01:39:09 pm
Hi Konakarts,
I don't understand the complete exception handling of konakart, but I estimate that it is very good.
NowI have a i18n problem with exceptions and messages (errors).
I need a message-key but a message text (in the false language) is delivered.
e.g.

in NewAddrSubmitAction.java:

try
{
  kkAppEng.getCustomerMgr().fetchZonesForRegistration(addr.getCountryId());
}catch (KKException e1)
{
  return mapping.findForward(super.handleException(request, e1));
}
  return getForward(mapping, request, e, "com.konakart.app.KKInvalidZoneException",
  Constants.invalidZone, "ApplicationError");
}


delivered in NewAddrBody.jsp:

Please select a state from the States pull down menu.

and in requestScope:

org.apache.struts.action.ERROR  {org.apache.struts.action.GLOBAL_MESSAGE=[exception.null.message[Please select a state from the States pull down menu.]]} 

How can I get a usable errorKey form this exception for translation in the jsp. (<html:messages...) ?

regards, rula
5
Programming of KonaKart / markup validation
July 10, 2008, 12:11:36 pm
Hi konakarts,

is valid markup no topic?

I use w3c markup validator with many failures and no doctype was found !?

regards, rula
6
Contributions / krauts translation 2.2.6
July 02, 2008, 01:47:49 pm
Hello, Hola and Hallo,

here my contribution for a krauts translation of version 2.2.6:
-Messages_de.properties (konakart)
-AdminMessages_de.properties (konakartadmin)
-AdminHelpMessages_de.properties (konakartadmin)
-konakart_demo.sql (mysql)

regards, rula
7
Programming of KonaKart / extend contactUs
June 19, 2008, 07:46:57 am
Hi konakarts,

this is a newnie question about a simple customization in the contactUs page.
I have red the docs about customization and engine customization.
I will extend the contactUs page with a simple email form.
I think this have nothing to do with the engine apis a though I make my changes in custom/appn/src.
I add a ContactUs form, ContactUsSubmit action, extend struts-config, tiles-defs, validation, messages and contactUs.
Is this the right way for such a simple customization in the contactUs page?

regards, rula
8
Hi KonaKarts,

I saw the news of version2.2.6 in your demo. Wow, super features
The skin-rotation in this demo seems to be very practical for demos.

Please, could anybody disclose the mystery of dynamic ccs-imports.
It seems to me, that I only have to change the tiles.css in the @import of the *.css.

I searched the web and can't find a solution for jsp (server side)
I have seen *.ccs as *.jsp, maybe this could be the way, but where could I find more about this?
Help would be fine.

regards, rula






9
Configuration of KonaKart / jstl-tags
June 05, 2008, 05:20:46 pm
Hi KonaKarts,

I have a problem with jstl. The tags don't work - expressions not evaluated

I use:
jstl.jar1.1.2
standard1.1.2
in konakart/lib

c.tdl
in konakart/WEB-INF

<taglib>
    <taglib-uri>/tags/c</taglib-uri>
    <taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
in konakart/WEB-INF/web.xm

<%@ taglib uri="/tags/c" prefix="c" %>
<c:set var="test" value="rula"/>
<c:out value="${test}"/>
in konakart/WEB-INF/jsp/test.jsp

and I get
${test}
in the view

Where is the problem, please help!?

regards, rula
10
Configuration of KonaKart / different formats
June 05, 2008, 08:29:50 am
Hi KonaKarts,

I can't use different date-formats for en_GB and de_DE:

in Messages_en_GB:
date.format=dd/MM/yyyy

in Messages_de_DE:
date.format=dd.MM.yyyy

in debugger:
05-Jun 09:15:00 DEBUG (?:execute:?) Locale set from application = en_GB
05-Jun 09:16:01 DEBUG (?:execute:?) Constants.dateTemplate: dd.MM.yyyy

in stack-trace:
Exception Name = java.text.ParseException
Exception Message = Unparseable date: "01/01/2000"
Exception Stack Trace =
at java.text.DateFormat.parse(Unknown Source)
at com.konakart.actions.CustomerRegistrationSubmitAction.execute(Unknown Source)

After validation this exception occurs!
Why has been the false date-pattern (Constants.dateTemplate: dd.MM.yyyy) for this locale(en_GB) selected?

regards, rula
11
Hello,

how can I reach a simple update of the the messages-catalog in the client-app?
Only if I stop and start the server, the message-resources are updated.
I think a simple reload is enough, but I can't find a way to reach this.

In admin-app there is no problem, I do the changes and klick only F5 in the browser and the all seems to be okay.

regards, rula
12
Hi,
first i have to customize the view (images, styles, htmls and jsps) and
later perhaps the src (actions, forms) and than run a ant build all in eclipse.

How to create or import a konakart-project like a struts-project in eclipse for effective work.

Is there a good and fast way to do all this work inside eclipse?