You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Groovie <gr...@groovesytems.de> on 2008/10/06 05:50:32 UTC
[TOBAGO] How to change the layout in the following dialouge
Salut,
i have a question that is related to the GridLayoutmanager,
that is actually ignoring my layout directive. Maybe you can
help.
Simple take a look at the beautiful demo app @atanion, and
select the table submenu under overview. You will see
box containing a commentpart and the table.
(1) The question is, how can i change/influence the arrangement
between comment(upper) and table(lower part),
I would like to see a small comment part here.
(2) Another question is, how to position the pop-up (push the #)
(3) The very last question is about individual colouration of
a Tobages widgets (like a row or a cell). In order to emphasis
some values, i would like to change the cell's background-color.
How can i do this ?
Thanks for you help!
Groovy
--
View this message in context: http://www.nabble.com/-TOBAGO--How-to-change-the-layout-in-the-following-dialouge-tp19831642p19831642.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
RE: [TOBAGO] How to change the layout in the following dialouge
Posted by Arvid Hülsebus <ar...@atanion.com>.
I've added some info about markup to the Guide:
http://myfaces.apache.org/tobago/guide.html#Markup
There is additional info about styling table cells in the example theme. Basically you need
<renderer>
<name>Column</name>
<supported-markup>
<markup>new</markup>
</supported-markup>
</renderer>
And a style.css with this
.tobago-column-markup-new {
background-color: yellow;
}
Best regards
Arvid
-----Original Message-----
From: Arvid Hülsebus [mailto:arvid.huelsebus@atanion.com]
Sent: Monday, October 06, 2008 10:54 AM
To: 'MyFaces Discussion'
Subject: RE: [TOBAGO] How to change the layout in the following dialouge
Hello
(1) Layouting the height of rows
You can assign values for the height of each row -- for example as relative sizes: rows="1*;5*"
See http://myfaces.apache.org/tobago/guide.html#Layout for more information.
(2) How to position a popup
The popup has respective positioning attributes: width, height, left, top
(3) Styling controls
Normally Tobago doesn't allow to influence style directly. Styling is a task of the theme. But you can define markup with logical meaning and define simple styling for this without writing your own theme.
http://myfaces.apache.org/tobago/faq.html#tobagocustommarkup
The address book demo contains a small example for styling a progress control:
<tc:progress value="#{admin.memory}" markup="#{admin.state}" />
I will try to update the Tobago Guide tomorrow with more information on markup, but currently I have not much time because I will be on vacation for one and a half week from Wednesday on.
Bes regards
Arvid
-----Original Message-----
From: Groovie [mailto:groovie@groovesytems.de]
Sent: Monday, October 06, 2008 5:51 AM
To: users@myfaces.apache.org
Subject: [TOBAGO] How to change the layout in the following dialouge
Salut,
i have a question that is related to the GridLayoutmanager,
that is actually ignoring my layout directive. Maybe you can
help.
Simple take a look at the beautiful demo app @atanion, and
select the table submenu under overview. You will see
box containing a commentpart and the table.
(1) The question is, how can i change/influence the arrangement
between comment(upper) and table(lower part),
I would like to see a small comment part here.
(2) Another question is, how to position the pop-up (push the #)
(3) The very last question is about individual colouration of
a Tobages widgets (like a row or a cell). In order to emphasis
some values, i would like to change the cell's background-color.
How can i do this ?
Thanks for you help!
Groovy
--
View this message in context: http://www.nabble.com/-TOBAGO--How-to-change-the-layout-in-the-following-dialouge-tp19831642p19831642.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: [TOBAGO] How to change the layout in the following dialouge
Posted by Christian Groove <ch...@gmx.de>.
Arvid,
thank you !!!
Christian
Am Dienstag, 7. Oktober 2008 14:27:21 schrieb Arvid Hülsebus:
> > Positioning popups
> > Do you use the same layout form ?
>
> The address book example contains 3 examples for popups: column selector,
> about dialog and file upload.
>
> Currently you need to specify all positioning attributes of a popup. Then
> this popup has a concrete size, which the layout manager can build upon.
> Place a <tc:box> inside to get a decent border and give this box a layout
> facet to manage the contained controls.
>
> See the guide for a corresponding code fragment:
> http://myfaces.apache.org/tobago/guide.html#Popup
>
> Or the reference part of the demo for more advanced examples with relative
> positioning
> http://tobago.atanion.net/tobago-example-demo/faces/reference/popup.jsp
>
> More documentation in the guide will follow -- but I think after my
> vacation.
>
> Best regards
> Arvid
>
> -----Original Message-----
> From: Groovie [mailto:groovie@groovesytems.de]
> Sent: Monday, October 06, 2008 9:52 PM
> To: users@myfaces.apache.org
> Subject: RE: [TOBAGO] How to change the layout in the following dialouge
>
>
> Once again and first of all
>
> Thank you!
>
> >> (1) Layouting the height of rows
> >>
> >> You can assign values for the height of each row -- for example as
> >> relative sizes: rows="1*;5*"
>
> Tested it, great ... is running
>
> >> See http://myfaces.apache.org/tobago/guide.html#Layout for more
> >> information.
> >>
> >>(2) How to position a popup
> >>
> >>The popup has respective positioning attributes: width, height, left, top
>
> Yessss, login at
> http://myfaces.apache.org/tobago/tobago-core/tlddoc-1.0.18/index.html
> says for top and left:
>
> No Description
>
> Do you use the same layout form ?
>
> >> (3) Styling controls
> >>
> >> Normally Tobago doesn't allow to influence style directly. Styling is a
> >> task of the theme. But you can >> define markup with logical meaning and
> >> define simple styling for this without writing your
> >> own theme.
>
> This may be a feature for 1.0.1x or 2x. Image, you want to show some
> business critical values in a sheet. The best way to show 'em is to use
> different colours.
>
> Thanks for your help
> Groovie
RE: [TOBAGO] How to change the layout in the following dialouge
Posted by Arvid Hülsebus <ar...@atanion.com>.
> Positioning popups
> Do you use the same layout form ?
The address book example contains 3 examples for popups: column selector, about dialog and file upload.
Currently you need to specify all positioning attributes of a popup. Then this popup has a concrete size, which the layout manager can build upon. Place a <tc:box> inside to get a decent border and give this box a layout facet to manage the contained controls.
See the guide for a corresponding code fragment:
http://myfaces.apache.org/tobago/guide.html#Popup
Or the reference part of the demo for more advanced examples with relative positioning
http://tobago.atanion.net/tobago-example-demo/faces/reference/popup.jsp
More documentation in the guide will follow -- but I think after my vacation.
Best regards
Arvid
-----Original Message-----
From: Groovie [mailto:groovie@groovesytems.de]
Sent: Monday, October 06, 2008 9:52 PM
To: users@myfaces.apache.org
Subject: RE: [TOBAGO] How to change the layout in the following dialouge
Once again and first of all
Thank you!
>> (1) Layouting the height of rows
>>
>> You can assign values for the height of each row -- for example as
>> relative sizes: rows="1*;5*"
Tested it, great ... is running
>> See http://myfaces.apache.org/tobago/guide.html#Layout for more
>> information.
>>
>>(2) How to position a popup
>>
>>The popup has respective positioning attributes: width, height, left, top
Yessss, login at
http://myfaces.apache.org/tobago/tobago-core/tlddoc-1.0.18/index.html
says for top and left:
No Description
Do you use the same layout form ?
>> (3) Styling controls
>> Normally Tobago doesn't allow to influence style directly. Styling is a
>> task of the theme. But you can >> define markup with logical meaning and
>> define simple styling for this without writing your
>> own theme.
This may be a feature for 1.0.1x or 2x. Image, you want to show some
business critical values in a sheet. The best way to show 'em is to use
different colours.
Thanks for your help
Groovie
--
View this message in context: http://www.nabble.com/-TOBAGO--How-to-change-the-layout-in-the-following-dialouge-tp19831642p19845105.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
RE: [TOBAGO] How to change the layout in the following dialouge
Posted by Groovie <gr...@groovesytems.de>.
Once again and first of all
Thank you!
>> (1) Layouting the height of rows
>>
>> You can assign values for the height of each row -- for example as
>> relative sizes: rows="1*;5*"
Tested it, great ... is running
>> See http://myfaces.apache.org/tobago/guide.html#Layout for more
>> information.
>>
>>(2) How to position a popup
>>
>>The popup has respective positioning attributes: width, height, left, top
Yessss, login at
http://myfaces.apache.org/tobago/tobago-core/tlddoc-1.0.18/index.html
says for top and left:
No Description
Do you use the same layout form ?
>> (3) Styling controls
>> Normally Tobago doesn't allow to influence style directly. Styling is a
>> task of the theme. But you can >> define markup with logical meaning and
>> define simple styling for this without writing your
>> own theme.
This may be a feature for 1.0.1x or 2x. Image, you want to show some
business critical values in a sheet. The best way to show 'em is to use
different colours.
Thanks for your help
Groovie
--
View this message in context: http://www.nabble.com/-TOBAGO--How-to-change-the-layout-in-the-following-dialouge-tp19831642p19845105.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
RE: [TOBAGO] How to change the layout in the following dialouge
Posted by Arvid Hülsebus <ar...@atanion.com>.
Hello
(1) Layouting the height of rows
You can assign values for the height of each row -- for example as relative sizes: rows="1*;5*"
See http://myfaces.apache.org/tobago/guide.html#Layout for more information.
(2) How to position a popup
The popup has respective positioning attributes: width, height, left, top
(3) Styling controls
Normally Tobago doesn't allow to influence style directly. Styling is a task of the theme. But you can define markup with logical meaning and define simple styling for this without writing your own theme.
http://myfaces.apache.org/tobago/faq.html#tobagocustommarkup
The address book demo contains a small example for styling a progress control:
<tc:progress value="#{admin.memory}" markup="#{admin.state}" />
I will try to update the Tobago Guide tomorrow with more information on markup, but currently I have not much time because I will be on vacation for one and a half week from Wednesday on.
Bes regards
Arvid
-----Original Message-----
From: Groovie [mailto:groovie@groovesytems.de]
Sent: Monday, October 06, 2008 5:51 AM
To: users@myfaces.apache.org
Subject: [TOBAGO] How to change the layout in the following dialouge
Salut,
i have a question that is related to the GridLayoutmanager,
that is actually ignoring my layout directive. Maybe you can
help.
Simple take a look at the beautiful demo app @atanion, and
select the table submenu under overview. You will see
box containing a commentpart and the table.
(1) The question is, how can i change/influence the arrangement
between comment(upper) and table(lower part),
I would like to see a small comment part here.
(2) Another question is, how to position the pop-up (push the #)
(3) The very last question is about individual colouration of
a Tobages widgets (like a row or a cell). In order to emphasis
some values, i would like to change the cell's background-color.
How can i do this ?
Thanks for you help!
Groovy
--
View this message in context: http://www.nabble.com/-TOBAGO--How-to-change-the-layout-in-the-following-dialouge-tp19831642p19831642.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.