[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
activeX, maybe problems with colons as parameter names?  XML
Forum Index -> Development
Author Message
kretzler

Power User

Joined: 21/11/2007 13:00:57
Messages: 73
Location: Karlsruhe
Offline

Hello,

my problem is that the method with a colon as a parameter name is not getting through to the fronted.

All of the methods below getting through the frontend except the SetFieldList Method. Is there maybe a problem with a colon as a parameter name.

2008:00:00 15:23:24:986 | 12 | INFO | Executing command: SetLayoutFormat(1);SetFieldList(BIRTHDATE:Geburtsdatum,CARD_NUMBER:Ausweisnummer);SetLayout(johnDoe,);SetStrParam(CardBitmapDataFormat,
jpg) .......... org.eclnt.client.elements.impl.ACTIVEXElement>processCommand
2008:00:00 15:23:24:988 | 12 | INFO | Executing method: SetLayoutFormat .......... org.eclnt.client.elements.impl.ACTIVEXElement>executeMehod
2008:00:00 15:23:25:000 | 12 | INFO | Executing method: SetFieldList .......... org.eclnt.client.elements.impl.ACTIVEXElement>executeMehod
2008:00:00 15:23:25:000 | 12 | INFO | Executing method: SetLayout .......... org.eclnt.client.elements.impl.ACTIVEXElement>executeMehod
2008:00:00 15:23:25:000 | 12 | INFO | Executing method: SetStrParam .......... org.eclnt.client.elements.impl.ACTIVEXElement>executeMehod
[WWW]
kretzler

Power User

Joined: 21/11/2007 13:00:57
Messages: 73
Location: Karlsruhe
Offline

I found the error, it was my fault.

The Method look like that
SetFieldList(BIRTHDATE:Geburtsdatum,CARD_NUMBER:Ausweisnummer);

but "BIRTHDATE:Geburtsdatum,CARD_NUMBER:Ausweisnummer" has to be one parameter.

Use this method to create a parameter
String parameter = ValueManager.encodeMethod("SetFieldList", new String[] {"BIRTHDATE:Geburtsdatum,CARD_NUMBER:Ausweisnummer"});
[WWW]
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team