Re,

On Wed, May 27, 2009 at 5:39 PM, Vincent Massol <[email protected]> wrote:

>
> On May 27, 2009, at 5:36 PM, Guillaume Lerouge wrote:
>
> > Re,
> >
> > On Wed, May 27, 2009 at 5:35 PM, Guillaume Lerouge <[email protected]
> > >wrote:
> >
> >> Hi Dan,
> >>
> >> On Wed, May 27, 2009 at 5:28 PM, Dan Miron <[email protected]>
> >> wrote:
> >>
> >>> Hi,
> >>> Regarding the http://jira.xwiki.org/jira/browse/XWIKI-2963 issue,
> >>> this
> >>> is how I propose the macro to look like:
> >>> {{columnedtext}}
> >>>
> >>> {{column with="40%"}}
> >>> My first text
> >>> {{/column}}
> >>> {{column with="60%"}}
> >>> My second text
> >>> {{/column}}
> >>>
> >>> {{/columnedtext}}
> >>>
> >>> This way, depending on how many {{column}} blocks it finds, the
> >>> macro
> >>> transformer has a complete overview over the text to be arranged in
> >>> columns.
> >>>
> >>> What do you say?
> >>
> >>
> >> Looks ok to me.
> >>
> >> What happens when the total is higher than 100% ? You could also
> >> add the
> >> choice to use a pixel size instead of the percent-based one. Make
> >> sure the
> >> generated layout works in IE6 too ;-)
> >>
> >> As for the name, I personally think "column" describes what the
> >> macro does
> >> better than "section" but it's only my pow, let's see what the
> >> majority
> >> agrees upon.
> >>
> >> Guillaume
> >>
> >>
> >>> Tnx.
> >>> Dan
> >>
> >>
> > I've got another question too: what will the interface look like in
> > the
> > WYSIWYG? How will an user select how many columns to use and how
> > will the
> > user input content in the various columns using the WYSIWYG macro
> > editor?
>
> Right now same as for any macro. There's no notion of wysiwyg editor
> for embedded macros yet. There's a jira issue for this open btw.


Yes I know but how does the WYSIWYG reacts to the fact that it doesn't know
à priori how many columns will be needed? You mean that you would have to
add a {{section}} macro first, then add a {{column}} macro twice within the
first macro? How will you add a macro within a macro using the macro editor?
Does it mean you will have to add a {{section}} macro using the macro
browser but then you'll have to input {{column}}some
content{{/column}}{{column}}some content{{/column}} in the macro's dialog
box textarea?

Btw Dan I think it would be cool if

{{section}}
{{column}}
content
{{/column}}
{{column}}
content
{{/column}}
{{/section}}

automatically generated 2 columns with 50% width (maybe that's the default
setting).

Guillaume

-Vincent
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to