You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Don Brown <do...@gmail.com> on 2008/07/26 07:02:12 UTC
[s2] Google XML Pages (GXP) to replace Freemarker in tags?
It is pretty well known that Google uses WebWork 2 and Struts 2 in
many of its applications, but for the view layer, they use Google XML
Pages (GXP) [1], which was just opened source yesterday or so. There
is a lot to like in GXP like type safety, speed, correct HTML
generation, automatic support for HTML and XHTML (one of our frequent
tickets), automatic encoding of untrusted content, and even things
like mulitiple language support.
This might be a perfect replacement for Freemarker in our tags as the
templates can be compiled, have better error reporting, don't
introduce yet another expression language, and solve a number of our
outstanding feature requests around tags.
Thoughts?
Don
[1] http://code.google.com/p/gxp/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Rene Gielen <gi...@it-neering.net>.
Yeah, the 7.0.3 maven integration is still not convincing, and in that
case 7.0.x EAP is an option, should not be as risky as an 8.0 EAP.
I'm still using the maven:idea plugin most of the time, accompanied with a
build server it makes your small turnarounds often a lot faster, while
keeping all your maven benefits...
Am Di, 29.07.2008, 13:10, schrieb Don Brown:
> I agree, however, the pain of the piss-poor Maven 2 integration in
> 7.0.3 is mostly gone in 7.0.4 EAP (Selena). I think just about
> everyone at Atlassian switched over to it, as you save hours in a day
> not having to wait while IDEA downloads the Maven world every. single.
> time.
>
> Don
>
> On Tue, Jul 29, 2008 at 8:58 PM, Rene Gielen <gi...@it-neering.net>
> wrote:
>> Yes, I know, but since I work with IDEA in my daytime job, EAP versions
>> are not acceptable :)
>>
>> Am Mo, 28.07.2008, 18:58, schrieb Brian Pontarelli:
>>> IJ 8.0 has built in FTL support. EAPs are currently available.
>>>
>>> -bp
>>>
>>>
>>> On Jul 27, 2008, at 8:36 AM, Rene Gielen wrote:
>>>
>>>> I Like it very much, from what I can tell from a first glance. In
>>>> addition to the interesting features, it should be nice to work with
>>>> an
>>>> IDE like IDEA (which still lacks fm support).
>>>>
>>>> Al Sutton schrieb:
>>>>> P.S. If you want to know more about GXP there is a history available
>>>>> from
>>>>> http://google-opensource.blogspot.com/2008/07/google-xml-pages-functional-markup.html
>>>>>
>>>>>
>>>>> Al Sutton wrote:
>>>>>> Gets my vote. GXP will have had "real-world" thrashing and
>>>>>> monitoring
>>>>>> whereas as we've seen recently freemarkers scalability issues aren't
>>>>>> always found and fixed that quickly.
>>>>>>
>>>>>> Al.
>>>>>>
>>>>>> Don Brown wrote:
>>>>>>> It is pretty well known that Google uses WebWork 2 and Struts 2 in
>>>>>>> many of its applications, but for the view layer, they use Google
>>>>>>> XML
>>>>>>> Pages (GXP) [1], which was just opened source yesterday or so.
>>>>>>> There
>>>>>>> is a lot to like in GXP like type safety, speed, correct HTML
>>>>>>> generation, automatic support for HTML and XHTML (one of our
>>>>>>> frequent
>>>>>>> tickets), automatic encoding of untrusted content, and even things
>>>>>>> like mulitiple language support.
>>>>>>>
>>>>>>> This might be a perfect replacement for Freemarker in our tags as
>>>>>>> the
>>>>>>> templates can be compiled, have better error reporting, don't
>>>>>>> introduce yet another expression language, and solve a number of
>>>>>>> our
>>>>>>> outstanding feature requests around tags.
>>>>>>>
>>>>>>> Thoughts?
>>>>>>>
>>>>>>> Don
>>>>>>>
>>>>>>> [1] http://code.google.com/p/gxp/
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>>>>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>>>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>
>>>
>>
>>
>> --
>> Rene Gielen | http://it-neering.net/
>> Aachen | PGP-ID: BECB785A
>> Germany | gielen at it-neering.net
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
--
Rene Gielen | http://it-neering.net/
Aachen | PGP-ID: BECB785A
Germany | gielen at it-neering.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Don Brown <mr...@twdata.org>.
I agree, however, the pain of the piss-poor Maven 2 integration in
7.0.3 is mostly gone in 7.0.4 EAP (Selena). I think just about
everyone at Atlassian switched over to it, as you save hours in a day
not having to wait while IDEA downloads the Maven world every. single.
time.
Don
On Tue, Jul 29, 2008 at 8:58 PM, Rene Gielen <gi...@it-neering.net> wrote:
> Yes, I know, but since I work with IDEA in my daytime job, EAP versions
> are not acceptable :)
>
> Am Mo, 28.07.2008, 18:58, schrieb Brian Pontarelli:
>> IJ 8.0 has built in FTL support. EAPs are currently available.
>>
>> -bp
>>
>>
>> On Jul 27, 2008, at 8:36 AM, Rene Gielen wrote:
>>
>>> I Like it very much, from what I can tell from a first glance. In
>>> addition to the interesting features, it should be nice to work with
>>> an
>>> IDE like IDEA (which still lacks fm support).
>>>
>>> Al Sutton schrieb:
>>>> P.S. If you want to know more about GXP there is a history available
>>>> from
>>>> http://google-opensource.blogspot.com/2008/07/google-xml-pages-functional-markup.html
>>>>
>>>>
>>>> Al Sutton wrote:
>>>>> Gets my vote. GXP will have had "real-world" thrashing and
>>>>> monitoring
>>>>> whereas as we've seen recently freemarkers scalability issues aren't
>>>>> always found and fixed that quickly.
>>>>>
>>>>> Al.
>>>>>
>>>>> Don Brown wrote:
>>>>>> It is pretty well known that Google uses WebWork 2 and Struts 2 in
>>>>>> many of its applications, but for the view layer, they use Google
>>>>>> XML
>>>>>> Pages (GXP) [1], which was just opened source yesterday or so.
>>>>>> There
>>>>>> is a lot to like in GXP like type safety, speed, correct HTML
>>>>>> generation, automatic support for HTML and XHTML (one of our
>>>>>> frequent
>>>>>> tickets), automatic encoding of untrusted content, and even things
>>>>>> like mulitiple language support.
>>>>>>
>>>>>> This might be a perfect replacement for Freemarker in our tags as
>>>>>> the
>>>>>> templates can be compiled, have better error reporting, don't
>>>>>> introduce yet another expression language, and solve a number of
>>>>>> our
>>>>>> outstanding feature requests around tags.
>>>>>>
>>>>>> Thoughts?
>>>>>>
>>>>>> Don
>>>>>>
>>>>>> [1] http://code.google.com/p/gxp/
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>>>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
> --
> Rene Gielen | http://it-neering.net/
> Aachen | PGP-ID: BECB785A
> Germany | gielen at it-neering.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Rene Gielen <gi...@it-neering.net>.
Yes, I know, but since I work with IDEA in my daytime job, EAP versions
are not acceptable :)
Am Mo, 28.07.2008, 18:58, schrieb Brian Pontarelli:
> IJ 8.0 has built in FTL support. EAPs are currently available.
>
> -bp
>
>
> On Jul 27, 2008, at 8:36 AM, Rene Gielen wrote:
>
>> I Like it very much, from what I can tell from a first glance. In
>> addition to the interesting features, it should be nice to work with
>> an
>> IDE like IDEA (which still lacks fm support).
>>
>> Al Sutton schrieb:
>>> P.S. If you want to know more about GXP there is a history available
>>> from
>>> http://google-opensource.blogspot.com/2008/07/google-xml-pages-functional-markup.html
>>>
>>>
>>> Al Sutton wrote:
>>>> Gets my vote. GXP will have had "real-world" thrashing and
>>>> monitoring
>>>> whereas as we've seen recently freemarkers scalability issues aren't
>>>> always found and fixed that quickly.
>>>>
>>>> Al.
>>>>
>>>> Don Brown wrote:
>>>>> It is pretty well known that Google uses WebWork 2 and Struts 2 in
>>>>> many of its applications, but for the view layer, they use Google
>>>>> XML
>>>>> Pages (GXP) [1], which was just opened source yesterday or so.
>>>>> There
>>>>> is a lot to like in GXP like type safety, speed, correct HTML
>>>>> generation, automatic support for HTML and XHTML (one of our
>>>>> frequent
>>>>> tickets), automatic encoding of untrusted content, and even things
>>>>> like mulitiple language support.
>>>>>
>>>>> This might be a perfect replacement for Freemarker in our tags as
>>>>> the
>>>>> templates can be compiled, have better error reporting, don't
>>>>> introduce yet another expression language, and solve a number of
>>>>> our
>>>>> outstanding feature requests around tags.
>>>>>
>>>>> Thoughts?
>>>>>
>>>>> Don
>>>>>
>>>>> [1] http://code.google.com/p/gxp/
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>>>
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
--
Rene Gielen | http://it-neering.net/
Aachen | PGP-ID: BECB785A
Germany | gielen at it-neering.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Brian Pontarelli <br...@pontarelli.com>.
IJ 8.0 has built in FTL support. EAPs are currently available.
-bp
On Jul 27, 2008, at 8:36 AM, Rene Gielen wrote:
> I Like it very much, from what I can tell from a first glance. In
> addition to the interesting features, it should be nice to work with
> an
> IDE like IDEA (which still lacks fm support).
>
> Al Sutton schrieb:
>> P.S. If you want to know more about GXP there is a history available
>> from
>> http://google-opensource.blogspot.com/2008/07/google-xml-pages-functional-markup.html
>>
>>
>> Al Sutton wrote:
>>> Gets my vote. GXP will have had "real-world" thrashing and
>>> monitoring
>>> whereas as we've seen recently freemarkers scalability issues aren't
>>> always found and fixed that quickly.
>>>
>>> Al.
>>>
>>> Don Brown wrote:
>>>> It is pretty well known that Google uses WebWork 2 and Struts 2 in
>>>> many of its applications, but for the view layer, they use Google
>>>> XML
>>>> Pages (GXP) [1], which was just opened source yesterday or so.
>>>> There
>>>> is a lot to like in GXP like type safety, speed, correct HTML
>>>> generation, automatic support for HTML and XHTML (one of our
>>>> frequent
>>>> tickets), automatic encoding of untrusted content, and even things
>>>> like mulitiple language support.
>>>>
>>>> This might be a perfect replacement for Freemarker in our tags as
>>>> the
>>>> templates can be compiled, have better error reporting, don't
>>>> introduce yet another expression language, and solve a number of
>>>> our
>>>> outstanding feature requests around tags.
>>>>
>>>> Thoughts?
>>>>
>>>> Don
>>>>
>>>> [1] http://code.google.com/p/gxp/
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Rene Gielen <gi...@it-neering.net>.
I Like it very much, from what I can tell from a first glance. In
addition to the interesting features, it should be nice to work with an
IDE like IDEA (which still lacks fm support).
Al Sutton schrieb:
> P.S. If you want to know more about GXP there is a history available
> from
> http://google-opensource.blogspot.com/2008/07/google-xml-pages-functional-markup.html
>
>
> Al Sutton wrote:
>> Gets my vote. GXP will have had "real-world" thrashing and monitoring
>> whereas as we've seen recently freemarkers scalability issues aren't
>> always found and fixed that quickly.
>>
>> Al.
>>
>> Don Brown wrote:
>>> It is pretty well known that Google uses WebWork 2 and Struts 2 in
>>> many of its applications, but for the view layer, they use Google XML
>>> Pages (GXP) [1], which was just opened source yesterday or so. There
>>> is a lot to like in GXP like type safety, speed, correct HTML
>>> generation, automatic support for HTML and XHTML (one of our frequent
>>> tickets), automatic encoding of untrusted content, and even things
>>> like mulitiple language support.
>>>
>>> This might be a perfect replacement for Freemarker in our tags as the
>>> templates can be compiled, have better error reporting, don't
>>> introduce yet another expression language, and solve a number of our
>>> outstanding feature requests around tags.
>>>
>>> Thoughts?
>>>
>>> Don
>>>
>>> [1] http://code.google.com/p/gxp/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: dev-help@struts.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Al Sutton <al...@alsutton.com>.
P.S. If you want to know more about GXP there is a history available
from
http://google-opensource.blogspot.com/2008/07/google-xml-pages-functional-markup.html
Al Sutton wrote:
> Gets my vote. GXP will have had "real-world" thrashing and monitoring
> whereas as we've seen recently freemarkers scalability issues aren't
> always found and fixed that quickly.
>
> Al.
>
> Don Brown wrote:
>> It is pretty well known that Google uses WebWork 2 and Struts 2 in
>> many of its applications, but for the view layer, they use Google XML
>> Pages (GXP) [1], which was just opened source yesterday or so. There
>> is a lot to like in GXP like type safety, speed, correct HTML
>> generation, automatic support for HTML and XHTML (one of our frequent
>> tickets), automatic encoding of untrusted content, and even things
>> like mulitiple language support.
>>
>> This might be a perfect replacement for Freemarker in our tags as the
>> templates can be compiled, have better error reporting, don't
>> introduce yet another expression language, and solve a number of our
>> outstanding feature requests around tags.
>>
>> Thoughts?
>>
>> Don
>>
>> [1] http://code.google.com/p/gxp/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Al Sutton <al...@alsutton.com>.
Gets my vote. GXP will have had "real-world" thrashing and monitoring
whereas as we've seen recently freemarkers scalability issues aren't
always found and fixed that quickly.
Al.
Don Brown wrote:
> It is pretty well known that Google uses WebWork 2 and Struts 2 in
> many of its applications, but for the view layer, they use Google XML
> Pages (GXP) [1], which was just opened source yesterday or so. There
> is a lot to like in GXP like type safety, speed, correct HTML
> generation, automatic support for HTML and XHTML (one of our frequent
> tickets), automatic encoding of untrusted content, and even things
> like mulitiple language support.
>
> This might be a perfect replacement for Freemarker in our tags as the
> templates can be compiled, have better error reporting, don't
> introduce yet another expression language, and solve a number of our
> outstanding feature requests around tags.
>
> Thoughts?
>
> Don
>
> [1] http://code.google.com/p/gxp/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Fwd: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Dave Newton <ne...@yahoo.com>.
(Hmm, I think that might have been a list of GXP apps, now that I think about it.)
--- On Thu, 8/7/08, Dave Newton <ne...@yahoo.com> wrote:
> From: Dave Newton <ne...@yahoo.com>
> Subject: Re: Fwd: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Date: Thursday, August 7, 2008, 8:26 AM
> One of the messages in that thread listed some of the apps.
>
> Dave
>
>
> --- On Thu, 8/7/08, GF <ga...@gmail.com> wrote:
>
> > From: GF <ga...@gmail.com>
> > Subject: Fwd: [s2] Google XML Pages (GXP) to replace
> Freemarker in tags?
> > To: "Struts Users ML"
> <us...@struts.apache.org>
> > Date: Thursday, August 7, 2008, 5:59 AM
> > I'm curious to know more about this.
> > Which google apps do use Struts2?
> > Thanks!
> >
> > On Sat, Jul 26, 2008 at 7:02 AM, Don Brown
> > <do...@gmail.com> wrote:
> >
> > > It is pretty well known that Google uses WebWork
> 2 and
> > Struts 2 in
> > > many of its applications,
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Fwd: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Dave Newton <ne...@yahoo.com>.
One of the messages in that thread listed some of the apps.
Dave
--- On Thu, 8/7/08, GF <ga...@gmail.com> wrote:
> From: GF <ga...@gmail.com>
> Subject: Fwd: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
> To: "Struts Users ML" <us...@struts.apache.org>
> Date: Thursday, August 7, 2008, 5:59 AM
> I'm curious to know more about this.
> Which google apps do use Struts2?
> Thanks!
>
> On Sat, Jul 26, 2008 at 7:02 AM, Don Brown
> <do...@gmail.com> wrote:
>
> > It is pretty well known that Google uses WebWork 2 and
> Struts 2 in
> > many of its applications,
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Fwd: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by GF <ga...@gmail.com>.
I'm curious to know more about this.
Which google apps do use Struts2?
Thanks!
On Sat, Jul 26, 2008 at 7:02 AM, Don Brown <do...@gmail.com> wrote:
> It is pretty well known that Google uses WebWork 2 and Struts 2 in
> many of its applications,
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Al Sutton <al...@alsutton.com>.
I think thats a messsage for the users list. Can you re-post over there.
Thanks,
Al.
GF wrote:
> I'm curious to know more about this.
> Which google apps do use Struts2?
> Thanks!
>
> On Sat, Jul 26, 2008 at 7:02 AM, Don Brown <do...@gmail.com> wrote:
>
>
>> It is pretty well known that Google uses WebWork 2 and Struts 2 in
>> many of its applications,
>>
>
>
--
--
Al Sutton
W: www.alsutton.com
T: twitter.com/alsutton
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by GF <ga...@gmail.com>.
I'm curious to know more about this.
Which google apps do use Struts2?
Thanks!
On Sat, Jul 26, 2008 at 7:02 AM, Don Brown <do...@gmail.com> wrote:
> It is pretty well known that Google uses WebWork 2 and Struts 2 in
> many of its applications,
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Musachy Barroso <mu...@gmail.com>.
BTW, this could really speed up our tags, as we could include a
pre-compiled(by the GXP compiler) version of the tags.
musachy
On Sat, Jul 26, 2008 at 1:02 AM, Don Brown <do...@gmail.com> wrote:
> It is pretty well known that Google uses WebWork 2 and Struts 2 in
> many of its applications, but for the view layer, they use Google XML
> Pages (GXP) [1], which was just opened source yesterday or so. There
> is a lot to like in GXP like type safety, speed, correct HTML
> generation, automatic support for HTML and XHTML (one of our frequent
> tickets), automatic encoding of untrusted content, and even things
> like mulitiple language support.
>
> This might be a perfect replacement for Freemarker in our tags as the
> templates can be compiled, have better error reporting, don't
> introduce yet another expression language, and solve a number of our
> outstanding feature requests around tags.
>
> Thoughts?
>
> Don
>
> [1] http://code.google.com/p/gxp/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Gabriel Belingueres <be...@gmail.com>.
I looked the GXP presentation and looks good, but I have a question
related to other technology:
Is it technically possible to rewrite the theme's freemarker files
using tag files? (I believe the challenge here would be how to capture
the tag output)
I think tag files are pretty neat too.
2008/7/27, Piero Sartini <li...@pierosartini.de>:
> Am Sonntag, 27. Juli 2008 17:47:49 schrieb Musachy Barroso:
> > I haven't look at it in detail, but there's got to be a way to create
> > new "elements" (tags), if there isn't we will hack it and send them
> > the code :)
>
> Can't wait to play with it :-)
> In the meantime I will have a look at org.apache.struts2.view.**
>
> Piero
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Piero Sartini <li...@pierosartini.de>.
Am Sonntag, 27. Juli 2008 17:47:49 schrieb Musachy Barroso:
> I haven't look at it in detail, but there's got to be a way to create
> new "elements" (tags), if there isn't we will hack it and send them
> the code :)
Can't wait to play with it :-)
In the meantime I will have a look at org.apache.struts2.view.**
Piero
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Musachy Barroso <mu...@gmail.com>.
In fact, I think the "call elements" are exactly that:
http://gxp.googlecode.com/svn/trunk/docs/gxp-ref.html
musachy
On Sun, Jul 27, 2008 at 11:47 AM, Musachy Barroso <mu...@gmail.com> wrote:
> I haven't look at it in detail, but there's got to be a way to create
> new "elements" (tags), if there isn't we will hack it and send them
> the code :)
>
> musachy
>
> On Sun, Jul 27, 2008 at 8:27 AM, Piero Sartini <li...@pierosartini.de> wrote:
>> Am Sonntag, 27. Juli 2008 11:18:06 schrieb Ted Husted:
>>> The proposal would use GXP to generate the same content as we do here,
>>> so we can wrap the output as a JSP, Velocity, or Freemarker "tag".
>>
>> Thanks for the explanation!
>> So lets go one step further - would it be possible for the user to write his
>> templates in GXP instead of JSP, FreeMarker or Velocity? Since there already
>> exists a result, it should not be that complicated.
>>
>> But how to access the wrapped s2 tags in this case? If they are written in
>> GXP, they could be imported with gxp itself. But this would bypass the
>> wrapper. As far as I understand it they would not be accessed in the same way
>> as with the other template systems.
>>
>> Piero
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Musachy Barroso <mu...@gmail.com>.
I haven't look at it in detail, but there's got to be a way to create
new "elements" (tags), if there isn't we will hack it and send them
the code :)
musachy
On Sun, Jul 27, 2008 at 8:27 AM, Piero Sartini <li...@pierosartini.de> wrote:
> Am Sonntag, 27. Juli 2008 11:18:06 schrieb Ted Husted:
>> The proposal would use GXP to generate the same content as we do here,
>> so we can wrap the output as a JSP, Velocity, or Freemarker "tag".
>
> Thanks for the explanation!
> So lets go one step further - would it be possible for the user to write his
> templates in GXP instead of JSP, FreeMarker or Velocity? Since there already
> exists a result, it should not be that complicated.
>
> But how to access the wrapped s2 tags in this case? If they are written in
> GXP, they could be imported with gxp itself. But this would bypass the
> wrapper. As far as I understand it they would not be accessed in the same way
> as with the other template systems.
>
> Piero
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Piero Sartini <li...@pierosartini.de>.
Am Sonntag, 27. Juli 2008 11:18:06 schrieb Ted Husted:
> The proposal would use GXP to generate the same content as we do here,
> so we can wrap the output as a JSP, Velocity, or Freemarker "tag".
Thanks for the explanation!
So lets go one step further - would it be possible for the user to write his
templates in GXP instead of JSP, FreeMarker or Velocity? Since there already
exists a result, it should not be that complicated.
But how to access the wrapped s2 tags in this case? If they are written in
GXP, they could be imported with gxp itself. But this would bypass the
wrapper. As far as I understand it they would not be accessed in the same way
as with the other template systems.
Piero
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Ted Husted <hu...@apache.org>.
Yes, for anyone unfamilar with how the "Struts Tags" are implemented,
the content of all three flavors of tags -- JSP, Velocity, and
Freemarker -- are, way down deep, generated from the same set of
templates. The content generated by the template is then wrapped as a
JSP tag, Velocity macro, or Freemarker tag. For example, here's the
gritty guts of our "a" tag:
<a<#rt/>
<#if parameters.id?if_exists != "">
id="${parameters.id?html}"<#rt/>
</#if>
<#if parameters.href?if_exists != "">
href="${parameters.href}"<#rt/>
</#if>
<#if parameters.tabindex?exists>
tabindex="${parameters.tabindex?html}"<#rt/>
</#if>
<#if parameters.cssClass?exists>
class="${parameters.cssClass?html}"<#rt/>
</#if>
<#if parameters.cssStyle?exists>
style="${parameters.cssStyle?html}"<#rt/>
</#if>
<#if parameters.title?exists>
title="${parameters.title?html}"<#rt/>
</#if>
<#include "/${parameters.templateDir}/simple/scripting-events.ftl" />
<#include "/${parameters.templateDir}/simple/common-attributes.ftl" />
<#include "/${parameters.templateDir}/simple/dynamic-attributes.ftl" />
>
* http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/a.ftl?revision=590812&view=markup
Note that the block starts with "<a" and ends with ">". Everything
else in the block generates dynamic content that might go between "<a"
and ">".
The proposal would use GXP to generate the same content as we do here,
so we can wrap the output as a JSP, Velocity, or Freemarker "tag".
HTH, Ted.
http://husted.com/ted/blog/
On Sat, Jul 26, 2008 at 3:39 PM, Dave Newton <ne...@yahoo.com> wrote:
> --- On Sat, 7/26/08, Piero Sartini <li...@pierosartini.de> wrote:
>> Since there is no support for JSP tags in GXP, how could
>> the struts2 tags be accessed in such an result?
>
> Er, I think the idea was to use GXP instead of FreeMarker for the S2 tags.
>
> Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Dave Newton <ne...@yahoo.com>.
--- On Sat, 7/26/08, Piero Sartini <li...@pierosartini.de> wrote:
> Since there is no support for JSP tags in GXP, how could
> the struts2 tags be accessed in such an result?
Er, I think the idea was to use GXP instead of FreeMarker for the S2 tags.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Piero Sartini <li...@pierosartini.de>.
Am Samstag, 26. Juli 2008 16:01:08 schrieb Musachy Barroso:
> Looks great. +1. If they are using it with Struts and/or XWork they
> have a GXP result already (hint hint to googleans: can we have it?).
Since there is no support for JSP tags in GXP, how could the struts2 tags be
accessed in such an result?
Piero
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Musachy Barroso <mu...@gmail.com>.
Looks great. +1. If they are using it with Struts and/or XWork they
have a GXP result already (hint hint to googleans: can we have it?).
musachy
On Sat, Jul 26, 2008 at 7:25 AM, Ted Husted <hu...@apache.org> wrote:
> I like the idea.
>
> I wonder if GPX might also be a good way to phase in a new approach
> for Ajax-backed tags?
>
> -Ted.
>
> On Sat, Jul 26, 2008 at 1:02 AM, Don Brown <do...@gmail.com> wrote:
>> It is pretty well known that Google uses WebWork 2 and Struts 2 in
>> many of its applications, but for the view layer, they use Google XML
>> Pages (GXP) [1], which was just opened source yesterday or so. There
>> is a lot to like in GXP like type safety, speed, correct HTML
>> generation, automatic support for HTML and XHTML (one of our frequent
>> tickets), automatic encoding of untrusted content, and even things
>> like mulitiple language support.
>>
>> This might be a perfect replacement for Freemarker in our tags as the
>> templates can be compiled, have better error reporting, don't
>> introduce yet another expression language, and solve a number of our
>> outstanding feature requests around tags.
>>
>> Thoughts?
>>
>> Don
>>
>> [1] http://code.google.com/p/gxp/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Ted Husted <hu...@apache.org>.
I like the idea.
I wonder if GPX might also be a good way to phase in a new approach
for Ajax-backed tags?
-Ted.
On Sat, Jul 26, 2008 at 1:02 AM, Don Brown <do...@gmail.com> wrote:
> It is pretty well known that Google uses WebWork 2 and Struts 2 in
> many of its applications, but for the view layer, they use Google XML
> Pages (GXP) [1], which was just opened source yesterday or so. There
> is a lot to like in GXP like type safety, speed, correct HTML
> generation, automatic support for HTML and XHTML (one of our frequent
> tickets), automatic encoding of untrusted content, and even things
> like mulitiple language support.
>
> This might be a perfect replacement for Freemarker in our tags as the
> templates can be compiled, have better error reporting, don't
> introduce yet another expression language, and solve a number of our
> outstanding feature requests around tags.
>
> Thoughts?
>
> Don
>
> [1] http://code.google.com/p/gxp/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Antonio Petrelli <an...@gmail.com>.
2008/7/26 Don Brown <do...@gmail.com>:
> It is pretty well known that Google uses WebWork 2 and Struts 2 in
> many of its applications, but for the view layer, they use Google XML
> Pages (GXP) [1], which was just opened source yesterday or so. There
> is a lot to like in GXP like type safety, speed, correct HTML
> generation, automatic support for HTML and XHTML (one of our frequent
> tickets), automatic encoding of untrusted content, and even things
> like mulitiple language support.
In particular, what I like is parameter-passing to sub-templates, a-la Tiles.
Cool!
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Don Brown <mr...@twdata.org>.
Sure, this wouldn't go in till at least 2.2, but just wanted to see
what others thought about it as solution to our tag problem.
Don
On Sat, Jul 26, 2008 at 4:37 PM, dusty <du...@yahoo.com> wrote:
>
> Sounds good to me, but is it just the latest and greatest? Should we wait a
> bit and get some of the other stuff ready and out in the wild?
>
>
>
> Don Brown wrote:
>>
>> It is pretty well known that Google uses WebWork 2 and Struts 2 in
>> many of its applications, but for the view layer, they use Google XML
>> Pages (GXP) [1], which was just opened source yesterday or so. There
>> is a lot to like in GXP like type safety, speed, correct HTML
>> generation, automatic support for HTML and XHTML (one of our frequent
>> tickets), automatic encoding of untrusted content, and even things
>> like mulitiple language support.
>>
>> This might be a perfect replacement for Freemarker in our tags as the
>> templates can be compiled, have better error reporting, don't
>> introduce yet another expression language, and solve a number of our
>> outstanding feature requests around tags.
>>
>> Thoughts?
>>
>> Don
>>
>> [1] http://code.google.com/p/gxp/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/-s2--Google-XML-Pages-%28GXP%29-to-replace-Freemarker-in-tags--tp18663215p18663916.html
> Sent from the Struts - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by dusty <du...@yahoo.com>.
Sounds good to me, but is it just the latest and greatest? Should we wait a
bit and get some of the other stuff ready and out in the wild?
Don Brown wrote:
>
> It is pretty well known that Google uses WebWork 2 and Struts 2 in
> many of its applications, but for the view layer, they use Google XML
> Pages (GXP) [1], which was just opened source yesterday or so. There
> is a lot to like in GXP like type safety, speed, correct HTML
> generation, automatic support for HTML and XHTML (one of our frequent
> tickets), automatic encoding of untrusted content, and even things
> like mulitiple language support.
>
> This might be a perfect replacement for Freemarker in our tags as the
> templates can be compiled, have better error reporting, don't
> introduce yet another expression language, and solve a number of our
> outstanding feature requests around tags.
>
> Thoughts?
>
> Don
>
> [1] http://code.google.com/p/gxp/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/-s2--Google-XML-Pages-%28GXP%29-to-replace-Freemarker-in-tags--tp18663215p18663916.html
Sent from the Struts - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?
Posted by Musachy Barroso <mu...@gmail.com>.
The guys from GXP sent me the code for the GXP result:
https://issues.apache.org/struts/browse/WW-2754
I imported a GXP plugin into the sandbox, which provides an rough
implementation of a GXP template manager to implement the tags:
http://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2-gxp-plugin/
This plugin does not include the code for the GXP result donated by
the GXP guys. To play with the plugin:
1.Download or build gxp and install it(hopefully it makes its way into
a maven repo some time soon):
mvn install:install-file -DgroupId=com.google -DartifactId=gxp
-Dversion=0.2.2-BETA -Dpackaging=jar
-Dfile=c:\src\gxp\build\gxp-snapshot.jar
2. Download/Build/Install the plugin
3. Use an anchor tag, on the simple theme on any page. The plugin
contains a dummy implementation of the "a" tag.
musachy
On Sat, Jul 26, 2008 at 1:02 AM, Don Brown <do...@gmail.com> wrote:
> It is pretty well known that Google uses WebWork 2 and Struts 2 in
> many of its applications, but for the view layer, they use Google XML
> Pages (GXP) [1], which was just opened source yesterday or so. There
> is a lot to like in GXP like type safety, speed, correct HTML
> generation, automatic support for HTML and XHTML (one of our frequent
> tickets), automatic encoding of untrusted content, and even things
> like mulitiple language support.
>
> This might be a perfect replacement for Freemarker in our tags as the
> templates can be compiled, have better error reporting, don't
> introduce yet another expression language, and solve a number of our
> outstanding feature requests around tags.
>
> Thoughts?
>
> Don
>
> [1] http://code.google.com/p/gxp/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org