Feature #241

Feature #1084: GWT: x.x, Default Edition page width parameter

GWT: x.x, Default Edition page width parameter - STEP 1

Added by Alexey Lavrentev over 6 years ago. Updated about 5 years ago.

Status:Closed Start date:07/09/2013
Priority:High Due date:
Assignee:- % Done:

100%

Category:UI / Interaction Spent time: -
Target version:Portal 0.6.1 Estimated time:2.00 hours

Description

The default size of the edition page should be customizable :

  • px
  • %
  • automatic (default)
  • cm

First step (portal level):
add portal parameter: default_edition_page_width=css-value
remove portal parameter: expandEditionPanels

ONLY WORKS WITH PIXELS AT STEP 1

Validation test

  • open an edition (e.g. Graal)
  • add or edit the following line in txmweb.conf (at /var/lib/tomcat6/txm/FILES/portails-conf-corpus/test)
    • default_edition_page_width=50
  • "fast reload" the portal properties See #680
  • refresh the page
  • re-open the edition
  • check that the page width has changed

History

#1 Updated by Serge Heiden over 6 years ago

  • Subject changed from Customize size of the edition page to Default Edition page width parameter
  • Category set to Import

#2 Updated by Alexey Lavrentev almost 6 years ago

  • Subject changed from Default Edition page width parameter to GWT: x.x, Default Edition page width parameter
  • Priority changed from Normal to High
  • Target version changed from Portal X.X to Portal 0.6

#3 Updated by Alexey Lavrentev almost 6 years ago

  • Description updated (diff)
  • Estimated time set to 2.00

#4 Updated by Alexey Lavrentev almost 6 years ago

  • Description updated (diff)
  • Priority changed from High to Normal

#5 Updated by Matthieu Decorde almost 6 years ago

  • Description updated (diff)

#6 Updated by Matthieu Decorde almost 6 years ago

  • Priority changed from Normal to High

#7 Updated by Matthieu Decorde almost 6 years ago

  • % Done changed from 0 to 80

#8 Updated by Alexey Lavrentev almost 6 years ago

  • Category changed from Import to UI / Interaction
  • Status changed from New to Feedback
  • % Done changed from 80 to 70

OK portal BFM for pixels.
Documentation and testing the other options needed (%, auto...)

#9 Updated by Alexey Lavrentev about 5 years ago

  • Description updated (diff)

#10 Updated by Alexey Lavrentev about 5 years ago

  • Subject changed from GWT: x.x, Default Edition page width parameter to GWT: x.x, Default Edition page width parameter - Step 1
  • Description updated (diff)
  • Parent task set to #1084

#11 Updated by Alexey Lavrentev about 5 years ago

  • Description updated (diff)

#12 Updated by Alexey Lavrentev about 5 years ago

  • Target version changed from Portal 0.6 to Portal 0.6.1

#13 Updated by Matthieu Decorde about 5 years ago

  • Subject changed from GWT: x.x, Default Edition page width parameter - Step 1 to GWT: x.x, Default Edition page width parameter - STEP 1

#14 Updated by Matthieu Decorde about 5 years ago

  • Description updated (diff)

#15 Updated by Matthieu Decorde about 5 years ago

  • % Done changed from 70 to 80

#16 Updated by Alexey Lavrentev about 5 years ago

  • % Done changed from 80 to 70

Test failed on test portal:

  • opened file /var/lib/tomcat6/txm/FILES/portails-webapps-sources/test/txmweb.conf
  • added line "default_edition_page_width=10%"
  • saved file on server
  • pressed on "reload txmweb.conf parameters" button
  • got message "the parameters have been reloaded"
  • opened edition of a BFM text, the new parameter has no effect (the page size is the same as before)

#17 Updated by Matthieu Decorde about 5 years ago

The portal needs to be update because of the property name change (from "defaultEditionPanelSize" to "default_edition_page_width")

And the file that needs to be updated is not :
$HOME/FILES/portails-webapps-sources/test/txmweb.conf
but
$HOME/FILES/portails-conf-corpus/test/txmweb.conf

#18 Updated by Matthieu Decorde about 5 years ago

  • Description updated (diff)

#19 Updated by Matthieu Decorde about 5 years ago

  • % Done changed from 70 to 80

#20 Updated by Alexey Lavrentev about 5 years ago

  • Description updated (diff)
  • Status changed from Feedback to Resolved
  • % Done changed from 80 to 90

OK with the new protocol.

Only pixels work (no need to add "px"). If I try anything with % (e.g. 10%), the page takes 100%.

#21 Updated by Alexey Lavrentev about 5 years ago

  • Status changed from Resolved to Feedback
  • % Done changed from 90 to 80

#22 Updated by Alexey Lavrentev about 5 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 80 to 90

#23 Updated by Matthieu Decorde about 5 years ago

  • Status changed from Resolved to Closed

#24 Updated by Matthieu Decorde about 5 years ago

  • % Done changed from 90 to 100

Also available in: Atom PDF