[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
def_keepall_default improvement  XML
Forum Index -> Development
Author Message
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

Hi!

I try the feature of 14.12.2009 "Improvement – Style Editing via “styldef_xxx.jsp”
Doku: "If you now define the style variant as “def_keepall_<stylevariant>” then really ALL attributes that you define are taken over"

After setting the style-variant in my design JSP to "def_keepall_default", I got only a new style-variant "keepall_default", but the attribute "width" and "height" are not included.

Maybe a bug?

beste regards
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5538
Offline

Hi,

I am sorry, you are right, there is a bug. We fixed it.

There are two ways to continue:

(1) Request a new version from us (no problem, but I am not sure if you have already moved to 3.0?)

or

(2) Define the style as "def_def_keepall_xxx" instead of "def_keepall_xxx". You then need to do search/replace when applying the updat, that fixes the problem...

Please tell us if (1) is an option.

Thanks + regards! Björn

Björn Müller, CaptainCasa GmbH
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

Thx,

for this release we will take the workaround (def_def_xxx) and migrate the style definition after changing to release 3.0

best regards
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

hi!

a) defining the styl-variant "def_def_keepall_default" doesn't work, the attribute height is not set.
b) defining the styl-variant "def_def_keepall_action" throws a NullPointerException in CC-editor.

best regards
[Thumb - npe.jpg]
 Filename npe.jpg [Disk] Download
 Description
 Filesize 5 Kbytes
 Downloaded:  409 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5538
Offline

Hi,

...hmm, before investigating too much into what could happen in this version - please download the class attached and place it within your eidtor environment, so that this reflects the current system.

The .class files need to be placed into:

Code:
 tools
   embeddedserver
     webapps
       editor
         WEB-INF
           classes    <== to be created
             org
               eclnt
                 editor
                   style
 


Sorry, that the first solution did not really worked...

Björn
 Filename TransferPageIntoStyle.class [Disk] Download
 Description
 Filesize 4 Kbytes
 Downloaded:  421 time(s)

 Filename TransferPageIntoStyle$MyParser.class [Disk] Download
 Description
 Filesize 3 Kbytes
 Downloaded:  407 time(s)


Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5538
Offline

...forgot to mention: these files should be removed after 3.0 upgrade...

Björn

Björn Müller, CaptainCasa GmbH
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

Hi!

we migrate to Version 3.x, but the problem still exists. (NPException)
Is it a bug, or only in combination with our style?

best regards
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5538
Offline

We cannot reproduce with our style pages.

Could you please send your style page? Thanks!

Regards, Björn

Björn Müller, CaptainCasa GmbH
rheinrichs

Power User
[Avatar]

Joined: 08/05/2009 10:05:36
Messages: 209
Offline

thx,
maybe there is a mistake in our definition?

best regards
 Filename styledef_xxx.jsp [Disk] Download
 Description
 Filesize 5 Kbytes
 Downloaded:  436 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5538
Offline

Hi,

hmm, I do not have problems here - style generation and usage works fine... I just send some bigger attachment for test purposes via mail...
Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team