Author |
Message |
21/01/2010 16:38:22
|
rheinrichs
Power User
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
|
|
|
21/01/2010 16:49:05
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
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 |
|
|
25/01/2010 11:33:45
|
rheinrichs
Power User
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
|
|
|
25/01/2010 13:20:21
|
rheinrichs
Power User
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
|
Filename |
npe.jpg |
Download
|
Description |
|
Filesize |
5 Kbytes
|
Downloaded: |
422 time(s) |
|
|
|
25/01/2010 14:17:56
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
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 |
Download
|
Description |
|
Filesize |
4 Kbytes
|
Downloaded: |
435 time(s) |
Filename |
TransferPageIntoStyle$MyParser.class |
Download
|
Description |
|
Filesize |
3 Kbytes
|
Downloaded: |
420 time(s) |
|
Björn Müller, CaptainCasa GmbH |
|
|
25/01/2010 14:18:36
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
...forgot to mention: these files should be removed after 3.0 upgrade...
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
28/01/2010 11:27:20
|
rheinrichs
Power User
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
|
|
|
28/01/2010 12:29:03
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
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 |
|
|
28/01/2010 13:07:09
|
rheinrichs
Power User
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 |
Download
|
Description |
|
Filesize |
5 Kbytes
|
Downloaded: |
451 time(s) |
|
|
|
29/01/2010 06:13:00
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
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 |
|
|
|