Re: Wicket and Backbase

2007-01-09 Thread Igor Vaynberg

what do you mean fill the list?

-igor


On 1/9/07, Toscano <[EMAIL PROTECTED]> wrote:



Hello again,

Thank you very much. I'm understanding how this works! Thanks!.
I'm sorry for asking more, but can you show me a little example of how to
fill the List? I almost have it, but if I see it working, I think I will
realize.

Thank you for your time!,
Oskar



igor.vaynberg wrote:
>
> here is a panel that will output  tag
>
> // model
> class TreeListRow { List cells; }
> class TreeListCell { String type, String text; }
>
> //panel
>
> class TreeListRowPanel extends Panel {
>public TreeListRowPanel(String id, IModel model) {
>  super(id, new CompoundPropertyModel(model));
>  add(new ListView("cells") {
>populateItem(ListItem item) {
>   TreeListCell cell=item.getModelObject();
>   item.add(new SimpleAttributeModifier("b:type",
> cell.gettype());
>   item.add(new Label("text", cell.gettext()));
>   }
>   }
> }
> }
>
> markup:
> 
> 
> 
> 
>
> thats all there is to that, you simple attach wicket tags to backbase
> markup
> tags. once you grok this i can explain how to build the recursive tree
> structure to you
>
> -igor
>
>
> On 1/8/07, Toscano <[EMAIL PROTECTED]> wrote:
>>
>>
>> Thank you again for your answers. I'm sorry because maybe I'm asking in
>> the
>> wrong forum...
>> For example, backbase renders a tree control using this xml:
>> 
>> 
>> Subject
>> From
>> Posted
>> 
>> 
>> Is the Seven Samurai
>> good?
>> Jeremy Hartley
>> 15-08-2005, 13:01
>> 
>> 
>> 2001 - Question about
>> religion
>> John Deare
>> 23-07-2005, 17:14
>> 
>> 
>> Re: 2001 - Question
about
>> religion
>> Marcel
>> Diepstra
>> 24-07-2005,
>> 8:01
>> 
>> 
>> 
>> 
>>
>> Question is: how can I ouput this kind of xml from a data structure on
>> Wicket?
>> My point is to use much more complicated backbase controls, but if I
can
>> learn how to do this, I think I will be able to do anyone.
>>
>> Again, thank you very much!
>>
>>
>> Eelco Hillenius wrote:
>> >
>> > My back base knowledge is poor, so can you give an example of what
>> > kind of markup you need to produce?
>> >
>> > Eelco
>> >
>> >
>> > On 1/8/07, Toscano <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hello,
>> >>
>> >> Thank you very much for your responses.
>> >> I understand what you want to say, but I'm afraid I don't know how
to
>> do
>> >> it.
>> >> My Wicket knowledge is poor yet, can you show me or redirect me to
an
>> >> example of this?.
>> >>
>> >> Again, thank you for your time!
>> >> Oskar
>> >>
>> >>
>> >>
>> >> Erik van Oosten wrote:
>> >> >
>> >> > Oskar,
>> >> >
>> >> > The BackBase language is XML right?
>> >> > So what you can do is give the BackBase elements a wicket:it
>> attribute
>> >> > and attach components to it, just as would do with html tags.
>> >> >
>> >> > Regards,
>> >> > Erik.
>> >> >
>> >> >> On 1/7/07, Toscano <[EMAIL PROTECTED]> wrote:
>> >> >>> Hello,
>> >> >>>
>> >> >>> I have been doing some testing for a very big project, and I
have
>> >> been
>> >> >>> seduced by Wicket. In the web interface side, we are considering
>> >> >>> Backbase,
>> >> >>> but although I could integrate easily simple controls like
>> buttons,
>> I
>> >> >>> don't
>> >> >>> know how to output the special html that backbase needs... Do I
>> have
>> >> to
>> >> >>> create specific wicket.markup.html components? Can anybody help
me
>> >> with
>> >> >>> how
>> >> >>> to face this?
>> >> >>>
>> >> >>> Thank you very much!,
>> >> >>> Oskar
>> >> >
>> >> > --
>> >> > Erik van Oosten
>> >> > http://day-to-day-stuff.blogspot.com/
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8225176
>> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8225780
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
>
>

--
View this message in context:
http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8238196
Sent from the Wicket - Dev mailing list archive at Nabble.com.




Re: Wicket and Backbase

2007-01-09 Thread Toscano

Hello again,

Thank you very much. I'm understanding how this works! Thanks!.
I'm sorry for asking more, but can you show me a little example of how to
fill the List? I almost have it, but if I see it working, I think I will
realize.

Thank you for your time!,
Oskar



igor.vaynberg wrote:
> 
> here is a panel that will output  tag
> 
> // model
> class TreeListRow { List cells; }
> class TreeListCell { String type, String text; }
> 
> //panel
> 
> class TreeListRowPanel extends Panel {
>public TreeListRowPanel(String id, IModel model) {
>  super(id, new CompoundPropertyModel(model));
>  add(new ListView("cells") {
>populateItem(ListItem item) {
>   TreeListCell cell=item.getModelObject();
>   item.add(new SimpleAttributeModifier("b:type",
> cell.gettype());
>   item.add(new Label("text", cell.gettext()));
>   }
>   }
> }
> }
> 
> markup:
> 
> 
> 
> 
> 
> thats all there is to that, you simple attach wicket tags to backbase
> markup
> tags. once you grok this i can explain how to build the recursive tree
> structure to you
> 
> -igor
> 
> 
> On 1/8/07, Toscano <[EMAIL PROTECTED]> wrote:
>>
>>
>> Thank you again for your answers. I'm sorry because maybe I'm asking in
>> the
>> wrong forum...
>> For example, backbase renders a tree control using this xml:
>> 
>> 
>> Subject
>> From
>> Posted
>> 
>> 
>> Is the Seven Samurai
>> good?
>> Jeremy Hartley
>> 15-08-2005, 13:01
>> 
>> 
>> 2001 - Question about
>> religion
>> John Deare
>> 23-07-2005, 17:14
>> 
>> 
>> Re: 2001 - Question about
>> religion
>> Marcel
>> Diepstra
>> 24-07-2005,
>> 8:01
>> 
>> 
>> 
>> 
>>
>> Question is: how can I ouput this kind of xml from a data structure on
>> Wicket?
>> My point is to use much more complicated backbase controls, but if I can
>> learn how to do this, I think I will be able to do anyone.
>>
>> Again, thank you very much!
>>
>>
>> Eelco Hillenius wrote:
>> >
>> > My back base knowledge is poor, so can you give an example of what
>> > kind of markup you need to produce?
>> >
>> > Eelco
>> >
>> >
>> > On 1/8/07, Toscano <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hello,
>> >>
>> >> Thank you very much for your responses.
>> >> I understand what you want to say, but I'm afraid I don't know how to
>> do
>> >> it.
>> >> My Wicket knowledge is poor yet, can you show me or redirect me to an
>> >> example of this?.
>> >>
>> >> Again, thank you for your time!
>> >> Oskar
>> >>
>> >>
>> >>
>> >> Erik van Oosten wrote:
>> >> >
>> >> > Oskar,
>> >> >
>> >> > The BackBase language is XML right?
>> >> > So what you can do is give the BackBase elements a wicket:it
>> attribute
>> >> > and attach components to it, just as would do with html tags.
>> >> >
>> >> > Regards,
>> >> > Erik.
>> >> >
>> >> >> On 1/7/07, Toscano <[EMAIL PROTECTED]> wrote:
>> >> >>> Hello,
>> >> >>>
>> >> >>> I have been doing some testing for a very big project, and I have
>> >> been
>> >> >>> seduced by Wicket. In the web interface side, we are considering
>> >> >>> Backbase,
>> >> >>> but although I could integrate easily simple controls like
>> buttons,
>> I
>> >> >>> don't
>> >> >>> know how to output the special html that backbase needs... Do I
>> have
>> >> to
>> >> >>> create specific wicket.markup.html components? Can anybody help me
>> >> with
>> >> >>> how
>> >> >>> to face this?
>> >> >>>
>> >> >>> Thank you very much!,
>> >> >>> Oskar
>> >> >
>> >> > --
>> >> > Erik van Oosten
>> >> > http://day-to-day-stuff.blogspot.com/
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8225176
>> >> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8225780
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8238196
Sent from the Wicket - Dev mailing list archive at Nabble.com.



Re: Wicket and Backbase

2007-01-08 Thread Igor Vaynberg

here is a panel that will output  tag

// model
class TreeListRow { List cells; }
class TreeListCell { String type, String text; }

//panel

class TreeListRowPanel extends Panel {
  public TreeListRowPanel(String id, IModel model) {
super(id, new CompoundPropertyModel(model));
add(new ListView("cells") {
  populateItem(ListItem item) {
 TreeListCell cell=item.getModelObject();
 item.add(new SimpleAttributeModifier("b:type",
cell.gettype());
 item.add(new Label("text", cell.gettext()));
 }
 }
   }
}

markup:





thats all there is to that, you simple attach wicket tags to backbase markup
tags. once you grok this i can explain how to build the recursive tree
structure to you

-igor


On 1/8/07, Toscano <[EMAIL PROTECTED]> wrote:



Thank you again for your answers. I'm sorry because maybe I'm asking in
the
wrong forum...
For example, backbase renders a tree control using this xml:


Subject
From
Posted


Is the Seven Samurai
good?
Jeremy Hartley
15-08-2005, 13:01


2001 - Question about
religion
John Deare
23-07-2005, 17:14


Re: 2001 - Question about
religion
Marcel
Diepstra
24-07-2005,
8:01





Question is: how can I ouput this kind of xml from a data structure on
Wicket?
My point is to use much more complicated backbase controls, but if I can
learn how to do this, I think I will be able to do anyone.

Again, thank you very much!


Eelco Hillenius wrote:
>
> My back base knowledge is poor, so can you give an example of what
> kind of markup you need to produce?
>
> Eelco
>
>
> On 1/8/07, Toscano <[EMAIL PROTECTED]> wrote:
>>
>> Hello,
>>
>> Thank you very much for your responses.
>> I understand what you want to say, but I'm afraid I don't know how to
do
>> it.
>> My Wicket knowledge is poor yet, can you show me or redirect me to an
>> example of this?.
>>
>> Again, thank you for your time!
>> Oskar
>>
>>
>>
>> Erik van Oosten wrote:
>> >
>> > Oskar,
>> >
>> > The BackBase language is XML right?
>> > So what you can do is give the BackBase elements a wicket:it
attribute
>> > and attach components to it, just as would do with html tags.
>> >
>> > Regards,
>> > Erik.
>> >
>> >> On 1/7/07, Toscano <[EMAIL PROTECTED]> wrote:
>> >>> Hello,
>> >>>
>> >>> I have been doing some testing for a very big project, and I have
>> been
>> >>> seduced by Wicket. In the web interface side, we are considering
>> >>> Backbase,
>> >>> but although I could integrate easily simple controls like buttons,
I
>> >>> don't
>> >>> know how to output the special html that backbase needs... Do I
have
>> to
>> >>> create specific wicket.markup.html components? Can anybody help me
>> with
>> >>> how
>> >>> to face this?
>> >>>
>> >>> Thank you very much!,
>> >>> Oskar
>> >
>> > --
>> > Erik van Oosten
>> > http://day-to-day-stuff.blogspot.com/
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8225176
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
>
>

--
View this message in context:
http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8225780
Sent from the Wicket - Dev mailing list archive at Nabble.com.




Re: Wicket and Backbase

2007-01-08 Thread Toscano

Thank you again for your answers. I'm sorry because maybe I'm asking in the
wrong forum...
For example, backbase renders a tree control using this xml:


Subject
From
Posted


Is the Seven Samurai good?
Jeremy Hartley
15-08-2005, 13:01


2001 - Question about religion
John Deare
23-07-2005, 17:14


Re: 2001 - Question about 
religion
Marcel Diepstra
24-07-2005, 
8:01





Question is: how can I ouput this kind of xml from a data structure on
Wicket?
My point is to use much more complicated backbase controls, but if I can
learn how to do this, I think I will be able to do anyone.

Again, thank you very much!


Eelco Hillenius wrote:
> 
> My back base knowledge is poor, so can you give an example of what
> kind of markup you need to produce?
> 
> Eelco
> 
> 
> On 1/8/07, Toscano <[EMAIL PROTECTED]> wrote:
>>
>> Hello,
>>
>> Thank you very much for your responses.
>> I understand what you want to say, but I'm afraid I don't know how to do
>> it.
>> My Wicket knowledge is poor yet, can you show me or redirect me to an
>> example of this?.
>>
>> Again, thank you for your time!
>> Oskar
>>
>>
>>
>> Erik van Oosten wrote:
>> >
>> > Oskar,
>> >
>> > The BackBase language is XML right?
>> > So what you can do is give the BackBase elements a wicket:it attribute
>> > and attach components to it, just as would do with html tags.
>> >
>> > Regards,
>> > Erik.
>> >
>> >> On 1/7/07, Toscano <[EMAIL PROTECTED]> wrote:
>> >>> Hello,
>> >>>
>> >>> I have been doing some testing for a very big project, and I have
>> been
>> >>> seduced by Wicket. In the web interface side, we are considering
>> >>> Backbase,
>> >>> but although I could integrate easily simple controls like buttons, I
>> >>> don't
>> >>> know how to output the special html that backbase needs... Do I have
>> to
>> >>> create specific wicket.markup.html components? Can anybody help me
>> with
>> >>> how
>> >>> to face this?
>> >>>
>> >>> Thank you very much!,
>> >>> Oskar
>> >
>> > --
>> > Erik van Oosten
>> > http://day-to-day-stuff.blogspot.com/
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8225176
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8225780
Sent from the Wicket - Dev mailing list archive at Nabble.com.



Re: Wicket and Backbase

2007-01-08 Thread Erik van Oosten
Perhaps it is time to read up on the examples. You can find these on 
http://wicketframework.org/ and http://cwiki.apache.org/WICKET/.

Please ask further on the user list. This is the developers list.

Eelco, BackBase uses a XUL syntax with things like 
stuff, these are read and converted by a javascript 
library on the client side. Another implementation that does this is ZK 
(http://www.zkoss.org/). Both BackBase and ZK have a live demo where you 
can enter the tags in your browser.


Regards,
Erik.

Toscano wrote:

Hello,

Thank you very much for your responses. 
I understand what you want to say, but I'm afraid I don't know how to do it.

My Wicket knowledge is poor yet, can you show me or redirect me to an
example of this?.

Again, thank you for your time!
Oskar
  



--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



Re: Wicket and Backbase

2007-01-08 Thread Igor Vaynberg

wicket can generate any xml markup, give us an example and we will show you
how

-igor


On 1/8/07, Toscano <[EMAIL PROTECTED]> wrote:



Hello,

Thank you very much for your responses.
I understand what you want to say, but I'm afraid I don't know how to do
it.
My Wicket knowledge is poor yet, can you show me or redirect me to an
example of this?.

Again, thank you for your time!
Oskar



Erik van Oosten wrote:
>
> Oskar,
>
> The BackBase language is XML right?
> So what you can do is give the BackBase elements a wicket:it attribute
> and attach components to it, just as would do with html tags.
>
> Regards,
> Erik.
>
>> On 1/7/07, Toscano <[EMAIL PROTECTED]> wrote:
>>> Hello,
>>>
>>> I have been doing some testing for a very big project, and I have been
>>> seduced by Wicket. In the web interface side, we are considering
>>> Backbase,
>>> but although I could integrate easily simple controls like buttons, I
>>> don't
>>> know how to output the special html that backbase needs... Do I have
to
>>> create specific wicket.markup.html components? Can anybody help me
with
>>> how
>>> to face this?
>>>
>>> Thank you very much!,
>>> Oskar
>
> --
> Erik van Oosten
> http://day-to-day-stuff.blogspot.com/
>
>
>

--
View this message in context:
http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8225176
Sent from the Wicket - Dev mailing list archive at Nabble.com.




Re: Wicket and Backbase

2007-01-08 Thread Eelco Hillenius

My back base knowledge is poor, so can you give an example of what
kind of markup you need to produce?

Eelco


On 1/8/07, Toscano <[EMAIL PROTECTED]> wrote:


Hello,

Thank you very much for your responses.
I understand what you want to say, but I'm afraid I don't know how to do it.
My Wicket knowledge is poor yet, can you show me or redirect me to an
example of this?.

Again, thank you for your time!
Oskar



Erik van Oosten wrote:
>
> Oskar,
>
> The BackBase language is XML right?
> So what you can do is give the BackBase elements a wicket:it attribute
> and attach components to it, just as would do with html tags.
>
> Regards,
> Erik.
>
>> On 1/7/07, Toscano <[EMAIL PROTECTED]> wrote:
>>> Hello,
>>>
>>> I have been doing some testing for a very big project, and I have been
>>> seduced by Wicket. In the web interface side, we are considering
>>> Backbase,
>>> but although I could integrate easily simple controls like buttons, I
>>> don't
>>> know how to output the special html that backbase needs... Do I have to
>>> create specific wicket.markup.html components? Can anybody help me with
>>> how
>>> to face this?
>>>
>>> Thank you very much!,
>>> Oskar
>
> --
> Erik van Oosten
> http://day-to-day-stuff.blogspot.com/
>
>
>

--
View this message in context: 
http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8225176
Sent from the Wicket - Dev mailing list archive at Nabble.com.




Re: Wicket and Backbase

2007-01-08 Thread Toscano

Hello,

Thank you very much for your responses. 
I understand what you want to say, but I'm afraid I don't know how to do it.
My Wicket knowledge is poor yet, can you show me or redirect me to an
example of this?.

Again, thank you for your time!
Oskar



Erik van Oosten wrote:
> 
> Oskar,
> 
> The BackBase language is XML right?
> So what you can do is give the BackBase elements a wicket:it attribute 
> and attach components to it, just as would do with html tags.
> 
> Regards,
> Erik.
> 
>> On 1/7/07, Toscano <[EMAIL PROTECTED]> wrote:
>>> Hello,
>>>
>>> I have been doing some testing for a very big project, and I have been
>>> seduced by Wicket. In the web interface side, we are considering 
>>> Backbase,
>>> but although I could integrate easily simple controls like buttons, I
>>> don't
>>> know how to output the special html that backbase needs... Do I have to
>>> create specific wicket.markup.html components? Can anybody help me with
>>> how
>>> to face this?
>>>
>>> Thank you very much!,
>>> Oskar
> 
> -- 
> Erik van Oosten
> http://day-to-day-stuff.blogspot.com/
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8225176
Sent from the Wicket - Dev mailing list archive at Nabble.com.



Re: Wicket and Backbase

2007-01-08 Thread Erik van Oosten

Oskar,

The BackBase language is XML right?
So what you can do is give the BackBase elements a wicket:it attribute 
and attach components to it, just as would do with html tags.


Regards,
   Erik.


On 1/7/07, Toscano <[EMAIL PROTECTED]> wrote:

Hello,

I have been doing some testing for a very big project, and I have been
seduced by Wicket. In the web interface side, we are considering 
Backbase,

but although I could integrate easily simple controls like buttons, I
don't
know how to output the special html that backbase needs... Do I have to
create specific wicket.markup.html components? Can anybody help me with
how
to face this?

Thank you very much!,
Oskar


--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



Re: Wicket and Backbase

2007-01-08 Thread Igor Vaynberg

why dont you give us an example of markup you are having difficulty
outputting?

-igor


On 1/7/07, Toscano <[EMAIL PROTECTED]> wrote:



Hello,

I have been doing some testing for a very big project, and I have been
seduced by Wicket. In the web interface side, we are considering Backbase,
but although I could integrate easily simple controls like buttons, I
don't
know how to output the special html that backbase needs... Do I have to
create specific wicket.markup.html components? Can anybody help me with
how
to face this?

Thank you very much!,
Oskar
--
View this message in context:
http://www.nabble.com/Wicket-and-Backbase-tf2937954.html#a8213853
Sent from the Wicket - Dev mailing list archive at Nabble.com.