Re: [Wicket-user] Question about XML processing in wicket

2006-11-26 Thread Carfield Yim
I guess you talking about
http://wicket.sourceforge.net/apidocs/wicket/markup/transformer/XsltTransfomerBehavior.html#onComponentTag(wicket.Component,
wicket.markup.ComponentTag) , it would be great if there is more
examples about this.

On 11/25/06, Matej Knopp <[EMAIL PROTECTED]> wrote:
> Can't you just override the onComponentTag method and modify the tag the
> way you need?
>
> -Matej
>
> Carfield Yim wrote:
> > On 11/24/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> >> And what do want to achieve? What is the input markup and what your
> >> expected output markup?
> >>
> > Say XML like
> >
> > 
> >  value1
> >  value2
> > 
> >
> > Wicket template like
> >
> > 
> > 
> >   Tag1 is 
> >   Tag2 is 
> > 
> > 
> >
> > Then output to
> >
> > 
> > 
> >   Tag1 is value1
> >   Tag2 is value2
> > 
> > 
> >
> > Of course I can use a XML parser parse the XML fill the  tag one
> > by one, just wonder is that quicker way to map a XML to HTML, may be
> > XSLT is what I suppose to use, but I am not sure how to work with
> > XsltTransfomerBehavior and XsltOutputTransformerContainer , any
> > examples?
> >
> > -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question about XML processing in wicket

2006-11-24 Thread Matej Knopp
Can't you just override the onComponentTag method and modify the tag the 
way you need?

-Matej

Carfield Yim wrote:
> On 11/24/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
>> And what do want to achieve? What is the input markup and what your
>> expected output markup?
>>
> Say XML like
> 
> 
>  value1
>  value2
> 
> 
> Wicket template like
> 
> 
> 
>   Tag1 is 
>   Tag2 is 
> 
> 
> 
> Then output to
> 
> 
> 
>   Tag1 is value1
>   Tag2 is value2
> 
> 
> 
> Of course I can use a XML parser parse the XML fill the  tag one
> by one, just wonder is that quicker way to map a XML to HTML, may be
> XSLT is what I suppose to use, but I am not sure how to work with
> XsltTransfomerBehavior and XsltOutputTransformerContainer , any
> examples?
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question about XML processing in wicket

2006-11-24 Thread Carfield Yim
On 11/24/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> And what do want to achieve? What is the input markup and what your
> expected output markup?
>
Say XML like


 value1
 value2


Wicket template like



  Tag1 is 
  Tag2 is 



Then output to



  Tag1 is value1
  Tag2 is value2



Of course I can use a XML parser parse the XML fill the  tag one
by one, just wonder is that quicker way to map a XML to HTML, may be
XSLT is what I suppose to use, but I am not sure how to work with
XsltTransfomerBehavior and XsltOutputTransformerContainer , any
examples?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question about XML processing in wicket

2006-11-23 Thread Juergen Donnerstag
And what do want to achieve? What is the input markup and what your
expected output markup?

Juergen

On 11/24/06, Carfield Yim <[EMAIL PROTECTED]> wrote:
> Just wonder can I fill the wicket template directly from xml tag, say
> I have an xml like
>
> 
>   value1
>   value2
> 
>
> Can I have wicket template like
>
> 
> 
>Tag1 is 
>Tag2 is 
> 
> 
>
> Is there any support of this in wicket? Or I support to use XSLT
> inside wicket for this case? I've take a look of
> XsltTransfomerBehavior and XsltOutputTransformerContainer but I am not
> sure how to use this.
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Question about XML processing in wicket

2006-11-23 Thread Carfield Yim
Just wonder can I fill the wicket template directly from xml tag, say
I have an xml like


  value1
  value2


Can I have wicket template like



   Tag1 is 
   Tag2 is 



Is there any support of this in wicket? Or I support to use XSLT
inside wicket for this case? I've take a look of
XsltTransfomerBehavior and XsltOutputTransformerContainer but I am not
sure how to use this.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user